Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. 18 — geometric mean over π ∈ Sym_{0..d} of ρ√(a_{π(0)}a_{π(d)})a_{π(1)}⋯a_{π(d−1)} is ρ(a_0⋯a_d)^{d/(d+1)}

Proved
SimplicialIso.Mixing.geometric_mean

by mikedeng1 · Oct 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

geometric-meaninequalitymixing-lemmap2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let d≥1d\ge1d≥1, let a0,…,ad≥0a_0,\dots,a_d\ge0a0​,…,ad​≥0 and x≥0x\ge0x≥0 be real numbers, and let ρ∈R\rho\in\mathbb Rρ∈R. If for every permutation π\piπ of {0,…,d}\{0,\dots,d\}{0,…,d}

x≤ρaπ(0) aπ(d)  aπ(1) aπ(2)⋯aπ(d−1),x\le\rho\sqrt{a_{\pi(0)}\,a_{\pi(d)}}\;a_{\pi(1)}\,a_{\pi(2)}\cdots a_{\pi(d-1)},x≤ρaπ(0)​aπ(d)​​aπ(1)​aπ(2)​⋯aπ(d−1)​,

then

x≤ρ (a0a1⋯ad)dd+1.x\le\rho\,(a_0a_1\cdots a_d)^{\frac d{d+1}}.x≤ρ(a0​a1​⋯ad​)d+1d​.

This is the final step of the proof of the Mixing Lemma ("taking the geometric mean over all such π\piπ"), applied with ai=∣Ai∣a_i=|A_i|ai​=∣Ai​∣ and xxx the discrepancy ∣∣F∣−α∏∣Ai∣/n∣\bigl||F|-\alpha\prod|A_i|/n\bigr|​∣F∣−α∏∣Ai​∣/n​.

Formalization Note. x≥0x\ge0x≥0 stands for the absolute value on the page; d≥1d\ge1d≥1 is needed (for d=0d=0d=0 the exponent is 000 and the claim fails). The power is the real power Real.rpow of a nonnegative base.

Preamble
import Mathlib
Formal statement
namespace SimplicialIso.Mixing

open Finset
open scoped InnerProductSpace

/-- p. 18, the geometric-mean step: if a number `x ≥ 0` is at most
`ρ √(a_{π(0)} a_{π(d)}) a_{π(1)} ⋯ a_{π(d-1)}` for every permutation `π` of `{0, …, d}`, where
`a_0, …, a_d ≥ 0`, then `x ≤ ρ (a_0 a_1 ⋯ a_d)^{d/(d+1)}`. -/
theorem geometric_mean (d : ℕ) (hd : 1 ≤ d) (a : Fin (d + 1) → ℝ) (ha : ∀ i, 0 ≤ a i)
    (x ρ : ℝ) (hx : 0 ≤ x)
    (h : ∀ π : Equiv.Perm (Fin (d + 1)),
      x ≤ ρ * Real.sqrt (a (π 0) * a (π (Fin.last d))) *
        ∏ i ∈ univ.filter (fun i : Fin (d + 1) => i ≠ 0 ∧ i ≠ Fin.last d), a (π i)) :
    x ≤ ρ * (∏ i, a i) ^ ((d : ℝ) / (d + 1)) := by sorry

end SimplicialIso.Mixing
Source
Parzanchevski, Rosenthal and Tessler, Isoperimetric inequalities in simplicial complexes, arXiv:1207.0638v3, §4.3, p. 18, 'Since A_0, . . . , A_d play the same role … Taking the geometric mean over all such π gives'
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 9, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me