The tailored halting verifier: the accounting #
Paper II, lem:lambda (II:2002), for the three programs of a tailored verifier, along the route
of MIPRE/Foundations/Halting/Paper/{Size,Cost}.lean, which this file parallels: the verifier
Vhalt M λ is λ-bounded (TailoredVerifier.IsBounded λ) as soon as λ ≥ Λ₀ + 4|M|, for a
threshold Λ₀ depending on the compression, the universal machines and the search program
alone (exists_lamBound, Lam0).
- Sizes (
esize_lpProg): the processorlp M λis a hardcoding of the fixed point's program to its own description, so its size is2 (|M| + |λ|)plus a constant — the reason the parameter isΛ₀ + 4|M|. - The processor's run (
lp_cost): on(n, d),lp M λruns withinlpRunZ z |d|atz = n + |M| + λ, assembled along the fixed point's time transfer (Cost.kleeneFix_runs_of), the hardcoding of the description, the run ofprep, the universal machine on whatprepreturns, and the compressed processor's own time (TailoredGapCompression.lp_time). The existing halting verifier then wraps its decider in the question-length check; a processor is run as it is, so there is no wrapper layer here. - The clauses of
IsBounded λ, each absorbed past a threshold (PolyBounded.absorb,PolyBounded.absorb_log): the sampler's dimension and time and the answer-length calculator's time and lengths, all from the compression'spoly(n, λ); the processor's time; and the size.
Sizes #
The size of the code of F beyond |M| + |λ|.
Equations
- MIPRE.Tailored.Halting.cF TG U UT S' = MIPRE.Cost.esize (MIPRE.Tailored.Halting.body TG U UT S') + MIPRE.Cost.esize MIPRE.Cost.smnProg + 77
Instances For
The size of kleeneProg U.univ F beyond |M| + |λ|.
Equations
- MIPRE.Tailored.Halting.cK TG U UT S' = MIPRE.Tailored.Halting.cF TG U UT S' + MIPRE.Cost.esize U.univ + MIPRE.Cost.esize MIPRE.Cost.smnProg + 136
Instances For
The size of the processor lp M λ beyond 2 (|M| + |λ|).
Equations
- MIPRE.Tailored.Halting.cD TG U UT S' = 2 * MIPRE.Tailored.Halting.cK TG U UT S' + 35
Instances For
F e = hardcode body (M, (λ, e)) has size |body| + |M| + |λ| + |e| + 37.
The time bound of F: affine in the argument and in |body| + |M| + |λ|.
The overhead of the fixed point's time transfer beyond 21 (|M| + |λ|).
Equations
- One or more equations did not get rendered due to their size.
Instances For
What prep returns #
The cost of the two constant programs: the sizes of the two constant outputs.
Equations
Instances For
The size of the program prep returns, at the parameter λ and the processor e: the
compressed processor's, from compress's time bound at the size of its input.
Equations
- One or more equations did not get rendered due to their size.
Instances For
What prep returns, on the description (M, (λ, e)) and the input (n, d): a program
of size at most progSize λ e, an input of size at most |n| + |d| + 1, and the program runs
on the input within the compressed processor's time plus a constant.
The processor's run #
Every atom of the cost — |n|, |M| + |λ|, |λ|, n, λ — is at most muZ z = 5z + 1 or
z at z = n + |M| + λ.
The size of the processor, in z.
Equations
- MIPRE.Tailored.Halting.eZ TG U UT S' z = 2 * MIPRE.Halting.muZ z + MIPRE.Tailored.Halting.cD TG U UT S'
Instances For
The size of the description (M, (λ, lp M λ)), in z.
Equations
- MIPRE.Tailored.Halting.pZ TG U UT S' z = 3 * MIPRE.Halting.muZ z + MIPRE.Tailored.Halting.cD TG U UT S' + 2
Instances For
The size of F (lp M λ), in z.
Equations
- MIPRE.Tailored.Halting.feZ TG U UT S' z = MIPRE.Cost.esize (MIPRE.Tailored.Halting.body TG U UT S') + MIPRE.Tailored.Halting.pZ TG U UT S' z + 35
Instances For
The time of prep, in z and |d|.
Equations
- MIPRE.Tailored.Halting.tpZ TG U UT S' z s = Polynomial.eval (MIPRE.Tailored.Halting.pZ TG U UT S' z + MIPRE.Halting.vZ z s + 1) (MIPRE.Tailored.Halting.prep TG UT S').timeBound
Instances For
The size of the program prep returns, in z.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The time of the program prep returns, in z and |d|.
Equations
- MIPRE.Tailored.Halting.tcZ TG z s = Polynomial.eval (2 * z) TG.bound * (s + 1) ^ TG.deg + MIPRE.Tailored.Halting.constCost
Instances For
The time of the universal machine on it, in z and |d|.
Equations
- MIPRE.Tailored.Halting.tuZ TG U UT S' z s = Polynomial.eval (MIPRE.Tailored.Halting.sigmaZ TG U UT S' z + MIPRE.Halting.vZ z s + MIPRE.Tailored.Halting.tcZ TG z s) U.bound
Instances For
The time of body, in z and |d|.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The time of F (lp M λ), in z and |d|.
Equations
- MIPRE.Tailored.Halting.tfZ TG U UT S' z s = MIPRE.Tailored.Halting.tbZ TG U UT S' z s + MIPRE.Tailored.Halting.pZ TG U UT S' z + MIPRE.Halting.vZ z s + 3
Instances For
The overhead of the fixed point's transfer, in z.
Equations
- MIPRE.Tailored.Halting.ovZ TG U UT S' z = 21 * MIPRE.Halting.muZ z + MIPRE.Tailored.Halting.cO TG U UT S'
Instances For
The master bound on the processor's run, in z and |d|.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The processor's run: on (n, d), lp M λ halts within lpRunZ (n + |M| + λ) |d|.
The polynomial form #
The processor's cost, in polynomial form: a polynomial Q and a degree k, depending on
TG, U, UT and S' alone, with lp M λ halting on (n, d) within
Q (n + |M| + λ) · (|d| + 1) ^ k.
The clauses of IsBounded #
The sampler and answer-length clauses, and the parameter inequality: past a threshold
on λ, at every index m ≥ 2, the compression's bound poly(m, λ) is below m ^ λ, so the
compressed sampler at λ has dimension at most m ^ λ and runs within
m ^ λ · (|d| + 1) ^ λ, and the compressed answer-length calculator runs within the same bound
and outputs lengths at most m ^ λ.
The processor clause: past a threshold on λ, for |M| ≤ λ, the processor of
V^{M,λ} runs within m ^ λ · (|d| + 1) ^ λ at every index m ≥ 2.
The size of V^{M,λ} beyond 2|M|, as a function of |λ|.
Equations
- MIPRE.Tailored.Halting.vsizeZ TG U UT S' l = Polynomial.eval l TG.samplerProg.timeBound + Polynomial.eval l TG.lenProg.timeBound + 2 * l + MIPRE.Tailored.Halting.cD TG U UT S'
Instances For
The size of V^{M,λ} is at most 2|M| + vsizeZ |λ|.
The size clause: past a threshold on λ, for 4|M| ≤ λ, |V^{M,λ}| ≤ λ.
lem:lambda #
lem:lambda for tailored verifiers: there is a threshold Λ₀, depending on TG, U,
UT and S' alone, such that for every machine M and every λ ≥ Λ₀ + 4|M|, the verifier
V^{M,λ} is λ-bounded.
The threshold of lem:lambda.
Equations
- MIPRE.Tailored.Halting.Lam0 TG U UT S' = ⋯.choose