Explicit enumeration of a punctured affine line #
Given packed field vectors for a target and a direction, this module emits
q - 1 packed points target + scalar * direction, one for every nonzero
scalar of GF(q), where q = 2^width. The scalar enumeration is a fixed
noncomputable equivalence used only to hardwire constants; the resulting
Boolean circuit is completely explicit and has the manuscript's
q * poly(width) cost shape.
Nonzero scalars of the selected binary extension field.
Equations
- Algebraic.MassProduction.LineEnumeration.NonzeroScalar width = { scalar : Algebraic.MassProduction.BinaryExtension width // scalar ≠ 0 }
Instances For
Exact number of nonzero scalars, kept instance-free in public types.
Equations
Instances For
A fixed enumeration of every nonzero scalar.
Equations
Instances For
Fixed scalar and vector-coordinate circuits #
Compile a hardwired Boolean vector. Constants contribute internal nodes but zero standard cost.
Equations
- One or more equations did not get rendered due to their size.
Instances For
One constant gate per output bit, and no other gates.
Select one field-coordinate block from the target/direction pair.
Equations
- One or more equations did not get rendered due to their size.
Instances For
lineInputCoordinateCircuit is pure wiring: it has no gates.
Packed (target, direction) vector pair.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Multiply one direction coordinate by one hardwired nonzero scalar.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The exact gate count of directionScalarProductCircuit.
Add the target coordinate to a hardwired scalar multiple of the direction coordinate.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The exact gate count of linePointCoordinateCircuit.
Named gate count and a type-stable wrapper for one coordinate.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Emit one complete affine-line point.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The exact gate count of linePointCircuit.
Named gate count and type-stable wrapper for one complete point.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Emit all q - 1 non-target points in row-major scalar/vector order.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The exact gate count of lineEnumerationCircuit.
Decoding one emitted record gives the intended affine-line point.
Exact polynomial gate ledger for enumerating all nonzero points of one affine line.
The same ledger with the exact field-size count made explicit.
Exact finite-set semantics #
The finite set represented by the enumerator's output records. Classical decidable equality is confined to the definition rather than exported as an instance requirement.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Enumerating the normalized representative of a projective direction
produces exactly its punctured affine line, independent of the representative
chosen internally by Projectivization.rep.
Scheduler-to-line composition #
Free projection of the target vector from a scheduler-stage input.
Equations
- One or more equations did not get rendered due to their size.
Instances For
schedulerStageTargetCircuit is pure wiring: it has no gates.
One fixed circuit that selects a fresh projective direction and emits all non-target points on the resulting affine line.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The exact gate count of scheduledLineEnumerationCircuit.
Decode an emitted row-major array of packed field vectors as a finite set. Classical equality remains local to this boundary.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Input-layout-general form of scheduler-and-enumerator correctness.
The scheduler and enumerator compose end to end: every output record is the prescribed point of one projective punctured line, the decoded output set is exactly that line, and it avoids every supplied occupied point.
The total-array capacity condition is a convenient sufficient form of the end-to-end scheduler-and-enumerator theorem.
Complete gate ledger for fresh-direction selection followed by line enumeration.
Equations
- One or more equations did not get rendered due to their size.