Documentation

MIPRE.Background.Tailored.AnswerReduction.ArParCore

The parameter program of the answer-reduced verifier #

Slice P4i of planning/aldous-lyons-track.md: the closed program arParCore κ that, on ((λ, μ, σ), n), writes the parameters of MIPRE.Tailored.AnsRed.Params in unary (arParCore_runs), the routine's parCore. Its running time is ArParCoreCost.

The parameters grow like a power of Q = (λn + 1)^μ, so no polynomial-time function of the binary input writes them in unary; as the MIP* answer reduction's parameter routine (MIPRE.AnswerReduction.ParRoutine.core), the program is a sequence of loops, each writing one number in unary in front of the data, and polynomial-time functions of the unary data between them. In order:

Pushing a number in unary #

A loop stage: write the number g x in unary in front of the data x.

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

    The unary arithmetic #

    2^{|u|} in binary: the bits 0^{|u|} 1.

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

      size m in unary, from m in unary.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        @[reducible, inline]

        The input of G6: σ, μ, Q in unary and n.

        Equations
        Instances For

          ◇ = (μ + 2)(Q + 4).

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

            oW = 2Q + 3◇ + 6.

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

              K = E₁ (μ + 1)(oW + Q + 4).

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

                σ' = c₀ + 5σ + 4(Q + ◇) + 8.

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

                  The window describer's (r, s) at (n, T, Q, σ'), T = 2^K.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    @[reducible, inline]

                    The output of G6: (r, s) in binary, then K, σ', Q, ◇ in unary.

                    Equations
                    Instances For

                      The middle function: (σ, μ, Q, n) ↦ ((r, s), K, σ', Q, ◇).

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        theorem MIPRE.Tailored.AnsRed.Typed.ArPar.rsF_apply (κ : Params.ArConsts) (lam mu sigma n : ℕ) :
                        (rsF κ).toFun (Cost.unary sigma, Cost.unary mu, Cost.unary (Params.pQ lam mu n), n) = (Params.pR κ lam mu sigma n, Params.pS κ lam mu sigma n)
                        @[reducible, inline]
                        noncomputable abbrev MIPRE.Tailored.AnsRed.Typed.ArPar.z6 (κ : Params.ArConsts) (lam mu sigma n : ℕ) :

                        The value of the middle function.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          theorem MIPRE.Tailored.AnsRed.Typed.ArPar.G6_apply (κ : Params.ArConsts) (lam mu sigma n : ℕ) :
                          (G6 κ).toFun (Cost.unary sigma, Cost.unary mu, Cost.unary (Params.pQ lam mu n), n) = z6 κ lam mu sigma n

                          m = nIn + s in unary, from (Q, ◇, r, s) in unary.

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

                            The last function: the parameters, from (2^j, s, r, K, σ', Q, ◇) in unary.

                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              theorem MIPRE.Tailored.AnsRed.Typed.ArPar.mF_pL (κ : Params.ArConsts) (lam mu sigma n : ℕ) :
                              mF.toFun (Cost.unary (Params.pQ lam mu n), Cost.unary (Params.pDm lam mu n), Cost.unary (Params.pR κ lam mu sigma n), Cost.unary (Params.pS κ lam mu sigma n)) = Cost.unary (Params.pL κ lam mu sigma n).m

                              mF at the PCP's dimensions, with ℓ = Q.

                              theorem MIPRE.Tailored.AnsRed.Typed.ArPar.G10_apply (κ : Params.ArConsts) (lam mu sigma n : ℕ) :
                              (G10 κ).toFun (Cost.unary (2 ^ Params.pJ κ lam mu sigma n), Cost.unary (Params.pS κ lam mu sigma n), Cost.unary (Params.pR κ lam mu sigma n), Cost.unary (Params.pK κ lam mu n), Cost.unary (Params.pSig κ lam mu sigma n), Cost.unary (Params.pQ lam mu n), Cost.unary (Params.pDm lam mu n)) = arParams (Params.pTw κ lam mu sigma n) (Params.pJ κ lam mu sigma n) Params.pD (Params.pL κ lam mu sigma n) (Params.pExtra κ lam mu sigma n)

                              The data between the stages #

                              μ, after Q in unary.

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

                                σ, after μ in unary.

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

                                  The middle stage: (σ, μ, Q, n) read, then G6.

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

                                    2^j, after s in unary.

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

                                      The last stage: (2^j, s, r, K, σ', Q, ◇) read, then G10.

                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For
                                        @[reducible, inline]

                                        The input.

                                        Equations
                                        Instances For
                                          @[reducible, inline]

                                          After the budgets' routine.

                                          Equations
                                          • One or more equations did not get rendered due to their size.
                                          Instances For
                                            @[reducible, inline]

                                            After Q in unary.

                                            Equations
                                            • One or more equations did not get rendered due to their size.
                                            Instances For
                                              @[reducible, inline]

                                              After μ in unary.

                                              Equations
                                              Instances For
                                                @[reducible, inline]

                                                After σ in unary.

                                                Equations
                                                Instances For
                                                  @[reducible, inline]
                                                  noncomputable abbrev MIPRE.Tailored.AnsRed.Typed.ArPar.y6 (κ : Params.ArConsts) (lam mu sigma n : ℕ) :

                                                  After the middle stage.

                                                  Equations
                                                  Instances For
                                                    @[reducible, inline]
                                                    noncomputable abbrev MIPRE.Tailored.AnsRed.Typed.ArPar.y7 (κ : Params.ArConsts) (lam mu sigma n : ℕ) :

                                                    After r in unary.

                                                    Equations
                                                    • One or more equations did not get rendered due to their size.
                                                    Instances For
                                                      @[reducible, inline]
                                                      noncomputable abbrev MIPRE.Tailored.AnsRed.Typed.ArPar.y8 (κ : Params.ArConsts) (lam mu sigma n : ℕ) :

                                                      After s in unary.

                                                      Equations
                                                      • One or more equations did not get rendered due to their size.
                                                      Instances For
                                                        @[reducible, inline]
                                                        noncomputable abbrev MIPRE.Tailored.AnsRed.Typed.ArPar.y9 (κ : Params.ArConsts) (lam mu sigma n : ℕ) :

                                                        After 2^j in unary.

                                                        Equations
                                                        • One or more equations did not get rendered due to their size.
                                                        Instances For
                                                          theorem MIPRE.Tailored.AnsRed.Typed.ArPar.gQ_apply (lam mu sigma n : ℕ) :
                                                          gQ.toFun (x1 lam mu sigma n) = Params.pQ lam mu n
                                                          theorem MIPRE.Tailored.AnsRed.Typed.ArPar.gMu_apply (lam mu sigma n : ℕ) :
                                                          gMu.toFun (x2 lam mu sigma n) = mu
                                                          theorem MIPRE.Tailored.AnsRed.Typed.ArPar.gSig_apply (lam mu sigma n : ℕ) :
                                                          gSig.toFun (x3 lam mu sigma n) = sigma
                                                          theorem MIPRE.Tailored.AnsRed.Typed.ArPar.f6_apply (κ : Params.ArConsts) (lam mu sigma n : ℕ) :
                                                          (f6 κ).toFun (x4 lam mu sigma n) = y6 κ lam mu sigma n
                                                          theorem MIPRE.Tailored.AnsRed.Typed.ArPar.gR_apply (κ : Params.ArConsts) (lam mu sigma n : ℕ) :
                                                          gR.toFun (y6 κ lam mu sigma n) = Params.pR κ lam mu sigma n
                                                          theorem MIPRE.Tailored.AnsRed.Typed.ArPar.gS_apply (κ : Params.ArConsts) (lam mu sigma n : ℕ) :
                                                          gS.toFun (y7 κ lam mu sigma n) = Params.pS κ lam mu sigma n
                                                          theorem MIPRE.Tailored.AnsRed.Typed.ArPar.g2J_apply (κ : Params.ArConsts) (lam mu sigma n : ℕ) :
                                                          g2J.toFun (y8 κ lam mu sigma n) = 2 ^ Params.pJ κ lam mu sigma n
                                                          theorem MIPRE.Tailored.AnsRed.Typed.ArPar.f10_apply (κ : Params.ArConsts) (lam mu sigma n : ℕ) :
                                                          (f10 κ).toFun (y9 κ lam mu sigma n) = Cost.encode (arParams (Params.pTw κ lam mu sigma n) (Params.pJ κ lam mu sigma n) Params.pD (Params.pL κ lam mu sigma n) (Params.pExtra κ lam mu sigma n))

                                                          The budgets' stage: the MIP* budgets' routine, its output kept in front of the input.

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

                                                            The stages after the budgets'.

                                                            Equations
                                                            • One or more equations did not get rendered due to their size.
                                                            Instances For
                                                              theorem MIPRE.Tailored.AnsRed.Typed.arParCore_runs (κ : Params.ArConsts) (lam mu sigma n : ℕ) :
                                                              ∃ (τ : ℕ), (arParCore κ).Runs (Cost.encode ((lam, mu, sigma), n)) (Cost.encode (arParams (Params.pTw κ lam mu sigma n) (Params.pJ κ lam mu sigma n) Params.pD (Params.pL κ lam mu sigma n) (Params.pExtra κ lam mu sigma n))) τ

                                                              The parameter program computes the parameters.