The square root function is subadditive over finite sums: √(∑ᵢ xᵢ) ≤ ∑ᵢ √xᵢ
for non-negative terms. This is a consequence of the concavity of sqrt.
Multiplication distributes over finite sums for EReal when all summands are non-negative.
This is needed because EReal lacks a general LeftDistribClass instance.
For non-negative reals, Real.toEReal commutes with finite sums.
Uses induction on the finset with EReal.coe_add.
Helper: Coercion from ENNReal to EReal preserves summability. All ENNReal sequences are summable, and their coercions to EReal are also summable.
Helper: Addition of tsums of ENNReal values coerced to EReal.
(∑' n, ↑(a n) : EReal) + (∑' n, ↑(b n) : EReal) = (∑' n, ↑(a n + b n) : EReal)
This follows from ENNReal.tsum_add and the fact that coercion commutes with addition.
Helper: For non-negative real sequences, tsum addition inequality in EReal. If f n + g n ≤ h n pointwise, then ∑' f.toEReal + ∑' g.toEReal ≤ ∑' h.toEReal.
Pointwise EReal ≤ nonneg Real implies tsum inequality. If 0 ≤ f n ≤ ↑(g n) for all n, where g n ≥ 0 and g summable, then ∑' f ≤ ↑(∑' g). Routes through ENNReal where tsum comparison is unconditional.
If all partial sums of a nonnegative EReal sequence are bounded by M, then the tsum is bounded by M.
This is a generalization of ENNReal.tsum_le_of_sum_range_le to EReal.