Numeric schedules for transition-effect formulas #
This module exposes the case-indexed raw stream for effectFormula. The
machine-dependent transition table is reduced to compile-time Boolean and
natural-number oracles. Selected cases use the numeric case schedule,
unselected cases emit one false gate, and a numeric reverse-OR suffix completes
the disjunction.
Main results #
length_effectFormulaSchedulegives the exact numeric gate count.getElem_effectFormulaSchedule_identityandgetElem_effectFormulaSchedule_connectoridentify the final fold phases.compileRaw_effectFormula_eq_scheduleproves literal raw-list equality.
An in-range case block has exactly the size advertised by the total numeric case-size oracle.
The forward member phase has the prefix-sum of all numeric case sizes.
The complete effect schedule is all member gates, one false identity, and one connector per case.
The gate immediately after all case blocks is the false disjunction identity.
Connector rank is an upward natural counter visiting source cases in reverse order.
Exact raw compilation order of a transition-effect formula. All dynamic
schedule inputs are natural numbers or Booleans; the machine-dependent case
table is fixed by tm.