Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Khachiyan's perturbed-and-boxed system is feasibility-equivalent

Proved
SmaleNinth.khachiyan_feasibility_equiv

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

computational-complexitylinear-optimizationoperations-research

The perturbed-and-boxed system is feasibility-equivalent to the original.

For an integer system Ax≥bAx\ge bAx≥b in n≥1n\ge1n≥1 variables with all entries bounded by U≥1U\ge1U≥1, put ε=1/(2(n+1)(n+1)! Un+1)\varepsilon = 1/\bigl(2(n+1)(n+1)!\,U^{n+1}\bigr)ε=1/(2(n+1)(n+1)!Un+1) and M=n! Un+1M = n!\,U^{n}+1M=n!Un+1. The assertion is

∃x, Ax≥b⟺∃x, Ax≥b−ε1, −M1≤x≤M1.\exists x,\ Ax \ge b \qquad\Longleftrightarrow\qquad \exists x,\ Ax \ge b-\varepsilon\mathbf 1,\ -M\mathbf 1\le x\le M\mathbf 1 .∃x, Ax≥b⟺∃x, Ax≥b−ε1, −M1≤x≤M1.

Neither direction is formal. Relaxing the right-hand side makes the system easier, and boxing it makes it harder, and the content is that with these particular constants the two changes cancel exactly.

The easy direction is the box. If Ax≥bAx\ge bAx≥b is solvable then it has a solution of sup-norm at most n! Un=M−1n!\,U^{n} = M-1n!Un=M−1, by the Cramer–Hadamard size bound SmaleNinth.integer_polyhedron_solution_bound. That solution lies in the box, and it satisfies the relaxed inequalities a fortiori.

The other direction is Farkas. If Ax≥bAx\ge bAx≥b is infeasible then by Farkas' lemma there is a rational certificate y≥0y\ge0y≥0 with yTA=0y^{\mathsf T}A=0yTA=0 and yTb>0y^{\mathsf T}b>0yTb>0. Taking yyy to be a basic solution of the certificate system and applying Cramer's rule bounds its entries, so yTb≥1/Δy^{\mathsf T}b \ge 1/\DeltayTb≥1/Δ for an explicit determinant Δ\DeltaΔ, while the perturbation contributes at most ε ∥y∥1\varepsilon\,\|y\|_1ε∥y∥1​. The constant ε\varepsilonε is chosen precisely so that the perturbation cannot overcome the gap, and the relaxed system is infeasible too. The boxing is then irrelevant in this direction.

Why it matters: the ellipsoid method cannot be run on Ax≥bAx\ge bAx≥b directly, because that set may be lower-dimensional and unbounded. This lemma is what licenses replacing it by a set that is bounded, full-dimensional, and has the same answer.

Preamble
import Definitions.Def_Polyhedron
import Definitions.Def_LinearOptimization_Ellipsoid
import Definitions.Def_SmaleNinth_Khachiyan

open Matrix LinearOptimization
Formal statement
theorem SmaleNinth.khachiyan_feasibility_equiv {m n : ℕ} (U : ℕ) (hU : 1 ≤ U)
    (hn : 1 ≤ n) (A : Matrix (Fin m) (Fin n) ℤ) (b : Fin m → ℤ)
    (hA : ∀ i j, |A i j| ≤ (U : ℤ)) (hb : ∀ i, |b i| ≤ (U : ℤ)) :
    (polyhedron (A.map (Int.cast : ℤ → ℝ)) (fun i => (b i : ℝ))).Nonempty ↔
      (polyhedron (SmaleNinth.khachiyanSystemA A)
        (SmaleNinth.khachiyanSystemb n U b)).Nonempty := by sorry
Source
L. G. Khachiyan, A polynomial algorithm in linear programming, Soviet Math. Doklady 20 (1979) 191-194; B. Korte, J. Vygen, Combinatorial Optimization, 6th ed., Springer 2018, Sections 4.4-4.5; D. Bertsimas, J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific 1997, Section 8.4 (full-dimensionality and volume of the perturbed system). One of the four claims of SmaleNinth.khachiyan_perturbation_bounds.

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