The areas / V14. Topological algebra and infinite sums
Mathlib.Topology.Algebra.InfiniteSum.Ring
42 declarations. Mathlib docs · Source
Infinite sum in a ring
This file provides lemmas about the interaction between infinite sums and multiplication.
Main results
tsum_mul_tsum_eq_tsum_sum_antidiagonal: Cauchy product formulaSummable.tsum_pow_mul_one_sub,Summable.one_sub_mul_tsum_pow: geometric series formula.tprod_one_add: expanding∏' i : ι, (1 + f i)as infinite sum.
Multiplying two infinite sums
In this section, we prove various results about (∑' x : ι, f x) * (∑' y : κ, g y). Note that we
always assume that the family fun x : ι × κ ↦ f x.1 * g x.2 is summable, since there is no way to
deduce this from the summabilities of f and g in general, but if you are working in a normed
space, you may want to use the analogous lemmas in Analysis.Normed.Module.Basic
(e.g tsum_mul_tsum_of_summable_norm).
We first establish results about arbitrary index types, ι and κ, and then we specialize to
ι = κ = ℕ to prove the Cauchy product formula (see tsum_mul_tsum_eq_tsum_sum_antidiagonal).
Arbitrary index types
ℕ-indexed families (Cauchy product)
We prove two versions of the Cauchy product formula. The first one is
tsum_mul_tsum_eq_tsum_sum_range, where the n-th term is a sum over Finset.range (n+1)
involving Nat subtraction.
In order to avoid Nat subtraction, we also provide tsum_mul_tsum_eq_tsum_sum_antidiagonal,
where the n-th term is a sum over all pairs (k, l) such that k+l=n, which corresponds to the
Finset Finset.antidiagonal n.
This in fact allows us to generalize to any type satisfying [Finset.HasAntidiagonal A]
Geometric series ∑' n : ℕ, x ^ n
This section gives a general result about geometric series without assuming additional structure on
the topological ring. For normed ring, see also geom_series_mul_neg and friends.
Infinite product of 1 + f i
This section extends Finset.prod_one_add to the infinite product
∏' i : ι, (1 + f i) = ∑' s : Finset ι, ∏ i ∈ s, f i.
theorem HasSum.mul_left E1 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : TopologicalSpace α] [IsTopologicalSemiring α] {f : ι → α} {a₁ : α} (a₂ : α),
HasSum f a₁ L → HasSum (fun i ↦ a₂ * f i) (a₂ * a₁) L
theorem HasSum.mul_right E1 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : TopologicalSpace α] [IsTopologicalSemiring α] {f : ι → α} {a₁ : α} (a₂ : α),
HasSum f a₁ L → HasSum (fun i ↦ f i * a₂) (a₁ * a₂) L
theorem Summable.mul_left E1 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : TopologicalSpace α] [IsTopologicalSemiring α] {f : ι → α} (a : α),
Summable f L → Summable (fun i ↦ a * f i) L
theorem Summable.mul_right E1 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : TopologicalSpace α] [IsTopologicalSemiring α] {f : ι → α} (a : α),
Summable f L → Summable (fun i ↦ f i * a) L
theorem Summable.tsum_mul_left E1 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : TopologicalSpace α] [IsTopologicalSemiring α] {f : ι → α} [T2Space α] [L.NeBot] (a : α),
Summable f L → ∑'[L] (i : ι), a * f i = a * ∑'[L] (i : ι), f i
theorem Summable.tsum_mul_right E1 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : TopologicalSpace α] [IsTopologicalSemiring α] {f : ι → α} [T2Space α] [L.NeBot] (a : α),
Summable f L → ∑'[L] (i : ι), f i * a = (∑'[L] (i : ι), f i) * a
theorem SemiconjBy.tsum_left E1 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : TopologicalSpace α] [IsTopologicalSemiring α] {f : ι → α} [T2Space α] [L.NeBot] {a b : α},
(∀ (i : ι), SemiconjBy (f i) a b) → SemiconjBy (∑'[L] (i : ι), f i) a b
theorem SemiconjBy.tsum_right E1 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : TopologicalSpace α] [IsTopologicalSemiring α] [T2Space α] [L.NeBot] {f g : ι → α} (a : α),
Summable f L →
Summable g L → (∀ (i : ι), SemiconjBy a (f i) (g i)) → SemiconjBy a (∑'[L] (i : ι), f i) (∑'[L] (i : ι), g i)
theorem Commute.tsum_left E1 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : TopologicalSpace α] [IsTopologicalSemiring α] {f : ι → α} [T2Space α] [L.NeBot] (a : α),
(∀ (i : ι), Commute (f i) a) → Commute (∑'[L] (i : ι), f i) a
theorem Commute.tsum_right E1 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : NonUnitalNonAssocSemiring α]
[inst_1 : TopologicalSpace α] [IsTopologicalSemiring α] {f : ι → α} [T2Space α] [L.NeBot] (a : α),
(∀ (i : ι), Commute a (f i)) → Commute a (∑'[L] (i : ι), f i)
theorem HasSum.div_const E1 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : DivisionSemiring α] [inst_1 : TopologicalSpace α]
[IsTopologicalSemiring α] {f : ι → α} {a : α}, HasSum f a L → ∀ (b : α), HasSum (fun i ↦ f i / b) (a / b) L
theorem Summable.div_const E1 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : DivisionSemiring α] [inst_1 : TopologicalSpace α]
[IsTopologicalSemiring α] {f : ι → α}, Summable f L → ∀ (b : α), Summable (fun i ↦ f i / b) L
theorem hasSum_mul_left_iff E0 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : DivisionSemiring α] [inst_1 : TopologicalSpace α]
[IsTopologicalSemiring α] {f : ι → α} {a₁ a₂ : α}, a₂ ≠ 0 → (HasSum (fun i ↦ a₂ * f i) (a₂ * a₁) L ↔ HasSum f a₁ L)
theorem hasSum_mul_right_iff E0 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : DivisionSemiring α] [inst_1 : TopologicalSpace α]
[IsTopologicalSemiring α] {f : ι → α} {a₁ a₂ : α}, a₂ ≠ 0 → (HasSum (fun i ↦ f i * a₂) (a₁ * a₂) L ↔ HasSum f a₁ L)
theorem hasSum_div_const_iff E0 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : DivisionSemiring α] [inst_1 : TopologicalSpace α]
[IsTopologicalSemiring α] {f : ι → α} {a₁ a₂ : α}, a₂ ≠ 0 → (HasSum (fun i ↦ f i / a₂) (a₁ / a₂) L ↔ HasSum f a₁ L)
theorem summable_mul_left_iff E0 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : DivisionSemiring α] [inst_1 : TopologicalSpace α]
[IsTopologicalSemiring α] {f : ι → α} {a : α}, a ≠ 0 → (Summable (fun i ↦ a * f i) L ↔ Summable f L)
theorem summable_mul_right_iff E0 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : DivisionSemiring α] [inst_1 : TopologicalSpace α]
[IsTopologicalSemiring α] {f : ι → α} {a : α}, a ≠ 0 → (Summable (fun i ↦ f i * a) L ↔ Summable f L)
theorem summable_div_const_iff E0 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : DivisionSemiring α] [inst_1 : TopologicalSpace α]
[IsTopologicalSemiring α] {f : ι → α} {a : α}, a ≠ 0 → (Summable (fun i ↦ f i / a) L ↔ Summable f L)
theorem tsum_mul_left E1 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : DivisionSemiring α] [inst_1 : TopologicalSpace α]
[IsTopologicalSemiring α] {f : ι → α} {a : α} [T2Space α], ∑'[L] (x : ι), a * f x = a * ∑'[L] (x : ι), f x
theorem tsum_mul_right E1 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : DivisionSemiring α] [inst_1 : TopologicalSpace α]
[IsTopologicalSemiring α] {f : ι → α} {a : α} [T2Space α], ∑'[L] (x : ι), f x * a = (∑'[L] (x : ι), f x) * a
theorem tsum_div_const E1 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : DivisionSemiring α] [inst_1 : TopologicalSpace α]
[IsTopologicalSemiring α] {f : ι → α} {a : α} [T2Space α], ∑'[L] (x : ι), f x / a = (∑'[L] (x : ι), f x) / a
theorem HasSum.const_div E1 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : DivisionSemiring α] [inst_1 : TopologicalSpace α]
[IsTopologicalSemiring α] {f : ι → α} {a : α},
HasSum (fun x ↦ 1 / f x) a L → ∀ (b : α), HasSum (fun i ↦ b / f i) (b * a) L
theorem Summable.const_div E1 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : DivisionSemiring α] [inst_1 : TopologicalSpace α]
[IsTopologicalSemiring α] {f : ι → α}, Summable (fun x ↦ 1 / f x) L → ∀ (b : α), Summable (fun i ↦ b / f i) L
theorem hasSum_const_div_iff E0 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : DivisionSemiring α] [inst_1 : TopologicalSpace α]
[IsTopologicalSemiring α] {f : ι → α} {a₁ a₂ : α},
a₂ ≠ 0 → (HasSum (fun i ↦ a₂ / f i) (a₂ * a₁) L ↔ HasSum (1 / f) a₁ L)
theorem summable_const_div_iff E0 #
∀ {ι : Type u_1} {α : Type u_3} {L : SummationFilter ι} [inst : DivisionSemiring α] [inst_1 : TopologicalSpace α]
[IsTopologicalSemiring α] {f : ι → α} {a : α}, a ≠ 0 → (Summable (fun i ↦ a / f i) L ↔ Summable (1 / f) L)
theorem HasSum.mul_eq E0 #
∀ {ι : Type u_1} {κ : Type u_2} {α : Type u_3} [inst : TopologicalSpace α] [T3Space α]
[inst_2 : NonUnitalNonAssocSemiring α] [IsTopologicalSemiring α] {f : ι → α} {g : κ → α} {s t u : α},
HasSum f s → HasSum g t → HasSum (fun x ↦ f x.1 * g x.2) u → s * t = u
theorem HasSum.mul E1 #
∀ {ι : Type u_1} {κ : Type u_2} {α : Type u_3} [inst : TopologicalSpace α] [T3Space α]
[inst_2 : NonUnitalNonAssocSemiring α] [IsTopologicalSemiring α] {f : ι → α} {g : κ → α} {s t : α},
HasSum f s → HasSum g t → (Summable fun x ↦ f x.1 * g x.2) → HasSum (fun x ↦ f x.1 * g x.2) (s * t)
theorem Summable.tsum_mul_tsum E1 #
∀ {ι : Type u_1} {κ : Type u_2} {α : Type u_3} [inst : TopologicalSpace α] [T3Space α]
[inst_2 : NonUnitalNonAssocSemiring α] [IsTopologicalSemiring α] {f : ι → α} {g : κ → α},
Summable f →
Summable g → (Summable fun x ↦ f x.1 * g x.2) → (∑' (x : ι), f x) * ∑' (y : κ), g y = ∑' (z : ι × κ), f z.1 * g z.2
Product of two infinite sums indexed by arbitrary types.
See also tsum_mul_tsum_of_summable_norm if f and g are absolutely summable.
theorem summable_mul_prod_iff_summable_mul_sigma_antidiagonal E1 #
∀ {α : Type u_3} {A : Type u_4} [inst : AddCommMonoid A] [inst_1 : Finset.HasAntidiagonal A]
[inst_2 : TopologicalSpace α] [inst_3 : NonUnitalNonAssocSemiring α] {f g : A → α},
(Summable fun x ↦ f x.1 * g x.2) ↔ Summable fun x ↦ f (↑x.snd).1 * g (↑x.snd).2
The family (k, l) : ℕ × ℕ ↦ f k * g l is summable if and only if the family
(n, k, l) : Σ (n : ℕ), antidiagonal n ↦ f k * g l is summable.
theorem summable_sum_mul_antidiagonal_of_summable_mul E1 #
∀ {α : Type u_3} {A : Type u_4} [inst : AddCommMonoid A] [inst_1 : Finset.HasAntidiagonal A]
[inst_2 : TopologicalSpace α] [inst_3 : NonUnitalNonAssocSemiring α] {f g : A → α} [T3Space α]
[IsTopologicalSemiring α],
(Summable fun x ↦ f x.1 * g x.2) → Summable fun n ↦ ∑ kl ∈ Finset.HasAntidiagonal.antidiagonal n, f kl.1 * g kl.2
theorem Summable.tsum_mul_tsum_eq_tsum_sum_antidiagonal E3 #
∀ {α : Type u_3} {A : Type u_4} [inst : AddCommMonoid A] [inst_1 : Finset.HasAntidiagonal A]
[inst_2 : TopologicalSpace α] [inst_3 : NonUnitalNonAssocSemiring α] {f g : A → α} [T3Space α]
[IsTopologicalSemiring α],
Summable f →
Summable g →
(Summable fun x ↦ f x.1 * g x.2) →
(∑' (n : A), f n) * ∑' (n : A), g n = ∑' (n : A), ∑ kl ∈ Finset.HasAntidiagonal.antidiagonal n, f kl.1 * g kl.2
The Cauchy product formula for the product of two infinite sums indexed by ℕ, expressed
by summing on Finset.HasAntidiagonal.antidiagonal.
See also tsum_mul_tsum_eq_tsum_sum_antidiagonal_of_summable_norm if f and g are absolutely
summable.
theorem summable_sum_mul_range_of_summable_mul E1 #
∀ {α : Type u_3} [inst : TopologicalSpace α] [inst_1 : NonUnitalNonAssocSemiring α] {f g : ℕ → α} [T3Space α]
[IsTopologicalSemiring α],
(Summable fun x ↦ f x.1 * g x.2) → Summable fun n ↦ ∑ k ∈ Finset.range (n + 1), f k * g (n - k)
theorem Summable.tsum_mul_tsum_eq_tsum_sum_range E1 #
∀ {α : Type u_3} [inst : TopologicalSpace α] [inst_1 : NonUnitalNonAssocSemiring α] {f g : ℕ → α} [T3Space α]
[IsTopologicalSemiring α],
Summable f →
Summable g →
(Summable fun x ↦ f x.1 * g x.2) →
(∑' (n : ℕ), f n) * ∑' (n : ℕ), g n = ∑' (n : ℕ), ∑ k ∈ Finset.range (n + 1), f k * g (n - k)
The Cauchy product formula for the product of two infinite sums indexed by ℕ, expressed
by summing on Finset.range.
See also tsum_mul_tsum_eq_tsum_sum_range_of_summable_norm if f and g are absolutely summable.
theorem Summable.tsum_pow_mul_one_sub E3 #
∀ {α : Type u_3} [inst : Ring α] [inst_1 : TopologicalSpace α] [IsTopologicalRing α] [T2Space α] {x : α},
(Summable fun x_1 ↦ x ^ x_1) → (∑' (i : ℕ), x ^ i) * (1 - x) = 1
theorem Summable.one_sub_mul_tsum_pow E3 #
∀ {α : Type u_3} [inst : Ring α] [inst_1 : TopologicalSpace α] [IsTopologicalRing α] [T2Space α] {x : α},
(Summable fun x_1 ↦ x ^ x_1) → (1 - x) * ∑' (i : ℕ), x ^ i = 1
theorem hasProd_one_add_of_hasSum_prod E1 #
∀ {ι : Type u_1} {α : Type u_3} [inst : CommSemiring α] [inst_1 : TopologicalSpace α] {f : ι → α} {a : α},
HasSum (fun x ↦ ∏ i ∈ x, f i) a → HasProd (fun x ↦ 1 + f x) a
theorem multipliable_one_add_of_summable_prod E1 #
∀ {ι : Type u_1} {α : Type u_3} [inst : CommSemiring α] [inst_1 : TopologicalSpace α] {f : ι → α},
(Summable fun x ↦ ∏ i ∈ x, f i) → Multipliable fun x ↦ 1 + f x
∏' i : ι, (1 + f i) is convergent if ∑' s : Finset ι, ∏ i ∈ s, f i is convergent.
For complete normed ring, see also multipliable_one_add_of_summable.
theorem tprod_one_add E3 #
∀ {ι : Type u_1} {α : Type u_3} [inst : CommSemiring α] [inst_1 : TopologicalSpace α] {f : ι → α} [T2Space α],
(Summable fun x ↦ ∏ i ∈ x, f i) → ∏' (i : ι), (1 + f i) = ∑' (s : Finset ι), ∏ i ∈ s, f i
theorem tprod_one_add_ordered E1 #
∀ {ι : Type u_1} {α : Type u_3} [inst : CommSemiring α] [inst_1 : TopologicalSpace α] {f : ι → α}
[inst_2 : LinearOrder ι] [inst_3 : LocallyFiniteOrderBot ι] [T2Space α] [ContinuousAdd α],
(Summable fun i ↦ f i * ∏ j < i, (1 + f j)) →
(Multipliable fun x ↦ 1 + f x) → ∏' (i : ι), (1 + f i) = 1 + ∑' (i : ι), f i * ∏ j < i, (1 + f j)
The infinite version of Finset.prod_one_add_ordered.
theorem tprod_one_add_ordered' E1 #
∀ {ι : Type u_1} {α : Type u_3} [inst : CommSemiring α] [inst_1 : TopologicalSpace α] {f : ι → α}
[inst_2 : LinearOrder ι] [inst_3 : LocallyFiniteOrderTop ι] [T2Space α] [ContinuousAdd α],
(Summable fun i ↦ f i * ∏ j > i, (1 + f j)) →
(Multipliable fun x ↦ 1 + f x) → ∏' (i : ι), (1 + f i) = 1 + ∑' (i : ι), f i * ∏ j > i, (1 + f j)
theorem tprod_one_sub_ordered E1 #
∀ {ι : Type u_1} [inst : LinearOrder ι] [inst_1 : LocallyFiniteOrderBot ι] {α : Type u_4} {f : ι → α}
[inst_2 : CommRing α] [inst_3 : TopologicalSpace α] [T2Space α] [IsTopologicalAddGroup α],
(Summable fun i ↦ f i * ∏ j < i, (1 - f j)) →
(Multipliable fun x ↦ 1 - f x) → ∏' (i : ι), (1 - f i) = 1 - ∑' (i : ι), f i * ∏ j < i, (1 - f j)
The infinite version of Finset.prod_one_sub_ordered.
theorem tprod_one_sub_ordered' E1 #
∀ {ι : Type u_1} [inst : LinearOrder ι] [inst_1 : LocallyFiniteOrderTop ι] {α : Type u_4} {f : ι → α}
[inst_2 : CommRing α] [inst_3 : TopologicalSpace α] [T2Space α] [IsTopologicalAddGroup α],
(Summable fun i ↦ f i * ∏ j > i, (1 - f j)) →
(Multipliable fun x ↦ 1 - f x) → ∏' (i : ι), (1 - f i) = 1 - ∑' (i : ι), f i * ∏ j > i, (1 - f j)