Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Bounding a joint radial residual by per-column and total residuals on the cyclic box

Proved
HlawkaSchatten.DiagonalConstruction.joint_radial_residual_bound

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

box-geometrycoordinate-geometryhlawka-schattenquadratic-form

Write a triple 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). For a triple XXX, let

∥X∥F2:=∑j∥Xj∥22=∑j∑iXj,i2\lVert X\rVert_F^2 := \sum_j \lVert X_j\rVert_2^2 = \sum_j\sum_i X_{j,i}^2∥X∥F2​:=j∑​∥Xj​∥22​=j∑​i∑​Xj,i2​

be its squared Frobenius norm (frobeniusSq), and let totalTriple(X):=X0+X1+X2∈R3\mathrm{totalTriple}(X) := X_0+X_1+X_2 \in \mathbb R^3totalTriple(X):=X0​+X1​+X2​∈R3 be the sum of its columns. Let cyclicCenter\mathrm{cyclicCenter}cyclicCenter be the triple whose jjj-th column has −1-1−1 in position jjj and 111 elsewhere, 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}.

For every X∈entryBoxX\in\mathrm{entryBox}X∈entryBox, every triple ZZZ, every weight vector a∈R3a\in\mathbb R^3a∈R3 (one weight aja_jaj​ per column), and every scalar b∈Rb\in\mathbb Rb∈R,

∥Z−b⋅X∥F2  ≤  300(∑j∥Zj−ajXj∥22  +  ∥totalTriple(Z)−b⋅totalTriple(X)∥22).\lVert Z - b\cdot X\rVert_F^2 \;\le\; 300\left(\sum_j \lVert Z_j - a_j X_j\rVert_2^2 \;+\; \lVert \mathrm{totalTriple}(Z) - b\cdot\mathrm{totalTriple}(X)\rVert_2^2\right).∥Z−b⋅X∥F2​≤300(j∑​∥Zj​−aj​Xj​∥22​+∥totalTriple(Z)−b⋅totalTriple(X)∥22​).

The left side measures how far ZZZ is from a single common rescaling bbb of XXX. The right side allows each column its own, possibly different, rescaling aja_jaj​, plus one further term comparing the column sums under the shared rescaling bbb. The bound shows that controlling these per-column and total residuals separately already controls the single joint residual, which is what lets bounds proved column by column, and for the column sum, be combined into one bound for the whole triple.

Formalization Note The constant 300300300 is a convenient, non-sharp intermediate bound: the informal write-up of this argument uses the tighter constant 110110110 at the corresponding step. Using 300300300 in the Lean proof simplifies the estimate and changes neither the exponent range p≥256p\ge256p≥256 nor the sharp constant obtained elsewhere in the construction.

Preamble
import Definitions.Def_HlawkaSchatten_DiagonalConstruction_BoxGeometry
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.InnerProductSpace.Basic
import Mathlib.Analysis.InnerProductSpace.Dual
import Mathlib.Analysis.InnerProductSpace.NormPow
import Mathlib.Analysis.Normed.Lp.PiLp
import Mathlib.Analysis.SpecialFunctions.Pow.Continuity
import Mathlib.Data.Fin.VecNotation
import Mathlib.Data.Real.Basic
import Mathlib.Data.Sign.Basic
import Mathlib.Tactic.Abel
import Mathlib.Tactic.FieldSimp
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.LinearCombination
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
-/

/-!
# Quadratic geometry of the cyclic box

The joint radial estimate uses the convenient bound `300`. This weaker
intermediate constant leaves the exponent cutoff unchanged.
-/

open HlawkaSchatten.DiagonalConstruction
Formal statement
theorem HlawkaSchatten.DiagonalConstruction.joint_radial_residual_bound {X : Triple} (hX : X ∈ entryBox) (Z : Triple)
    (a : Fin 3 → ℝ) (b : ℝ) :
    frobeniusSq (Z - b • X) ≤ 300 *
      (frobeniusSq (fun j ↦ Z j - a j • X j) +
        euclideanSq (totalTriple Z - b • totalTriple X)) := by sorry
Source
https://github.com/savarin/hlawka-schatten/blob/79aa498bfcf7b22bd91d771fb32ec278e2d4704b/HlawkaSchatten/DiagonalConstruction/BoxGeometry.lean#L127-L166
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