Literal persistent three-square paper. A glyph may be a product of data and annotation tracks. A command writes one glyph at a visible offset or moves the view one square. It cannot fetch an address or evaluate an instruction. The initial tape and the finite command decoder are fixed before a run.
@[instance_reducible]
instance
MindFormal.A595Paper.instDecidableEqCommand
{Γ✝ : Type u_1}
[DecidableEq Γ✝]
:
DecidableEq (Command Γ✝)
def
MindFormal.A595Paper.instDecidableEqCommand.decEq
{Γ✝ : Type u_1}
[DecidableEq Γ✝]
(x✝ x✝¹ : Command Γ✝)
:
Equations
- One or more equations did not get rendered due to their size.
- MindFormal.A595Paper.instDecidableEqCommand.decEq (MindFormal.A595Paper.Command.write offset glyph) (MindFormal.A595Paper.Command.move right) = isFalse ⋯
- MindFormal.A595Paper.instDecidableEqCommand.decEq (MindFormal.A595Paper.Command.move right) (MindFormal.A595Paper.Command.write offset glyph) = isFalse ⋯
- MindFormal.A595Paper.instDecidableEqCommand.decEq (MindFormal.A595Paper.Command.move a) (MindFormal.A595Paper.Command.move b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
Instances For
@[instance_reducible]
Equations
Equations
- MindFormal.A595Paper.offset i = ↑↑i - 1
Instances For
Equations
Instances For
The persistent physical state after a finite command list. This definition is not a premise that this list succeeds or occurs on a native run.
Equations
- MindFormal.A595Paper.execute s commands = List.foldl MindFormal.A595Paper.Tape.apply s commands