Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

From ambient-dimension discrepancy bounds to bounds in the number of vectors

Proved
Komlos.banaszczyk_dimension_reduction

by Wenqian · Sep 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

discrepancyvector-balancing

Suppose there is a universal constant C>0C>0C>0 such that, for all n,m≥0n,m\ge0n,m≥0 and all vectors v1,…,vn∈Rmv_1,\ldots,v_n\in\mathbb R^mv1​,…,vn​∈Rm with ∥vi∥2≤1\|v_i\|_2\le1∥vi​∥2​≤1, some signs εi∈{−1,1}\varepsilon_i\in\{-1,1\}εi​∈{−1,1} satisfy

∣∑iεivij∣≤Clog⁡(m+2)(1≤j≤m).\left|\sum_i\varepsilon_i v_{ij}\right|\le C\sqrt{\log(m+2)}\qquad(1\le j\le m).​i∑​εi​vij​​≤Clog(m+2)​(1≤j≤m).

Then there is a universal constant D>0D>0D>0 such that the same class of vector families admits signs satisfying

∣∑iεivij∣≤Dlog⁡(n+2)(1≤j≤m).\left|\sum_i\varepsilon_i v_{ij}\right|\le D\sqrt{\log(n+2)}\qquad(1\le j\le m).​i∑​εi​vij​​≤Dlog(n+2)​(1≤j≤m).

The ambient dimension is unrestricted in both statements, and dimensions or family sizes equal to zero are included. The conclusion is conditional on the first uniform bound; this is an elementary transfer theorem, not a proof of the cube bound or the Komlós conjecture.

Preamble
import Mathlib
import Definitions.Def_Komlos_model
Formal statement
namespace Komlos

theorem banaszczyk_dimension_reduction
    (hCube : ∃ C : ℝ, 0 < C ∧ ∀ (n m : ℕ) (v : Fin n → EuclideanSpace ℝ (Fin m)),
      (∀ i, ‖v i‖ ≤ 1) →
      ∃ ε : Fin n → ℝ, IsSignVector ε ∧
        ∀ j, |∑ i, ε i * v i j| ≤ C * Real.sqrt (Real.log (m + 2))) :
    ∃ C : ℝ, 0 < C ∧ ∀ (n m : ℕ) (v : Fin n → EuclideanSpace ℝ (Fin m)),
      (∀ i, ‖v i‖ ≤ 1) →
      ∃ ε : Fin n → ℝ, IsSignVector ε ∧
        ∀ j, |∑ i, ε i * v i j| ≤ C * Real.sqrt (Real.log (n + 2)) := by sorry

end Komlos
Source
Elementary coordinate-selection and Cauchy–Schwarz reduction between the cube bound stated on p. 3 of Dadush–Garg–Lovett–Nikolov, Towards a Constructive Version of Banaszczyk's Vector Balancing Theorem, Theory of Computing 15(15), 2019, https://theoryofcomputing.org/articles/v015a015/v015a015.pdf , and the exact mission milestone https://prove2.me/theorems/1846fa46-fbad-4294-8e7d-4a74466da581 . The explicit coordinate-selection proof is supplied with this contribution; it is not attributed verbatim to that paper.

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