Lemma 29 (Integer Pricing) with running time
ProvedIntConeFPT.lemma_29_d3There are a constant and a deterministic algorithm that, given a valid instance, a type , a residue and , either reports (exactly when it is empty) or returns a rational generator minimizing
over all of , whose encoding length is at most , within steps, where is the length of the encoded input .
This is Lemma 29 with the running time weakened from to : the pricing step is carried out with an oracle Lenstra-type integer feasibility algorithm (Dadush; in the form of Koana–Kumabe, arXiv:2609.16923v2, Lemma 5, p.5), whose running time is in the dimension, combined with bisection over the objective value and an exact LP for the final fiber vertex. The bound is still absorbed by the FPT bound of Theorem 1. This pricing step is the oracle behind Lemmas 5 and 12.
Formalization Note An algorithm is a Mathlib multi-stack Turing machine (Turing.TM2ComputableAux) over the alphabet ; numbers are written in binary (rationals in lowest terms) with the published encodings encNat, encInt, encRat, encVec, so the length of encInstance I is the paper's up to a constant factor. The constant is absolute and is chosen before the machine and before every input.
Differences from the source:
- weakening: running time → (
oracleBound3); reason: the integer step uses an oracle Lenstra algorithm with running time; the bound remains single-exponential in a polynomial of and is absorbed by Theorem 1's FPT bound - encoding: deterministic algorithm with running time in terms of the binary input length |I| (no machine model named) → a Mathlib TM2 machine (
Machine) over the alphabet Fin 4, step count bounded viaRunsWithinon the binary encodings; reason: |I| is the binary input length and every input is rational, so the standard deterministic Turing model applies; a polynomial RAM-to-TM overhead is absorbed into the O(·) exponents - encoding: O(·) in the time bound (and |I|^{O(1)} encoding-length bounds) → one absolute constant C : ℕ quantified before the machine and all inputs; logarithms to base 2; reason: for d ≥ 1 every O(d), O(d² log(d+1)) and O(1) is at most C times the displayed expression; the log base changes only C
- encoding: the algorithm runs on instances of (♣) (rational polytopes, convex polynomial costs) → correctness and the step bound are required on valid instances only (
Instance.Valid); behaviour on other inputs is unconstrained; reason: the paper specifies its algorithm only on such instances; this changes no instance the paper speaks about - encoding: types t ∈ [τ] = {1, …, τ} → t : Fin τ (0-based); reason: Lean convention; same instances
- encoding: (B.1 fixes a type t) given r and a → input (I, t, r, a) encoded as encLocal I t r ++ encVec a_x ++ encVec a_u; reason: the type is part of the call; |I| + enc(a) is the input length up to separators
- encoding: r ∈ {0, …, 2^d − 1}^d → r : Fin d → Fin (2^d) (Residue d); reason: Lean convention; same residues
- reading: P^(1), …, P^(τ) (implicitly at least one type) → Instance.Valid requires 1 ≤ τ; reason: the paper lists τ types and its bounds contain log(τ + 1); there are no instances with τ = 0 in the source
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_oracleBound3 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_29_d3 :
∃ C : ℕ, ∃ M : Machine, ∀ I : Instance, I.Valid →
∀ (t : Fin I.τ) (r : Residue I.d) (ax : Fin I.d → ℚ) (au : Fin I.k → ℚ),
let inp := encLocal I t r ++ encVec ax ++ encVec au
∃ o : Option ((Fin I.d → ℤ) × (Fin I.k → ℚ)),
(o = none ↔ I.Sr t r = ∅) ∧
(∀ g, o = some g →
ratGen g.1 g.2 ∈ I.Vr t r ∧
(∀ g' ∈ I.Sr t r,
I.f t (fun i => (g.1 i : ℝ)) - pairing (ratPair ax au) (ratGen g.1 g.2).toReal ≤
I.f t (fun i => (g'.1 i : ℝ)) - pairing (ratPair ax au) g'.toReal) ∧
(encGen g.1 g.2).length ≤ (encInstance I).length ^ C) ∧
RunsWithin M inp (encPricing o) (oracleBound3 C I.d inp.length) := by sorry
end IntConeFPT