Full tries of constants; reading in a tree of pairs #
Interpreter.KT.full n f is the trie with the constant f w at every name w of length n.
Interpreter.look reads a tree along a path, and Interpreter.pairL pairs the entries of a list.
After m rounds of pairing, the entry k of a list of at most 2 ^ m trees is read along the
binary digits of k (Interpreter.look_pairs).
From VP ≠ VNP over every field [Ant26], module Nc.Acc.Trie.
Main definitions #
Main results #
theorem Cslib.Circuits.Arithmetic.Separation.Interpreter.sum_allBits {R : Type} [CommRing R] (m : ℕ) (f : ℕ → R) :
(List.map (fun (w : List Bool) => f (BitString.lsbValue w)) (allBits m)).sum = ∑ k ∈ Finset.range (2 ^ m), f k
Sums over words.