Perturbing cannot create feasibility (the Farkas direction)
ProvedSmaleNinth.khachiyan_nonempty_impPerturbing cannot create feasibility: the Farkas direction.
Let be an integer system in variables with all entries bounded by , and let , . If the relaxed and boxed system
has a solution, then so does the original .
This is the non-obvious half of the feasibility equivalence. The other half — a feasible integer system stays feasible after relaxing and boxing — is proved in the companion reduction, and is easy once one knows the system has a small solution. This direction is where the specific value of earns its keep: relaxing every right-hand side makes the system strictly easier, and the claim is that with this it cannot become solvable when it was not.
The argument. Suppose is infeasible. By Farkas' lemma — available on the platform as LinearOptimization.farkas_lemma — there is with
Such a certificate can be taken to be a basic solution of the system defining it, so its nonzero entries are given by Cramer's rule on a nonsingular square subsystem with integer data bounded by . Two consequences follow from the determinant bounds already on the platform, SmaleNinth.abs_det_le_factorial_mul_pow and SmaleNinth.cramer_solution_bound: after scaling the certificate so that its entries are integers, , while is bounded by an explicit quantity of the same shape as .
Now suppose satisfies the relaxed system. Multiplying by and using ,
so . The constant is chosen precisely so that , a contradiction. Hence no such exists and the relaxed system is infeasible too.
The box constraints play no role in this direction; they matter only for the converse, where they must be wide enough to contain a solution, which is what guarantees.
import Definitions.Def_Polyhedron import Definitions.Def_SmaleNinth_Khachiyan open Matrix LinearOptimization
theorem SmaleNinth.khachiyan_nonempty_imp {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 (SmaleNinth.khachiyanSystemA A)
(SmaleNinth.khachiyanSystemb n U b)).Nonempty →
(polyhedron (A.map (Int.cast : ℤ → ℝ)) (fun i => (b i : ℝ))).Nonempty := by sorry