Replays after halting #
A halted configuration of a fair-coin table ignores its coin
(Turing.MultiTapePTM.step_withCoin_of_halted) and every further coin
(Turing.MultiTapePTM.stepCoins_of_halted). So a table that halts at its first step decides
every coin string at once: the table Turing.MultiTapePTM.acceptAll, which emits true and
halts, accepts all 2 ^ τ coin strings of every positive length τ
(Turing.MultiTapePTM.acceptCount_acceptAll).
Main definitions #
Turing.MultiTapePTM.acceptAll: the fair-coin table that emitstrueand halts.
Main results #
Turing.MultiTapePTM.step_withCoin_of_halted,Turing.MultiTapePTM.stepCoins_of_halted: a halted configuration ignores its coins.Turing.MultiTapePTM.acceptCount_acceptAll:acceptAllaccepts every coin string of positive length.
theorem Turing.MultiTapePTM.step_withCoin_of_halted {k : ℕ} {Symbol State : Type} {input : List Symbol} (machine : MultiTapePTM k Symbol State) {c : Cfg k Symbol State input} (h : c.Halted) (bit : Bool) :
MultiTapeTM.step c = c
A halted configuration ignores its coin.
The fair-coin table that emits true and halts at its first step, whatever the coin.