The halting verifier along the paper's route: sizes #
The sizes of the descriptions the accounting of Paper/Cost.lean runs on, each an exact
affine function of |M| + |λ| — the binary encodings' sizes esize M + esize lam — with a
constant depending on G, U, UT and S' alone:
- the code of the map
F(esize_F_code), which carriesbody,Mandλas constants; - the two-argument program
kleeneProgof the fixed point (esize_kleeneProg_F); - the decider
dec M λitself, a hardcoding ofkleeneProgto its own description (esize_dec), so twice the previous plus a constant — this is the2|c|of the criterion route and the reason the parameterλ(M)oflem:lambdaisΛ₀ + 4|M|; Fapplied to the decider (esize_F_dec), the program the fixed point actually runs;- the time bound of
F(F_timeBound_eval) and the overhead of the fixed point's transfer (kleeneOverhead_eq).
The constants are what Lean computes from the constructors; they are named rather than tracked, since only their existence matters downstream.
esize n ≤ 4n + 1: the binary numeral of n has at most size n ≤ n digits.
The size of the code of F beyond |M| + |λ|.
Equations
- MIPRE.Halting.cF G U UT S' = MIPRE.Cost.esize (MIPRE.Halting.body G U UT S') + MIPRE.Cost.esize MIPRE.Cost.smnProg + 77
Instances For
The size of kleeneProg U.univ F beyond |M| + |λ|.
Equations
- MIPRE.Halting.cK G U UT S' = MIPRE.Halting.cF G U UT S' + MIPRE.Cost.esize U.univ + MIPRE.Cost.esize MIPRE.Cost.smnProg + 136
Instances For
The size of the decider dec M λ beyond 2 (|M| + |λ|).
Equations
- MIPRE.Halting.cD G U UT S' = 2 * MIPRE.Halting.cK G U UT S' + 35
Instances For
The description (M, (λ, e)) has size |M| + |λ| + |e| + 2.
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
- MIPRE.Halting.cO G U UT S' = 7 * MIPRE.Halting.cK G U UT S' + 5 * MIPRE.Halting.cD G U UT S' + 4 * MIPRE.Cost.esize (MIPRE.Halting.body G U UT S') + 181