Documentation

MIPRE.Foundations.Halting.Strings

The two distinguished strings #

Obligation O1 of the halting reduction (Halting/Reduction.lean, which applies yYes_mem and yNo_mem directly): a string whose verifier lies in classA n at every level above a threshold, and one whose verifier lies in classB n.

Both are descriptions descOf 0 š’Ÿ with the compressed sampler at parameter 0 and a decider program of three or four nodes:

Ī»-boundedness of both comes from Verifier.ofSamplerDecider_isBounded, whose three hypotheses are fields of MIPRE.GapCompression for the sampler and immediate for these two programs, each of which halts at constant cost.

The two decider programs #

The rejecting decider: the program nil, which returns nil on every input.

Equations
Instances For

    The fixed-answer decider: on (n, x, y, a, b) it returns encode true exactly when a and b are both the empty bit string. Four elims take the tuple apart and two more test the answers.

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

      The rejecting decider never returns encode true.

      The fixed-answer decider #

      On an input with at least four nodes on its right spine — the shape of a well-formed tuple (n, x, y, a, b) — decYes returns encode true exactly when the last two components are both nil.

      theorem MIPRE.Halting.decYes_halts (v : Cost.Data) :
      ∃ (r : Cost.Data), ∃ t ≤ 10, decYes.Runs v r t

      decYes halts on every input, well formed or not, at constant cost: each of its elims either returns nil at once or descends one node.

      What decYes accepts: the empty answer from both players, on every question pair.

      The compressed sampler #

      The compressed sampler's cost is polynomially bounded: its time bound is bound (n + Ī») at the fixed degree deg (GapCompression.sampler_time).

      Its dimension is polynomially bounded (GapCompression.sampler_dim).

      The two strings #

      The string of the class B: parameter 0, decider nil.

      Equations
      Instances For

        The string of the class A: parameter 0, the fixed-answer decider.

        Equations
        Instances For
          theorem MIPRE.Halting.yNo_mem (G : GapCompression) (U : Cost.UniversalMachine) (ω : ValueModel) :
          ∃ (nā‚€ : ā„•), āˆ€ (n : ā„•), nā‚€ ≤ n → yNo ∈ classB G U ω n

          O1, the rejecting side. yNo lies in the class B of every value model at every level from some nā‚€ on: its verifier accepts nothing, hence is synchronous and has value 0, and it is n-bounded above the threshold of Verifier.ofSamplerDecider_isBounded.

          theorem MIPRE.Halting.yYes_mem (G : GapCompression) (U : Cost.UniversalMachine) :
          ∃ (nā‚€ : ā„•), āˆ€ (n : ā„•), nā‚€ ≤ n → yYes ∈ classA G U n

          O1, the accepting side. yYes lies in the class A at every level from some nā‚€ on: its verifier accepts the empty answer from both players on every question pair and nothing else, so the constant strategy is a value-1 PCC strategy and every long answer is rejected.