Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Signed-sum form of the Hlawka inequality at constant one

Proved
HlawkaTrial.signed_iff

by scuba8684 · Nov 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

Let VVV be an additive commutative group and let N ⁣:V→RN\colon V\to\mathbb RN:V→R satisfy N(x+x)=2N(x)N(x+x)=2N(x)N(x+x)=2N(x). Write D(x,y)=N(x)+N(y)−N(x+y)D(x,y)=N(x)+N(y)-N(x+y)D(x,y)=N(x)+N(y)−N(x+y). The inequality

N(x)+N(y)+N(z)−N(x+y+z)≤D(x,y)+D(x,z)+D(y,z)N(x)+N(y)+N(z)-N(x+y+z)\leq D(x,y)+D(x,z)+D(y,z)N(x)+N(y)+N(z)−N(x+y+z)≤D(x,y)+D(x,z)+D(y,z)

for every triple is equivalent to the signed-sum inequality

2(N(a)+N(b)+N(c))≤N(a+b+c)+N(a+b−c)+N(a−b+c)+N(−a+b+c)2(N(a)+N(b)+N(c))\leq N(a+b+c)+N(a+b-c)+N(a-b+c)+N(-a+b+c)2(N(a)+N(b)+N(c))≤N(a+b+c)+N(a+b−c)+N(a−b+c)+N(−a+b+c)

for every triple. This conversion lets both the variable-exponent and fixed 5/25/25/2 Hlawka problems use the corresponding signed-sum estimate.

Preamble
import Mathlib.Analysis.InnerProductSpace.Basic
import Mathlib.Analysis.InnerProductSpace.Dual
import Mathlib.Analysis.Normed.Lp.PiLp
import Mathlib.Analysis.SpecialFunctions.Pow.Continuity
import Mathlib.Topology.Order.Compact
import Mathlib.Tactic.Abel
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.NormNum
Formal statement
theorem HlawkaTrial.signed_iff {V : Type*} [AddCommGroup V]
    (N : V → ℝ) (double : ∀ x, N (x+x) = 2*N x) :
    let pair := fun x y : V => N x + N y - N (x+y)
    (∀ x y z, N x + N y + N z - N (x+y+z) ≤ 1 * (pair x y + pair x z + pair y z)) ↔
    (∀ a b c, 2 * (N a + N b + N c) ≤ N (a+b+c) + N (a+b-c) + N (a-b+c) + N (-a+b+c)) := by sorry
Source
Paired Hlawka trial for https://prove2.me/theorems/9e0c08c7-583b-41b0-b8a3-57fa9532b2c1. The proof uses the Hlawka deficit definitions of Ezzeri Esa, with their Apache 2.0 notice retained.

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