Documentation

Cayley.Soundness.PackLayout

Slot layouts #

A layout numbers the exponent vectors m with mᵢ < rᵢ by the mixed-radix index idx m = Σ mᵢ sᵢ < n. A polynomial whose exponents fit is the sum over the n slots of its coefficients at dig j, both at the Kronecker point tᵢ = 2^(W sᵢ) and anywhere else.

Instances For
    def Cayley.Pack.Layout.idx (L : Layout) (m : Fin 5 → ℕ) :
    Equations
    Instances For
      def Cayley.Pack.Layout.dig (L : Layout) (j : ℕ) (i : Fin 5) :
      Equations
      Instances For
        noncomputable def Cayley.Pack.Layout.digF (L : Layout) (j : ℕ) :

        The exponent vector of slot j.

        Equations
        Instances For

          The mixed-radix facts, checked by decide for each concrete layout.

          Instances For

            Slot j is even when every exponent is even.

            Equations
            Instances For
              theorem Cayley.Pack.Layout.sum_support_eq {L : Layout} {R : Type u_1} [AddCommMonoid R] (hL : L.Good) (p : MvPolynomial (Fin 5) ℤ) (hbox : ∀ m ∈ p.support, ∀ (i : Fin 5), m i < L.r i) (H : (Fin 5 →₀ ℕ) → ℤ → R) (H0 : ∀ (m : Fin 5 →₀ ℕ), H m 0 = 0) :
              ∑ m ∈ p.support, H m (p.coeff m) = ∑ j ∈ Finset.range L.n, H (L.digF j) (p.coeff (L.digF j))
              noncomputable def Cayley.Pack.Layout.cf (L : Layout) (e : PE) (j : ℕ) :

              Slot coefficients of a polynomial expression.

              Equations
              Instances For

                Exponents fit the layout.

                Equations
                Instances For
                  theorem Cayley.Pack.Layout.fits_box {L : Layout} {e : PE} (h : L.Fits e) (m : Fin 5 →₀ ℕ) :
                  m ∈ e.mv.support → ∀ (i : Fin 5), m i < L.r i
                  theorem Cayley.Pack.Layout.ev_eq_sum {L : Layout} {R : Type u_1} [CommRing R] (hL : L.Good) {e : PE} (h : L.Fits e) (v : Fin 5 → R) :
                  PE.ev v e = ∑ j ∈ Finset.range L.n, ↑(L.cf e j) * ∏ i : Fin 5, v i ^ L.dig j i
                  theorem Cayley.Pack.Layout.ev_kron {L : Layout} (hL : L.Good) {e : PE} (h : L.Fits e) (W : ℕ) :
                  PE.ev (fun (i : Fin 5) => 2 ^ (W * L.s i)) e = ∑ j ∈ Finset.range L.n, L.cf e j * 2 ^ (W * j)

                  At the Kronecker point.

                  theorem Cayley.Pack.Layout.abs_cf_le {L : Layout} {e : PE} (j : ℕ) :
                  |L.cf e j| ≤ ↑e.nrm
                  theorem Cayley.Pack.Layout.sum_abs_cf_le {L : Layout} (hL : L.Good) {e : PE} (h : L.Fits e) :
                  ∑ j ∈ Finset.range L.n, |L.cf e j| ≤ ↑e.nrm