Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3.3 — ℓ1-proximity: ‖z* − x*‖₁ ≤ m(2mΔ+1)^m

Proved
IPProximity.Eisenbrand.l1_proximity

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

integer-programmingp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1proximity

Let m,n≥0m,n\ge 0m,n≥0, let A∈Zm×nA\in\mathbb Z^{m\times n}A∈Zm×n, b∈Zmb\in\mathbb Z^mb∈Zm, c∈Znc\in\mathbb Z^nc∈Zn and u∈Nnu\in\mathbb N^nu∈Nn. The integer program (10) of Eisenbrand and Weismantel is

max⁡{cTx:Ax=b, 0≤x≤u, x∈Zn},\max\{c^{T}x : Ax=b,\ 0\le x\le u,\ x\in\mathbb Z^n\},max{cTx:Ax=b, 0≤x≤u, x∈Zn},

and its linear programming (LP) relaxation is the same problem with x∈Rnx\in\mathbb R^nx∈Rn. Let Δ∈N\Delta\in\mathbb NΔ∈N with ∣aij∣≤Δ|a_{ij}|\le\Delta∣aij​∣≤Δ for all i,ji,ji,j, and assume that (10) has at least one feasible integer solution. Let x∗x^*x∗ be an optimal vertex solution of the LP relaxation, i.e. an optimal solution that is an extreme point of {x∈Rn:Ax=b, 0≤x≤u}\{x\in\mathbb R^n: Ax=b,\ 0\le x\le u\}{x∈Rn:Ax=b, 0≤x≤u}. Then there exists an optimal solution z∗z^*z∗ of the integer program (10) such that

∥z∗−x∗∥1=∑i=1n∣zi∗−xi∗∣ ≤ m⋅(2 m Δ+1)m.\|z^*-x^*\|_1=\sum_{i=1}^n|z^*_i-x^*_i|\ \le\ m\cdot(2\,m\,\Delta+1)^m .∥z∗−x∗∥1​=i=1∑n​∣zi∗​−xi∗​∣ ≤ m⋅(2mΔ+1)m.

The bound depends only on the number of rows mmm and the entry bound Δ\DeltaΔ, not on the number of variables nnn or on bbb, ccc, uuu; it is the main structural result of the paper and underlies its algorithms for integer programs with upper bounds.

Formalization Note The paper assumes implicitly that (10) has an optimal solution; this is added as the hypothesis that its integer feasible set is nonempty (the feasible set is finite, so an optimum then exists). Δ\DeltaΔ is a natural number.

Preamble
import Mathlib
import Definitions.Def_IPProximity_Eisenbrand_lpPolytope
import Definitions.Def_IPProximity_Eisenbrand_ipFeasible
import Definitions.Def_IPProximity_Eisenbrand_IsLPOptimal
import Definitions.Def_IPProximity_Eisenbrand_IsIPOptimal
Formal statement
namespace IPProximity.Eisenbrand

/-- Theorem 3.3 (p. 5:8): for the integer program (10) with `|aᵢⱼ| ≤ Δ`, every optimal vertex
`x` of its LP relaxation has an optimal integer solution `z` with
`‖z - x‖₁ ≤ m·(2mΔ + 1)ᵐ`, provided (10) has an integer feasible point. -/
theorem l1_proximity {m n : ℕ} (A : Matrix (Fin m) (Fin n) ℤ) (b : Fin m → ℤ)
    (c : Fin n → ℤ) (u : Fin n → ℕ) (Δ : ℕ) (hΔ : ∀ i j, |A i j| ≤ (Δ : ℤ))
    (x : Fin n → ℝ) (hopt : IsLPOptimal A b c u x)
    (hvert : x ∈ Set.extremePoints ℝ (lpPolytope A b u))
    (hfeas : (ipFeasible A b u).Nonempty) :
    ∃ z : Fin n → ℤ, IsIPOptimal A b c u z ∧
      ∑ i, |(z i : ℝ) - x i| ≤ (m : ℝ) * (2 * m * Δ + 1) ^ 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:8, Theorem 3.3
Read-back

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

Here mmm and nnn are natural numbers, and the following data are fixed:

  • A=(aij)A = (a_{ij})A=(aij​), an m×nm \times nm×n matrix with integer entries. Rows are indexed by i∈{0,…,m−1}i \in \{0,\dots,m-1\}i∈{0,…,m−1} and columns by j∈{0,…,n−1}j \in \{0,\dots,n-1\}j∈{0,…,n−1}.
  • b∈Zmb \in \mathbb{Z}^mb∈Zm, c∈Znc \in \mathbb{Z}^nc∈Zn and u∈Nnu \in \mathbb{N}^nu∈Nn.
  • Δ∈N\Delta \in \mathbb{N}Δ∈N such that every entry satisfies ∣aij∣≤Δ|a_{ij}| \le \Delta∣aij​∣≤Δ.
  • A real vector x∈Rnx \in \mathbb{R}^nx∈Rn with two properties:
    • xxx satisfies the predicate IsLPOptimal(A,b,c,u,x)\mathrm{IsLPOptimal}(A, b, c, u, x)IsLPOptimal(A,b,c,u,x).
    • xxx is an extreme point, in the real-convex sense, of the set lpPolytope(A,b,u)⊆Rn\mathrm{lpPolytope}(A, b, u) \subseteq \mathbb{R}^nlpPolytope(A,b,u)⊆Rn. That means xxx is in the set and is not a proper convex combination of two other points of the set.
  • The set ipFeasible(A,b,u)\mathrm{ipFeasible}(A, b, u)ipFeasible(A,b,u) is assumed to be nonempty.

The predicates IsLPOptimal\mathrm{IsLPOptimal}IsLPOptimal and IsIPOptimal\mathrm{IsIPOptimal}IsIPOptimal and the sets lpPolytope\mathrm{lpPolytope}lpPolytope and ipFeasible\mathrm{ipFeasible}ipFeasible are imported from separate definition files. Those files are not shown here, so this read-back cannot say what they contain. Their meaning, including which constraints they impose, in what form, whether uuu acts as upper bounds, and whether "optimal" means maximising or minimising c⊤xc^\top xc⊤x, rests entirely on those definitions. The docstring attached to the theorem describes the intended meaning, but it is a comment, not part of the formal content.

Under these hypotheses, the statement says there is an integer vector z∈Znz \in \mathbb{Z}^nz∈Zn that satisfies IsIPOptimal(A,b,c,u,z)\mathrm{IsIPOptimal}(A, b, c, u, z)IsIPOptimal(A,b,c,u,z) and lies close to xxx in the ℓ1\ell_1ℓ1​ distance, computed in R\mathbb{R}R:

∑i=0n−1∣zi−xi∣  ≤  m (2mΔ+1)m.\sum_{i=0}^{n-1} |z_i - x_i| \;\le\; m\,(2m\Delta + 1)^{m}.i=0∑n−1​∣zi​−xi​∣≤m(2mΔ+1)m.

The inequality is non-strict, and the right-hand side is computed in the real numbers. The statement only asserts that some such zzz exists. It does not say that every IP-optimal zzz is this close to xxx, and it does not say that zzz is unique.

In the degenerate cases the statement says the following:

  • m=0m = 0m=0 (no rows): the right-hand side is 0⋅10=00 \cdot 1^0 = 00⋅10=0. The statement then requires an IP-optimal zzz with ∑i∣zi−xi∣≤0\sum_i |z_i - x_i| \le 0∑i​∣zi​−xi​∣≤0, which means zi=xiz_i = x_izi​=xi​ for every iii. So xxx must itself be an integer vector that is IP-optimal.
  • n=0n = 0n=0 (no columns): R0\mathbb{R}^0R0 and Z0\mathbb{Z}^0Z0 each have exactly one point, and the sum is empty, so it equals 000. The distance bound always holds because the right-hand side is never negative. The statement reduces to saying that the unique empty vector is IP-optimal, given the hypotheses.
  • Δ=0\Delta = 0Δ=0: the bound hypothesis forces A=0A = 0A=0, and the right-hand side becomes m⋅1m=mm \cdot 1^m = mm⋅1m=m.
  • Vacuous cases: if lpPolytope(A,b,u)\mathrm{lpPolytope}(A, b, u)lpPolytope(A,b,u) is empty or has no extreme points, or if no xxx satisfies IsLPOptimal\mathrm{IsLPOptimal}IsLPOptimal while also being such an extreme point, the hypotheses cannot be satisfied and the statement holds vacuously. The same applies whenever ipFeasible(A,b,u)\mathrm{ipFeasible}(A, b, u)ipFeasible(A,b,u) is empty. Whether any of this can happen for particular data depends on the imported definitions, which are not shown.

No division, natural-number subtraction, integral or supremum appears in the statement itself. Any such default-valued behaviour could only come from inside the imported definitions.

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).

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