Documentation

Cayley.Soundness.PackSound

The checker's packed bounds are sound #

pLower, qLower and pStats (layouts L3, L5 of Cayley.Checker.KPack) bound polynomial expressions that fit the layout and have coefficient norm below 2^(PW-1).

Radix 3 in every variable.

Equations
Instances For

    Radix 5 in t₀, t₁, 3 in the others.

    Equations
    Instances For

      The mixed-radix facts as a Boolean check.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem Cayley.Pack.good_of (L : Layout) (h : goodB L = true) :
        theorem Cayley.Pack.pX_eq :
        (fun (i : Fin 5) => K.pX ↑i) = kron L3
        theorem Cayley.Pack.qX_eq :
        (fun (i : Fin 5) => K.qX ↑i) = kron L5
        theorem Cayley.Pack.sum_lt_of_nrm {L : Layout} (hL : L.Good) {e : PE} (h : L.Fits e) (hb : e.nrm < O) :
        (∀ j < L.n, |L.cf e j| < ↑O) ∧ ∑ j ∈ Finset.range L.n, |L.cf e j| < ↑K.pM
        theorem Cayley.Pack.pLower_le {e : PE} (h : L3.Fits e) (hb : e.nrm < O) {t : Fin 5 → ℝ} (ht : ∀ (i : Fin 5), |t i| ≤ 1) :
        ↑(K.pLower (PE.ev (fun (i : Fin 5) => K.pX ↑i) e)) ≤ PE.ev t e

        The packed lower bound (layout L3).

        theorem Cayley.Pack.qLower_le {e : PE} (h : L5.Fits e) (hb : e.nrm < O) {t : Fin 5 → ℝ} (ht : ∀ (i : Fin 5), |t i| ≤ 1) :
        ↑(K.qLower (PE.ev (fun (i : Fin 5) => K.qX ↑i) e)) ≤ PE.ev t e

        The packed lower bound (layout L5).

        theorem Cayley.Pack.pStats_sound {e : PE} (h : L3.Fits e) (hb : e.nrm < O) {t : Fin 5 → ℝ} (ht : ∀ (i : Fin 5), |t i| ≤ 1) :
        have st := K.pStats (PE.ev (fun (i : Fin 5) => K.pX ↑i) e); ↑st.c0 - ↑st.slack ≤ PE.ev t e ∧ |PE.ev t e - ↑st.c0| ≤ ↑st.abs

        The packed statistics (layout L3).