Lemma 5.3 — extending a dense certificate to an -approximation of
ProvedRelatedSchedFPTAS796.Main.lemma_5_3Let , , and let be a multiset of integers in with
where are the parameters of the partial-profile instance. Given a dense certificate for (Definition 5.2, with error ) with , one can compute, in time, a set of size approximating with additive error (Definition 2.1).
Formally: for every , every admissibility constant (with ) and all constants of the certificate (error , ) there are a word-RAM program and constants such that on every such input (the jobs, , a word per job marking , and the list ) and every width , on every coin sequence the program halts within steps with at most output vectors approximating the target box with additive error ; here .
Lemma 5.8 applies it once the level-by-level merging has produced a dense certificate.
Differences from the source:
- reading: "one can compute" on the word RAM → one program of the published randomized word RAM, correct and within time on every coin sequence, at every width ; reason: the paper names no machine; trans-dichotomous convention
- reading: the of the given certificate and of → for all constants , chosen before the program; reason: the hidden constants of a hypothesis are arbitrary; the output constants may depend on them
- reading: the parameters of the surrounding partial-profile instance → the standing assumptions for a constant , and ; reason: §§4.2–5 fix an admissible partial-profile instance (Definition 3.3); the lemma's own sentence states only the conditions on
- encoding: a power of two (p.7, the convention of §§3–5) → with , given as the word ; reason: the paper's own convention for these sections;
- encoding: a dense certificate given as input → as one word per job occurrence, as a list of rational vectors (numerator, denominator per coordinate); reason: the paper fixes no representation
import Mathlib import Definitions.Def_MatroidSensOracle_WordRAM import Definitions.Def_RelatedSchedFPTAS796_Main_Model import Definitions.Def_RelatedSchedFPTAS796_Main_Machine import Definitions.Def_RelatedSchedFPTAS796_Main_Problems set_option autoImplicit false open MatroidSensOracle MeasureTheory Pointwise
namespace RelatedSchedFPTAS796.Main
/-- **Lemma 5.3**, p.13 (proof pp.13–14). Fix the dimension `d ≥ 1`, the parameter conditions of
the partial-profile problem (`1 ≤ κ_1 ≤ ⋯ ≤ κ_d ≤ a/ε`) and the constants `C₀, c₀` hidden in the
certificate's `Õ`. Let `ε = 2^{−ℓ}` and let `J` be a multiset of integers in `[1/ε, 2/ε)` with
`Σ(J) ≥ ((d+1)/d)∑_j κ_j/ε`. Given a dense certificate `(J', S')` for `J` (Definition 5.2 with
error `C₀κ·polylog^{c₀}`) with `|S'| ≤ C₀(1/ε)^d·polylog^{c₀}`, one can compute in
`Õ(|J| + (1/ε)^d)` time a set of size `Õ((1/ε)^d)` approximating `𝒮(J, [κ/ε, (2d+1)κ/(2dε)))`
with additive error `Õ(κ)`; here `polylog = log₂(|J|+2)·log₂(2/ε)` and the output constants
`C, c` are chosen with the program. -/
theorem lemma_5_3 (d : ℕ) (hd : 1 ≤ d) (a C₀ c₀ : ℕ) : ∃ (P : List Instr) (b C c : ℕ),
∀ (ℓ : ℕ) (J : List ℕ) (κ : Fin d → ℚ) (J' : Finset (Fin J.length)) (S' : List (Fin d → ℚ)),
1 ≤ ℓ → JobsInRange ℓ J → ((d : ℚ) + 1) / d * ((∑ i, κ i) * 2 ^ ℓ) ≤ (J.sum : ℚ) →
KappaAdmissible a ℓ κ → (∀ x ∈ S', ∀ i, 0 ≤ x i) →
(S'.length : ℝ) ≤ C₀ * (1 / epsOf ℓ) ^ d * polylog2 J.length (epsOf ℓ) c₀ →
IsDenseCertificate (epsOf ℓ) (fun i => (κ i : ℝ))
(fun i => C₀ * (κ i : ℝ) * polylog2 J.length (epsOf ℓ) c₀) (jobsOf J) Finset.univ J'
(ratToReal '' {x | x ∈ S'}) →
∀ w : ℕ, widthMin b J.length (maxWord (certInput ℓ J κ J' S')) ≤ w →
∀ ω : Coins, ∃ mem, runFor P w (certInput ℓ J κ J' S')
(C * ((J.length : ℝ) + (1 / epsOf ℓ) ^ d) * polylog2 J.length (epsOf ℓ) c) ω
= some mem ∧
(outCount mem : ℝ) ≤ C * (1 / epsOf ℓ) ^ d * polylog2 J.length (epsOf ℓ) c ∧
ApproxAdd (partialProfiles d (jobsOf J)) (outRatSet d mem) (partialBox ℓ κ)
(fun i => C * (κ i : ℝ) * polylog2 J.length (epsOf ℓ) c) := by sorry
end RelatedSchedFPTAS796.Main
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.