@@ -507,14 +507,28 @@ theorem finprod_mem_congr (h₀ : s = t) (h₁ : ∀ x ∈ t, f x = g x) :
507507theorem finprod_eq_one_of_forall_eq_one {f : α → M} (h : ∀ x, f x = 1 ) : ∏ᶠ i, f i = 1 := by
508508 simp +contextual [h]
509509
510- @ [to_additive finsum_pos']
511- theorem one_lt_finprod' {M : Type *} [CommMonoid M] [PartialOrder M] [IsOrderedCancelMonoid M]
510+ @ [to_additive finprod_cond_pos]
511+ theorem one_lt_finprod_cond {M : Type *} [CommMonoid M] [PartialOrder M] [IsOrderedCancelMonoid M]
512+ {f : ι → M} {p : ι → Prop } (h : ∀ i, p i → 1 ≤ f i) (h' : ∃ i, p i ∧ 1 < f i)
513+ (hf : (mulSupport f ∩ {i | p i}).Finite) : 1 < ∏ᶠ (i) (_ : p i), f i := by
514+ rw [finprod_cond_eq_prod_of_cond_iff (t := hf.toFinset)]
515+ · apply Finset.one_lt_prod'
516+ · simp +contextual [h]
517+ · aesop
518+ · simp +contextual
519+
520+ @ [to_additive finsum_pos]
521+ theorem one_lt_finprod {M : Type *} [CommMonoid M] [PartialOrder M] [IsOrderedCancelMonoid M]
512522 {f : ι → M}
513523 (h : ∀ i, 1 ≤ f i) (h' : ∃ i, 1 < f i) (hf : (mulSupport f).Finite) : 1 < ∏ᶠ i, f i := by
514- rcases h' with ⟨i, hi⟩
515- rw [finprod_eq_prod _ hf]
516- refine Finset.one_lt_prod' (fun i _ ↦ h i) ⟨i, ?_, hi⟩
517- simpa only [Finite.mem_toFinset, mem_mulSupport] using ne_of_gt hi
524+ rw [← finprod_mem_univ]
525+ apply one_lt_finprod_cond <;> simpa
526+
527+ @ [deprecated (since := "2026-01-03" )]
528+ alias finsum_pos' := finsum_pos
529+
530+ @ [to_additive existing finsum_pos', deprecated (since := "2026-01-03" )]
531+ alias one_lt_finprod' := one_lt_finprod
518532
519533/-!
520534### Distributivity w.r.t. addition, subtraction, and (scalar) multiplication
0 commit comments