The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V14. Topological algebra and infinite sums

Mathlib.Topology.Algebra.InfiniteSum.NatInt

111 declarations. Mathlib docs · Source

Infinite sums and products over ℕ and ℤ

This file contains lemmas about HasSum, Summable, tsum, HasProd, Multipliable, and tprod applied to the important special cases where the domain is ℕ or ℤ. For instance, we prove the formula ∑ i ∈ range k, f i + ∑' i, f (i + k) = ∑' i, f i, ∈ sum_add_tsum_nat_add, as well as several results relating sums and products on ℕ to sums and products on ℤ.

Sums over ℕ

Some properties about measure-like functions. These could also be functions defined on complete sublattices of sets, with the property that they are countably sub-additive. R will probably be instantiated with (≤) in all applications.

Sums over ℤ

In this section we prove a variety of lemmas relating sums over ℕ to sums over ℤ.

theorem HasProd.tendsto_prod_nat E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {m : M} {f : ℕ → M},
  HasProd f m → Filter.Tendsto (fun n ↦ ∏ i ∈ Finset.range n, f i) Filter.atTop (nhds m)

If f : ℕ → M has product m, then the partial products ∏ i ∈ range n, f i converge to m.

theorem HasSum.tendsto_sum_nat E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {m : M} {f : ℕ → M},
  HasSum f m → Filter.Tendsto (fun n ↦ ∑ i ∈ Finset.range n, f i) Filter.atTop (nhds m)

If f : ℕ → M has sum m, then the partial sums ∑ i ∈ range n, f i converge to m.

theorem Multipliable.tendsto_prod_tprod_nat E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {f : ℕ → M},
  Multipliable f → Filter.Tendsto (fun n ↦ ∏ i ∈ Finset.range n, f i) Filter.atTop (nhds (∏' (i : ℕ), f i))

If f : ℕ → M is multipliable, then the partial products ∏ i ∈ range n, f i converge to ∏' i, f i.

theorem Summable.tendsto_sum_tsum_nat E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {f : ℕ → M},
  Summable f → Filter.Tendsto (fun n ↦ ∑ i ∈ Finset.range n, f i) Filter.atTop (nhds (∑' (i : ℕ), f i))

If f : ℕ → M is summable, then the partial sums ∑ i ∈ range n, f i converge to ∑' i, f i.

theorem HasSum.sum_range_add E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {m : M} [ContinuousAdd M] {f : ℕ → M} {k : ℕ},
  HasSum (fun n ↦ f (n + k)) m → HasSum f (∑ i ∈ Finset.range k, f i + m)

theorem HasProd.prod_range_mul E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {m : M} [ContinuousMul M] {f : ℕ → M} {k : ℕ},
  HasProd (fun n ↦ f (n + k)) m → HasProd f ((∏ i ∈ Finset.range k, f i) * m)

theorem HasProd.zero_mul E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {m : M} [ContinuousMul M] {f : ℕ → M},
  HasProd (fun n ↦ f (n + 1)) m → HasProd f (f 0 * m)

theorem HasSum.zero_add E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {m : M} [ContinuousAdd M] {f : ℕ → M},
  HasSum (fun n ↦ f (n + 1)) m → HasSum f (f 0 + m)

theorem HasProd.even_mul_odd E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {m m' : M} [ContinuousMul M] {f : ℕ → M},
  HasProd (fun k ↦ f (2 * k)) m → HasProd (fun k ↦ f (2 * k + 1)) m' → HasProd f (m * m')

theorem HasSum.even_add_odd E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {m m' : M} [ContinuousAdd M] {f : ℕ → M},
  HasSum (fun k ↦ f (2 * k)) m → HasSum (fun k ↦ f (2 * k + 1)) m' → HasSum f (m + m')

theorem Multipliable.hasProd_iff_tendsto_nat E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {m : M} [T2Space M] {f : ℕ → M},
  Multipliable f → (HasProd f m ↔ Filter.Tendsto (fun n ↦ ∏ i ∈ Finset.range n, f i) Filter.atTop (nhds m))

theorem Summable.hasSum_iff_tendsto_nat E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {m : M} [T2Space M] {f : ℕ → M},
  Summable f → (HasSum f m ↔ Filter.Tendsto (fun n ↦ ∑ i ∈ Finset.range n, f i) Filter.atTop (nhds m))

theorem Summable.comp_nat_add E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousAdd M] {f : ℕ → M} {k : ℕ},
  (Summable fun n ↦ f (n + k)) → Summable f

theorem Multipliable.comp_nat_add E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousMul M] {f : ℕ → M} {k : ℕ},
  (Multipliable fun n ↦ f (n + k)) → Multipliable f

theorem Summable.even_add_odd E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousAdd M] {f : ℕ → M},
  (Summable fun k ↦ f (2 * k)) → (Summable fun k ↦ f (2 * k + 1)) → Summable f

theorem Multipliable.even_mul_odd E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousMul M] {f : ℕ → M},
  (Multipliable fun k ↦ f (2 * k)) → (Multipliable fun k ↦ f (2 * k + 1)) → Multipliable f

theorem tprod_iSup_decode₂ E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {α : Type u_3} {β : Type u_4}
  [inst_2 : Encodable β] [inst_3 : CompleteLattice α] (m : α → M),
  m ⊥ = 1 → ∀ (s : β → α), ∏' (i : ℕ), m (⨆ b ∈ Encodable.decode₂ β i, s b) = ∏' (b : β), m (s b)

You can compute a product over an encodable type by multiplying over the natural numbers and taking a supremum.

theorem tsum_iSup_decode₂ E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {α : Type u_3} {β : Type u_4}
  [inst_2 : Encodable β] [inst_3 : CompleteLattice α] (m : α → M),
  m ⊥ = 0 → ∀ (s : β → α), ∑' (i : ℕ), m (⨆ b ∈ Encodable.decode₂ β i, s b) = ∑' (b : β), m (s b)

You can compute a sum over an encodable type by summing over the natural numbers and taking a supremum. This is useful for outer measures.

theorem tprod_iUnion_decode₂ E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {α : Type u_3} {β : Type u_4}
  [inst_2 : Encodable β] (m : Set α → M),
  m ∅ = 1 → ∀ (s : β → Set α), ∏' (i : ℕ), m (⋃ b ∈ Encodable.decode₂ β i, s b) = ∏' (b : β), m (s b)

tprod_iSup_decode₂ specialized to the complete lattice of sets.

theorem tsum_iUnion_decode₂ E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {α : Type u_3} {β : Type u_4}
  [inst_2 : Encodable β] (m : Set α → M),
  m ∅ = 0 → ∀ (s : β → Set α), ∑' (i : ℕ), m (⋃ b ∈ Encodable.decode₂ β i, s b) = ∑' (b : β), m (s b)

tsum_iSup_decode₂ specialized to the complete lattice of sets.

theorem rel_iSup_tprod E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {α : Type u_3} {β : Type u_4} [Countable β]
  [inst_3 : CompleteLattice α] (m : α → M),
  m ⊥ = 1 →
    ∀ (R : M → M → Prop),
      (∀ (s : ℕ → α), R (m (⨆ i, s i)) (∏' (i : ℕ), m (s i))) → ∀ (s : β → α), R (m (⨆ b, s b)) (∏' (b : β), m (s b))

If a function is countably sub-multiplicative then it is sub-multiplicative on countable types

theorem rel_iSup_tsum E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {α : Type u_3} {β : Type u_4} [Countable β]
  [inst_3 : CompleteLattice α] (m : α → M),
  m ⊥ = 0 →
    ∀ (R : M → M → Prop),
      (∀ (s : ℕ → α), R (m (⨆ i, s i)) (∑' (i : ℕ), m (s i))) → ∀ (s : β → α), R (m (⨆ b, s b)) (∑' (b : β), m (s b))

If a function is countably sub-additive then it is sub-additive on countable types

theorem rel_iSup_prod E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {α : Type u_3} {γ : Type u_5}
  [inst_2 : CompleteLattice α] (m : α → M),
  m ⊥ = 1 →
    ∀ (R : M → M → Prop),
      (∀ (s : ℕ → α), R (m (⨆ i, s i)) (∏' (i : ℕ), m (s i))) →
        ∀ (s : γ → α) (t : Finset γ), R (m (⨆ d ∈ t, s d)) (∏ d ∈ t, m (s d))

If a function is countably sub-multiplicative then it is sub-multiplicative on finite sets

theorem rel_iSup_sum E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {α : Type u_3} {γ : Type u_5}
  [inst_2 : CompleteLattice α] (m : α → M),
  m ⊥ = 0 →
    ∀ (R : M → M → Prop),
      (∀ (s : ℕ → α), R (m (⨆ i, s i)) (∑' (i : ℕ), m (s i))) →
        ∀ (s : γ → α) (t : Finset γ), R (m (⨆ d ∈ t, s d)) (∑ d ∈ t, m (s d))

If a function is countably sub-additive then it is sub-additive on finite sets

theorem rel_sup_mul E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {α : Type u_3} [inst_2 : CompleteLattice α]
  (m : α → M),
  m ⊥ = 1 →
    ∀ (R : M → M → Prop),
      (∀ (s : ℕ → α), R (m (⨆ i, s i)) (∏' (i : ℕ), m (s i))) → ∀ (s₁ s₂ : α), R (m (s₁ ⊔ s₂)) (m s₁ * m s₂)

If a function is countably sub-multiplicative then it is binary sub-multiplicative

theorem rel_sup_add E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {α : Type u_3} [inst_2 : CompleteLattice α]
  (m : α → M),
  m ⊥ = 0 →
    ∀ (R : M → M → Prop),
      (∀ (s : ℕ → α), R (m (⨆ i, s i)) (∑' (i : ℕ), m (s i))) → ∀ (s₁ s₂ : α), R (m (s₁ ⊔ s₂)) (m s₁ + m s₂)

If a function is countably sub-additive then it is binary sub-additive

theorem Multipliable.prod_mul_tprod_nat_mul' E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] [T2Space M] [ContinuousMul M] {f : ℕ → M} {k : ℕ},
  (Multipliable fun n ↦ f (n + k)) → (∏ i ∈ Finset.range k, f i) * ∏' (i : ℕ), f (i + k) = ∏' (i : ℕ), f i

theorem Summable.sum_add_tsum_nat_add' E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] [T2Space M] [ContinuousAdd M] {f : ℕ → M}
  {k : ℕ}, (Summable fun n ↦ f (n + k)) → ∑ i ∈ Finset.range k, f i + ∑' (i : ℕ), f (i + k) = ∑' (i : ℕ), f i

theorem tprod_eq_zero_mul' E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] [T2Space M] [ContinuousMul M] {f : ℕ → M},
  (Multipliable fun n ↦ f (n + 1)) → ∏' (b : ℕ), f b = f 0 * ∏' (b : ℕ), f (b + 1)

theorem tsum_eq_zero_add' E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] [T2Space M] [ContinuousAdd M] {f : ℕ → M},
  (Summable fun n ↦ f (n + 1)) → ∑' (b : ℕ), f b = f 0 + ∑' (b : ℕ), f (b + 1)

theorem tprod_even_mul_odd E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] [T2Space M] [ContinuousMul M] {f : ℕ → M},
  (Multipliable fun k ↦ f (2 * k)) →
    (Multipliable fun k ↦ f (2 * k + 1)) → (∏' (k : ℕ), f (2 * k)) * ∏' (k : ℕ), f (2 * k + 1) = ∏' (k : ℕ), f k

theorem tsum_even_add_odd E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] [T2Space M] [ContinuousAdd M] {f : ℕ → M},
  (Summable fun k ↦ f (2 * k)) →
    (Summable fun k ↦ f (2 * k + 1)) → ∑' (k : ℕ), f (2 * k) + ∑' (k : ℕ), f (2 * k + 1) = ∑' (k : ℕ), f k

theorem hasProd_nat_add_iff E0 #

∀ {G : Type u_2} [inst : CommGroup G] {g : G} [inst_1 : TopologicalSpace G] [IsTopologicalGroup G] {f : ℕ → G} (k : ℕ),
  HasProd (fun n ↦ f (n + k)) g ↔ HasProd f (g * ∏ i ∈ Finset.range k, f i)

theorem hasSum_nat_add_iff E0 #

∀ {G : Type u_2} [inst : AddCommGroup G] {g : G} [inst_1 : TopologicalSpace G] [IsTopologicalAddGroup G] {f : ℕ → G}
  (k : ℕ), HasSum (fun n ↦ f (n + k)) g ↔ HasSum f (g + ∑ i ∈ Finset.range k, f i)

theorem summable_nat_add_iff E0 #

∀ {G : Type u_2} [inst : AddCommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalAddGroup G] {f : ℕ → G} (k : ℕ),
  (Summable fun n ↦ f (n + k)) ↔ Summable f

theorem multipliable_nat_add_iff E0 #

∀ {G : Type u_2} [inst : CommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalGroup G] {f : ℕ → G} (k : ℕ),
  (Multipliable fun n ↦ f (n + k)) ↔ Multipliable f

theorem hasProd_nat_add_iff' E1 #

∀ {G : Type u_2} [inst : CommGroup G] {g : G} [inst_1 : TopologicalSpace G] [IsTopologicalGroup G] {f : ℕ → G} (k : ℕ),
  HasProd (fun n ↦ f (n + k)) (g / ∏ i ∈ Finset.range k, f i) ↔ HasProd f g

theorem hasSum_nat_add_iff' E1 #

∀ {G : Type u_2} [inst : AddCommGroup G] {g : G} [inst_1 : TopologicalSpace G] [IsTopologicalAddGroup G] {f : ℕ → G}
  (k : ℕ), HasSum (fun n ↦ f (n + k)) (g - ∑ i ∈ Finset.range k, f i) ↔ HasSum f g

theorem Multipliable.prod_mul_tprod_nat_add E1 #

∀ {G : Type u_2} [inst : CommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalGroup G] [T2Space G] {f : ℕ → G}
  (k : ℕ), Multipliable f → (∏ i ∈ Finset.range k, f i) * ∏' (i : ℕ), f (i + k) = ∏' (i : ℕ), f i

theorem Summable.sum_add_tsum_nat_add E1 #

∀ {G : Type u_2} [inst : AddCommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalAddGroup G] [T2Space G] {f : ℕ → G}
  (k : ℕ), Summable f → ∑ i ∈ Finset.range k, f i + ∑' (i : ℕ), f (i + k) = ∑' (i : ℕ), f i

theorem Summable.tsum_eq_zero_add E1 #

∀ {G : Type u_2} [inst : AddCommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalAddGroup G] [T2Space G]
  {f : ℕ → G}, Summable f → ∑' (b : ℕ), f b = f 0 + ∑' (b : ℕ), f (b + 1)

theorem Multipliable.tprod_eq_zero_mul E1 #

∀ {G : Type u_2} [inst : CommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalGroup G] [T2Space G] {f : ℕ → G},
  Multipliable f → ∏' (b : ℕ), f b = f 0 * ∏' (b : ℕ), f (b + 1)

theorem tendsto_prod_nat_add E1 #

∀ {G : Type u_2} [inst : CommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalGroup G] [T2Space G] (f : ℕ → G),
  Filter.Tendsto (fun i ↦ ∏' (k : ℕ), f (k + i)) Filter.atTop (nhds 1)

For f : ℕ → G, the product ∏' k, f (k + i) tends to one. This does not require a multipliability assumption on f, as otherwise all such products are one.

theorem tendsto_sum_nat_add E1 #

∀ {G : Type u_2} [inst : AddCommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalAddGroup G] [T2Space G]
  (f : ℕ → G), Filter.Tendsto (fun i ↦ ∑' (k : ℕ), f (k + i)) Filter.atTop (nhds 0)

For f : ℕ → G, the sum ∑' k, f (k + i) tends to zero. This does not require a summability assumption on f, as otherwise all such sums are zero.

theorem cauchySeq_finset_iff_nat_tsum_vanishing E1 #

∀ {G : Type u_2} [inst : AddCommGroup G] [inst_1 : UniformSpace G] [IsUniformAddGroup G] {f : ℕ → G},
  (CauchySeq fun s ↦ ∑ n ∈ s, f n) ↔ ∀ e ∈ nhds 0, ∃ N, ∀ t ⊆ {n | N ≤ n}, ∑' (n : ↑t), f ↑n ∈ e

theorem cauchySeq_finset_iff_nat_tprod_vanishing E1 #

∀ {G : Type u_2} [inst : CommGroup G] [inst_1 : UniformSpace G] [IsUniformGroup G] {f : ℕ → G},
  (CauchySeq fun s ↦ ∏ n ∈ s, f n) ↔ ∀ e ∈ nhds 1, ∃ N, ∀ t ⊆ {n | N ≤ n}, ∏' (n : ↑t), f ↑n ∈ e

theorem multipliable_iff_nat_tprod_vanishing E1 #

∀ {G : Type u_2} [inst : CommGroup G] [inst_1 : UniformSpace G] [IsUniformGroup G] [CompleteSpace G] {f : ℕ → G},
  Multipliable f ↔ ∀ e ∈ nhds 1, ∃ N, ∀ t ⊆ {n | N ≤ n}, ∏' (n : ↑t), f ↑n ∈ e

theorem summable_iff_nat_tsum_vanishing E1 #

∀ {G : Type u_2} [inst : AddCommGroup G] [inst_1 : UniformSpace G] [IsUniformAddGroup G] [CompleteSpace G] {f : ℕ → G},
  Summable f ↔ ∀ e ∈ nhds 0, ∃ N, ∀ t ⊆ {n | N ≤ n}, ∑' (n : ↑t), f ↑n ∈ e

theorem Summable.nat_tsum_vanishing E1 #

∀ {G : Type u_2} [inst : AddCommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalAddGroup G] {f : ℕ → G},
  Summable f → ∀ ⦃e : Set G⦄, e ∈ nhds 0 → ∃ N, ∀ t ⊆ {n | N ≤ n}, ∑' (n : ↑t), f ↑n ∈ e

theorem Multipliable.nat_tprod_vanishing E1 #

∀ {G : Type u_2} [inst : CommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalGroup G] {f : ℕ → G},
  Multipliable f → ∀ ⦃e : Set G⦄, e ∈ nhds 1 → ∃ N, ∀ t ⊆ {n | N ≤ n}, ∏' (n : ↑t), f ↑n ∈ e

theorem Summable.tendsto_atTop_zero E1 #

∀ {G : Type u_2} [inst : AddCommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalAddGroup G] {f : ℕ → G},
  Summable f → Filter.Tendsto f Filter.atTop (nhds 0)

theorem Multipliable.tendsto_atTop_one E1 #

∀ {G : Type u_2} [inst : CommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalGroup G] {f : ℕ → G},
  Multipliable f → Filter.Tendsto f Filter.atTop (nhds 1)

theorem HasSum.nat_add_neg_add_one E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {m : M} {f : ℤ → M},
  HasSum f m → HasSum (fun n ↦ f ↑n + f (-(↑n + 1))) m

theorem HasProd.nat_mul_neg_add_one E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {m : M} {f : ℤ → M},
  HasProd f m → HasProd (fun n ↦ f ↑n * f (-(↑n + 1))) m

theorem Multipliable.nat_mul_neg_add_one E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {f : ℤ → M},
  Multipliable f → Multipliable fun n ↦ f ↑n * f (-(↑n + 1))

theorem Summable.nat_add_neg_add_one E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {f : ℤ → M},
  Summable f → Summable fun n ↦ f ↑n + f (-(↑n + 1))

theorem tprod_nat_mul_neg_add_one E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] [T2Space M] {f : ℤ → M},
  Multipliable f → ∏' (n : ℕ), f ↑n * f (-(↑n + 1)) = ∏' (n : ℤ), f n

theorem tsum_nat_add_neg_add_one E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] [T2Space M] {f : ℤ → M},
  Summable f → ∑' (n : ℕ), (f ↑n + f (-(↑n + 1))) = ∑' (n : ℤ), f n

theorem HasProd.of_nat_of_neg_add_one E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {m m' : M} [ContinuousMul M] {f : ℤ → M},
  HasProd (fun n ↦ f ↑n) m → HasProd (fun n ↦ f (-(↑n + 1))) m' → HasProd f (m * m')

theorem HasSum.of_nat_of_neg_add_one E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {m m' : M} [ContinuousAdd M] {f : ℤ → M},
  HasSum (fun n ↦ f ↑n) m → HasSum (fun n ↦ f (-(↑n + 1))) m' → HasSum f (m + m')

theorem Multipliable.of_nat_of_neg_add_one E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousMul M] {f : ℤ → M},
  (Multipliable fun n ↦ f ↑n) → (Multipliable fun n ↦ f (-(↑n + 1))) → Multipliable f

theorem Summable.of_nat_of_neg_add_one E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousAdd M] {f : ℤ → M},
  (Summable fun n ↦ f ↑n) → (Summable fun n ↦ f (-(↑n + 1))) → Summable f

theorem tsum_of_nat_of_neg_add_one E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousAdd M] [T2Space M] {f : ℤ → M},
  (Summable fun n ↦ f ↑n) →
    (Summable fun n ↦ f (-(↑n + 1))) → ∑' (n : ℤ), f n = ∑' (n : ℕ), f ↑n + ∑' (n : ℕ), f (-(↑n + 1))

theorem tprod_of_nat_of_neg_add_one E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousMul M] [T2Space M] {f : ℤ → M},
  (Multipliable fun n ↦ f ↑n) →
    (Multipliable fun n ↦ f (-(↑n + 1))) → ∏' (n : ℤ), f n = (∏' (n : ℕ), f ↑n) * ∏' (n : ℕ), f (-(↑n + 1))

theorem HasProd.int_rec E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {m m' : M} [ContinuousMul M] {f g : ℕ → M},
  HasProd f m → HasProd g m' → HasProd (fun t ↦ Int.rec f g t) (m * m')

If f₀, f₁, f₂, ... and g₀, g₁, g₂, ... have products a, b respectively, then the ℤ-indexed sequence: ..., g₂, g₁, g₀, f₀, f₁, f₂, ... (with f₀ at the 0-th position) has product a * b.

theorem HasSum.int_rec E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {m m' : M} [ContinuousAdd M] {f g : ℕ → M},
  HasSum f m → HasSum g m' → HasSum (fun t ↦ Int.rec f g t) (m + m')

If f₀, f₁, f₂, ... and g₀, g₁, g₂, ... have sums a, b respectively, then the ℤ-indexed sequence: ..., g₂, g₁, g₀, f₀, f₁, f₂, ... (with f₀ at the 0-th position) has sum a + b.

theorem Multipliable.int_rec E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousMul M] {f g : ℕ → M},
  Multipliable f → Multipliable g → Multipliable fun t ↦ Int.rec f g t

If f₀, f₁, f₂, ... and g₀, g₁, g₂, ... are both multipliable then so is the ℤ-indexed sequence: ..., g₂, g₁, g₀, f₀, f₁, f₂, ... (with f₀ at the 0-th position).

theorem Summable.int_rec E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousAdd M] {f g : ℕ → M},
  Summable f → Summable g → Summable fun t ↦ Int.rec f g t

If f₀, f₁, f₂, ... and g₀, g₁, g₂, ... are both summable then so is the ℤ-indexed sequence: ..., g₂, g₁, g₀, f₀, f₁, f₂, ... (with f₀ at the 0-th position).

theorem tprod_int_rec E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousMul M] [T2Space M] {f g : ℕ → M},
  Multipliable f → Multipliable g → ∏' (n : ℤ), Int.rec f g n = (∏' (n : ℕ), f n) * ∏' (n : ℕ), g n

If f₀, f₁, f₂, ... and g₀, g₁, g₂, ... are both multipliable, then the product of the ℤ-indexed sequence: ..., g₂, g₁, g₀, f₀, f₁, f₂, ... (with f₀ at the 0-th position) is (∏' n, f n) * ∏' n, g n.

theorem tsum_int_rec E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousAdd M] [T2Space M] {f g : ℕ → M},
  Summable f → Summable g → ∑' (n : ℤ), Int.rec f g n = ∑' (n : ℕ), f n + ∑' (n : ℕ), g n

If f₀, f₁, f₂, ... and g₀, g₁, g₂, ... are both summable, then the sum of the ℤ-indexed sequence: ..., g₂, g₁, g₀, f₀, f₁, f₂, ... (with f₀ at the 0-th position) is ∑' n, f n + ∑' n, g n.

theorem HasProd.nat_mul_neg E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {m : M} [ContinuousMul M] {f : ℤ → M},
  HasProd f m → HasProd (fun n ↦ f ↑n * f (-↑n)) (m * f 0)

theorem HasSum.nat_add_neg E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {m : M} [ContinuousAdd M] {f : ℤ → M},
  HasSum f m → HasSum (fun n ↦ f ↑n + f (-↑n)) (m + f 0)

theorem Multipliable.nat_mul_neg E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousMul M] {f : ℤ → M},
  Multipliable f → Multipliable fun n ↦ f ↑n * f (-↑n)

theorem Summable.nat_add_neg E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousAdd M] {f : ℤ → M},
  Summable f → Summable fun n ↦ f ↑n + f (-↑n)

theorem tsum_nat_add_neg E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousAdd M] [T2Space M] {f : ℤ → M},
  Summable f → ∑' (n : ℕ), (f ↑n + f (-↑n)) = ∑' (n : ℤ), f n + f 0

theorem tprod_nat_mul_neg E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousMul M] [T2Space M] {f : ℤ → M},
  Multipliable f → ∏' (n : ℕ), f ↑n * f (-↑n) = (∏' (n : ℤ), f n) * f 0

theorem HasProd.of_add_one_of_neg_add_one E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {m m' : M} [ContinuousMul M] {f : ℤ → M},
  HasProd (fun n ↦ f (↑n + 1)) m → HasProd (fun n ↦ f (-(↑n + 1))) m' → HasProd f (m * f 0 * m')

theorem HasSum.of_add_one_of_neg_add_one E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {m m' : M} [ContinuousAdd M] {f : ℤ → M},
  HasSum (fun n ↦ f (↑n + 1)) m → HasSum (fun n ↦ f (-(↑n + 1))) m' → HasSum f (m + f 0 + m')

theorem Summable.of_add_one_of_neg_add_one E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousAdd M] {f : ℤ → M},
  (Summable fun n ↦ f (↑n + 1)) → (Summable fun n ↦ f (-(↑n + 1))) → Summable f

theorem Multipliable.of_add_one_of_neg_add_one E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousMul M] {f : ℤ → M},
  (Multipliable fun n ↦ f (↑n + 1)) → (Multipliable fun n ↦ f (-(↑n + 1))) → Multipliable f

theorem tprod_of_add_one_of_neg_add_one E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousMul M] [T2Space M] {f : ℤ → M},
  (Multipliable fun n ↦ f (↑n + 1)) →
    (Multipliable fun n ↦ f (-(↑n + 1))) → ∏' (n : ℤ), f n = (∏' (n : ℕ), f (↑n + 1)) * f 0 * ∏' (n : ℕ), f (-(↑n + 1))

theorem tsum_of_add_one_of_neg_add_one E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] [ContinuousAdd M] [T2Space M] {f : ℤ → M},
  (Summable fun n ↦ f (↑n + 1)) →
    (Summable fun n ↦ f (-(↑n + 1))) → ∑' (n : ℤ), f n = ∑' (n : ℕ), f (↑n + 1) + f 0 + ∑' (n : ℕ), f (-(↑n + 1))

theorem HasSum.of_nat_of_neg E1 #

∀ {G : Type u_2} [inst : AddCommGroup G] {g g' : G} [inst_1 : TopologicalSpace G] [IsTopologicalAddGroup G] {f : ℤ → G},
  HasSum (fun n ↦ f ↑n) g → HasSum (fun n ↦ f (-↑n)) g' → HasSum f (g + g' - f 0)

theorem HasProd.of_nat_of_neg E1 #

∀ {G : Type u_2} [inst : CommGroup G] {g g' : G} [inst_1 : TopologicalSpace G] [IsTopologicalGroup G] {f : ℤ → G},
  HasProd (fun n ↦ f ↑n) g → HasProd (fun n ↦ f (-↑n)) g' → HasProd f (g * g' / f 0)

theorem Summable.of_nat_of_neg E1 #

∀ {G : Type u_2} [inst : AddCommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalAddGroup G] {f : ℤ → G},
  (Summable fun n ↦ f ↑n) → (Summable fun n ↦ f (-↑n)) → Summable f

theorem Multipliable.of_nat_of_neg E1 #

∀ {G : Type u_2} [inst : CommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalGroup G] {f : ℤ → G},
  (Multipliable fun n ↦ f ↑n) → (Multipliable fun n ↦ f (-↑n)) → Multipliable f

theorem Summable.tsum_of_nat_of_neg E1 #

∀ {G : Type u_2} [inst : AddCommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalAddGroup G] [T2Space G]
  {f : ℤ → G},
  (Summable fun n ↦ f ↑n) → (Summable fun n ↦ f (-↑n)) → ∑' (n : ℤ), f n = ∑' (n : ℕ), f ↑n + ∑' (n : ℕ), f (-↑n) - f 0

theorem Multipliable.tprod_of_nat_of_neg E1 #

∀ {G : Type u_2} [inst : CommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalGroup G] [T2Space G] {f : ℤ → G},
  (Multipliable fun n ↦ f ↑n) →
    (Multipliable fun n ↦ f (-↑n)) → ∏' (n : ℤ), f n = ((∏' (n : ℕ), f ↑n) * ∏' (n : ℕ), f (-↑n)) / f 0

theorem multipliable_int_iff_multipliable_nat_and_neg_add_one E1 #

∀ {G : Type u_2} [inst : CommGroup G] [inst_1 : UniformSpace G] [IsUniformGroup G] [CompleteSpace G] {f : ℤ → G},
  Multipliable f ↔ (Multipliable fun n ↦ f ↑n) ∧ Multipliable fun n ↦ f (-(↑n + 1))

"iff" version of Multipliable.of_nat_of_neg_add_one.

theorem summable_int_iff_summable_nat_and_neg_add_zero E1 #

∀ {G : Type u_2} [inst : AddCommGroup G] [inst_1 : UniformSpace G] [IsUniformAddGroup G] [CompleteSpace G] {f : ℤ → G},
  Summable f ↔ (Summable fun n ↦ f ↑n) ∧ Summable fun n ↦ f (-(↑n + 1))

"iff" version of Summable.of_nat_of_neg_add_one.

theorem multipliable_int_iff_multipliable_nat_and_neg E1 #

∀ {G : Type u_2} [inst : CommGroup G] [inst_1 : UniformSpace G] [IsUniformGroup G] [CompleteSpace G] {f : ℤ → G},
  Multipliable f ↔ (Multipliable fun n ↦ f ↑n) ∧ Multipliable fun n ↦ f (-↑n)

"iff" version of Multipliable.of_nat_of_neg.

theorem summable_int_iff_summable_nat_and_neg E1 #

∀ {G : Type u_2} [inst : AddCommGroup G] [inst_1 : UniformSpace G] [IsUniformAddGroup G] [CompleteSpace G] {f : ℤ → G},
  Summable f ↔ (Summable fun n ↦ f ↑n) ∧ Summable fun n ↦ f (-↑n)

"iff" version of Summable.of_nat_of_neg.

theorem Summable.alternating E1 #

∀ {α : Type u_3} [inst : Ring α] [inst_1 : UniformSpace α] [IsUniformAddGroup α] [CompleteSpace α] {f : ℕ → α},
  Summable f → Summable fun n ↦ (-1) ^ n * f n

theorem multipliable_pnat_iff_multipliable_succ E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {f : ℕ → M},
  (Multipliable fun x ↦ f ↑x) ↔ Multipliable fun x ↦ f (x + 1)

theorem summable_pnat_iff_summable_succ E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {f : ℕ → M},
  (Summable fun x ↦ f ↑x) ↔ Summable fun x ↦ f (x + 1)

theorem multipliable_pnat_iff_multipliable_nat E1 #

∀ {G : Type u_2} [inst : CommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalGroup G] {f : ℕ → G},
  (Multipliable fun n ↦ f ↑n) ↔ Multipliable f

theorem summable_pnat_iff_summable_nat E1 #

∀ {G : Type u_2} [inst : AddCommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalAddGroup G] {f : ℕ → G},
  (Summable fun n ↦ f ↑n) ↔ Summable f

theorem hasSum_pnat_iff_hasSum_succ E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {m : M} {f : ℕ → M},
  HasSum (fun x ↦ f ↑x) m ↔ HasSum (fun x ↦ f (x + 1)) m

theorem hasProd_pnat_iff_hasProd_succ E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {m : M} {f : ℕ → M},
  HasProd (fun x ↦ f ↑x) m ↔ HasProd (fun x ↦ f (x + 1)) m

theorem hasProd_pnat_iff E0 #

∀ {G : Type u_2} [inst : CommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalGroup G] {f : ℕ → G} {a : G},
  HasProd (fun x ↦ f ↑x) a ↔ HasProd f (a * f 0)

theorem hasSum_pnat_iff E0 #

∀ {G : Type u_2} [inst : AddCommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalAddGroup G] {f : ℕ → G} {a : G},
  HasSum (fun x ↦ f ↑x) a ↔ HasSum f (a + f 0)

theorem tprod_pnat_eq_tprod_succ E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {f : ℕ → M},
  ∏' (n : ℕ+), f ↑n = ∏' (n : ℕ), f (n + 1)

theorem tsum_pnat_eq_tsum_succ E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {f : ℕ → M},
  ∑' (n : ℕ+), f ↑n = ∑' (n : ℕ), f (n + 1)

theorem tsum_pnat_eq_tsum_of_eq_zero E1 #

∀ {M : Type u_1} [inst : AddCommMonoid M] [inst_1 : TopologicalSpace M] {f : ℕ → M},
  f 0 = 0 → ∑' (n : ℕ+), f ↑n = ∑' (n : ℕ), f n

theorem tprod_pnat_eq_tprod_of_eq_one E1 #

∀ {M : Type u_1} [inst : CommMonoid M] [inst_1 : TopologicalSpace M] {f : ℕ → M},
  f 0 = 1 → ∏' (n : ℕ+), f ↑n = ∏' (n : ℕ), f n

theorem tsum_zero_pnat_eq_tsum_nat E1 #

∀ {G : Type u_2} [inst : AddCommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalAddGroup G] [T2Space G]
  {f : ℕ → G}, Summable f → f 0 + ∑' (n : ℕ+), f ↑n = ∑' (n : ℕ), f n

theorem tprod_zero_pnat_eq_tprod_nat E1 #

∀ {G : Type u_2} [inst : CommGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalGroup G] [T2Space G] {f : ℕ → G},
  Multipliable f → f 0 * ∏' (n : ℕ+), f ↑n = ∏' (n : ℕ), f n

theorem tsum_int_eq_zero_add_tsum_pnat E1 #

∀ {G : Type u_2} [inst : AddCommGroup G] [inst_1 : UniformSpace G] [IsUniformAddGroup G] [CompleteSpace G] [T2Space G]
  {f : ℤ → G}, Summable f → ∑' (n : ℤ), f n = f 0 + ∑' (n : ℕ+), f ↑↑n + ∑' (n : ℕ+), f (-↑↑n)

theorem tprod_int_eq_zero_mul_tprod_pnat E1 #

∀ {G : Type u_2} [inst : CommGroup G] [inst_1 : UniformSpace G] [IsUniformGroup G] [CompleteSpace G] [T2Space G]
  {f : ℤ → G}, Multipliable f → ∏' (n : ℤ), f n = (f 0 * ∏' (n : ℕ+), f ↑↑n) * ∏' (n : ℕ+), f (-↑↑n)

theorem tprod_int_eq_zero_mul_tprod_pnat_sq E1 #

∀ {G : Type u_2} [inst : CommGroup G] [inst_1 : UniformSpace G] [IsUniformGroup G] [CompleteSpace G] [T2Space G]
  {f : ℤ → G}, Function.Even f → Multipliable f → ∏' (n : ℤ), f n = f 0 * (∏' (n : ℕ+), f ↑↑n) ^ 2

theorem tsum_int_eq_zero_add_two_mul_tsum_pnat E1 #

∀ {G : Type u_2} [inst : AddCommGroup G] [inst_1 : UniformSpace G] [IsUniformAddGroup G] [CompleteSpace G] [T2Space G]
  {f : ℤ → G}, Function.Even f → Summable f → ∑' (n : ℤ), f n = f 0 + 2 • ∑' (n : ℕ+), f ↑↑n