A power-of-two line enumeration with fixed directions #
Enumerate all field scalars, marking the zero scalar invalid. The valid slots are exactly a punctured line. For a fixed nonuniform direction all scalar multiples are offline constants, so the point-generation circuit costs at most one gate per output bit.
All field scalars, indexed by exactly 2^width slots.
Equations
Instances For
Every scalar occurs once.
The padded enumeration covers the whole field.
The zero-scalar slot is padding; every other slot is valid.
Equations
- Algebraic.MassProduction.Nonuniform.PaddedLinePoints.valid positive slot = decide (Algebraic.MassProduction.Nonuniform.PaddedLinePoints.scalarAt positive slot ≠ 0)
Instances For
The point at a padded scalar slot of a fixed projective direction.
Equations
- Algebraic.MassProduction.Nonuniform.PaddedLinePoints.point positive target direction slot = target + Algebraic.MassProduction.Nonuniform.PaddedLinePoints.scalarAt positive slot • direction.rep
Instances For
Points within one line have distinct encodings, including the padded target.
The valid encoded slots are exactly the encoded punctured line.
Vector addition is bitwise XOR in the fixed binary basis.
A fixed-direction line generator uses the target bits as its only inputs.
Equations
- One or more equations did not get rendered due to their size.
Instances For
circuit has exactly the gates of ConstantTranslations.circuit; the surrounding wiring adds
none.
The circuit emits the complete padded affine line in slot order.
At most one charged gate per bit of each of the 2^width points.