Concrete additive NTT instances #
Compatibility entry point for the generic executable additive NTT algorithms, together with
concrete binary tower bases, instances and the existing example. Generic algorithm clients can
import CompPoly.Fields.Binary.AdditiveNTT.Executable; generic correctness clients can import
CompPoly.Fields.Binary.AdditiveNTT.Correctness.
Computable basis for ConcreteBTField k over ConcreteBTField 0. This is the explicit product of Z's.
Instances For
theorem
AdditiveNTT.computableBasisExplicit_eq_multilinearBasis
(k : ℕ)
:
computableBasisExplicit k = fun (i : Fin (2 ^ (k - 0))) => (ConcreteBinaryTower.multilinearBasis 0 k ⋯) i
The executable bit-indexed basis equals the multilinear tower basis over level zero.
Test of the computable additive NTT over BTF₃ (an 8-bit binary tower field BTF₃).
Input polynomial: p(x) = x (novel coefficients [7, 1, 0, 0]) of size 2^ℓ in BTF₃
ℓ = 2R_rate = 2: Repetition rate, evaluating atS₀of size2^(ℓ + R_rate) = 16pointsr = 2^3 = 8: Dimension of the basis forBTF₃overGF(2)Output: A functionFin 16 → BTF₃giving the evaluations ofp(x) = xat 16 points in the evaluation domainS₀defined by the spanning basis elements{β₀, ..., β_{ℓ + 𝓡 - 1}}ofBTF₃overGF(2).