# Structure 11: Classical inequalities, means, majorization, and rearrangement Part of the [Mathlib and TauCeti coverage series](STRUCTURE.md). [Mathematical inventory](SYNOPSIS11.md); [bibliographical scope](CKMA-bib.md#ckma-11); [MSC2020 index](CKMA-MSC2020.md). This file follows the thematic order and lettered subdivisions of the mathematical inventory. It records definitions, structures, and proved results, with supporting material identified separately. A topic heading locates the recorded statements; it does not assert coverage of every result in the corresponding synopsis. **Source baseline.** Mathlib `911003dd6dea5df215dff57f2717be762e11a6ca` and TauCeti `5cdecf40e99d5a5ad0833afff31f5b007d68a149`, both of 2026-10-18, checked against local checkouts on 2026-10-19. See the [revision and source conventions](STRUCTURE.md#source-baseline-and-conventions). **Mathlib source areas.** `Mathlib.Analysis.MeanInequalities`, `Mathlib.Analysis.MeanInequalitiesPow`, `Mathlib.MeasureTheory.Integral.MeanInequalities`, `Mathlib.MeasureTheory.Function.LpSeminorm.CompareExp`, `Mathlib.MeasureTheory.Function.LpSeminorm.TriangleInequality`, `Mathlib.Analysis.InnerProductSpace.Basic`, `Mathlib.Algebra.Order.BigOperators.Ring.Finset`, `Mathlib.Algebra.Order.Chebyshev`, `Mathlib.Algebra.Order.Rearrangement`, `Mathlib.Analysis.Convex.Jensen`, `Mathlib.Analysis.Convex.Integral`, `Mathlib.Analysis.Convex.DoublyStochasticMatrix`, `Mathlib.Analysis.Convex.Birkhoff`, `Mathlib.Probability.Moments.Variance`, `Mathlib.InformationTheory.KullbackLeibler.Basic`, `Mathlib.InformationTheory.KullbackLeibler.DataProcessing`, `Mathlib.Analysis.ODE.Gronwall`, `Mathlib.MeasureTheory.Integral.Layercake`, `Mathlib.Analysis.SpecialFunctions.Pow.Integral`, `Mathlib.Analysis.Complex.Hadamard`, `Mathlib.Basic.Real.ConjExponents`, `Mathlib.Data.Real.ConjExponents`. `Mathlib.Data.Real.ConjExponents` is deprecated and re-exports `Mathlib.Basic.Real.ConjExponents`. **Namespaces.** `Real`, `NNReal`, and `ENNReal` carry the mean, Young, Hölder, Minkowski, and power-mean inequalities, including the Lebesgue-integral Hölder and Minkowski inequalities in `ENNReal`. The Cauchy–Schwarz inequality for inner products is at the root, its finite-sum forms and Abel's inequality are in `Finset`, and the \(L^p\) seminorm comparisons are in `MeasureTheory`. Chebyshev and rearrangement are theorems about the predicates `Monovary`, `Antivary`, `MonovaryOn`, and `AntivaryOn`. Finite Jensen is stated on `ConvexOn`, `ConcaveOn`, `StrictConvexOn`, and `StrictConcaveOn`. Birkhoff’s theorem is at the root of its file. Relative entropy is in `InformationTheory`, Popoviciu's variance bound in `ProbabilityTheory`, the layer-cake formulas in `MeasureTheory`, and the three-lines theorem in `Complex.HadamardThreeLines`. TauCeti declarations are in `TauCeti`, `TauCeti.PDE`, `Real`, `Seminorm`, `Matrix`, and the dot-notation namespaces named below. ## Convexity and means [Mathematical scope](SYNOPSIS11.md#convexity-and-means). ### Mathlib **AM-GM, HM-GM, and Young.** Weighted AM-GM, for nonnegative weights summing to \(1\) and a nonnegative function \(z\) on a finite set \(s\): \[ \prod_{i\in s} z_i^{w_i}\le\sum_{i\in s} w_i z_i. \] If the total weight \(W\) is positive, the normalized form compares \(\bigl(\prod z_i^{w_i}\bigr)^{1/W}\) with \(\bigl(\sum w_i z_i\bigr)/W\). Two-, three-, and four-term weighted forms are included. The statements are given for \(\mathbb{R}\) and for \(\mathbb{R}_{\ge 0}\) (`Real.geom_mean_le_arith_mean_weighted`, `Analysis/MeanInequalities.lean`). Equality, for strictly positive weights summing to \(1\) and nonnegative \(z\), holds if and only if every value of \(z\) equals the weighted mean, and equivalently if and only if those values all agree. For nonnegative weights the same criterion is imposed only on the coordinates of positive weight. The inequality is strict precisely when that agreement fails (`Real.geom_mean_eq_arith_mean_weighted_iff_of_pos`, `Real.geom_mean_lt_arith_mean_weighted_iff_of_pos`, and their nonnegative-weight variants). Weighted HM-GM, for a nonempty finite set, strictly positive weights summing to \(1\), and strictly positive \(z\): \[ \Bigl(\sum_{i\in s}\frac{w_i}{z_i}\Bigr)^{-1}\le\prod_{i\in s} z_i^{w_i}. \] The form with an arbitrary positive total weight normalizes both sides in the same way. This is proved for real values, as a corollary of weighted AM-GM (`Real.harm_mean_le_geom_mean_weighted`). Young’s inequality, for Hölder conjugates \(p\) and \(q\): \[ ab\le\frac{|a|^p}{p}+\frac{|b|^q}{q}. \] For nonnegative \(a\) and \(b\), equality holds if and only if \(a^p=b^q\) (`Real.young_inequality`, `Real.young_inequality_eq_iff_of_nonneg`). The inequality and its equality case are also stated for \(\mathbb{R}_{\ge 0}\) and \(\mathbb{R}_{\ge 0}\infty\). The conjugate-function form \(st\le\phi(s)+\phi^*(t)\) is the Fenchel–Young inequality of [Section 12](STRUCTURE12.md). **Power means.** For nonnegative weights summing to \(1\), a nonnegative function \(z\), and a natural number \(n\), \[ \Bigl(\sum_{i\in s} w_i z_i\Bigr)^n\le\sum_{i\in s} w_i z_i^n. \] An even natural exponent drops the sign hypothesis on \(z\), by even-power convexity on \(\mathbb{R}\). Integer exponents require \(z>0\). For a real exponent \(p\ge 1\) the same weighted inequality holds, together with \[ \sum_{i\in s} w_i z_i\le\Bigl(\sum_{i\in s} w_i z_i^p\Bigr)^{1/p} \] (`Real.rpow_arith_mean_le_arith_mean_rpow`, `Real.arith_mean_le_rpow_mean`). These are the cases of the weighted power-mean comparison in which the smaller exponent is \(1\). Both files list the comparison for a general pair of exponents, including negative exponents, the convergence of the power mean to the geometric mean, and equality criteria for every inequality, as future work (`Analysis/MeanInequalities.lean`, `Analysis/MeanInequalitiesPow.lean`). For two nonnegative numbers and \(0
1\) and \(q>1\). The conjugate exponent of \(p\) is \(p/(p-1)\). The same language is available for nonnegative and extended-nonnegative exponents (`Basic/Real/ConjExponents.lean`). Two functions monovary on a set when a strict increase of the second forces a weak increase of the first, and they antivary when that conclusion is reversed (`Order/Monotone/Monovary.lean`). **Cauchy–Schwarz and Bergström.** In a real or complex inner product space, \(\|\langle x,y\rangle\|\le\|x\|\,\|y\|\) (`norm_inner_le_norm`, `inner_mul_inner_self_le`). Equality holds if and only if \(x=0\) or \(y\) is a scalar multiple of \(x\) (`norm_inner_eq_norm_tfae`, `norm_inner_eq_norm_iff` for nonzero vectors), which is the linear-dependence criterion including the zero cases (`Analysis/InnerProductSpace/Basic.lean`). For finite sums over a linearly ordered commutative semiring, \((\sum f_ig_i)^2\le(\sum f_i^2)(\sum g_i^2)\) (`Finset.sum_mul_sq_le_sq_mul_sq`). Bergström's inequality (Sedrakyan's or Titu's lemma) \((\sum_i f_i)^2/\sum_i g_i\le\sum_i f_i^2/g_i\) for \(g_i>0\) is `Finset.sq_sum_div_le_sum_sq_div` (`Algebra/Order/BigOperators/Ring/Finset.lean`); its equality case is not stated. **Hölder and Minkowski for finite sums.** For a finite set and real functions, Hölder conjugates give \[ \sum_{i\in s} f_i g_i\le\Bigl(\sum_{i\in s}|f_i|^p\Bigr)^{1/p}\Bigl(\sum_{i\in s}|g_i|^q\Bigr)^{1/q}. \] For a Hölder triple, \[ \sum_{i\in s}|f_i g_i|^r\le\Bigl(\sum_{i\in s}|f_i|^p\Bigr)^{r/p}\Bigl(\sum_{i\in s}|g_i|^q\Bigr)^{r/q}. \] The same comparisons are proved for nonnegative and extended-nonnegative values (`Real.inner_le_Lp_mul_Lq`, `Real.Lr_rpow_le_Lp_mul_Lq`). A weighted form, for \(p\ge 1\) and nonnegative weights and values, reads \[ \sum_{i\in s} w_i f_i\le\Bigl(\sum_{i\in s} w_i\Bigr)^{1-1/p}\Bigl(\sum_{i\in s} w_i f_i^p\Bigr)^{1/p}. \] If the series of \(p\)-th and \(q\)-th powers are summable, the Hölder and Minkowski comparisons extend to the corresponding series. Minkowski’s inequality, for \(p\ge 1\), \[ \Bigl(\sum_{i\in s}|f_i+g_i|^p\Bigr)^{1/p}\le\Bigl(\sum_{i\in s}|f_i|^p\Bigr)^{1/p}+\Bigl(\sum_{i\in s}|g_i|^p\Bigr)^{1/p}, \] is deduced from the fact that the \(\ell^p\) norm is the maximum of the pairing against vectors of conjugate norm at most \(1\) (`Real.Lp_add_le`; the maximality statement is `NNReal.isGreatest_Lp`). For the same range of \(p\), \[ \Bigl(\sum_{i\in s}|f_i|\Bigr)^p\le(\#s)^{p-1}\sum_{i\in s}|f_i|^p. \] **Integral forms.** Hölder's inequality for the lower Lebesgue integral with conjugate real exponents is `ENNReal.lintegral_mul_le_Lp_mul_Lq`, and for real nonnegative integrands `MeasureTheory.integral_mul_le_Lp_mul_Lq_of_nonneg`. In seminorm form, \(\|\varphi f\|_r\le\|\varphi\|_p\|f\|_q\) for every Hölder triple of extended exponents, including the endpoints \(1\) and \(\infty\) (`MeasureTheory.eLpNorm_smul_le_mul_eLpNorm`). For finitely many nonnegative functions and nonnegative weights \(p_i\) summing to \(1\), \(\int\prod_if_i^{p_i}\le\prod_i(\int f_i)^{p_i}\) (`ENNReal.lintegral_prod_norm_pow_le`), which is the generalized Hölder inequality with finite exponents \(1/p_i\). Minkowski's inequality \(\|f+g\|_p\le\|f\|_p+\|g\|_p\) holds for \(1\le p\le\infty\) (`MeasureTheory.eLpNorm_add_le`, and `ENNReal.lintegral_Lp_add_le` for the integral); for \(0
t\}\,dt\) (`MeasureTheory.lintegral_eq_lintegral_meas_lt`, with the \(\{f\ge t\}\) variant), more generally \(\int G\circ f\,d\mu=\int_0^\infty g(t)\,\mu\{f>t\}\,dt\) for \(G\) a primitive of a nonnegative locally integrable \(g\) (`MeasureTheory.lintegral_comp_eq_lintegral_meas_lt_mul`, `MeasureTheory/Integral/Layercake.lean`), and in particular \(\int f^p=p\int_0^\infty t^{p-1}\mu\{f>t\}\,dt\) for \(p>0\) (`MeasureTheory.lintegral_rpow_eq_lintegral_meas_lt_mul`, `Analysis/SpecialFunctions/Pow/Integral.lean`). ### TauCeti For a measure on a normed space, the Schwarz (symmetric decreasing) rearrangement of an \([0,\infty]\)-valued function is defined from its distribution function (`TauCeti.schwarzRearrangement`); for an additive Haar measure on a finite-dimensional real normed space it is radially nonincreasing, equimeasurable with \(f\), monotone, idempotent, and preserves every \(L^p\) norm, \(0