Numeric schedules for written-cell formulas #
This module exposes the numeric schedule for writtenCellFormula. One
head-at-cell gate precedes the reused transition-effect schedule, and a fixed
six-gate suffix combines the selected write with the old cell value.
Main results #
length_writtenCellSchedulegives the exact gate count.getElem_writtenCellSchedule_head,getElem_writtenCellSchedule_effect, andgetElem_writtenCellSchedule_suffixidentify the three schedule phases.compileRaw_writtenCellFormula_eq_scheduleproves literal raw-list equality.
The fixed suffix contains exactly six gates.
A bounded natural phase selects the corresponding fixed suffix gate.
The complete written-cell schedule has the advertised numeric size.
Phase zero is the initial head-at-cell test.
The block after the head test is exactly the reused effect schedule.
The final six entries are selected by an increasing natural phase code.
Exact raw compilation order of a written-cell formula. The dynamic
schedule inputs are natural numbers or Booleans; tm, tape, and symbol
determine only the fixed selection oracle.