Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

A weighted three-point convexity inequality, for points in any order

Proved
HlawkaSchatten.DiagonalConstruction.weighted_convex_hlawka

by savarin · Sep 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

convexityhlawka-inequalityhlawka-schattenreal-analysisweighted-inequality

Let f:R→Rf:\mathbb{R}\to\mathbb{R}f:R→R be convex on all of R\mathbb RR, and a,b,c>0a,b,c>0a,b,c>0 positive weights. For real numbers x,y,zx,y,zx,y,z, in any order, define

weightedPairs(f,a,b,c,x,y,z)=(a+b) f(ax+bya+b)+(a+c) f(ax+cza+c)+(b+c) f(by+czb+c),\begin{gathered} \mathrm{weightedPairs}(f,a,b,c,x,y,z) = (a+b)\,f\Big(\frac{ax+by}{a+b}\Big) \\ + (a+c)\,f\Big(\frac{ax+cz}{a+c}\Big) + (b+c)\,f\Big(\frac{by+cz}{b+c}\Big), \end{gathered}weightedPairs(f,a,b,c,x,y,z)=(a+b)f(a+bax+by​)+(a+c)f(a+cax+cz​)+(b+c)f(b+cby+cz​),​ weightedTotal(f,a,b,c,x,y,z)=a f(x)+b f(y)+c f(z)+(a+b+c) f(ax+by+cza+b+c).\mathrm{weightedTotal}(f,a,b,c,x,y,z) = a\,f(x)+b\,f(y)+c\,f(z) + (a+b+c)\,f\Big(\frac{ax+by+cz}{a+b+c}\Big).weightedTotal(f,a,b,c,x,y,z)=af(x)+bf(y)+cf(z)+(a+b+c)f(a+b+cax+by+cz​).

Then

weightedPairs(f,a,b,c,x,y,z)  ≤  weightedTotal(f,a,b,c,x,y,z).\mathrm{weightedPairs}(f,a,b,c,x,y,z) \;\le\; \mathrm{weightedTotal}(f,a,b,c,x,y,z).weightedPairs(f,a,b,c,x,y,z)≤weightedTotal(f,a,b,c,x,y,z).

This gives the fully general, unordered form of a weighted three-point convexity inequality: for any convex real function and any positive weights, it holds for the three points however they happen to be ordered. It is the single scalar engine later applied, coordinate by coordinate, to the convex power function t↦∣t∣pt\mapsto|t|^pt↦∣t∣p, producing the dimension-independent power estimate that confines a hypothetical counterexample to the sharp Hlawka bound.

Preamble
import Definitions.Def_HlawkaSchatten_DiagonalConstruction_WeightedConvex
import Mathlib.Analysis.Convex.Function
import Mathlib.Data.Real.Basic
import Mathlib.Tactic.FieldSimp
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.LinearCombination

/-
Copyright (c) 2026 Ezzeri Esa. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Ezzeri Esa
-/

/-!
# A weighted three-point convexity inequality

The scalar input to the sharp construction is a weighted Hlawka inequality
for any convex function on the real line. The proof uses chords and orders
the three points; it needs no integral representation of convex functions.
-/

open HlawkaSchatten.DiagonalConstruction
Formal statement
theorem HlawkaSchatten.DiagonalConstruction.weighted_convex_hlawka {f : ℝ → ℝ} (hf : ConvexOn ℝ Set.univ f)
    {a b c : ℝ} (ha : 0 < a) (hb : 0 < b) (hc : 0 < c) (x y z : ℝ) :
    weightedPairs f a b c x y z ≤ weightedTotal f a b c x y z := by sorry
Source
https://github.com/savarin/hlawka-schatten/blob/79aa498bfcf7b22bd91d771fb32ec278e2d4704b/HlawkaSchatten/DiagonalConstruction/WeightedConvex.lean#L183-L206
Human review
  • Endorsed by Shuze Chen · Sep 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by savarin · Sep 29, 2026

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

  • Endorsed by marwahaha · Sep 30, 2026

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me