Polynomial-time LP toolkit: optimum classification, optimal vertices and implicit equalities
ProvedIntConeFPT.lp_oracle_toolkitcomputational-complexityinteger-coneslinear-programmingpolyhedra
There are three functions, each computable in polynomial time (multi-tape Turing machines, complexitylib), on rational inequality systems in (given as a list of rows) and objectives : (1) classifies the LP over : tag 0 only if , tag 1 only if the objective is unbounded on , otherwise it returns an optimal point of ; (2) has the same guarantees and, if the real polyhedron is bounded, its optimal point is an extreme point of the real polyhedron; (3) either returns the index of a row with nonzero normal that holds with equality on all of (an implicit equality), or certifies that every row with nonzero normal is strict at some point of .
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 lp_oracle_toolkit :
∃ (fopt fvtx : List (List ℚ × ℚ) × List ℚ → ℕ × List ℚ)
(fimp : List (List ℚ × ℚ) → Option ℕ),
ComputableInPolyTime fopt
(encPair (encList (encPair (encList Encoding.encRat) Encoding.encRat)) (encList Encoding.encRat))
(encPair encUnary (encList Encoding.encRat)) ∧
ComputableInPolyTime fvtx
(encPair (encList (encPair (encList Encoding.encRat) Encoding.encRat)) (encList Encoding.encRat))
(encPair encUnary (encList Encoding.encRat)) ∧
ComputableInPolyTime fimp (encList (encPair (encList Encoding.encRat) Encoding.encRat))
(encOption encUnary) ∧
∀ (k : ℕ) (L : List ((Fin k → ℚ) × ℚ)) (c : 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 LPok : ℕ × List ℚ → Prop := fun o =>
(o.1 = 0 → ∀ w, w ∉ PQ) ∧
(o.1 = 1 → ∀ M : ℚ, ∃ w ∈ PQ, M < c ⬝ᵥ w) ∧
(2 ≤ o.1 → (fun j : Fin k => o.2.getD j 0) ∈ PQ ∧ ∀ w' ∈ PQ, c ⬝ᵥ w' ≤ c ⬝ᵥ fun j : Fin k => o.2.getD j 0)
LPok (fopt (rows, List.ofFn c)) ∧
LPok (fvtx (rows, List.ofFn c)) ∧
((∃ B : ℝ, ∀ x ∈ PR, ∀ j, |x j| ≤ B) → 2 ≤ (fvtx (rows, List.ofFn c)).1 →
(fun j : Fin k => (((fvtx (rows, List.ofFn c)).2.getD j 0 : ℚ) : ℝ)) ∈ Set.extremePoints ℝ PR) ∧
(∀ i, fimp rows = some i → ∃ h : i < L.length, (L[i]).1 ≠ 0 ∧ ∀ w ∈ PQ, (L[i]).1 ⬝ᵥ w = (L[i]).2) ∧
(fimp rows = none → ∀ w ∈ PQ, ∀ i : Fin L.length, ∃ v ∈ PQ,
(L[i]).1 ≠ 0 → (L[i]).1 ⬝ᵥ v < (L[i]).2) := by sorry
end IntConeFPTSource
Grötschel–Lovász–Schrijver (1988), Ch. 6 (polynomial-time LP, vertex solutions); Schrijver, Theory of Linear and Integer Programming (1986), §8.2 (implicit equalities); used in Jansen–Ohnesorge–Schumacher, A Constructive FPT Algorithm for Integer Cone Optimization with Convex Costs, arXiv:2609.31328 (preprint), Lemma 13