def
MindFormal.A595Paper.pendingTape
{Q : Type u_1}
{A : Type u_2}
(c : Configuration Q A)
(data : A)
(q : Q)
(s : A)
(right : Bool)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
MindFormal.A595Paper.arrivalTape
{Q : Type u_1}
{A : Type u_2}
(c : Configuration Q A)
(q : Q)
(s : A)
(right : Bool)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
MindFormal.A595Paper.landedTape
{Q : Type u_1}
{A : Type u_2}
(c : Configuration Q A)
(q : Q)
(s : A)
(right : Bool)
:
Equations
- MindFormal.A595Paper.landedTape c q s right = (MindFormal.A595Paper.arrivalTape c q s right).apply (MindFormal.A595Paper.Command.move right)
Instances For
def
MindFormal.A595Paper.clearedTape
{Q : Type u_1}
{A : Type u_2}
(c : Configuration Q A)
(q : Q)
(s : A)
(right : Bool)
:
Equations
- MindFormal.A595Paper.clearedTape c q s right = MindFormal.A595Paper.decorate (c.step q s right).tape (MindFormal.A595Paper.Annotation.arrive q right)
Instances For
theorem
MindFormal.A595Paper.ready_command
{Q : Type u_1}
{A : Type u_2}
[DecidableEq Q]
[DecidableEq A]
(δ : Transition Q A)
(c : Configuration Q A)
(q : Q)
(s : A)
(right : Bool)
(hδ : δ c.control (c.tape.cells c.tape.head) = some (q, s, right))
:
theorem
MindFormal.A595Paper.ready_write
{Q : Type u_1}
{A : Type u_2}
(c : Configuration Q A)
(q : Q)
(s : A)
(right : Bool)
:
theorem
MindFormal.A595Paper.pending_data_command
{Q : Type u_1}
{A : Type u_2}
[DecidableEq Q]
[DecidableEq A]
(δ : Transition Q A)
(c : Configuration Q A)
(data : A)
(q : Q)
(s : A)
(right : Bool)
(hne : data ≠ s)
:
localTable δ (pendingTape c data q s right).view = Command.write 1 (s, Annotation.pending q s right)
theorem
MindFormal.A595Paper.pending_data_write
{Q : Type u_1}
{A : Type u_2}
(c : Configuration Q A)
(data : A)
(q : Q)
(s : A)
(right : Bool)
:
(pendingTape c data q s right).apply (Command.write 1 (s, Annotation.pending q s right)) = pendingTape c s q s right
theorem
MindFormal.A595Paper.pending_arrive_command
{Q : Type u_1}
{A : Type u_2}
[DecidableEq Q]
[DecidableEq A]
(δ : Transition Q A)
(c : Configuration Q A)
(q : Q)
(s : A)
(right : Bool)
:
localTable δ (pendingTape c s q s right).view = Command.write (destination right) (c.tape.cells (c.tape.head + direction right), Annotation.arrive q right)
theorem
MindFormal.A595Paper.arrive_move_command
{Q : Type u_1}
{A : Type u_2}
[DecidableEq Q]
[DecidableEq A]
(δ : Transition Q A)
(c : Configuration Q A)
(q : Q)
(s : A)
(right : Bool)
:
theorem
MindFormal.A595Paper.landed_erase_command
{Q : Type u_1}
{A : Type u_2}
[DecidableEq Q]
[DecidableEq A]
(δ : Transition Q A)
(c : Configuration Q A)
(q : Q)
(s : A)
(right : Bool)
:
theorem
MindFormal.A595Paper.landed_erase
{Q : Type u_1}
{A : Type u_2}
(c : Configuration Q A)
(q : Q)
(s : A)
(right : Bool)
:
(landedTape c q s right).apply (Command.write (origin right) (s, Annotation.blank)) = clearedTape c q s right
theorem
MindFormal.A595Paper.cleared_ready_command
{Q : Type u_1}
{A : Type u_2}
[DecidableEq Q]
[DecidableEq A]
(δ : Transition Q A)
(c : Configuration Q A)
(q : Q)
(s : A)
(right : Bool)
:
localTable δ (clearedTape c q s right).view = Command.write 1 (c.tape.cells (c.tape.head + direction right), Annotation.ready q)
theorem
MindFormal.A595Paper.cleared_ready
{Q : Type u_1}
{A : Type u_2}
(c : Configuration Q A)
(q : Q)
(s : A)
(right : Bool)
: