Mean value inequalities #
In this file we prove several mean inequalities for finite sums. Versions for integrals of some of
these inequalities are available in MeasureTheory.MeanInequalities.
Main theorems: generalized mean inequality #
The inequality says that for two non-negative vectors $w$ and $z$ with $\sum_{i\in s} w_i=1$ and $p ≤ q$ we have $$ \sqrt[p]{\sum_{i\in s} w_i z_i^p} ≤ \sqrt[q]{\sum_{i\in s} w_i z_i^q}. $$
Currently we only prove this inequality for $p=1$. As in the rest of Mathlib, we provide
different theorems for natural exponents (pow_arith_mean_le_arith_mean_pow), integer exponents
(zpow_arith_mean_le_arith_mean_zpow), and real exponents (rpow_arith_mean_le_arith_mean_rpow and
arith_mean_le_rpow_mean). In the first two cases we prove
$$ \left(\sum_{i\in s} w_i z_i\right)^n ≤ \sum_{i\in s} w_i z_i^n $$
in order to avoid using real exponents. For real exponents we prove both this and standard versions.
We also prove that $p \mapsto \sqrt[p]{\sum_{i\in s} z_i^p}$ is antitone on $(0, \infty)$
(NNReal.rpow_sum_rpow_le), together with the superadditivity of $x \mapsto x^p$ for $p ≥ 1$
(NNReal.sum_rpow_le_rpow_sum) and its subadditivity for $0 < p ≤ 1$
(NNReal.rpow_sum_le_sum_rpow), with versions in ℝ, ℝ≥0 and ℝ≥0∞.
TODO #
- each inequality
A ≤ Bshould come with a theoremA = B ↔ _; one of the ways to prove them is to defineStrictConvexOnfunctions. - generalized mean inequality with any
p ≤ q, including negative numbers; - prove that the power mean tends to the geometric mean as the exponent tends to zero.
The ℓ^p (quasi)norm (∑ i ∈ s, f i ^ p) ^ (1 / p) is antitone in p > 0.
See NNReal.rpow_add_rpow_le for two summands.
The ℓ^p (quasi)norm (∑ i ∈ s, f i ^ p) ^ (1 / p) of a nonnegative vector is antitone in
p > 0. See Real.rpow_add_rpow_le for two summands.
For 0 < p ≤ 1, the function x ↦ x ^ p is subadditive on nonnegative reals.
See Real.rpow_add_le_add_rpow for two summands.
The ℓ^p (quasi)norm (∑ i ∈ s, f i ^ p) ^ (1 / p) is antitone in p > 0.
See ENNReal.rpow_add_rpow_le for two summands.
A constant for the inequality ‖f + g‖_{L^p} ≤ C * (‖f‖_{L^p} + ‖g‖_{L^p}). It is equal to 1
for p ≥ 1 or p = 0, and 2^(1/p-1) in the more tricky interval (0, 1).
Instances For
Variant of ENNReal.rpow_add_le_mul_rpow_add_rpow using LpAddConst as the constant,
valid for all 0 ≤ p (not just 1 ≤ p).