The program of an accelerator #
Interpreter.accF M m d out evaluates the part of degree at most d of a polynomial p with a
small circuit, at the point coded by its argument. The constants are the trie Interpreter.accK.
Its value is the sum of the first d + 1 coefficients of p along the line through that point
(Interpreter.accF_kv), where p is given by Arithmetic.ComputedWithin.
From VP ≠ VNP over every field [Ant26], module Nc.Acc.Prog.
Main definitions #
Main results #
Interpreter.nds_accK,Interpreter.ht_accK: the size of the trie of constants.Interpreter.accF_kv.
Pair the neighbours of a list. The argument is (this program, list).
Pair the neighbours several times.
The tree of pairs of the letters of the word of the argument.
The letter as a tree.
theorem Cslib.Circuits.Arithmetic.Separation.Interpreter.accF_kv {R : Type} [CommRing R] {M m N d s : ℕ} {p : MvPolynomial (Fin N × Option Bool) R} (hp : ComputedWithin p s) (hs : s ≤ 2 ^ M) (hd : 0 < d) (hNm : N ≤ 2 ^ m) :
∃ (K : KT R) (out : List Bool),
out.length = M ∧ K.nds ≤ 2 ^ (3 * M + 1) + 2 ^ (M + m + 3) + 3 ∧ K.ht ≤ 3 * M + m + 4 ∧ ∀ (A : Type) [inst : CommRing A] [inst_1 : Algebra A R] (θ : List Bool → A) (z : Tree),
z.size < N →
KV θ K.lk {q : List Bool | KT.InB 1 K q} (accF M m d out) z
(∑ i ∈ Finset.range (d + 1), ((MvPolynomial.line (codeB R N (tbits z))) p).coeff i)
(d * (800 * (M + m) + 4000) + (z.size + 2) * (40 * m + 60) + 10 * m + 100)
The program computes the part of degree at most d of a polynomial with a small circuit.