Documentation

MIPRE.Foundations.Pipeline.Oracularization

Oracularization #

Blueprint thm:oracularization (paper oracularization.tex, sec:orac-def, thm:oracle-completeness and thm:oracle-soundness; ledger node 1.3.5): the structure Oracularization ℓ, the specification of the typed oracularized verifier of an ℓ + 1-level normal form verifier, and its inhabitant Oracularization.construction, which is the theorem.

The structure was first stated as an untyped, level-preserving transformation with value transfers as fields. That statement was vacuous (planning/oracularization.md, finding 1): the identity transformation with a length check satisfies it, because no field sees the oracle form of the output — that one player's answer alone decides the game check, and the other's must equal one of its components — which is the only property of oracularization answer reduction uses. So it is restated as the specification of the construction itself:

The index routine replaces the paper's timeout-counter form, which the ambient model does not have (Foundations/OracularDecider.lean). Completeness therefore carries the budget hypothesis: it is the input verifier's running time at the index, which the paper's timeout bound supplies.

The value transfers are theorems about every instance: for the typed game (typed_soundness, typed_completeness), with the soundness loss 24√ε of lem:oracular-soundness-tensor; and for the detyped verifier with ℓ + 3 levels (detyped, detyped_completeness, detyped_soundness), with the loss 1536√ε — the factor 16³ of the detyping compiler on three types under the square root. In the paper oracularization is not detyped on its own (finding 3): it is internal to answer reduction, whose single detyping is at its exterior. The composition MIPRE.GapCompression.ofPipeline does not consume this structure.

The two soundness transfers hold in every value model in which oracularization is sound (ValueModel.OracularSound, Foundations/OracularValue.lean): typed_soundness_val and detyped_soundness_val, in Verifier.val ω, of which typed_soundness and detyped_soundness are the tensor-product cases; the commuting-operator model is the other instance (ValueModel.commuting_oracularSound).

def MIPRE.Oracularization.inputSize {ℓ : ℕ} (V : Verifier (ℓ + 1)) (B n T : ℕ) :

The size of the core's input at the index, construction-independent: the description lengths of the input programs, the parse cut, the index, the dimension and the answer cut.

Equations
Instances For
    structure MIPRE.Oracularization (ℓ : ℕ) :

    Oracularization (blueprint thm:oracularization), for ℓ + 1-level inputs: the specification of the typed oracularized decider, the sampler being oracleSampler. An instance is the theorem (Oracularization.construction).

    Instances For

      The typed game #

      @[reducible, inline]

      The typed game of the oracularized verifier of 𝒱 at index n: the detyping compiler's typed game of oracleSampler and the decider, on the complete graph over the roles.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem MIPRE.Oracularization.typed_soundness_val {ℓ : ℕ} (O : Oracularization ℓ) (V : Verifier (ℓ + 1)) (I : OracleDecider.Index) (C : CL.Detyping.CutoffProgram) {ω : ValueModel} (hω : ω.OracularSound) (n : ℕ) {ε : ℝ} (hε : 0 < ε) (h : 1 - ε < ω.val (O.typedGame V I C n)) :
        1 - 24 * √ε ≤ V.val ω n (I.cut n)

        Soundness of the typed oracularized verifier, in a value model where oracularization is sound: its typed game's value above 1 - ε puts ω(𝒱_n) at the parse cut at least 1 - 24√ε, whatever the budget.

        theorem MIPRE.Oracularization.typed_soundness {ℓ : ℕ} (O : Oracularization ℓ) (V : Verifier (ℓ + 1)) (I : OracleDecider.Index) (C : CL.Detyping.CutoffProgram) (n : ℕ) {ε : ℝ} (hε : 0 < ε) (h : 1 - ε < quantumValue (O.typedGame V I C n)) :
        1 - 24 * √ε ≤ V.valStar n (I.cut n)

        Soundness of the typed oracularized verifier: its typed game's quantum value above 1 - ε puts val*(𝒱_n) at the parse cut at least 1 - 24√ε, whatever the budget — typed_soundness_val in the tensor-product model.

        theorem MIPRE.Oracularization.typed_completeness {ℓ : ℕ} (O : Oracularization ℓ) (V : Verifier (ℓ + 1)) (I : OracleDecider.Index) (C : CL.Detyping.CutoffProgram) (n TS TD k W : ℕ) (hS : V.sampler.TimeBoundAt n TS k) (hD : V.decider.TimeBoundAt n TD k) (hTS : TS ≤ W) (hTD : TD ≤ W) (hin : 8 * I.cut n + 3 ≤ C.inner n) (hout : C.inner n ≤ C.outer n) (hK : O.budgetCoeff * (W + 1) ^ O.budgetDeg * (inputSize V (I.cut n) n (C.inner n) + 1) ^ (O.budgetExp * (k + 1)) ≤ I.budget n) (hV : V.HasPerfectPCC n (I.cut n)) :
        ∃ (R : SyncStrategy (O.typedGame V I C n).doubled), R.IsPCC ∧ R.value = 1

        Completeness of the typed oracularized verifier: a value-1 PCC strategy of 𝒱_n at the parse cut gives one of the doubled typed game, with identical operators for the two players (the synchronous framework's), when the inner cut holds every honest encoding and the budget covers the input verifier's running time.

        The detyped verifier #

        noncomputable def MIPRE.Oracularization.detyped {ℓ : ℕ} (O : Oracularization ℓ) (V : Verifier (ℓ + 1)) (I : OracleDecider.Index) (C : CL.Detyping.CutoffProgram) :
        Verifier (ℓ + 1 + 2)

        The detyped oracularized verifier, with ℓ + 3 levels: the typed oracularized verifier through the detyping compiler (lem:detype-compiler) at the cutoff program C.

        Equations
        Instances For
          theorem MIPRE.Oracularization.detyped_completeness {ℓ : ℕ} (O : Oracularization ℓ) (V : Verifier (ℓ + 1)) (I : OracleDecider.Index) (C : CL.Detyping.CutoffProgram) (n TS TD k W : ℕ) (hS : V.sampler.TimeBoundAt n TS k) (hD : V.decider.TimeBoundAt n TD k) (hTS : TS ≤ W) (hTD : TD ≤ W) (hin : 8 * I.cut n + 3 ≤ C.inner n) (hout : C.inner n ≤ C.outer n) (hK : O.budgetCoeff * (W + 1) ^ O.budgetDeg * (inputSize V (I.cut n) n (C.inner n) + 1) ^ (O.budgetExp * (k + 1)) ≤ I.budget n) (hV : V.HasPerfectPCC n (I.cut n)) :
          (O.detyped V I C).HasPerfectPCC n (C.outer n)

          Completeness of the detyped oracularized verifier.

          theorem MIPRE.Oracularization.detyped_soundness_val {ℓ : ℕ} (O : Oracularization ℓ) (V : Verifier (ℓ + 1)) (I : OracleDecider.Index) (C : CL.Detyping.CutoffProgram) {ω : ValueModel} (hω : ω.OracularSound) (n : ℕ) {ε : ℝ} (hε : 0 < ε) (h : 1 - ε < (O.detyped V I C).val ω n (C.outer n)) :
          1 - 1536 * √ε ≤ V.val ω n (I.cut n)

          Soundness of the detyped oracularized verifier, in a value model where oracularization is sound: ω above 1 - ε at the outer cut puts ω(𝒱_n) at the parse cut at least 1 - 1536√ε, whatever the budget — the detyping factor 16³ on the three roles, under the square root, times the 24 of the typed game.

          theorem MIPRE.Oracularization.detyped_soundness {ℓ : ℕ} (O : Oracularization ℓ) (V : Verifier (ℓ + 1)) (I : OracleDecider.Index) (C : CL.Detyping.CutoffProgram) (n : ℕ) {ε : ℝ} (hε : 0 < ε) (h : 1 - ε < (O.detyped V I C).valStar n (C.outer n)) :
          1 - 1536 * √ε ≤ V.valStar n (I.cut n)

          Soundness of the detyped oracularized verifier: val* above 1 - ε at the outer cut puts val*(𝒱_n) at the parse cut at least 1 - 1536√ε, whatever the budget — detyped_soundness_val in the tensor-product model.

          The construction #

          theorem MIPRE.Oracularization.coreInputBound_le {ℓ : ℕ} (V : Verifier (ℓ + 1)) (B n T : ℕ) :
          OracleDecider.coreInputBound V B n T + 1 ≤ (inputSize V B n T + 1) ^ 28

          The core's input bound is below a power of the construction-independent one.

          Oracularization (blueprint thm:oracularization): the typed oracularized decider of Foundations/OracularDecider.lean, with the running times of Foundations/OracularDeciderCost.lean, inhabits the specification.

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