Documentation

LeanPool.MatrixMultiplicationAllFields.LinearAlgebra.MatrixMultiplication.AuxiliarySeparation.Sector.Degeneration

The actual three-sector polynomial degeneration #

The interval weights of SectorWeights act by diagonal local maps on the coefficient tensor C(a, 3h+a-1). Shifting every third-leg weight by one makes the local maps polynomial. Their restriction is exactly X * retained + X^2 * erased, so the existing polynomial-restriction degeneration interface applies with leading order one and local degree bounds (0,1,1).

@[reducible, inline]

Third-leg coordinates of the three-sector source tensor.

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

    The source coefficient tensor, with its actual shared first-input space.

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

      The weight-zero part in the original coordinate spaces.

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

        The positive-weight part, all of whose supported terms have weight one.

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

          The left retained branch, still in the common ambient coordinate spaces.

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

            The middle retained branch; its first leg is the actual shared first leg.

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

              The right retained branch in the original coordinate spaces.

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

                The retained tensor is exactly the sum of the three stated branches, with coefficient one on each and the original first-leg coordinates shared.

                Every source term belongs either to the retained tensor or the erased one.

                The normalized polynomial family appearing in the unshifted weights.

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

                  The first local map fixes the common input basis.

                  Equations
                  Instances For

                    The second local map assigns weight one to the middle interval.

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

                      Shift the third-leg weights by one, giving weight zero to the middle interval and weight one to the two outer intervals.

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

                        One simultaneous polynomial restriction of the whole source tensor.

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

                          The shifted polynomial restriction has precisely two possible degrees.

                          theorem MatrixMultiplicationAllFields.MatrixMultiplication.AuxiliarySeparation.Sector.polynomial_coeff {K : Type} [Field K] (a h : ℕ) (i : Fin a) (j : YIndex a h) (k : ZIndex a h) (n : ℕ) :
                          (polynomial K a h i j k).coeff n = (if n = 1 then retained K a h i j k else 0) + if n = 2 then erased K a h i j k else 0

                          The three-sector construction is an actual polynomial restriction degeneration in the existing tensor API, with leading order one.

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

                            Evaluation of the normalized family has exactly the paper's form.

                            theorem MatrixMultiplicationAllFields.MatrixMultiplication.AuxiliarySeparation.Sector.normalizedPolynomial_eval_restriction {K : Type} [Field K] (a h : ℕ) (t : K) (ht : t ≠ 0) :
                            (fun (i : Fin a) (j : YIndex a h) (k : ZIndex a h) => Polynomial.eval t (normalizedPolynomial K a h i j k)) = Foundation.Tensor.restrict (fun (output input : Fin a) => if input = output then t⁻¹ else 0) (fun (output input : YIndex a h) => Polynomial.eval t (middleMap K a h output input)) (fun (output input : ZIndex a h) => Polynomial.eval t (rightMap K a h output input)) (source K a h)

                            At nonzero parameters, the unshifted normalized polynomial is still an ordinary restriction: divide the first local map by the parameter.