Singleton deterministic counting machines #
Embed a native deterministic machine into the shared List-choice core by putting its instruction in a singleton list. A deterministic transition has exactly one occurrence. A halt has one terminal trace, independently of the extra clock allowed after its first halting time.
Main definitions #
Turing.MultiTapeCTM.ofDeterministic: the singleton occurrence lift.
Main results #
Turing.MultiTapeCTM.runList_ofDeterministic: the interpreted run is a singleton native run.Turing.MultiTapeCTM.haltsWithin_ofDeterministic_iff: native and counting halting clocks agree.Turing.MultiTapeCTM.branchCount_ofDeterministic: a halted run contributes exactly zero or one.
References #
The native deterministic machine and tape plumbing are by Christian Reitwiessner and Samuel
Schlesinger; see MultiTape.Deterministic and the upstream files it imports. This singleton
embedding follows the shared machine core and does not use the two-coin probabilistic lift.
Each deterministic instruction becomes one List occurrence in the common machine core.
The live transition list has exactly the original deterministic action.
Interpreting the singleton lift gives one occurrence of the exact native configuration.
Every local view in the singleton lift has exactly one occurrence.
Halting clocks agree exactly, without inserting a choice or delay after early halting.
A halted deterministic computation contributes one branch exactly when its output passes.
A valid trace of the singleton lift uses only zero occurrences and reaches the exact deterministic configuration at that step count.
The singleton lift has one complete trace under a sufficient clock. Its final configuration is the deterministic result, including any work tapes retained by a calling machine.