The areas / V03. Sets, finite structures and big operators
Mathlib.Algebra.BigOperators.WithTop
16 declarations. Mathlib docs · Source
theorem WithTop.coe_sum E0 #
∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] (s : Finset ι) (f : ι → M), ↑(∑ i ∈ s, f i) = ∑ i ∈ s, ↑(f i)
theorem WithTop.sum_eq_top E0 #
∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {s : Finset ι} {f : ι → WithTop M},
∑ i ∈ s, f i = ⊤ ↔ ∃ i ∈ s, f i = ⊤
A sum is infinite iff one term is infinite.
theorem WithTop.sum_ne_top E1 #
∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {s : Finset ι} {f : ι → WithTop M},
∑ i ∈ s, f i ≠ ⊤ ↔ ∀ i ∈ s, f i ≠ ⊤
A sum is finite iff all terms are finite.
theorem WithTop.sum_lt_top E0 #
∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {s : Finset ι} {f : ι → WithTop M} [inst_1 : LT M],
∑ i ∈ s, f i < ⊤ ↔ ∀ i ∈ s, f i < ⊤
A sum is finite iff all terms are finite.
theorem WithTop.prod_ne_top E1 #
∀ {ι : Type u_1} {M₀ : Type u_3} [inst : CommMonoidWithZero M₀] [inst_1 : NoZeroDivisors M₀] [inst_2 : Nontrivial M₀]
[inst_3 : DecidableEq M₀] {s : Finset ι} {f : ι → WithTop M₀}, (∀ i ∈ s, f i ≠ ⊤) → ∏ i ∈ s, f i ≠ ⊤
A product of finite terms is finite.
theorem WithTop.prod_lt_top E1 #
∀ {ι : Type u_1} {M₀ : Type u_3} [inst : CommMonoidWithZero M₀] [inst_1 : NoZeroDivisors M₀] [inst_2 : Nontrivial M₀]
[inst_3 : DecidableEq M₀] {s : Finset ι} {f : ι → WithTop M₀} [inst_4 : LT M₀], (∀ i ∈ s, f i < ⊤) → ∏ i ∈ s, f i < ⊤
A product of finite terms is finite.
theorem WithTop.prod_eq_top E1 #
∀ {ι : Type u_1} {M₀ : Type u_3} [inst : CommMonoidWithZero M₀] [inst_1 : NoZeroDivisors M₀] [inst_2 : Nontrivial M₀]
[inst_3 : DecidableEq M₀] {s : Finset ι} {f : ι → WithTop M₀} {i : ι},
i ∈ s → f i = ⊤ → (∀ j ∈ s, f j ≠ 0) → ∏ j ∈ s, f j = ⊤
theorem WithTop.prod_eq_top_ne_zero E1 #
∀ {ι : Type u_1} {M₀ : Type u_3} [inst : CommMonoidWithZero M₀] [inst_1 : NoZeroDivisors M₀] [inst_2 : Nontrivial M₀]
[inst_3 : DecidableEq M₀] {s : Finset ι} {f : ι → WithTop M₀} {i : ι}, i ∈ s → ∏ j ∈ s, f j = ⊤ → f i ≠ 0
theorem WithTop.prod_eq_top_ex_top E1 #
∀ {ι : Type u_1} {M₀ : Type u_3} [inst : CommMonoidWithZero M₀] [inst_1 : NoZeroDivisors M₀] [inst_2 : Nontrivial M₀]
[inst_3 : DecidableEq M₀] {s : Finset ι} {f : ι → WithTop M₀}, ∏ j ∈ s, f j = ⊤ → ∃ i ∈ s, f i = ⊤
theorem WithTop.prod_eq_top_iff E0 #
∀ {ι : Type u_1} {M₀ : Type u_3} [inst : CommMonoidWithZero M₀] [inst_1 : NoZeroDivisors M₀] [inst_2 : Nontrivial M₀]
[inst_3 : DecidableEq M₀] {s : Finset ι} {f : ι → WithTop M₀},
∏ j ∈ s, f j = ⊤ ↔ (∃ i ∈ s, f i = ⊤) ∧ ∀ i ∈ s, f i ≠ 0
A product is infinite iff each factor is nonzero and some factor is infinite
theorem WithBot.coe_sum E0 #
∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] (s : Finset ι) (f : ι → M), ↑(∑ i ∈ s, f i) = ∑ i ∈ s, ↑(f i)
theorem WithBot.sum_eq_bot_iff E0 #
∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {s : Finset ι} {f : ι → WithBot M},
∑ i ∈ s, f i = ⊥ ↔ ∃ i ∈ s, f i = ⊥
A sum is infinite iff one term is infinite.
theorem WithBot.bot_lt_sum_iff E0 #
∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {s : Finset ι} {f : ι → WithBot M} [inst_1 : LT M],
⊥ < ∑ i ∈ s, f i ↔ ∀ i ∈ s, ⊥ < f i
A sum is finite iff all terms are finite.
theorem WithBot.sum_lt_bot E1 #
∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] {s : Finset ι} {f : ι → WithBot M} [inst_1 : LT M],
(∀ i ∈ s, f i ≠ ⊥) → ⊥ < ∑ i ∈ s, f i
A sum of finite terms is finite.
theorem WithBot.prod_ne_bot E1 #
∀ {ι : Type u_1} {M₀ : Type u_3} [inst : CommMonoidWithZero M₀] [inst_1 : NoZeroDivisors M₀] [inst_2 : Nontrivial M₀]
[inst_3 : DecidableEq M₀] {s : Finset ι} {f : ι → WithBot M₀}, (∀ i ∈ s, f i ≠ ⊥) → ∏ i ∈ s, f i ≠ ⊥
A product of finite terms is finite.
theorem WithBot.bot_lt_prod E1 #
∀ {ι : Type u_1} {M₀ : Type u_3} [inst : CommMonoidWithZero M₀] [inst_1 : NoZeroDivisors M₀] [inst_2 : Nontrivial M₀]
[inst_3 : DecidableEq M₀] {s : Finset ι} {f : ι → WithBot M₀} [inst_4 : LT M₀], (∀ i ∈ s, ⊥ < f i) → ⊥ < ∏ i ∈ s, f i
A product of finite terms is finite.