Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Convexity of the cyclic coordinate box

Proved
HlawkaSchatten.DiagonalConstruction.convex_entryBox

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

box-geometryconvexitycoordinate-geometryhlawka-schatten

Write a triple XXX as three columns X0,X1,X2∈R3X_0,X_1,X_2\in\mathbb R^3X0​,X1​,X2​∈R3, with Xj,iX_{j,i}Xj,i​ coordinate iii of column jjj (Lean: X j i). Let cyclicCenter\mathrm{cyclicCenter}cyclicCenter be the triple whose jjj-th column has −1-1−1 in position jjj and 111 in the other two positions (columns (−1,1,1)(-1,1,1)(−1,1,1), (1,−1,1)(1,-1,1)(1,−1,1), (1,1,−1)(1,1,-1)(1,1,−1)), and let

entryBox:={X:∣Xj,i−cyclicCenterj,i∣≤19/100 for all j,i}.\mathrm{entryBox} := \{X : |X_{j,i} - \mathrm{cyclicCenter}_{j,i}| \le 19/100 \text{ for all } j, i\}.entryBox:={X:∣Xj,i​−cyclicCenterj,i​∣≤19/100 for all j,i}.

This theorem shows entryBox\mathrm{entryBox}entryBox is convex as a subset of the real vector space of triples: for every X,Y∈entryBoxX,Y\in\mathrm{entryBox}X,Y∈entryBox and every a,b≥0a,b\ge0a,b≥0 with a+b=1a+b=1a+b=1, the entrywise combination aX+bYaX+bYaX+bY again lies in entryBox\mathrm{entryBox}entryBox,

X,Y∈entryBox, a,b≥0, a+b=1  ⟹  aX+bY∈entryBox.X,Y\in\mathrm{entryBox},\ a,b\ge0,\ a+b=1 \;\Longrightarrow\; aX+bY\in\mathrm{entryBox}.X,Y∈entryBox, a,b≥0, a+b=1⟹aX+bY∈entryBox.

entryBox\mathrm{entryBox}entryBox is an axis-aligned box (a product of 999 real intervals) centered at cyclicCenter\mathrm{cyclicCenter}cyclicCenter, so its convexity is elementary; recording it licenses averaging — any convex combination of finitely many triples already in the box again lies in the box, so a property established throughout the box applies to such an average as well. entryBox\mathrm{entryBox}entryBox is also invariant under simultaneously permuting the three vector labels and the three coordinate labels by a common permutation of {0,1,2}\{0,1,2\}{0,1,2}, since cyclicCenterj,i\mathrm{cyclicCenter}_{j,i}cyclicCenterj,i​ depends only on whether i=ji=ji=j, which such a joint relabeling preserves — though permuting one set of labels alone (the vectors, or the coordinates) need not preserve the box.

Preamble
import Definitions.Def_HlawkaSchatten_DiagonalConstruction_Localization
import Mathlib.Analysis.Complex.ExponentialBounds
import Mathlib.Analysis.Convex.Deriv
import Mathlib.Analysis.Convex.Function
import Mathlib.Analysis.Convex.Jensen
import Mathlib.Analysis.Convex.SpecificFunctions.Basic
import Mathlib.Analysis.Convex.SpecificFunctions.Pow
import Mathlib.Analysis.InnerProductSpace.Basic
import Mathlib.Analysis.InnerProductSpace.Dual
import Mathlib.Analysis.InnerProductSpace.NormPow
import Mathlib.Analysis.Normed.Lp.PiLp
import Mathlib.Analysis.Normed.Module.FiniteDimension
import Mathlib.Analysis.SpecialFunctions.Pow.Continuity
import Mathlib.Data.Fin.VecNotation
import Mathlib.Data.Real.Basic
import Mathlib.Data.Sign.Basic
import Mathlib.LinearAlgebra.Dimension.Finite
import Mathlib.Tactic.Abel
import Mathlib.Tactic.FieldSimp
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.LinearCombination
import Mathlib.Tactic.Positivity
import Mathlib.Tactic.Ring
import Mathlib.Topology.Instances.Sign
import Mathlib.Topology.Order.Compact

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

/-! # Simultaneous permutation averaging on the cyclic box -/

open HlawkaSchatten.DiagonalConstruction
Formal statement
theorem HlawkaSchatten.DiagonalConstruction.convex_entryBox : Convex ℝ entryBox := by sorry
Source
https://github.com/savarin/hlawka-schatten/blob/79aa498bfcf7b22bd91d771fb32ec278e2d4704b/HlawkaSchatten/DiagonalConstruction/OrbitAveraging.lean#L13-L27
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