Direct-unrolling generator primitives #
Executable fixed-work helpers for recent-wire raw gates and numeric state, head, and cell configuration-wire references.
Fixed-offset preparation by copy and repeated positive predecessor is sound on its explicit routine domain.
Fixed-offset recent-reference preparation has a pointwise width certificate when the source, old destination, and requested offset fit the shared width.
The recent-reference domain is exactly a zero copy counter and a valid offset, once the three framed-copy indices are known to be distinct.
Exact fixed-offset reference value.
Reference preparation emits no circuit-code bits.
A raw gate from two recent-wire offsets is sound.
A raw gate from two fixed recent-wire offsets has a pointwise width certificate when the frontier, old references, and offsets fit the shared width.
Exact dynamic domain for recent-wire gate emission.
Recent-wire gate emission advances available once and clears both
reference tapes.
Exact raw gate emitted from the two prepared recent-wire references.
Numeric state-reference preparation is sound.
State-reference preparation needs exactly its framed addition counter.
Exact numeric state-wire reference.
State-reference preparation emits nothing.
Numeric head-reference preparation is sound.
Zero framed arithmetic counters discharge the complete head-reference domain.
Exact numeric head-wire reference, with its arithmetic temporary cleared.
Head-reference preparation emits nothing.
Numeric cell-reference preparation is sound.
Zero copy, addition, and multiplication counters discharge the complete cell-reference domain.
Exact numeric cell-symbol wire reference, with all three arithmetic temporaries cleared.
Cell-reference preparation emits nothing.
Any sound preparation routine composes soundly with prepared-reference copy emission.
Prepared numeric state-reference emission is sound.
Prepared numeric head-reference emission is sound.
Prepared numeric cell-reference emission is sound.
State-reference emission has a pointwise width certificate when every incoming register and the resulting absolute reference fit the width.
Head-reference emission has a pointwise width certificate under one envelope covering all arithmetic intermediates.
Cell-reference emission has a pointwise width certificate under one envelope covering its base, offset, and final-reference arithmetic.
Zero addition and emission counters discharge state-reference emission.
Zero arithmetic and emission counters discharge head-reference emission.
Zero arithmetic, copy, and emission counters discharge cell-reference emission.
State-reference emission advances available and clears the reference.
Head-reference emission advances available and clears both scratches.
Cell-reference emission advances available and clears all four
reference/arithmetic scratch tapes.
Exact state-wire copy gate emitted by the executable helper.
Exact head-wire copy gate emitted by the executable helper.
Exact cell-symbol wire copy gate emitted by the executable helper.