Reusable layer: analysis #
Stable names for analysis results of the archive. Each theorem is proved by the archive theorem it re-exposes (no proof is copied).
Since v0.2.0 the real-rootedness result splits_of_alternating_sign (and its bridge
realRooted_iff_splits) lives in Formalizations.Reusable.Polynomial, with the other results on
real roots; this module imports it, so import Formalizations.Reusable.Analysis still provides it
under the same name.
Main results #
Formalizations.Reusable.margolus_levitin: the Margolus–Levitin quantum speed limitπ ≤ 2 ⟨E⟩ τfor the orthogonalization timeτ(archive:QSL.margolus_levitin).Formalizations.Reusable.zielinski_zych_inequality:x^α − π^α/2 + (π^α/2) cos x + α π^(α−1) sin x ≥ 0for everyα > 0andx ≥ 0(archive:QSL.zz_inequality_all).Formalizations.Reusable.hlawka_generalised: the generalised Hlawka inequality forn ≥ 3vectors of a real inner product space (archive:Hlawka.generalised).Formalizations.Reusable.airy_eq_zeros_unbounded_below: every solution ofy'' = x yhas zeros unbounded below (archive:Airy.sturm_unbounded_zeros).Formalizations.Reusable.glasser_integral:∫_{v>0} v^{-1/2} e^{-a/v - b v} dv = √(π/b) e^{-2√(ab)}(archive:Superstatistics.glasser_integral).Formalizations.Reusable.prod_two_sin_mul_pi_div:∏_{k=1}^{n-1} 2 sin(kπ/n) = n(archive:SpinRhoLine.prod_two_sin).Formalizations.Reusable.enestrom_kakeya_ne_zero: a polynomial with positive non-increasing real coefficients has no zero in the open unit disc (archive:Dilog.enestrom_kakeya).Formalizations.Reusable.Li₂_add_Li₂_one_sub,Formalizations.Reusable.Li₂_landen,Formalizations.Reusable.Li₂_sq: reflection, Landen and duplication for the real dilogarithm.Formalizations.Reusable.rogersL_fiveterm: the five-term relation for the Rogers dilogarithm.Formalizations.Reusable.Li₂c_I: the complex dilogarithm at the imaginary unit.
Oscillation of the Airy equation. If f is differentiable with derivative f', and f'
is differentiable with derivative x ↦ x f x (that is, f'' = x f everywhere), then f has a
zero below every bound: for every M there is x < M with f x = 0. This holds for every
solution, including the zero solution; the proof is a Sturm comparison with sin (√c (x − a))
built from Rolle's theorem and the intermediate value theorem (Mathlib has no Sturm theory).
- Archive:
Airy.sturm_unbounded_zeros(Formalizations.Analysis.SpecialFunctions.Airy.Basic). - Paper: C. Marín, How a Falling Particle Counts Its Floors (2026), doi:10.5281/zenodo.20787671.
- Classical reference: DLMF §9.9 (zeros of the Airy functions); E. A. Coddington, N. Levinson, Theory of Ordinary Differential Equations, ch. 8 (Sturm comparison).
- Example: for a solution
fwithhf, hf',airy_eq_zeros_unbounded_below f f' hf hf' 0gives a negative zero off.
Glasser's integral (the modified Bessel K_{1/2} integral). For a ≥ 0 and b > 0,
∫_{v > 0} v^{-1/2} exp(−a/v − b v) dv = √(π/b) · exp(−2 √(a b)). The case a = 0 is the Gamma
integral; for a > 0 the proof substitutes v = √(a/b) s² and uses Schlömilch's change of
variables u = s − 1/s.
- Archive:
Superstatistics.glasser_integral(Formalizations.Probability.Distributions.Superstatistics.LaplaceMixture, where it gives the Laplace law as a Gaussian scale mixture); the module cites no paper DOI of ours. - Classical reference: M. L. Glasser, A remarkable property of definite integrals, Math. Comp. 40 (1983) 561; D. F. Andrews, C. L. Mallows, J. Roy. Statist. Soc. Ser. B 36 (1974) 99–102.
- Example:
glasser_integral le_rfl one_posis∫ v^{-1/2} e^{-v} = √π(the Gamma valueΓ(1/2)), after simplification.
Product of sines. For every n ≥ 1, ∏_{k=1}^{n-1} 2 sin(kπ/n) = n. The proof goes through
IsPrimitiveRoot.prod_pow_sub_one_eq_order and |e^{2πik/n} − 1| = 2 sin(πk/n).
- Archive:
SpinRhoLine.prod_two_sin(Formalizations.RepresentationTheory.SpinRhoLine, used for the spin values on the ρ-line); the module cites no paper DOI of ours. - Classical reference: the identity
∏_{k=1}^{n-1} sin(kπ/n) = n / 2^{n-1}(folklore; it is the value at1of(Xⁿ − 1)/(X − 1) = ∏ (X − ζᵏ)). - Example:
prod_two_sin_mul_pi_div 4 (by norm_num)gives(2 sin(π/4)) (2 sin(2π/4)) (2 sin(3π/4)) = 4.
The Eneström–Kakeya theorem. A polynomial ∑_{k=0}^n a_k z^k with real coefficients
a_0 ≥ a_1 ≥ ⋯ ≥ a_n > 0 has no zero in the open unit disc ‖z‖ < 1. The proof multiplies by
1 − z, telescopes and applies the triangle inequality. (In the other common form, increasing
positive coefficients give no zero outside the closed unit disc; it follows by reversing the
polynomial.)
- Archive:
Dilog.enestrom_kakeya(Formalizations.Analysis.Polynomial.EnestromKakeya, in the namespace of the dilogarithm notes of the same archive; the module also has the boundary case,Dilog.enestrom_kakeya_boundary). - Classical reference: G. Eneström (1893), S. Kakeya, Tôhoku Math. J. 2 (1912); Q. I. Rahman, G. Schmeisser, Analytic Theory of Polynomials (2002).
- Example:
1 + z/2 + z²/3(coefficients1 ≥ 1/2 ≥ 1/3 > 0) has no zero with‖z‖ < 1.
Generalised Hlawka inequality (Djoković 1963; Smiley–Smiley 1964). For n ≥ 3 vectors of a real
inner product space, write d_k for the sum of the norms of all k-element subsums. Then
d_2 + ⋯ + d_{n-1} ≤ (2^(n-2) - 1) (d_1 + d_n). For n = 3 this is Hlawka's inequality
‖x+y‖ + ‖y+z‖ + ‖z+x‖ ≤ ‖x‖ + ‖y‖ + ‖z‖ + ‖x+y+z‖.
- Archive:
Hlawka.generalised(Formalizations.Analysis.InnerProductSpace.Hlawka; the casen = 3isHlawka.norm_add_add_le); the module cites no paper DOI of ours. - Classical reference: D. Ž. Djoković, Generalizations of Hlawka's inequality, Glasnik Mat.-Fiz. Astronom. 18 (1963) 169–175; D. M. Smiley, M. F. Smiley, The polygonal inequalities, Amer. Math. Monthly 71 (1964) 755–760.
- Example: four vectors of
ℝ,n = 4:d_2 + d_3 ≤ 3 (d_1 + d_4).
The Zieliński–Zych inequality. For every α > 0 and x ≥ 0,
0 ≤ x^α − π^α/2 + (π^α/2) cos x + α π^(α−1) sin x. It is the analytic core of the fractional-moment
quantum speed limit π^α ≤ 2 M_α τ^α; α = 1 is the Margolus–Levitin case.
- Archive:
QSL.zz_inequality_all(Formalizations.Physics.QuantumMechanics.SpeedLimit.ZielinskiZych; the archive proves it for0 < α ≤ 1by a harmonic-mean bound and forα ≥ 1by Bernoulli plus a split oftan); the module cites no paper DOI of ours. - Classical reference: the inequality is stated (without proof) in M. Zieliński, M. Zych, Phys. Rev. A 74, 034301 (2006), as cited in the archive module.
- Example:
α = 1, the inequality0 ≤ x − π/2 + (π/2) cos x + sin xbehind the Margolus–Levitin bound.
The Margolus–Levitin theorem (ℏ = 1). If a normalized population distribution p over
nonnegative energies E has mean energy Ebar and its autocorrelation S(τ) = ∑ₙ pₙ e^(−i Eₙ τ)
vanishes at a time τ ≥ 0 (real and imaginary parts given separately), then π ≤ 2 · Ebar · τ:
a state needs at least π / (2 ⟨E⟩) to evolve into an orthogonal one.
- Archive:
QSL.margolus_levitin(Formalizations.Physics.QuantumMechanics.SpeedLimit.MargolusLevitin, through the cosine inequality1 − (2/π)(x + sin x) ≤ cos xforx ≥ 0); the module cites no paper DOI of ours. - Classical reference: N. Margolus, L. B. Levitin, The maximum speed of dynamical evolution, Physica D 120 (1998) 188–195.
- Example: the orthogonalization time is at least
π / (2 Ebar)whenEbar > 0.
The Mandelstam–Tamm-type speed limit in L¹ form (ℏ = 1). If the autocorrelation vanishes at
a nonnegative time τ, then 1 ≤ D1 * τ, where D1 is the mean absolute energy deviation from
the reference energy Ebar. Archive: QSL.mandelstam_tamm_L1.
The kurtosis of √V * Z, for independent nonnegative V and standard normal Z, is
3 E[V²] / E[V]². Its excess kurtosis is 3 Var(V) / E[V]² and is nonnegative.
Archive: Superstatistics.variance_mixture_kurtosis_identity'.
Euler's reflection formula for the real dilogarithm on (0, 1):
Li₂(x) + Li₂(1 − x) = π²/6 − log(x) log(1 − x).
Archive: Dilog.Li₂_add_Li₂_one_sub.
Abel's five-term relation for the Rogers dilogarithm. For x, y ∈ (0, 1),
L(x) + L(y) = L(xy) + L(x(1 − y)/(1 − xy)) + L(y(1 − x)/(1 − xy)).
Archive: Dilog.rogersL_fiveterm.
The dilogarithm at the imaginary unit is Li₂(i) = −π²/48 + i G, where G
is Catalan's constant. Archive: Dilog.Li₂c_I.