25.7 part 4: any deterministic Turing machine with finite control and tape alphabets, its
transition table encoded in one-hot bits and compiled into NOR, and the generic record interface
that loads the control and scanned-symbol bits, stores each returned bit in its instruction's
register, and at the end of a circuit copies the returned control and symbol bits and moves the
head. The interface evaluates no gate; on the reference returned bits it holds, after s circuits,
the machine's s-th configuration.
The move written by a halt bit and a direction bit.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The one-hot code of a finite symbol.
Equations
- MindFormal.A705SupportPrograms.code α a i = decide ((Fintype.equivFin α) a = i)
Instances For
Reading a code back; an unused code reads as a fixed dummy symbol.
Equations
- MindFormal.A705SupportPrograms.uncode α v = if h : ∃ (a : α), MindFormal.A705SupportPrograms.code α a = v then h.choose else Classical.arbitrary α
Instances For
Registers loaded from the record: control bits 0…dc-1, the scanned symbol's bits
dc…dc+ds-1, and every other register clear (the constant zero dc+ds among them).
Equations
Instances For
The end of a transition circuit: copy the returned control and symbol bits from the output registers and move the head as the returned halt and direction bits say.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- MindFormal.A705SupportPrograms.Desk.start p = { sheet := p, pos := 0, regs := p.load }
Instances For
Equations
- MindFormal.A705SupportPrograms.nopGate = { a := 0, b := 0, d := 0 }
Instances For
Store a returned bit in the current instruction's register and advance the pointer; after the circuit's last instruction finish the transition and reload.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The two operand bits the interface presents: the current instruction's registers.
Equations
Instances For
The reference returned bits: each the NOR of the operands presented after the earlier ones.
Equations
- One or more equations did not get rendered due to their size.
- MindFormal.A705SupportPrograms.norBits op 0 = []
Instances For
The machine's transition table on its one-hot codes: inputs are the control code then the scanned symbol's code; outputs the next control's code, the written symbol's code, the halt bit and the direction bit. Unused codes read as dummy symbols.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The compiled NOR program of the machine's transition table.
Equations
- M.program = MindFormal.A705SupportPrograms.compile (Fintype.card Q + Fintype.card Γ) (Fintype.card Q + Fintype.card Γ + 2) M.circuit
Instances For
The record's marks for a configuration.
Equations
- MindFormal.A705SupportPrograms.Machine.sheet c = { ctrl := MindFormal.A705SupportPrograms.code Q c.q, tape := fun (z : ℤ) => MindFormal.A705SupportPrograms.code Γ (c.tape z), head := c.head }
Instances For
PAGE2's loose count for the machine's program.
The interface on the reference bits: after s circuits (s · L returned bits) the record holds
the machine's s-th configuration, freshly loaded.
The visited tape span: the initially specified cells [a, b] (holding the head) and every
head position through N steps lie in one interval of at most (b - a + 1) + N cells.