Ben-Sasson and Kopparty's function in coordinates #
Let B be a basis of a field F over š½ā indexed by Fin n. A bit list a stands for the
element ā_{u < n} a u ⢠B u (Cslib.BinaryField.fieldOfBits), and a multiplication table
lists the coordinates of the products B u * B w (Cslib.BinaryField.IsMulTable). With such a
table, field arithmetic is a computation on bit lists: a product is the sum of the table entries
B u * B w with a u = b w = 1 (Cslib.BinaryField.fieldMul), the power y ^ (2 ^ k - 1)
follows from k - 1 steps z ⦠z ^ 2 * y, the elementary symmetric polynomial e_t from the
recursion e_{j + 1}(z, ys) = e_{j + 1}(ys) + z e_j(ys), and the trace from the traces
Tr (B u) = ā_v [B u * B v]_v of the basis vectors, the diagonal of the multiplication matrices.
So traceSym 1 r t on blocks of n bits is computed from the multiplication table alone
(Cslib.AffineDisperser.traceSymCoords_eq): its value depends on the basis only through the
table.
Main definitions #
Cslib.AffineDisperser.traceSymCoords:traceSym 1 r tin coordinates.
Main results #
Cslib.AffineDisperser.fieldOfBits_esymmCoords: the dynamic program fore_t.Cslib.AffineDisperser.traceBit_traceVector: the trace as a bit.Cslib.AffineDisperser.traceSymCoords_eq:traceSymCoordscomputestraceSymBits 1 r t.
References #
Coordinates #
The dynamic program for e_t: with a multiplication table of the basis B and 0 < t,
esymmCoords tab t zs has the coordinates of the t-th elementary symmetric polynomial of the
elements with coordinates zs.
The trace is the trace of the multiplication matrix: the sum of the diagonal coordinates
[x * b i]_i.
The trace, as a bit, of the element with coordinates a, from the traces Ļ of the basis
elements.
The trace as a bit: with a multiplication table of the basis B,
traceBit (traceVector tab) a is the trace over ZMod 2 of the element with coordinates a.
Ben-Sasson and Kopparty's function in coordinates: traceSym 1 r t at the elements with
coordinates the blocks of n = tab.length bits of x, computed from the multiplication table
tab: the powers by repeated squaring, the elementary symmetric polynomial by dynamic programming,
and the trace from the traces of the basis elements.
Correctness of the coordinate computation: with a multiplication table of the basis B,
traceSymCoords computes traceSymBits 1 r t B on blocks of n bits.