Lemma 5, LP stage — , an optimal dual pair and a lexicographically optimal basic representation on fiber vertices
ProvedIntConeFPT.lemma_5_lex_lpFix a valid instance, a type , a residue with , and a rational point . Let
be the secondary objective of the proof of Lemma 5. There are an absolute constant and a deterministic algorithm that returns
- the value ;
- a rational dual pair with ;
- pairwise distinct rational fiber vertices , at most of them, with positive rational multiplicities , such that
- this representation is lexicographically optimal over all of : every fractional representation of by generators of whose cost is at most satisfies .
The total output length is at most , and the algorithm runs within steps, where is the length of the encoded input . Its output is the encoding of and followed by the encoded triple.
This is the linear-programming part of the proof of Lemma 5 (p.35). The dual (3.1b) is solved by the ellipsoid method of Grötschel–Lovász–Schrijver, with the integer pricing of Lemma 29 as the strong separation oracle. A second run with the perturbed cost produces an optimal basic representation that minimizes among the minimum-cost representations. The remaining steps of Lemma 5, merging generators with equal integer coordinates and the parity bound , take this output as input.
Formalization Note. The machine model, the encodings and the reading of are those of Lemma 5 (Machine, RunsWithin, oracleBound, encOracle). The output is prefixed by encNat d ++ [3] ++ encNat k ++ [3], which is a prefix of the input, so that a subsequent machine can parse the generator list. The lexicographic optimality is stated against all real fractional representations on , as in the proof ("minimizing the two objectives lexicographically over the finite LP is equivalent to doing so over all fractional representations on ").
import Mathlib import Definitions.Def_OnlineCRS_Combine_Sym import Definitions.Def_OnlineCRS_Combine_encNat import Definitions.Def_OnlineCRS_Combine_encInt import Definitions.Def_OnlineCRS_Combine_encRat import Definitions.Def_OnlineCRS_Combine_encVec import Definitions.Def_IntConeFPT_Machine import Definitions.Def_IntConeFPT_Instance import Definitions.Def_IntConeFPT_Problem import Definitions.Def_IntConeFPT_Residue import Definitions.Def_IntConeFPT_Formulation open OnlineCRS.Combine
namespace IntConeFPT
theorem lemma_5_lex_lp :
∃ C : ℕ, ∃ M : Machine, ∀ I : Instance, I.Valid →
∀ (t : Fin I.τ) (r : Residue I.d) (z : Fin I.d → ℚ) (w : Fin I.k → ℚ) (n : ℚ),
(I.Sr t r).Nonempty →
((ratPair z w).1, (ratPair z w).2, (n : ℝ)) ∈ I.Cr t r →
let inp := encLocal I t r ++ encVec z ++ encVec w ++ encRat n ++ [3]
let p : (Fin I.d → ℝ) → ℝ := fun x => ∑ i, ((x i - ((r i : ℕ) : ℝ)) / 2 ^ I.d) ^ 2
∃ o : ℚ × ((Fin I.d → ℚ) × (Fin I.k → ℚ)) × ℚ × List ((Fin I.d → ℤ) × (Fin I.k → ℚ) × ℚ),
((o.1 : ℝ) : EReal) = I.Phi t r ((ratPair z w).1, (ratPair z w).2, (n : ℝ)) ∧
(ratPair o.2.1.1 o.2.1.2, (o.2.2.1 : ℝ)) ∈ I.Dr t r ∧
(o.1 : ℝ) = pairing (ratPair o.2.1.1 o.2.1.2) (ratPair z w) + (o.2.2.1 : ℝ) * n ∧
o.2.2.2.length ≤ I.d + I.k + 1 ∧
(o.2.2.2.map fun e => (e.1, e.2.1)).Nodup ∧
(∀ e ∈ o.2.2.2, ratGen e.1 e.2.1 ∈ I.Vr t r ∧ 0 < e.2.2) ∧
(o.2.2.2.map fun e => (e.2.2 : ℝ) • (ratGen e.1 e.2.1).toReal).sum = ratPair z w ∧
(o.2.2.2.map fun e => (e.2.2 : ℝ)).sum = n ∧
(o.2.2.2.map fun e => (e.2.2 : ℝ) * I.f t (fun i => (e.1 i : ℝ))).sum = o.1 ∧
(∀ θ : Gen I.d I.k →₀ ℝ,
IsFracRep (I.Sr t r) θ ((ratPair z w).1, (ratPair z w).2, (n : ℝ)) →
fracCost (I.f t) θ ≤ o.1 →
(o.2.2.2.map fun e => (e.2.2 : ℝ) * p (fun i => (e.1 i : ℝ))).sum ≤ fracCost p θ) ∧
(encOracle o).length ≤ inp.length ^ C ∧
RunsWithin M inp (encNat I.d ++ [3] ++ encNat I.k ++ [3] ++ encOracle o)
(oracleBound C I.d inp.length) := by sorry
end IntConeFPT