Lemma 5 pricer: evaluating and at an integer point
ProvedIntConeFPT.lemma_5_pricer_evalAfter the pricing call of Lemma 29 returns a generator , the pricer of Lemma 5 reports the exact values and , where
This statement asserts that both values can be computed exactly, in polynomial time and with polynomial encoding length.
Statement. There are a constant and a machine such that for every valid instance , type , residue , integer vector and rational vector the following holds. Let the input be the threaded word made of in the context format of runsWithin_thread (each symbol as ), the marker , and the pricing output encPricing (some (x,u)) . Then there are rationals with
and outputs within steps, the input length.
The bound holds because is given densely: the number of listed coefficients is at least (as ), so and every monomial value has bit length at most .
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 open OnlineCRS.Combine
namespace IntConeFPT
theorem lemma_5_pricer_eval :
∃ C : ℕ, ∃ E : Machine, ∀ I : Instance, I.Valid →
∀ (t : Fin I.τ) (r : Residue I.d) (x : Fin I.d → ℤ) (u : Fin I.k → ℚ),
let p : (Fin I.d → ℝ) → ℝ := fun x => ∑ i, ((x i - ((r i : ℕ) : ℝ)) / 2 ^ I.d) ^ 2
let inp := (encLocal I t r).flatMap (fun s => [(0 : Sym), s]) ++
1 :: encPricing (some (x, u))
∃ cq sq : ℚ, (cq : ℝ) = I.f t (fun i => (x i : ℝ)) ∧
(sq : ℝ) = p (fun i => (x i : ℝ)) ∧
(encRat cq ++ encRat sq).length ≤
((encLocal I t r).length + (encGen x u).length) ^ C ∧
RunsWithin E inp (encGen x u ++ encRat cq ++ encRat sq ++ [3])
(((inp.length : ℝ) + 2) ^ C) := by sorry
end IntConeFPT