Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1.1 (Steinitz) with constant c(m)=mc(m)=mc(m)=m

Proved
IPProximity.Eisenbrand.steinitz

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsdiscrete-geometryp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let EEE be a real normed space of finite dimension mmm (for example Rm\mathbb R^mRm with an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥). Let x1,…,xn∈Ex_1,\dots,x_n\in Ex1​,…,xn​∈E satisfy

∑i=1nxi=0and∥xi∥≤1  for each i.\sum_{i=1}^n x_i=0\qquad\text{and}\qquad \|x_i\|\le1\ \text{ for each } i.i=1∑n​xi​=0and∥xi​∥≤1  for each i.

Then there is a permutation π∈Sn\pi\in S_nπ∈Sn​ such that all partial sums satisfy

∥∑j=1kxπ(j)∥≤mfor all k=1,…,n.\Big\|\sum_{j=1}^k x_{\pi(j)}\Big\|\le m\qquad\text{for all } k=1,\dots,n.​j=1∑k​xπ(j)​​≤mfor all k=1,…,n.

This is the Steinitz lemma with the constant c(m)=mc(m)=mc(m)=m due to Sevast'anov, which the paper quotes right after Theorem 1.1 and uses (for the ℓ∞\ell_\inftyℓ∞​ norm) in the proof of Theorem 3.3.

Formalization Note The norm is any norm on EEE given by a NormedAddCommGroup/NormedSpace ℝ structure (hence symmetric), and mmm is Module.finrank ℝ E. The partial sum of length kkk is the sum over indices j<kj<kj<k of Fin n.

Preamble
import Mathlib
Formal statement
namespace IPProximity.Eisenbrand

/-- Theorem 1.1 (Steinitz) with Sevast'anov's constant `c(m) = m` (p. 5:4): in an
`m`-dimensional real normed space, vectors of norm at most `1` summing to zero can be ordered so
that every partial sum `x_{π(1)} + ⋯ + x_{π(k)}`, `1 ≤ k ≤ n`, has norm at most `m`. -/
theorem steinitz {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E]
    {m n : ℕ} (hdim : Module.finrank ℝ E = m) (x : Fin n → E)
    (hsum : ∑ i, x i = 0) (hnorm : ∀ i, ‖x i‖ ≤ 1) :
    ∃ σ : Equiv.Perm (Fin n), ∀ k : ℕ, 1 ≤ k → k ≤ n →
      ‖∑ j ∈ Finset.univ.filter (fun j : Fin n => (j : ℕ) < k), x (σ j)‖ ≤ (m : ℝ) := by sorry

end IPProximity.Eisenbrand
Source
Eisenbrand & Weismantel, Proximity Results and Faster Algorithms for Integer Programming Using the Steinitz Lemma, ACM Trans. Algorithms 16(1), Article 5 (2019), p. 5:4, Theorem 1.1 and the following sentence (c(m) ⩽ m, Sevast'anov); p. 5:3 (arbitrary norm of R^m)
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

The statement's data are:

  • a real vector space EEE carrying some norm ∥⋅∥\|\cdot\|∥⋅∥ (an arbitrary norm, not necessarily Euclidean), of finite dimension exactly mmm;
  • a natural number nnn;
  • vectors x0,…,xn−1∈Ex_0, \dots, x_{n-1} \in Ex0​,…,xn−1​∈E.

It assumes that the vectors sum to zero,

∑i=0n−1xi=0,\sum_{i=0}^{n-1} x_i = 0,i=0∑n−1​xi​=0,

and that each has norm at most 111, meaning ∥xi∥≤1\|x_i\| \le 1∥xi​∥≤1 for all iii.

It asserts that some permutation σ\sigmaσ of {0,…,n−1}\{0,\dots,n-1\}{0,…,n−1} makes every nonempty initial partial sum of the reordered sequence have norm at most the dimension:

∥ ∑j=0k−1xσ(j)∥  ≤  mfor every integer k with 1≤k≤n.\Bigl\|\, \sum_{j=0}^{k-1} x_{\sigma(j)} \Bigr\| \;\le\; m \qquad \text{for every integer } k \text{ with } 1 \le k \le n .​j=0∑k−1​xσ(j)​​≤mfor every integer k with 1≤k≤n.

The empty partial sum (k=0k = 0k=0) is not covered. The full sum (k=nk = nk=n) is 000 by hypothesis.

Degenerate cases:

  • If n=0n = 0n=0, there is no admissible kkk, and the statement holds with the empty permutation.
  • If m=0m = 0m=0, then EEE is the zero space, every xi=0x_i = 0xi​=0, and the bound is 000, which is met trivially.
  • If n=1n = 1n=1, the single vector must be 000.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 2026

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

  • Endorsed by iris · Nov 10, 2026

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

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