mathlib3 documentation

topology.algebra.infinite_sum.basic

Infinite sum over a topological monoid #

THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.

This sum is known as unconditionally convergent, as it sums to the same value under all possible permutations. For Euclidean spaces (finite dimensional Banach spaces) this is equivalent to absolute convergence.

Note: There are summable sequences which are not unconditionally convergent! The other way holds generally, see has_sum.tendsto_sum_nat.

References #

def has_sum {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] (f : β α) (a : α) :
Prop

Infinite sum on a topological monoid

The at_top filter on finset β is the limit of all finite sets towards the entire type. So we sum up bigger and bigger sets. This sum operation is invariant under reordering. In particular, the function ℕ → ℝ sending n to (-1)^n / (n+1) does not have a sum for this definition, but a series which is absolutely convergent will have the correct sum.

This is based on Mario Carneiro's infinite sum df-tsms in Metamath.

For the definition or many statements, α does not need to be a topological monoid. We only add this assumption later, for the lemmas where it is relevant.

Equations
def summable {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] (f : β α) :
Prop

summable f means that f has some (infinite) sum. Use tsum to get the value.

Equations
@[irreducible]
noncomputable def tsum {α : Type u_1} [add_comm_monoid α] [topological_space α] {β : Type u_2} (f : β α) :
α

∑' i, f i is the sum of f it exists, or 0 otherwise

Equations
theorem summable.has_sum {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} (ha : summable f) :
has_sum f (∑' (b : β), f b)
theorem has_sum.summable {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} {a : α} (h : has_sum f a) :
theorem has_sum_zero {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] :
has_sum (λ (b : β), 0) 0

Constant zero function has sum 0

theorem has_sum_empty {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} [is_empty β] :
theorem summable_zero {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] :
summable (λ (b : β), 0)
theorem summable_empty {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} [is_empty β] :
theorem tsum_eq_zero_of_not_summable {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} (h : ¬summable f) :
∑' (b : β), f b = 0
theorem summable_congr {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f g : β α} (hfg : (b : β), f b = g b) :
theorem summable.congr {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f g : β α} (hf : summable f) (hfg : (b : β), f b = g b) :
theorem has_sum.has_sum_of_sum_eq {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] {f : β α} {a : α} {g : γ α} (h_eq : (u : finset γ), (v : finset β), (v' : finset β), v v' ( (u' : finset γ), u u' u'.sum (λ (x : γ), g x) = v'.sum (λ (b : β), f b))) (hf : has_sum g a) :
theorem has_sum_iff_has_sum {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] {f : β α} {a : α} {g : γ α} (h₁ : (u : finset γ), (v : finset β), (v' : finset β), v v' ( (u' : finset γ), u u' u'.sum (λ (x : γ), g x) = v'.sum (λ (b : β), f b))) (h₂ : (v : finset β), (u : finset γ), (u' : finset γ), u u' ( (v' : finset β), v v' v'.sum (λ (b : β), f b) = u'.sum (λ (x : γ), g x))) :
theorem function.injective.has_sum_iff {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] {f : β α} {a : α} {g : γ β} (hg : function.injective g) (hf : (x : β), x set.range g f x = 0) :
has_sum (f g) a has_sum f a
theorem function.injective.summable_iff {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] {f : β α} {g : γ β} (hg : function.injective g) (hf : (x : β), x set.range g f x = 0) :
theorem has_sum_subtype_iff_of_support_subset {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} {a : α} {s : set β} (hf : function.support f s) :
theorem has_sum_subtype_iff_indicator {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} {a : α} {s : set β} :
theorem summable_subtype_iff_indicator {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} {s : set β} :
@[simp]
theorem has_sum_subtype_support {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} {a : α} :
theorem has_sum_fintype {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [fintype β] (f : β α) :
has_sum f (finset.univ.sum (λ (b : β), f b))
@[protected]
theorem finset.has_sum {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] (s : finset β) (f : β α) :
has_sum (f coe) (s.sum (λ (b : β), f b))
@[protected]
theorem finset.summable {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] (s : finset β) (f : β α) :
@[protected]
theorem set.finite.summable {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {s : set β} (hs : s.finite) (f : β α) :
theorem has_sum_sum_of_ne_finset_zero {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} {s : finset β} (hf : (b : β), b s f b = 0) :
has_sum f (s.sum (λ (b : β), f b))

If a function f vanishes outside of a finite set s, then it has_sum ∑ b in s, f b.

theorem summable_of_ne_finset_zero {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} {s : finset β} (hf : (b : β), b s f b = 0) :
theorem has_sum_single {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} (b : β) (hf : (b' : β), b' b f b' = 0) :
has_sum f (f b)
theorem has_sum_ite_eq {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] (b : β) [decidable_pred (λ (_x : β), _x = b)] (a : α) :
has_sum (λ (b' : β), ite (b' = b) a 0) a
theorem has_sum_pi_single {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [decidable_eq β] (b : β) (a : α) :
theorem equiv.has_sum_iff {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] {f : β α} {a : α} (e : γ β) :
theorem function.injective.has_sum_range_iff {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] {f : β α} {a : α} {g : γ β} (hg : function.injective g) :
has_sum (λ (x : (set.range g)), f x) a has_sum (f g) a
theorem equiv.summable_iff {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] {f : β α} (e : γ β) :
theorem summable.prod_symm {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] {f : β × γ α} (hf : summable f) :
summable (λ (p : γ × β), f p.swap)
theorem equiv.has_sum_iff_of_support {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] {f : β α} {a : α} {g : γ α} (e : (function.support f) (function.support g)) (he : (x : (function.support f)), g (e x) = f x) :
theorem has_sum_iff_has_sum_of_ne_zero_bij {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] {f : β α} {a : α} {g : γ α} (i : (function.support g) β) (hi : ⦃x y : (function.support g)⦄, i x = i y x = y) (hf : function.support f set.range i) (hfg : (x : (function.support g)), f (i x) = g x) :
theorem equiv.summable_iff_of_support {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] {f : β α} {g : γ α} (e : (function.support f) (function.support g)) (he : (x : (function.support f)), g (e x) = f x) :
@[protected]
theorem has_sum.map {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] {f : β α} {a : α} [add_comm_monoid γ] [topological_space γ] (hf : has_sum f a) {G : Type u_4} [add_monoid_hom_class G α γ] (g : G) (hg : continuous g) :
has_sum (g f) (g a)
@[protected]
theorem summable.map {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] {f : β α} [add_comm_monoid γ] [topological_space γ] (hf : summable f) {G : Type u_4} [add_monoid_hom_class G α γ] (g : G) (hg : continuous g) :
@[protected]
theorem summable.map_iff_of_left_inverse {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] {f : β α} [add_comm_monoid γ] [topological_space γ] {G : Type u_4} {G' : Type u_5} [add_monoid_hom_class G α γ] [add_monoid_hom_class G' γ α] (g : G) (g' : G') (hg : continuous g) (hg' : continuous g') (hinv : function.left_inverse g' g) :
@[protected]
theorem summable.map_iff_of_equiv {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] {f : β α} [add_comm_monoid γ] [topological_space γ] {G : Type u_4} [add_equiv_class G α γ] (g : G) (hg : continuous g) (hg' : continuous (add_equiv_class.inv g)) :

A special case of summable.map_iff_of_left_inverse for convenience

theorem has_sum.tendsto_sum_nat {α : Type u_1} [add_comm_monoid α] [topological_space α] {a : α} {f : α} (h : has_sum f a) :
filter.tendsto (λ (n : ), (finset.range n).sum (λ (i : ), f i)) filter.at_top (nhds a)

If f : ℕ → α has sum a, then the partial sums ∑_{i=0}^{n-1} f i converge to a.

theorem has_sum.unique {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} {a₁ a₂ : α} [t2_space α] :
has_sum f a₁ has_sum f a₂ a₁ = a₂
theorem summable.has_sum_iff_tendsto_nat {α : Type u_1} [add_comm_monoid α] [topological_space α] [t2_space α] {f : α} {a : α} (hf : summable f) :
has_sum f a filter.tendsto (λ (n : ), (finset.range n).sum (λ (i : ), f i)) filter.at_top (nhds a)
theorem function.surjective.summable_iff_of_has_sum_iff {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] {α' : Type u_4} [add_comm_monoid α'] [topological_space α'] {e : α' α} (hes : function.surjective e) {f : β α} {g : γ α'} (he : {a : α'}, has_sum f (e a) has_sum g a) :
theorem has_sum.add {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f g : β α} {a b : α} [has_continuous_add α] (hf : has_sum f a) (hg : has_sum g b) :
has_sum (λ (b : β), f b + g b) (a + b)
theorem summable.add {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f g : β α} [has_continuous_add α] (hf : summable f) (hg : summable g) :
summable (λ (b : β), f b + g b)
theorem has_sum_sum {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] [has_continuous_add α] {f : γ β α} {a : γ α} {s : finset γ} :
( (i : γ), i s has_sum (f i) (a i)) has_sum (λ (b : β), s.sum (λ (i : γ), f i b)) (s.sum (λ (i : γ), a i))
theorem summable_sum {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] [has_continuous_add α] {f : γ β α} {s : finset γ} (hf : (i : γ), i s summable (f i)) :
summable (λ (b : β), s.sum (λ (i : γ), f i b))
theorem has_sum.add_disjoint {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} {a b : α} [has_continuous_add α] {s t : set β} (hs : disjoint s t) (ha : has_sum (f coe) a) (hb : has_sum (f coe) b) :
has_sum (f coe) (a + b)
theorem has_sum_sum_disjoint {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} [has_continuous_add α] {ι : Type u_3} (s : finset ι) {t : ι set β} {a : ι α} (hs : s.pairwise (disjoint on t)) (hf : (i : ι), i s has_sum (f coe) (a i)) :
has_sum (f coe) (s.sum (λ (i : ι), a i))
theorem has_sum.add_is_compl {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} {a b : α} [has_continuous_add α] {s t : set β} (hs : is_compl s t) (ha : has_sum (f coe) a) (hb : has_sum (f coe) b) :
has_sum f (a + b)
theorem has_sum.add_compl {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} {a b : α} [has_continuous_add α] {s : set β} (ha : has_sum (f coe) a) (hb : has_sum (f coe) b) :
has_sum f (a + b)
theorem summable.add_compl {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} [has_continuous_add α] {s : set β} (hs : summable (f coe)) (hsc : summable (f coe)) :
theorem has_sum.compl_add {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} {a b : α} [has_continuous_add α] {s : set β} (ha : has_sum (f coe) a) (hb : has_sum (f coe) b) :
has_sum f (a + b)
theorem has_sum.even_add_odd {α : Type u_1} [add_comm_monoid α] [topological_space α] {a b : α} [has_continuous_add α] {f : α} (he : has_sum (λ (k : ), f (2 * k)) a) (ho : has_sum (λ (k : ), f (2 * k + 1)) b) :
has_sum f (a + b)
theorem summable.compl_add {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} [has_continuous_add α] {s : set β} (hs : summable (f coe)) (hsc : summable (f coe)) :
theorem summable.even_add_odd {α : Type u_1} [add_comm_monoid α] [topological_space α] [has_continuous_add α] {f : α} (he : summable (λ (k : ), f (2 * k))) (ho : summable (λ (k : ), f (2 * k + 1))) :
theorem has_sum.sigma {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [has_continuous_add α] [regular_space α] {γ : β Type u_3} {f : (Σ (b : β), γ b) α} {g : β α} {a : α} (ha : has_sum f a) (hf : (b : β), has_sum (λ (c : γ b), f b, c⟩) (g b)) :
theorem has_sum.prod_fiberwise {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] [has_continuous_add α] [regular_space α] {f : β × γ α} {g : β α} {a : α} (ha : has_sum f a) (hf : (b : β), has_sum (λ (c : γ), f (b, c)) (g b)) :

If a series f on β × γ has sum a and for each b the restriction of f to {b} × γ has sum g b, then the series g has sum a.

theorem summable.sigma' {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [has_continuous_add α] [regular_space α] {γ : β Type u_3} {f : (Σ (b : β), γ b) α} (ha : summable f) (hf : (b : β), summable (λ (c : γ b), f b, c⟩)) :
summable (λ (b : β), ∑' (c : γ b), f b, c⟩)
theorem has_sum.sigma_of_has_sum {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [has_continuous_add α] [t3_space α] {γ : β Type u_3} {f : (Σ (b : β), γ b) α} {g : β α} {a : α} (ha : has_sum g a) (hf : (b : β), has_sum (λ (c : γ b), f b, c⟩) (g b)) (hf' : summable f) :
theorem has_sum.update' {α : Type u_1} {β : Type u_2} [topological_space α] [add_comm_monoid α] [t2_space α] [has_continuous_add α] {f : β α} {a a' : α} (hf : has_sum f a) (b : β) (x : α) (hf' : has_sum (function.update f b x) a') :
a + x = a' + f b

Version of has_sum.update for add_comm_monoid rather than add_comm_group. Rather than showing that f.update has a specific sum in terms of has_sum, it gives a relationship between the sums of f and f.update given that both exist.

theorem eq_add_of_has_sum_ite {α : Type u_1} {β : Type u_2} [topological_space α] [add_comm_monoid α] [t2_space α] [has_continuous_add α] {f : β α} {a : α} (hf : has_sum f a) (b : β) (a' : α) (hf' : has_sum (λ (n : β), ite (n = b) 0 (f n)) a') :
a = a' + f b

Version of has_sum_ite_sub_has_sum for add_comm_monoid rather than add_comm_group. Rather than showing that the ite expression has a specific sum in terms of has_sum, it gives a relationship between the sums of f and ite (n = b) 0 (f n) given that both exist.

theorem tsum_congr_subtype {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] (f : β α) {s t : set β} (h : s = t) :
∑' (x : s), f x = ∑' (x : t), f x
theorem tsum_zero' {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] (hz : is_closed {0}) :
∑' (b : β), 0 = 0
@[simp]
theorem tsum_zero {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t1_space α] :
∑' (b : β), 0 = 0
theorem has_sum.tsum_eq {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] {f : β α} {a : α} (ha : has_sum f a) :
∑' (b : β), f b = a
theorem summable.has_sum_iff {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] {f : β α} {a : α} (h : summable f) :
has_sum f a ∑' (b : β), f b = a
@[simp]
theorem tsum_empty {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] {f : β α} [is_empty β] :
∑' (b : β), f b = 0
theorem tsum_eq_sum {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] {f : β α} {s : finset β} (hf : (b : β), b s f b = 0) :
∑' (b : β), f b = s.sum (λ (b : β), f b)
theorem sum_eq_tsum_indicator {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] (f : β α) (s : finset β) :
s.sum (λ (x : β), f x) = ∑' (x : β), s.indicator f x
theorem tsum_congr {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f g : β α} (hfg : (b : β), f b = g b) :
∑' (b : β), f b = ∑' (b : β), g b
theorem tsum_fintype {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] [fintype β] (f : β α) :
∑' (b : β), f b = finset.univ.sum (λ (b : β), f b)
theorem tsum_bool {α : Type u_1} [add_comm_monoid α] [topological_space α] [t2_space α] (f : bool α) :
theorem tsum_eq_single {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] {f : β α} (b : β) (hf : (b' : β), b' b f b' = 0) :
∑' (b : β), f b = f b
theorem tsum_tsum_eq_single {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] [t2_space α] (f : β γ α) (b : β) (c : γ) (hfb : (b' : β), b' b f b' c = 0) (hfc : (b' : β) (c' : γ), c' c f b' c' = 0) :
∑' (b' : β) (c' : γ), f b' c' = f b c
@[simp]
theorem tsum_ite_eq {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] (b : β) [decidable_pred (λ (_x : β), _x = b)] (a : α) :
∑' (b' : β), ite (b' = b) a 0 = a
@[simp]
theorem tsum_pi_single {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] [decidable_eq β] (b : β) (a : α) :
∑' (b' : β), pi.single b a b' = a
theorem tsum_dite_right {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] (P : Prop) [decidable P] (x : β ¬P α) :
∑' (b : β), dite P (λ (h : P), 0) (λ (h : ¬P), x b h) = dite P (λ (h : P), 0) (λ (h : ¬P), ∑' (b : β), x b h)
theorem tsum_dite_left {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] (P : Prop) [decidable P] (x : β P α) :
∑' (b : β), dite P (λ (h : P), x b h) (λ (h : ¬P), 0) = dite P (λ (h : P), ∑' (b : β), x b h) (λ (h : ¬P), 0)
theorem function.surjective.tsum_eq_tsum_of_has_sum_iff_has_sum {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] [t2_space α] {α' : Type u_4} [add_comm_monoid α'] [topological_space α'] {e : α' α} (hes : function.surjective e) (h0 : e 0 = 0) {f : β α} {g : γ α'} (h : {a : α'}, has_sum f (e a) has_sum g a) :
∑' (b : β), f b = e (∑' (c : γ), g c)
theorem tsum_eq_tsum_of_has_sum_iff_has_sum {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] [t2_space α] {f : β α} {g : γ α} (h : {a : α}, has_sum f a has_sum g a) :
∑' (b : β), f b = ∑' (c : γ), g c
theorem equiv.tsum_eq {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] [t2_space α] (j : γ β) (f : β α) :
∑' (c : γ), f (j c) = ∑' (b : β), f b
theorem equiv.tsum_eq_tsum_of_support {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] [t2_space α] {f : β α} {g : γ α} (e : (function.support f) (function.support g)) (he : (x : (function.support f)), g (e x) = f x) :
∑' (x : β), f x = ∑' (y : γ), g y
theorem tsum_eq_tsum_of_ne_zero_bij {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] [t2_space α] {f : β α} {g : γ α} (i : (function.support g) β) (hi : ⦃x y : (function.support g)⦄, i x = i y x = y) (hf : function.support f set.range i) (hfg : (x : (function.support g)), f (i x) = g x) :
∑' (x : β), f x = ∑' (y : γ), g y

tsum on subsets #

@[simp]
theorem finset.tsum_subtype {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] (s : finset β) (f : β α) :
∑' (x : {x // x s}), f x = s.sum (λ (x : β), f x)
@[simp]
theorem finset.tsum_subtype' {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] (s : finset β) (f : β α) :
∑' (x : s), f x = s.sum (λ (x : β), f x)
theorem tsum_subtype {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] (s : set β) (f : β α) :
∑' (x : s), f x = ∑' (x : β), s.indicator f x
theorem tsum_subtype_eq_of_support_subset {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] {f : β α} {s : set β} (hs : function.support f s) :
∑' (x : s), f x = ∑' (x : β), f x
@[simp]
theorem tsum_univ {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] (f : β α) :
∑' (x : set.univ), f x = ∑' (x : β), f x
@[simp]
theorem tsum_singleton {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] (b : β) (f : β α) :
∑' (x : {b}), f x = f b
theorem tsum_image {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] [t2_space α] {g : γ β} (f : β α) {s : set γ} (hg : set.inj_on g s) :
∑' (x : (g '' s)), f x = ∑' (x : s), f (g x)
theorem tsum_range {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] [t2_space α] {g : γ β} (f : β α) (hg : function.injective g) :
∑' (x : (set.range g)), f x = ∑' (x : γ), f (g x)
theorem tsum_add {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] {f g : β α} [has_continuous_add α] (hf : summable f) (hg : summable g) :
∑' (b : β), (f b + g b) = ∑' (b : β), f b + ∑' (b : β), g b
theorem tsum_sum {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] [t2_space α] [has_continuous_add α] {f : γ β α} {s : finset γ} (hf : (i : γ), i s summable (f i)) :
∑' (b : β), s.sum (λ (i : γ), f i b) = s.sum (λ (i : γ), ∑' (b : β), f i b)
theorem tsum_eq_add_tsum_ite' {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] [has_continuous_add α] {f : β α} (b : β) (hf : summable (function.update f b 0)) :
∑' (x : β), f x = f b + ∑' (x : β), ite (x = b) 0 (f x)

Version of tsum_eq_add_tsum_ite for add_comm_monoid rather than add_comm_group. Requires a different convergence assumption involving function.update.

theorem tsum_sigma' {β : Type u_2} {δ : Type u_4} [add_comm_monoid δ] [topological_space δ] [t3_space δ] [has_continuous_add δ] {γ : β Type u_1} {f : (Σ (b : β), γ b) δ} (h₁ : (b : β), summable (λ (c : γ b), f b, c⟩)) (h₂ : summable f) :
∑' (p : Σ (b : β), γ b), f p = ∑' (b : β) (c : γ b), f b, c⟩
theorem tsum_prod' {β : Type u_2} {γ : Type u_3} {δ : Type u_4} [add_comm_monoid δ] [topological_space δ] [t3_space δ] [has_continuous_add δ] {f : β × γ δ} (h : summable f) (h₁ : (b : β), summable (λ (c : γ), f (b, c))) :
∑' (p : β × γ), f p = ∑' (b : β) (c : γ), f (b, c)
theorem tsum_comm' {β : Type u_2} {γ : Type u_3} {δ : Type u_4} [add_comm_monoid δ] [topological_space δ] [t3_space δ] [has_continuous_add δ] {f : β γ δ} (h : summable (function.uncurry f)) (h₁ : (b : β), summable (f b)) (h₂ : (c : γ), summable (λ (b : β), f b c)) :
∑' (c : γ) (b : β), f b c = ∑' (b : β) (c : γ), f b c
theorem tsum_supr_decode₂ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] [t2_space α] [encodable γ] [complete_lattice β] (m : β α) (m0 : m = 0) (s : γ β) :
∑' (i : ), m ( (b : γ) (H : b encodable.decode₂ γ i), s b) = ∑' (b : γ), m (s b)

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

theorem tsum_Union_decode₂ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] [t2_space α] [encodable γ] (m : set β α) (m0 : m = 0) (s : γ set β) :
∑' (i : ), m ( (b : γ) (H : b encodable.decode₂ γ i), s b) = ∑' (b : γ), m (s b)

tsum_supr_decode₂ specialized to the complete lattice of sets.

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.

theorem rel_supr_tsum {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] [t2_space α] [countable γ] [complete_lattice β] (m : β α) (m0 : m = 0) (R : α α Prop) (m_supr : (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_supr_sum {α : Type u_1} {β : Type u_2} {δ : Type u_4} [add_comm_monoid α] [topological_space α] [t2_space α] [complete_lattice β] (m : β α) (m0 : m = 0) (R : α α Prop) (m_supr : (s : β), R (m ( (i : ), s i)) (∑' (i : ), m (s i))) (s : δ β) (t : finset δ) :
R (m ( (d : δ) (H : d t), s d)) (t.sum (λ (d : δ), m (s d)))

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

theorem rel_sup_add {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] [complete_lattice β] (m : β α) (m0 : m = 0) (R : α α Prop) (m_supr : (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 tsum_add_tsum_compl {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] {f : β α} [has_continuous_add α] {s : set β} (hs : summable (f coe)) (hsc : summable (f coe)) :
∑' (x : s), f x + ∑' (x : s), f x = ∑' (x : β), f x
theorem tsum_union_disjoint {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] {f : β α} [has_continuous_add α] {s t : set β} (hd : disjoint s t) (hs : summable (f coe)) (ht : summable (f coe)) :
∑' (x : (s t)), f x = ∑' (x : s), f x + ∑' (x : t), f x
theorem tsum_finset_bUnion_disjoint {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] {f : β α} [has_continuous_add α] {ι : Type u_3} {s : finset ι} {t : ι set β} (hd : s.pairwise (disjoint on t)) (hf : (i : ι), i s summable (f coe)) :
∑' (x : (i : ι) (H : i s), t i), f x = s.sum (λ (i : ι), ∑' (x : (t i)), f x)
theorem tsum_even_add_odd {α : Type u_1} [add_comm_monoid α] [topological_space α] [t2_space α] [has_continuous_add α] {f : α} (he : summable (λ (k : ), f (2 * k))) (ho : summable (λ (k : ), f (2 * k + 1))) :
∑' (k : ), f (2 * k) + ∑' (k : ), f (2 * k + 1) = ∑' (k : ), f k
theorem has_sum.neg {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f : β α} {a : α} (h : has_sum f a) :
has_sum (λ (b : β), -f b) (-a)
theorem summable.neg {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f : β α} (hf : summable f) :
summable (λ (b : β), -f b)
theorem summable.of_neg {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f : β α} (hf : summable (λ (b : β), -f b)) :
theorem summable_neg_iff {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f : β α} :
summable (λ (b : β), -f b) summable f
theorem has_sum.sub {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f g : β α} {a₁ a₂ : α} (hf : has_sum f a₁) (hg : has_sum g a₂) :
has_sum (λ (b : β), f b - g b) (a₁ - a₂)
theorem summable.sub {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f g : β α} (hf : summable f) (hg : summable g) :
summable (λ (b : β), f b - g b)
theorem summable.trans_sub {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f g : β α} (hg : summable g) (hfg : summable (λ (b : β), f b - g b)) :
theorem summable_iff_of_summable_sub {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f g : β α} (hfg : summable (λ (b : β), f b - g b)) :
theorem has_sum.update {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f : β α} {a₁ : α} (hf : has_sum f a₁) (b : β) [decidable_eq β] (a : α) :
has_sum (function.update f b a) (a - f b + a₁)
theorem summable.update {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f : β α} (hf : summable f) (b : β) [decidable_eq β] (a : α) :
theorem has_sum.has_sum_compl_iff {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f : β α} {a₁ a₂ : α} {s : set β} (hf : has_sum (f coe) a₁) :
has_sum (f coe) a₂ has_sum f (a₁ + a₂)
theorem has_sum.has_sum_iff_compl {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f : β α} {a₁ a₂ : α} {s : set β} (hf : has_sum (f coe) a₁) :
has_sum f a₂ has_sum (f coe) (a₂ - a₁)
theorem summable.summable_compl_iff {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f : β α} {s : set β} (hf : summable (f coe)) :
@[protected]
theorem finset.has_sum_compl_iff {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f : β α} {a : α} (s : finset β) :
has_sum (λ (x : {x // x s}), f x) a has_sum f (a + s.sum (λ (i : β), f i))
@[protected]
theorem finset.has_sum_iff_compl {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f : β α} {a : α} (s : finset β) :
has_sum f a has_sum (λ (x : {x // x s}), f x) (a - s.sum (λ (i : β), f i))
@[protected]
theorem finset.summable_compl_iff {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f : β α} (s : finset β) :
summable (λ (x : {x // x s}), f x) summable f
theorem set.finite.summable_compl_iff {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f : β α} {s : set β} (hs : s.finite) :
theorem has_sum_ite_sub_has_sum {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f : β α} {a : α} [decidable_eq β] (hf : has_sum f a) (b : β) :
has_sum (λ (n : β), ite (n = b) 0 (f n)) (a - f b)
theorem tsum_neg {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f : β α} [t2_space α] :
∑' (b : β), -f b = -∑' (b : β), f b
theorem tsum_sub {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f g : β α} [t2_space α] (hf : summable f) (hg : summable g) :
∑' (b : β), (f b - g b) = ∑' (b : β), f b - ∑' (b : β), g b
theorem sum_add_tsum_compl {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f : β α} [t2_space α] {s : finset β} (hf : summable f) :
s.sum (λ (x : β), f x) + ∑' (x : (s)), f x = ∑' (x : β), f x
theorem tsum_eq_add_tsum_ite {α : Type u_1} {β : Type u_2} [add_comm_group α] [topological_space α] [topological_add_group α] {f : β α} [t2_space α] [decidable_eq β] (hf : summable f) (b : β) :
∑' (n : β), f n = f b + ∑' (n : β), ite (n = b) 0 (f n)

Let f : β → α be a sequence with summable series and let b ∈ β be an index. Lemma tsum_eq_add_tsum_ite writes Σ f n as the sum of f b plus the series of the remaining terms.

Sums on nat #

We show the formula (∑ i in range k, f i) + (∑' i, f (i + k)) = (∑' i, f i), in sum_add_tsum_nat_add, as well as several results relating sums on and .

theorem has_sum_nat_add_iff {α : Type u_1} [add_comm_group α] [topological_space α] [topological_add_group α] {f : α} (k : ) {a : α} :
has_sum (λ (n : ), f (n + k)) a has_sum f (a + (finset.range k).sum (λ (i : ), f i))
theorem summable_nat_add_iff {α : Type u_1} [add_comm_group α] [topological_space α] [topological_add_group α] {f : α} (k : ) :
summable (λ (n : ), f (n + k)) summable f
theorem has_sum_nat_add_iff' {α : Type u_1} [add_comm_group α] [topological_space α] [topological_add_group α] {f : α} (k : ) {a : α} :
has_sum (λ (n : ), f (n + k)) (a - (finset.range k).sum (λ (i : ), f i)) has_sum f a
theorem sum_add_tsum_nat_add {α : Type u_1} [add_comm_group α] [topological_space α] [topological_add_group α] [t2_space α] {f : α} (k : ) (h : summable f) :
(finset.range k).sum (λ (i : ), f i) + ∑' (i : ), f (i + k) = ∑' (i : ), f i
theorem tsum_eq_zero_add {α : Type u_1} [add_comm_group α] [topological_space α] [topological_add_group α] [t2_space α] {f : α} (hf : summable f) :
∑' (b : ), f b = f 0 + ∑' (b : ), f (b + 1)
theorem tendsto_sum_nat_add {α : Type u_1} [add_comm_group α] [topological_space α] [topological_add_group α] [t2_space α] (f : α) :
filter.tendsto (λ (i : ), ∑' (k : ), f (k + i)) filter.at_top (nhds 0)

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

theorem has_sum.int_rec {α : Type u_1} [add_comm_group α] [topological_space α] [topological_add_group α] {a b : α} {f g : α} (hf : has_sum f a) (hg : has_sum g b) :
has_sum (int.rec f g) (a + b)

If f₀, f₁, f₂, ... and g₀, g₁, g₂, ... are both convergent then so is the -indexed sequence: ..., g₂, g₁, g₀, f₀, f₁, f₂, ....

theorem has_sum.nonneg_add_neg {α : Type u_1} [add_comm_group α] [topological_space α] [topological_add_group α] {a b : α} {f : α} (hnonneg : has_sum (λ (n : ), f n) a) (hneg : has_sum (λ (n : ), f (-(n.succ))) b) :
has_sum f (a + b)
theorem has_sum.pos_add_zero_add_neg {α : Type u_1} [add_comm_group α] [topological_space α] [topological_add_group α] {a b : α} {f : α} (hpos : has_sum (λ (n : ), f (n + 1)) a) (hneg : has_sum (λ (n : ), f (-(n.succ))) b) :
has_sum f (a + f 0 + b)
theorem summable_int_of_summable_nat {α : Type u_1} [add_comm_group α] [topological_space α] [topological_add_group α] {f : α} (hp : summable (λ (n : ), f n)) (hn : summable (λ (n : ), f (-n))) :
theorem has_sum.sum_nat_of_sum_int {α : Type u_1} [add_comm_monoid α] [topological_space α] [has_continuous_add α] {a : α} {f : α} (hf : has_sum f a) :
has_sum (λ (n : ), f n + f (-n)) (a + f 0)
theorem summable_iff_cauchy_seq_finset {α : Type u_1} {β : Type u_2} [add_comm_group α] [uniform_space α] [complete_space α] {f : β α} :
summable f cauchy_seq (λ (s : finset β), s.sum (λ (b : β), f b))

The Cauchy criterion for infinite sums, also known as the Cauchy convergence test

theorem cauchy_seq_finset_iff_vanishing {α : Type u_1} {β : Type u_2} [add_comm_group α] [uniform_space α] [uniform_add_group α] {f : β α} :
cauchy_seq (λ (s : finset β), s.sum (λ (b : β), f b)) (e : set α), e nhds 0 ( (s : finset β), (t : finset β), disjoint t s t.sum (λ (b : β), f b) e)
theorem tendsto_tsum_compl_at_top_zero {α : Type u_1} {β : Type u_2} [add_comm_group α] [uniform_space α] [uniform_add_group α] (f : β α) :
filter.tendsto (λ (s : finset β), ∑' (b : {x // x s}), f b) filter.at_top (nhds 0)

The sum over the complement of a finset tends to 0 when the finset grows to cover the whole space. This does not need a summability assumption, as otherwise all sums are zero.

theorem summable_iff_vanishing {α : Type u_1} {β : Type u_2} [add_comm_group α] [uniform_space α] [uniform_add_group α] {f : β α} [complete_space α] :
summable f (e : set α), e nhds 0 ( (s : finset β), (t : finset β), disjoint t s t.sum (λ (b : β), f b) e)
theorem summable.summable_of_eq_zero_or_self {α : Type u_1} {β : Type u_2} [add_comm_group α] [uniform_space α] [uniform_add_group α] {f g : β α} [complete_space α] (hf : summable f) (h : (b : β), g b = 0 g b = f b) :
@[protected]
theorem summable.indicator {α : Type u_1} {β : Type u_2} [add_comm_group α] [uniform_space α] [uniform_add_group α] {f : β α} [complete_space α] (hf : summable f) (s : set β) :
theorem summable.comp_injective {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_group α] [uniform_space α] [uniform_add_group α] {f : β α} [complete_space α] {i : γ β} (hf : summable f) (hi : function.injective i) :
theorem summable.subtype {α : Type u_1} {β : Type u_2} [add_comm_group α] [uniform_space α] [uniform_add_group α] {f : β α} [complete_space α] (hf : summable f) (s : set β) :
theorem summable_subtype_and_compl {α : Type u_1} {β : Type u_2} [add_comm_group α] [uniform_space α] [uniform_add_group α] {f : β α} [complete_space α] {s : set β} :
summable (λ (x : s), f x) summable (λ (x : s), f x) summable f
theorem summable.sigma_factor {α : Type u_1} {β : Type u_2} [add_comm_group α] [uniform_space α] [uniform_add_group α] [complete_space α] {γ : β Type u_3} {f : (Σ (b : β), γ b) α} (ha : summable f) (b : β) :
summable (λ (c : γ b), f b, c⟩)
theorem summable.sigma {α : Type u_1} {β : Type u_2} [add_comm_group α] [uniform_space α] [uniform_add_group α] [complete_space α] {γ : β Type u_3} {f : (Σ (b : β), γ b) α} (ha : summable f) :
summable (λ (b : β), ∑' (c : γ b), f b, c⟩)
theorem summable.prod_factor {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_group α] [uniform_space α] [uniform_add_group α] [complete_space α] {f : β × γ α} (h : summable f) (b : β) :
summable (λ (c : γ), f (b, c))
theorem tsum_sigma {α : Type u_1} {β : Type u_2} [add_comm_group α] [uniform_space α] [uniform_add_group α] [complete_space α] [t0_space α] {γ : β Type u_3} {f : (Σ (b : β), γ b) α} (ha : summable f) :
∑' (p : Σ (b : β), γ b), f p = ∑' (b : β) (c : γ b), f b, c⟩
theorem tsum_prod {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_group α] [uniform_space α] [uniform_add_group α] [complete_space α] [t0_space α] {f : β × γ α} (h : summable f) :
∑' (p : β × γ), f p = ∑' (b : β) (c : γ), f (b, c)
theorem tsum_comm {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_group α] [uniform_space α] [uniform_add_group α] [complete_space α] [t0_space α] {f : β γ α} (h : summable (function.uncurry f)) :
∑' (c : γ) (b : β), f b c = ∑' (b : β) (c : γ), f b c
theorem tsum_subtype_add_tsum_subtype_compl {α : Type u_1} {β : Type u_2} [add_comm_group α] [uniform_space α] [uniform_add_group α] [complete_space α] [t2_space α] {f : β α} (hf : summable f) (s : set β) :
∑' (x : s), f x + ∑' (x : s), f x = ∑' (x : β), f x
theorem sum_add_tsum_subtype_compl {α : Type u_1} {β : Type u_2} [add_comm_group α] [uniform_space α] [uniform_add_group α] [complete_space α] [t2_space α] {f : β α} (hf : summable f) (s : finset β) :
s.sum (λ (x : β), f x) + ∑' (x : {x // x s}), f x = ∑' (x : β), f x
theorem summable.vanishing {α : Type u_1} {G : Type u_5} [topological_space G] [add_comm_group G] [topological_add_group G] {f : α G} (hf : summable f) ⦃e : set G⦄ (he : e nhds 0) :
(s : finset α), (t : finset α), disjoint t s t.sum (λ (k : α), f k) e

Series divergence test: if f is a convergent series, then f x tends to zero along cofinite.

theorem has_sum.const_smul {α : Type u_1} {β : Type u_2} {γ : Type u_3} [monoid γ] [topological_space α] [add_comm_monoid α] [distrib_mul_action γ α] [has_continuous_const_smul γ α] {f : β α} {a : α} (b : γ) (hf : has_sum f a) :
has_sum (λ (i : β), b f i) (b a)
theorem summable.const_smul {α : Type u_1} {β : Type u_2} {γ : Type u_3} [monoid γ] [topological_space α] [add_comm_monoid α] [distrib_mul_action γ α] [has_continuous_const_smul γ α] {f : β α} (b : γ) (hf : summable f) :
summable (λ (i : β), b f i)
theorem tsum_const_smul {α : Type u_1} {β : Type u_2} {γ : Type u_3} [monoid γ] [topological_space α] [add_comm_monoid α] [distrib_mul_action γ α] [has_continuous_const_smul γ α] {f : β α} [t2_space α] (b : γ) (hf : summable f) :
∑' (i : β), b f i = b ∑' (i : β), f i

Product and pi types #

theorem has_sum.prod_mk {α : Type u_1} {β : Type u_2} {γ : Type u_3} [add_comm_monoid α] [topological_space α] [add_comm_monoid γ] [topological_space γ] {f : β α} {g : β γ} {a : α} {b : γ} (hf : has_sum f a) (hg : has_sum g b) :
has_sum (λ (x : β), (f x, g x)) (a, b)
theorem pi.has_sum {α : Type u_1} {ι : Type u_5} {π : α Type u_6} [Π (x : α), add_comm_monoid (π x)] [Π (x : α), topological_space (π x)] {f : ι Π (x : α), π x} {g : Π (x : α), π x} :
has_sum f g (x : α), has_sum (λ (i : ι), f i x) (g x)
theorem pi.summable {α : Type u_1} {ι : Type u_5} {π : α Type u_6} [Π (x : α), add_comm_monoid (π x)] [Π (x : α), topological_space (π x)] {f : ι Π (x : α), π x} :
summable f (x : α), summable (λ (i : ι), f i x)
theorem tsum_apply {α : Type u_1} {ι : Type u_5} {π : α Type u_6} [Π (x : α), add_comm_monoid (π x)] [Π (x : α), topological_space (π x)] [ (x : α), t2_space (π x)] {f : ι Π (x : α), π x} {x : α} (hf : summable f) :
(∑' (i : ι), f i) x = ∑' (i : ι), f i x

Multiplicative opposite #

theorem has_sum.op {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} {a : α} (hf : has_sum f a) :
has_sum (λ (a : β), mul_opposite.op (f a)) (mul_opposite.op a)
theorem summable.op {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} (hf : summable f) :
theorem has_sum.unop {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β αᵐᵒᵖ} {a : αᵐᵒᵖ} (hf : has_sum f a) :
theorem summable.unop {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β αᵐᵒᵖ} (hf : summable f) :
@[simp]
theorem has_sum_op {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} {a : α} :
has_sum (λ (a : β), mul_opposite.op (f a)) (mul_opposite.op a) has_sum f a
@[simp]
theorem has_sum_unop {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β αᵐᵒᵖ} {a : αᵐᵒᵖ} :
@[simp]
theorem summable_op {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} :
summable (λ (a : β), mul_opposite.op (f a)) summable f
@[simp]
theorem summable_unop {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β αᵐᵒᵖ} :
summable (λ (a : β), mul_opposite.unop (f a)) summable f
theorem tsum_op {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] {f : β α} [t2_space α] :
∑' (x : β), mul_opposite.op (f x) = mul_opposite.op (∑' (x : β), f x)
theorem tsum_unop {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [t2_space α] {f : β αᵐᵒᵖ} :
∑' (x : β), mul_opposite.unop (f x) = mul_opposite.unop (∑' (x : β), f x)

Interaction with the star #

theorem has_sum.star {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [star_add_monoid α] [has_continuous_star α] {f : β α} {a : α} (h : has_sum f a) :
has_sum (λ (b : β), has_star.star (f b)) (has_star.star a)
theorem summable.star {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [star_add_monoid α] [has_continuous_star α] {f : β α} (hf : summable f) :
summable (λ (b : β), has_star.star (f b))
theorem summable.of_star {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [star_add_monoid α] [has_continuous_star α] {f : β α} (hf : summable (λ (b : β), has_star.star (f b))) :
@[simp]
theorem summable_star_iff {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [star_add_monoid α] [has_continuous_star α] {f : β α} :
summable (λ (b : β), has_star.star (f b)) summable f
@[simp]
theorem tsum_star {α : Type u_1} {β : Type u_2} [add_comm_monoid α] [topological_space α] [star_add_monoid α] [has_continuous_star α] {f : β α} [t2_space α] :
has_star.star (∑' (b : β), f b) = ∑' (b : β), has_star.star (f b)