Properties of big operators extended non-negative real numbers #
In this file we prove elementary properties of sums and products on ℝ≥0∞, as well as how these
interact with the order structure on ℝ≥0∞.
@[simp]
theorem
ENNReal.coe_finset_sum
{α : Type u_1}
{s : Finset α}
{f : α → NNReal}
:
↑(∑ a ∈ s, f a) = ∑ a ∈ s, ↑(f a)
@[simp]
theorem
ENNReal.coe_finset_prod
{α : Type u_1}
{s : Finset α}
{f : α → NNReal}
:
↑(∏ a ∈ s, f a) = ∏ a ∈ s, ↑(f a)
@[simp]
@[simp]
theorem
ENNReal.ofReal_prod_of_nonneg
{α : Type u_2}
{s : Finset α}
{f : α → ℝ}
(hf : ∀ i ∈ s, 0 ≤ f i)
:
ENNReal.ofReal (∏ i ∈ s, f i) = ∏ i ∈ s, ENNReal.ofReal (f i)
@[simp]
A sum is infinite iff one of the summands is infinite.
@[simp]
A sum is finite iff all summands are finite.
theorem
ENNReal.toNNReal_sum
{α : Type u_1}
{s : Finset α}
{f : α → ENNReal}
(hf : ∀ a ∈ s, f a ≠ ⊤)
:
Seeing ℝ≥0∞ as ℝ≥0 does not change their sum, unless one of the ℝ≥0∞ is
infinity
theorem
ENNReal.ofReal_sum_of_nonneg
{α : Type u_1}
{s : Finset α}
{f : α → ℝ}
(hf : ∀ i ∈ s, 0 ≤ f i)
:
ENNReal.ofReal (∑ i ∈ s, f i) = ∑ i ∈ s, ENNReal.ofReal (f i)
theorem
ENNReal.prod_div_distrib_of_ne_top
{ι : Type u_1}
{f g : ι → ENNReal}
{s : Finset ι}
(hg : ∀ i ∈ s, g i ≠ ⊤)
:
∏ i ∈ s, f i / g i = (∏ i ∈ s, f i) / ∏ i ∈ s, g i
theorem
ENNReal.prod_div_distrib_of_ne_zero
{ι : Type u_1}
{f g : ι → ENNReal}
{s : Finset ι}
(hg : ∀ i ∈ s, g i ≠ 0)
:
∏ i ∈ s, f i / g i = (∏ i ∈ s, f i) / ∏ i ∈ s, g i
theorem
ENNReal.finsetSum_iSup_of_monotone
{ι : Type u_1}
{α : Type u_2}
[Preorder ι]
[IsDirectedOrder ι]
{s : Finset α}
{f : α → ι → ENNReal}
(hf : ∀ (a : α), Monotone (f a))
:
∑ a ∈ s, iSup (f a) = ⨆ (n : ι), ∑ a ∈ s, f a n