PhyslibAlpha.Mathematics.Analysis.RealBounds
Elementary real bounds
i. Overview
Three elementary estimates for real numbers: suprema of sums over a codirected family, inequalities up to `1 / (n + 1)` for every `n`, and averages that put almost all weight on one term.
ii. Key results
- `Real.ciSup_add` : suprema add along a family in which any two indices are dominated by a third. - `Real.le_of_forall_nat_le_add` : `a ≤ b` if `a ≤ b + 1 / (n + 1)` for every `n`. - `Real.abs_sum_mul_sub_le` : an average with weight at least `1 - θ` on one term is within `2 * A * θ` of it, for terms bounded by `A`.
iii. Table of contents
- A. Suprema
- B. Averages
A. Suprema
B. Averages
3 declarations
for Codirected Families
Let be a non-empty index set, and let be two functions such that their ranges are bounded above. Suppose that for every , there exists an index such that and . Then the supremum of the sum of the functions is equal to the sum of their individual suprema:
Let and be real numbers. If for every natural number , then .
when for bounded
Let be a finite set. Let be a collection of non-negative weights that sum to 1, i.e., for all and . Let be a collection of values such that for some . If there exists an index and a value such that the weight satisfies , then the absolute difference between the weighted average and is bounded as follows:
