Documentation

MIPRE.Background.LIDT.Game

The classical low individual degree test #

The (m, q, d)-low individual degree test of Ji, Natarajan, Vidick, Wright and Yuen, Quantum soundness of the classical low individual degree test (arXiv:2009.12982, Figure 1), as a two-player game MIPRE.LIDT.lidtGame over a finite field F with q elements. With probability 1/3 each, the verifier runs one of three sub-tests, on a uniform point u ∈ F^m:

Polynomials are represented by their coefficients (LinePoly), so that the alphabets are finite types without further ado. A line is a pair (base, direction); the verifier only ever asks the canonical presentation Line.through u v of a line (direction rescaled so that its first nonzero coordinate is 1, base point moved so that this coordinate is 0), so that a line is the same question however it was sampled. Line answers are polynomials in the parameter t of base + t • direction, and are evaluated at the parameter Line.param ℓ u of the sampled point. The question distribution is the push-forward of the verifier's random choices Sample.

@[reducible, inline]
abbrev MIPRE.LIDT.Point (F : Type u_1) (m : ) :
Type u_1

Points of F^m.

Equations
Instances For
    @[reducible, inline]
    abbrev MIPRE.LIDT.LinePoly (F : Type u_1) (n : ) :
    Type u_1

    Univariate polynomials over F of degree at most n, given by their coefficients.

    Equations
    Instances For
      def MIPRE.LIDT.LinePoly.eval {F : Type u_2} [Field F] {n : } (f : LinePoly F n) (t : F) :
      F

      Evaluation of a polynomial of degree at most n.

      Equations
      Instances For
        @[reducible, inline]
        abbrev MIPRE.LIDT.Line (F : Type u_1) (m : ) :
        Type u_1

        A line in F^m, presented by a base point and a direction: {base + t • direction}.

        Equations
        Instances For
          noncomputable def MIPRE.LIDT.Line.through {F : Type u_1} [Field F] [DecidableEq F] {m : } (u v : Point F m) :
          Line F m

          The canonical presentation of the line through u in direction v: if v ≠ 0 and j is its first nonzero coordinate, the direction is v / v_j and the base point is the point of the line with vanishing j-th coordinate; if v = 0, the pair (u, 0).

          Equations
          Instances For
            def MIPRE.LIDT.Line.Mem {F : Type u_1} [Field F] {m : } ( : Line F m) (x : Point F m) :

            Membership of a point in a line.

            Equations
            • .Mem x = ∃ (t : F), x = .1 + t .2
            Instances For
              @[instance_reducible]
              instance MIPRE.LIDT.Line.instDecidablePredPointMem {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] {m : } ( : Line F m) :
              Equations
              noncomputable def MIPRE.LIDT.Line.param {F : Type u_1} [Field F] [DecidableEq F] {m : } ( : Line F m) (x : Point F m) :
              F

              The parameter of a point of a canonically presented line: its coordinate at the first nonzero coordinate of the direction (0 for a singleton line).

              Equations
              Instances For
                inductive MIPRE.LIDT.Question (F : Type u_1) (m : ) :
                Type u_1

                Questions: a point, an axis-parallel line, or a (diagonal) line.

                Instances For
                  @[instance_reducible]
                  instance MIPRE.LIDT.instFintypeQuestion {F✝ : Type u_2} {m✝ : } [Fintype F✝] :
                  Fintype (Question F✝ m✝)
                  Equations
                  inductive MIPRE.LIDT.Answer (F : Type u_1) (m d : ) :
                  Type u_1

                  Answers: a field element, a polynomial of degree ≤ d, or one of degree ≤ m·d.

                  Instances For
                    @[instance_reducible]
                    instance MIPRE.LIDT.instDecidableEqAnswer {F✝ : Type u_2} {m✝ d✝ : } [DecidableEq F✝] :
                    DecidableEq (Answer F✝ m✝ d✝)
                    Equations
                    @[instance_reducible]
                    instance MIPRE.LIDT.instFintypeAnswer {F✝ : Type u_2} {m✝ d✝ : } [Fintype F✝] :
                    Fintype (Answer F✝ m✝ d✝)
                    Equations
                    inductive MIPRE.LIDT.Sample (F : Type u_1) (m : ) :
                    Type u_1

                    The verifier's random choices: the sub-test, whether the roles are swapped (the line goes to player B), the point u, the direction index i or j, and for diagonal lines the first j + 1 coordinates of the direction (the others vanish).

                    Instances For
                      @[instance_reducible]
                      instance MIPRE.LIDT.instFintypeSample {F✝ : Type u_2} {m✝ : } [Fintype F✝] :
                      Fintype (Sample F✝ m✝)
                      Equations
                      • One or more equations did not get rendered due to their size.
                      noncomputable def MIPRE.LIDT.Sample.weight {F : Type u_1} [Fintype F] {m : } :
                      Sample F m

                      The probability of a sample: each sub-test has probability 1/3, and within a sub-test the swap, the point, the direction index and the direction are uniform.

                      Equations
                      Instances For
                        theorem MIPRE.LIDT.Sample.weight_nonneg {F : Type u_1} [Field F] [Fintype F] {m : } (s : Sample F m) :
                        def MIPRE.LIDT.Sample.equivSum {F : Type u_1} {m : } :
                        Sample F m Bool × Point F m × Fin m Point F m Bool × Point F m × (j : Fin m) × (Fin (j + 1)F)

                        Samples as a disjoint union of products, for summing over them.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          theorem MIPRE.LIDT.Sample.sum_weight {F : Type u_1} [Field F] [Fintype F] {m : } [NeZero m] :
                          s : Sample F m, s.weight = 1

                          The total probability is one (for m ≠ 0).

                          def MIPRE.LIDT.Sample.extend {F : Type u_1} [Field F] {m : } {j : Fin m} (v : Fin (j + 1)F) :
                          Point F m

                          The direction with the given first j + 1 coordinates and vanishing other coordinates.

                          Equations
                          Instances For
                            noncomputable def MIPRE.LIDT.Sample.questions {F : Type u_1} [Field F] [DecidableEq F] {m : } :
                            Sample F mQuestion F m × Question F m

                            The question pair of a sample (first component to player A).

                            Equations
                            Instances For
                              noncomputable def MIPRE.LIDT.accepts (F : Type u_1) [Field F] [Fintype F] [DecidableEq F] (m d : ) :
                              Question F mQuestion F mAnswer F m dAnswer F m dBool

                              The decision predicate: a line answer f and a point answer a are accepted iff the point lies on the line and f evaluated at the parameter of the point is a; two point answers are accepted iff the points are equal and the answers agree.

                              Equations
                              Instances For
                                noncomputable def MIPRE.LIDT.lidtGame (F : Type u_1) [Field F] [Fintype F] [DecidableEq F] (m d : ) [NeZero m] :
                                Game (Question F m) (Question F m) (Answer F m d) (Answer F m d)

                                The (m, q, d)-low individual degree test as a game, q = Fintype.card F, m ≠ 0.

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

                                  Vocabulary for the soundness theorem #

                                  @[reducible, inline]
                                  abbrev MIPRE.LIDT.LowIndDegPoly {F : Type u_1} {m d : } :
                                  Type u_1

                                  Polynomials in m variables of individual degree at most d, given by their coefficients on the monomials ∏ᵢ Xᵢ^(eᵢ) with all eᵢ ≤ d.

                                  Equations
                                  Instances For
                                    def MIPRE.LIDT.LowIndDegPoly.eval {F : Type u_1} [Field F] {m d : } (p : LowIndDegPoly) (u : Point F m) :
                                    F

                                    Evaluation at a point of F^m.

                                    Equations
                                    Instances For
                                      def MIPRE.LIDT.Answer.toValue {F : Type u_1} [Field F] {m d : } :
                                      Answer F m dF

                                      The field element answered to a point question; ill-typed answers are read as 0 (they are rejected by the test, so this only helps the strategy).

                                      Equations
                                      Instances For
                                        noncomputable def MIPRE.LIDT.pointPOVMA {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] {m d : } [NeZero m] (S : TensorProductStrategy (lidtGame F m d)) (u : Point F m) :
                                        POVM F (Fin S.dA)

                                        The point measurements of player A in a strategy for the test, as POVMs with outcomes in F.

                                        Equations
                                        Instances For
                                          noncomputable def MIPRE.LIDT.pointPOVMB {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] {m d : } [NeZero m] (S : TensorProductStrategy (lidtGame F m d)) (u : Point F m) :
                                          POVM F (Fin S.dB)

                                          The point measurements of player B in a strategy for the test, as POVMs with outcomes in F.

                                          Equations
                                          Instances For
                                            noncomputable def MIPRE.LIDT.evalPOVM {F : Type u_1} [Field F] [Fintype F] [DecidableEq F] {m d : } {n : Type u_2} [Fintype n] [DecidableEq n] (G : ProjectiveMeasurement Unit LowIndDegPoly (Matrix n n )) (u : Point F m) :
                                            POVM F n

                                            Evaluation at u of a measurement G with polynomial outcomes: the POVM with outcomes in F whose operator for a is the sum of the operators of the polynomials p with p(u) = a.

                                            Equations
                                            Instances For
                                              noncomputable def MIPRE.LIDT.lidtError (m d q k : ) (ε : ) :

                                              The error bound of the soundness theorem, as proved in the MIPStarRE development: 100000 · k² · m⁴ · (ε^(1/40000) + (d/q)^(1/40000) + exp(−k / (2560000 m²))).

                                              Equations
                                              Instances For