Native partial-product generation #
The complete shifted word is generated from unary width and shift. Every emitted gate and binary wire is charged. Out-of-range raw shifts have total behavior; the exact circuit theorem uses a valid shift.
Main results #
Cslib.Circuits.Boolean.Modular.partialProductCode_eq_code: exact typed-circuit agreement.Cslib.Circuits.Boolean.Modular.computableInPolyTime_partialProductCode: native generation.
Native generation retains exactly the existing parallel partial-product circuit.
The full raw partial-product code is generated uniformly in unary width and shift.