@[reducible, inline]
Equations
Instances For
def
MindFormal.A630PaperPrograms.TapeMachine.transition
{A : Type u_1}
{Q : Type u_2}
[Inhabited Q]
(M : Turing.TM0.Machine A Q)
(S : Finset Q)
(hS : Turing.TM0.Supports M ↑S)
:
A595Paper.Transition (Control S) A
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
MindFormal.A630PaperPrograms.TapeMachine.embed
{A : Type u_1}
{Q : Type u_2}
[Inhabited A]
(S : Finset Q)
(c : Turing.TM0.Cfg A Q)
(hc : c.q ∈ S)
(h : ℤ)
:
Equations
Instances For
theorem
MindFormal.A630PaperPrograms.TapeMachine.embed_move
{A : Type u_1}
{Q : Type u_2}
[Inhabited A]
(S : Finset Q)
(c : Turing.TM0.Cfg A Q)
(hc : c.q ∈ S)
(q : ↥S)
(h : ℤ)
(r : Bool)
:
theorem
MindFormal.A630PaperPrograms.TapeMachine.embed_write_return
{A : Type u_1}
{Q : Type u_2}
[Inhabited A]
(S : Finset Q)
(c : Turing.TM0.Cfg A Q)
(hc : c.q ∈ S)
(q : ↥S)
(h : ℤ)
(b : A)
:
theorem
MindFormal.A630PaperPrograms.TapeMachine.compile_step
{A : Type u_1}
{Q : Type u_2}
[Inhabited A]
[Inhabited Q]
(M : Turing.TM0.Machine A Q)
(S : Finset Q)
(hS : Turing.TM0.Supports M ↑S)
{c d : Turing.TM0.Cfg A Q}
(hc : c.q ∈ S)
(h : ℤ)
(he : Turing.TM0.step M c = some d)
:
theorem
MindFormal.A630PaperPrograms.TapeMachine.machineRun_append
{R : Type u_3}
{A : Type u_4}
(δ : A595Paper.Transition R A)
{a b c : A595Paper.Configuration R A}
{m n : ℕ}
(h : A595Paper.MachineRun δ a m b)
(k : A595Paper.MachineRun δ b n c)
:
A595Paper.MachineRun δ a (m + n) c
theorem
MindFormal.A630PaperPrograms.TapeMachine.compile_reaches
{A : Type u_1}
{Q : Type u_2}
[Inhabited A]
[Inhabited Q]
(M : Turing.TM0.Machine A Q)
(S : Finset Q)
(hS : Turing.TM0.Supports M ↑S)
{c d : Turing.TM0.Cfg A Q}
(hc : c.q ∈ S)
(h : ℤ)
(he : StateTransition.Reaches (Turing.TM0.step M) c d)
:
∃ (hd : d.q ∈ S) (h' : ℤ) (n : ℕ), A595Paper.MachineRun (transition M S hS) (embed S c hc h) n (embed S d hd h')
theorem
MindFormal.A630PaperPrograms.TapeMachine.embed_halt
{A : Type u_1}
{Q : Type u_2}
[Inhabited A]
[Inhabited Q]
(M : Turing.TM0.Machine A Q)
(S : Finset Q)
(hS : Turing.TM0.Supports M ↑S)
(c : Turing.TM0.Cfg A Q)
(hc : c.q ∈ S)
(h : ℤ)
(he : Turing.TM0.step M c = none)
: