Documentation

Linglib.Core.Analysis.SpecialFunctions.Log.Summable

Vanishing of the product of 1 - f i #

For a family with 0 ≤ f i ≤ 1, the finite products of the 1 - f i are at most exp (-∑ i ∈ s, f i), so they tend to zero when f is not summable; when f is summable and no factor vanishes, the infinite product is nonzero. The product is therefore zero exactly when some factor vanishes or f is not summable, and the same holds in ℝ≥0∞ with no hypothesis on f. An antitone sequence in ℝ≥0∞ is such a product: its decrements telescope, and each term is the previous one times one minus its relative decrement.

[UPSTREAM] candidate for Mathlib/Analysis/SpecialFunctions/Log/Summable.lean, with the two transfer lemmas for Mathlib/Topology/Algebra/InfiniteSum/ENNReal.lean.

theorem tprod_one_sub_ne_zero_of_summable {ι : Type u_1} {R : Type u_2} [NormedCommRing R] [NormOneClass R] [NormMulClass R] [CompleteSpace R] {f : ι → R} (hf : ∀ (i : ι), 1 - f i ≠ 0) (hu : Summable fun (x : ι) => ‖f x‖) :
∏' (i : ι), (1 - f i) ≠ 0
theorem Real.prod_one_sub_le_exp_neg_sum {ι : Type u_1} {f : ι → ℝ} (s : Finset ι) (hf : ∀ i ∈ s, f i ≤ 1) :
∏ i ∈ s, (1 - f i) ≤ exp (-∑ i ∈ s, f i)
theorem Real.hasProd_one_sub_zero_of_not_summable {ι : Type u_1} {f : ι → ℝ} (h₀ : ∀ (i : ι), 0 ≤ f i) (h₁ : ∀ (i : ι), f i ≤ 1) (hf : ¬Summable f) :
HasProd (fun (i : ι) => 1 - f i) 0
theorem Real.hasProd_one_sub_zero_iff {ι : Type u_1} {f : ι → ℝ} (h₀ : ∀ (i : ι), 0 ≤ f i) (h₁ : ∀ (i : ι), f i ≤ 1) :
HasProd (fun (i : ι) => 1 - f i) 0 ↔ (∃ (i : ι), f i = 1) ∨ ¬Summable f

For 0 ≤ f i ≤ 1, the product of the 1 - f i is zero exactly when some factor vanishes or f is not summable.

theorem ENNReal.hasProd_toReal_iff {ι : Type u_1} {f : ι → ENNReal} {a : ENNReal} (hf : ∀ (i : ι), f i ≠ ⊤) (ha : a ≠ ⊤) :
HasProd (fun (i : ι) => (f i).toReal) a.toReal ↔ HasProd f a
theorem ENNReal.hasProd_iff_tendsto_nat {a : ENNReal} {f : ℕ → ENNReal} (hf : ∀ (n : ℕ), f n ≤ 1) :
HasProd f a ↔ Filter.Tendsto (fun (n : ℕ) => ∏ i ∈ Finset.range n, f i) Filter.atTop (nhds a)

A product of factors at most one converges exactly when its partial products do.

theorem ENNReal.hasProd_one_sub_zero_iff {ι : Type u_1} {f : ι → ENNReal} :
HasProd (fun (i : ι) => 1 - f i) 0 ↔ (∃ (i : ι), 1 ≤ f i) ∨ ∑' (i : ι), f i = ⊤

The product of the 1 - f i is zero exactly when some factor vanishes or the f i have infinite sum.

Antitone sequences #

The decrements s n - s (n + 1) of an antitone sequence telescope, and each term is the previous one times one minus its relative decrement, so the sequence is a product of such factors.

theorem ENNReal.sum_range_sub_succ_add {s : ℕ → ENNReal} (hs : Antitone s) (n : ℕ) :
∑ k ∈ Finset.range n, (s k - s (k + 1)) + s n = s 0

The decrements of an antitone sequence before n and its nth term sum to its first term.

theorem ENNReal.tsum_sub_succ_add_iInf {s : ℕ → ENNReal} (hs : Antitone s) (h0 : s 0 ≠ ⊤) :
∑' (n : ℕ), (s n - s (n + 1)) + ⨅ (n : ℕ), s n = s 0

The decrements of an antitone sequence and its infimum sum to its first term.

theorem ENNReal.mul_one_sub_sub_succ_div {s : ℕ → ENNReal} (hs : Antitone s) (h0 : s 0 ≠ ⊤) (n : ℕ) :
s n * (1 - (s n - s (n + 1)) / s n) = s (n + 1)

A term of an antitone sequence times one minus its relative decrement is the next term.