Documentation

MIPRE.Tailored.Compose

Tailored compression from its three stages #

Phase 5 of planning/aldous-lyons-track.md; paper II, thm:h_level_compression (II:5643), in value form. TailoredGapCompression.ofTailoredPipeline composes question reduction (TailoredIntrospection 7), answer reduction (TailoredAnswerReduction 5) and parallel repetition (TailoredRepetition 7) into a TailoredGapCompression 7, along the route of the existing pipeline's GapCompression.ofPipeline (MIPRE/Foundations/Pipeline/Compress.lean), whose margins (MIPRE/Foundations/Pipeline/Margin.lean) it reuses.

What differs from the existing composition:

theorem MIPRE.Tailored.TailoredVerifier.Within.mono {ℓ : ℕ} {V : TailoredVerifier ℓ} {n : ℕ} {R R' : Budget} (h : V.Within n R) (hle : R.Le R') :
V.Within n R'

The size of a program computed from λ #

The coefficient of the monomial bound on the size of f λ.

Equations
Instances For

    |f λ| ≤ c (λ + 1)^d for a polynomial-time f.

    |f λ| ≤ poly(|λ|), the bound monotone in λ.

    Equations
    Instances For

      The parameters #

      The exponent of σ: C_σ (λ + 1)^{C_σ} dominates the sizes of the three introspective programs.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem MIPRE.Tailored.Compose.mul_pow_le_Csig (I : TailoredIntrospection 7) {c d : ℕ} (hc : c ≤ Csig I) (hd : d ≤ Csig I) (lam : ℕ) :
        c * (lam + 1) ^ d ≤ Csig I * (lam + 1) ^ Csig I
        theorem MIPRE.Tailored.Compose.le_sigma (I : TailoredIntrospection 7) {c d : ℕ} (hc : c ≤ Csig I) (hd : d ≤ Csig I) (lam : ℕ) :
        c * (lam + 1) ^ d ≤ sigma I lam

        The introspective verifier is within σ(λ): all three of its programs.

        The exponent K with σ(z) ≤ z^K for z ≥ 2.

        Equations
        Instances For

          μ, from the margin claim, at least C + 1.

          Equations
          Instances For

            The threshold of the margin claim.

            Equations
            Instances For
              theorem MIPRE.Tailored.Compose.margin_spec (I : TailoredIntrospection 7) (A : TailoredAnswerReduction 5) (x : ℝ) :
              ↑(N₁ I A) ≤ x → ∀ (s : ℝ), 1 ≤ s → s ≤ x ^ ↑(K I) → s ^ A.a * x ^ (-(↑(mu I A) * A.b)) < Pipeline.eps1 I.a I.b x / 2

              β, an exponent bounding the answer-reduced lengths: B(λ, n) ≤ (λn + 1)^β.

              Equations
              Instances For

                P, with ε₂ ≥ x^{-P}.

                Equations
                Instances For

                  The threshold of the lower bound on ε₂.

                  Equations
                  Instances For
                    theorem MIPRE.Tailored.Compose.eps2_lower_spec (I : TailoredIntrospection 7) (A : TailoredAnswerReduction 5) (x : ℝ) :
                    ↑(N₂ I A) ≤ x → ∀ (s : ℝ), 1 ≤ s → s ≤ x ^ ↑(K I) → x ^ (-↑(P I A)) ≤ Pipeline.eps2 I.a I.b A.a A.b (mu I A) s x

                    τ, the repetition exponent, against the lengths B(λ, n) ≤ (λn + 1)^β.

                    Equations
                    Instances For
                      theorem MIPRE.Tailored.Compose.tau_spec (I : TailoredIntrospection 7) (A : TailoredAnswerReduction 5) (R : TailoredRepetition 7) (z : ℝ) :
                      ↑(tau I A R) ≤ z → ∀ (k : ℝ), z ^ tau I A R ≤ k → ∀ (B : ℝ), 0 ≤ B → B ≤ z ^ beta I A → ∀ (ε : ℝ), 0 < ε → z ^ (-↑(P I A)) ≤ ε → Real.exp (-(R.c * ε ^ 13 * k / (B + 1))) ≤ 1 / 2

                      The threshold of the introspection margin, ⌈(4a)^{1/b}⌉.

                      Equations
                      Instances For

                        C₀, the threshold of the compression theorem.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          theorem MIPRE.Tailored.Compose.C₀_spec (I : TailoredIntrospection 7) (A : TailoredAnswerReduction 5) (R : TailoredRepetition 7) {n : ℕ} (hn : C₀ I A R ≤ n) :
                          2 ≤ n ∧ C₁ I ≤ n ∧ N₁ I A ≤ n ∧ N₂ I A ≤ n ∧ A.C ≤ n ∧ tau I A R ≤ n

                          The data #

                          The answer-reduced verifier at λ, at level 7 = max (5 + 2) 5.

                          Equations
                          Instances For

                            The answer-reduced sampler at λ, which depends on λ only.

                            Equations
                            Instances For

                              The answer-reduced calculator at λ.

                              Equations
                              Instances For

                                The parameters (λ, μ, σ(λ)), as a polynomial-time function of λ.

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

                                  The answer-reduced calculator's program, from λ.

                                  Equations
                                  Instances For

                                    The compressed sampler S^λ.

                                    Equations
                                    Instances For

                                      Its program, as a polynomial-time function of λ.

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

                                        The compressed answer-length calculator L^λ.

                                        Equations
                                        Instances For

                                          Its program, as a polynomial-time function of λ.

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

                                            Compress: the program of the compressed linear-constraints processor, from the input's three programs and λ.

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

                                              The accounting #

                                              A bound on the size of the encoded parameters (λ, μ, σ(λ)).

                                              Equations
                                              Instances For

                                                A bound on the size of the answer-reduced verifier, as a function of λ.

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

                                                  The bound of the answer-reduced verifier at (λ, n).

                                                  Equations
                                                  Instances For

                                                    The answer-reduced verifier's input-size degree.

                                                    Equations
                                                    Instances For

                                                      The running-time bound of the compressed verifier at (λ, n).

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

                                                        The length bound of the compressed verifier at (λ, n).

                                                        Equations
                                                        Instances For

                                                          Both bounds, as one function of z = n + λ.

                                                          Equations
                                                          Instances For
                                                            theorem MIPRE.Tailored.Compose.arBound_mono (I : TailoredIntrospection 7) (A : TailoredAnswerReduction 5) {lam n lam' n' : ℕ} (hl : lam ≤ lam') (hn : n ≤ n') :
                                                            arBound I A lam n ≤ arBound I A lam' n'
                                                            theorem MIPRE.Tailored.Compose.timeB_mono (I : TailoredIntrospection 7) (A : TailoredAnswerReduction 5) (R : TailoredRepetition 7) {lam n lam' n' : ℕ} (hl : lam ≤ lam') (hn : n ≤ n') :
                                                            timeB I A R lam n ≤ timeB I A R lam' n'
                                                            theorem MIPRE.Tailored.Compose.lenB_mono (I : TailoredIntrospection 7) (A : TailoredAnswerReduction 5) (R : TailoredRepetition 7) {lam n lam' n' : ℕ} (hl : lam ≤ lam') (hn : n ≤ n') :
                                                            lenB I A R lam n ≤ lenB I A R lam' n'
                                                            theorem MIPRE.Tailored.Compose.timeB_le_G (I : TailoredIntrospection 7) (A : TailoredAnswerReduction 5) (R : TailoredRepetition 7) (lam n : ℕ) :
                                                            timeB I A R lam n ≤ G I A R (n + lam)
                                                            theorem MIPRE.Tailored.Compose.lenB_le_G (I : TailoredIntrospection 7) (A : TailoredAnswerReduction 5) (R : TailoredRepetition 7) (lam n : ℕ) :
                                                            lenB I A R lam n ≤ G I A R (n + lam)

                                                            The polynomial poly(n, λ) of the compression theorem.

                                                            Equations
                                                            Instances For

                                                              The introspective verifier is within answer reduction's input budget.

                                                              The answer-reduced verifier is within its bound.

                                                              theorem MIPRE.Tailored.Compose.output_within (I : TailoredIntrospection 7) (A : TailoredAnswerReduction 5) (R : TailoredRepetition 7) (V : Cost.Prog × Cost.Prog × Cost.Prog) (lam n : ℕ) :
                                                              (output I A R V lam).Within n { S := timeB I A R lam n, d := timeB I A R lam n, D := timeB I A R lam n, k := R.deg * (arDegree I A + 1), B := lenB I A R lam n }

                                                              The compressed verifier is within its bounds.

                                                              theorem MIPRE.Tailored.Compose.arBound_le_pow' (I : TailoredIntrospection 7) (A : TailoredAnswerReduction 5) {lam n : ℕ} (hl : 1 ≤ lam) (hn : 1 ≤ n) :
                                                              arBound I A lam n ≤ (lam * n + 1) ^ beta I A

                                                              (λn + 1)^τ ≤ k(n), and the answer-reduced lengths are at most (λn + 1)^β.

                                                              The value chain #

                                                              theorem MIPRE.Tailored.Compose.one_le_of_isBounded {ℓ : ℕ} {V : TailoredVerifier ℓ} {lam : ℕ} (hB : V.IsBounded lam) :
                                                              1 ≤ lam
                                                              theorem MIPRE.Tailored.Compose.output_hasPerfectZPC (I : TailoredIntrospection 7) (A : TailoredAnswerReduction 5) (R : TailoredRepetition 7) (V : TailoredVerifier 7) (lam n : ℕ) (hB : V.IsBounded lam) (hn : C₀ I A R ≤ n) (h : V.HasPerfectZPC (2 ^ n)) :
                                                              (output I A R V.progs lam).HasPerfectZPC n

                                                              Completeness of Compress: the three completeness clauses chained.

                                                              theorem MIPRE.Tailored.Compose.output_valStar_le (I : TailoredIntrospection 7) (A : TailoredAnswerReduction 5) (R : TailoredRepetition 7) (V : TailoredVerifier 7) (lam n : ℕ) (hB : V.IsBounded lam) (hn : C₀ I A R ≤ n) (h : V.valStar (2 ^ n) ≤ 1 / 2) :
                                                              (output I A R V.progs lam).valStar n ≤ 1 / 2

                                                              Soundness of Compress, value form: the three soundness clauses, contrapositively, through the margins.

                                                              Tailored compression from its stages (paper II, thm:h_level_compression, II:5643, value form): a TailoredIntrospection 7, a TailoredAnswerReduction 5 and a TailoredRepetition 7 give a TailoredGapCompression 7.

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