Documentation

MIPRE.Background.Tailored.Intro.LpIntroCost

The costs of the introspection processor #

Issue #281. The linear-constraints processor lpIntroC c U V λ of LpIntro.lean:

The size of the description #

The size of the processor's description.

theorem MIPRE.Tailored.Intro.LpIntro.lpIntroC_size_le (c : ℕ) (U : Cost.ClockedUniversalMachine) :
∃ (C : ℕ), ∀ (V : Cost.Prog × Cost.Prog × Cost.Prog) (lam : ℕ), (lpIntroC c U V lam).size ≤ C * (lam + 1) ^ C

The processor's description has size at most C (λ + 1)^C, for every input.

The run of the core #

A polynomial for the conversion of (Q, R) to unary.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    The polynomial of the core.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      The budget #

      theorem MIPRE.Tailored.Intro.LpIntro.lpIntroC_runs_poly {c v : ℕ} (hc : 1 ≤ c) (U : Cost.ClockedUniversalMachine) (V : Cost.Prog × Cost.Prog × Cost.Prog) {lam n : ℕ} (hl : 1 ≤ lam) (hn : 1 ≤ n) (d : Cost.Data) (hz : 19 * (lam + 1) + 4 * n + d.size + 3 ≤ v) (hB : Introspection.ansBound 5 lam n ≤ v) (hQ : Introspection.SourceCompiler.registerBits c lam n ≤ v) (hR : Introspection.SourceCompiler.originalBound lam n ≤ v) :
      ∃ (r : Cost.Data), ∃ t ≤ Polynomial.eval v (corePoly c U) + 2 * v + 7, (lpIntroC c U V lam).prog.Runs ((Cost.encode n).cons d) r t

      The run of the processor at positive λ and n, on every input, with its cost.

      theorem MIPRE.Tailored.Intro.LpIntro.small_le_two_pow {u E : ℕ} (hu : 1 ≤ u) (hE : 3 ≤ E) :
      64 * (u + 1) ≤ 2 ^ (u + 1) ^ E

      The costs of the processor, in the shape of Introspection.budget: one constant C with the processor within 2^{(λn + 1)^C} at degree C on every input, for every input description.

      At the constant of Introspection.seven #

      The costs of lpIntro, in the shape of Introspection.budget.

      theorem MIPRE.Tailored.Intro.LpIntro.lpIntro_size_le :
      ∃ (C : ℕ), ∀ (V : Cost.Prog × Cost.Prog × Cost.Prog) (lam : ℕ), (lpIntro V lam).size ≤ C * (lam + 1) ^ C

      |LP^intro| ≤ C (λ + 1)^C, for every input.