@@ -468,7 +468,7 @@ variable [CanonicallyOrderedAdd ι]
468468/-- The difference with `DirectSum.listProd_apply_eq_zero` is that the indices at which
469469the terms of the list are zero is allowed to vary. -/
470470theorem listProd_apply_eq_zero' {l : List ((⨁ i, A i) × ι)}
471- (hl : ∀ xn ∈ l, ∀ k < xn.2 , xn.1 k = 0 ) ⦃n : ι⦄ (hn : n < (l.map Prod.snd).sum) :
471+ (hl : ∀ xn ∈ l, ∀ k < xn.2 , xn.1 k = 0 ) ⦃n : ι⦄ (hn : n < (l.map Prod.snd).sum) :
472472 (l.map Prod.fst).prod n = 0 := by
473473 induction l generalizing n with
474474 | nil => simp [(zero_le n).not_gt] at hn
@@ -500,7 +500,7 @@ variable {A : ι → σ} [SetLike.GradedMonoid A]
500500/-- The difference with `DirectSum.multisetProd_apply_eq_zero` is that the indices at which
501501the terms of the multiset are zero is allowed to vary. -/
502502theorem multisetProd_apply_eq_zero' {s : Multiset ((⨁ i, A i) × ι)}
503- (hs : ∀ xn ∈ s, ∀ k < xn.2 , xn.1 k = 0 ) ⦃n : ι⦄ (hn : n < (s.map Prod.snd).sum) :
503+ (hs : ∀ xn ∈ s, ∀ k < xn.2 , xn.1 k = 0 ) ⦃n : ι⦄ (hn : n < (s.map Prod.snd).sum) :
504504 (s.map Prod.fst).prod n = 0 := by
505505 have := listProd_apply_eq_zero' (l := s.toList) (by simpa using hs)
506506 (by simpa [← Multiset.sum_coe, ← Multiset.map_coe])
@@ -516,7 +516,7 @@ theorem multisetProd_apply_eq_zero {s : Multiset (⨁ i, A i)} {m : ι}
516516/-- The difference with `DirectSum.finsetProd_apply_eq_zero` is that the indices at which
517517the terms of the multiset are zero is allowed to vary. -/
518518theorem finsetProd_apply_eq_zero' {s : Finset ((⨁ i, A i) × ι)}
519- (hs : ∀ xn ∈ s, ∀ k < xn.2 , xn.1 k = 0 ) ⦃n : ι⦄ (hn : n < ∑ xn ∈ s, xn.2 ) :
519+ (hs : ∀ xn ∈ s, ∀ k < xn.2 , xn.1 k = 0 ) ⦃n : ι⦄ (hn : n < ∑ xn ∈ s, xn.2 ) :
520520 (∏ xn ∈ s, xn.1 ) n = 0 := by
521521 simpa using listProd_apply_eq_zero' (l := s.toList) (by simpa using hs) (by simpa)
522522
0 commit comments