Documentation

MIPRE.Foundations.Halting.Paper.Size

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 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
Instances For

    The size of kleeneProg U.univ F beyond |M| + |λ|.

    Equations
    Instances For

      The size of the decider dec M λ beyond 2 (|M| + |λ|).

      Equations
      Instances For
        theorem MIPRE.Halting.esize_dec (G : GapCompression) (U : Cost.UniversalMachine) (UT : Cost.ClockedUniversalMachine) (S' M : Cost.Prog) (lam : ℕ) :
        Cost.esize (dec G U UT S' M lam) = 2 * (Cost.esize M + Cost.esize lam) + cD G U UT S'

        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
        Instances For