Khachiyan's perturbed-and-boxed system is feasibility-equivalent
ProvedSmaleNinth.khachiyan_feasibility_equivThe perturbed-and-boxed system is feasibility-equivalent to the original.
For an integer system in variables with all entries bounded by , put and . The assertion is
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 is solvable then it has a solution of sup-norm at most , 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 is infeasible then by Farkas' lemma there is a rational certificate with and . Taking to be a basic solution of the certificate system and applying Cramer's rule bounds its entries, so for an explicit determinant , while the perturbation contributes at most . The constant 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 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.
import Definitions.Def_Polyhedron import Definitions.Def_LinearOptimization_Ellipsoid import Definitions.Def_SmaleNinth_Khachiyan open Matrix LinearOptimization
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