Polynomial-time simplex rounding of a rational polyhedron (Lenstra), with height bounds
ProvedIntConeFPT.simplex_rounding_polytimecomputational-complexityconvex-geometryinteger-programminglattices
There is a polynomial-time function (multi-tape Turing machines, complexitylib) that, given and a rational system describing , either fails or returns the Gram matrix and the centroid of a simplex with vertices ( = edge matrix, ) such that every real point of the polyhedron has barycentric coordinates of absolute value at most with respect to the simplex; all vertex coordinates have height at most when the input entries have height at most (with ). If is nonempty, bounded and has a point at which every row with nonzero normal is strict, then succeeds.
Preamble
import Mathlib import Definitions.Def_BuhaiPapers_Background_Encoding import Definitions.Def_Complexitylib_0ebd467_Computability_Machines_Turing_MultiTape_PolyTime import Definitions.Def_Complexitylib_0ebd467_Computability_Machines_Turing_MultiTape_Encodings_List import Definitions.Def_Complexitylib_0ebd467_Computability_Machines_Turing_MultiTape_Encodings_Pair import Definitions.Def_Complexitylib_0ebd467_Computability_Machines_Turing_MultiTape_Encodings_Option import Definitions.Def_Complexitylib_0ebd467_Computability_Machines_Turing_MultiTape_Encodings_Unary open Turing.MultiTapeTM
Formal statement
namespace IntConeFPT
theorem simplex_rounding_polytime :
∃ f : ℕ × List (List ℚ × ℚ) → Option (List (List ℚ) × List ℚ),
ComputableInPolyTime f
(encPair encUnary (encList (encPair (encList Encoding.encRat) Encoding.encRat)))
(encOption (encPair (encList (encList Encoding.encRat)) (encList Encoding.encRat))) ∧
∀ (k : ℕ) (L : List ((Fin k → ℚ) × ℚ)),
let rows : List (List ℚ × ℚ) := L.map fun r => (List.ofFn r.1, r.2)
let PQ : Set (Fin k → ℚ) := {w | ∀ r ∈ L, r.1 ⬝ᵥ w ≤ r.2}
let PR : Set (Fin k → ℝ) := {x | ∀ r ∈ L, ∑ j, (r.1 j : ℝ) * x j ≤ (r.2 : ℝ)}
let Ht : ℕ → ℚ → Prop := fun X q => q.num.natAbs ≤ X ∧ q.den ≤ X
let vb : ℕ → ℕ := fun X => 2 ^ k * ((k.factorial * X ^ (k * (k + 2))) ^ 2 * X) ^ k
(∀ o, f (k, rows) = some o →
∃ V : Fin (k + 1) → Fin k → ℚ,
let M : Matrix (Fin k) (Fin k) ℚ := Matrix.of fun s t => (V t.succ - V 0) s
let G : Matrix (Fin k) (Fin k) ℚ :=
Matrix.transpose M⁻¹ * (1 + Matrix.of fun _ _ => (1 : ℚ)) * M⁻¹
o = (List.ofFn fun s => List.ofFn (G s), List.ofFn fun s => (∑ i, V i s) / (k + 1)) ∧
M.det ≠ 0 ∧ (∀ i, V i ∈ PQ) ∧
(∀ x ∈ PR, ∀ l : Fin (k + 1) → ℝ, ∑ i, l i = 1 →
∑ i, l i • (fun s => (V i s : ℝ)) = x → ∀ i, |l i| ≤ 3 / 2) ∧
∀ X : ℕ, 1 ≤ X → (∀ r ∈ L, (∀ j, Ht X (r.1 j)) ∧ Ht X r.2) →
∀ i s, Ht (vb (2 * X + 1 + vb (2 * X + 1))) (V i s)) ∧
((∃ w, w ∈ PQ) →
(∃ w0 : Fin k → ℚ, ∀ r ∈ L, (r.1 ≠ 0 → r.1 ⬝ᵥ w0 < r.2) ∧ (r.1 = 0 → 0 ≤ r.2)) →
(∃ B : ℚ, ∀ w ∈ PQ, ∀ j, |w j| ≤ B) → (f (k, rows)).isSome) := by sorry
end IntConeFPTSource
H. W. Lenstra Jr., Integer programming with a fixed number of variables, Math. Oper. Res. 8 (1983), §2 (rounding by simplices of maximal volume); used in Jansen–Ohnesorge–Schumacher, A Constructive FPT Algorithm for Integer Cone Optimization with Convex Costs, arXiv:2609.31328 (preprint), Lemma 13