Only finite addresses and their bounds describe the program. No execution trace, output bit, optimizer or random input is supplied here.
Instances For
Equations
- D.registerStride = D.registers + 4
Instances For
Equations
- D.fieldStride = D.registers + 2
Instances For
Equations
- D.instructionStride = 3 * D.registers + 8
Instances For
Instances For
Equations
- D.finish = D.begin + D.instructionStride * D.instructions
Instances For
Instances For
Equations
- D.regNat r = 4 + D.registerStride * r
Instances For
Equations
- D.instructionNat g = D.begin + D.instructionStride * g
Instances For
def
MindFormal.A695LogicPaper.GenericPaper.Description.fieldNat
(D : Description)
(g : ℕ)
(j : Fin 3)
:
Equations
- D.fieldNat g j = D.instructionNat g + 1 + D.fieldStride * ↑j
Instances For
Instances For
Equations
- D.instruction g = ↑(D.instructionNat g)
Instances For
def
MindFormal.A695LogicPaper.GenericPaper.Description.field
(D : Description)
(g : ℕ)
(j : Fin 3)
:
Instances For
- literal (atom : A595Paper.Atom) : Recipe
- register (number : ℕ) : Recipe
Instances For
def
MindFormal.A695LogicPaper.GenericPaper.Description.instDecidableEqRecipe.decEq
(x✝ x✝¹ : Recipe)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- MindFormal.A695LogicPaper.GenericPaper.Description.Recipe.read memory (MindFormal.A695LogicPaper.GenericPaper.Description.Recipe.literal atom) = atom
- MindFormal.A695LogicPaper.GenericPaper.Description.Recipe.read memory (MindFormal.A695LogicPaper.GenericPaper.Description.Recipe.register r) = MindFormal.A595Paper.registerAtom (memory r)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
MindFormal.A695LogicPaper.GenericPaper.Description.instructionRecipe
(D : Description)
(g o : ℕ)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
MindFormal.A695LogicPaper.GenericPaper.Description.data
(D : Description)
(memory : A595Paper.Registers)
(z : ℤ)
:
Equations
- D.data memory z = if z < 0 then MindFormal.A595Paper.Atom.blank else MindFormal.A695LogicPaper.GenericPaper.Description.Recipe.read memory (D.recipe z.toNat)
Instances For
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.strides
(D : Description)
:
0 < D.registerStride ∧ 0 < D.fieldStride ∧ 0 < D.instructionStride ∧ D.instructionStride = 3 * D.fieldStride + 2
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.instruction_block_bound
(D : Description)
(g o : ℕ)
(hg : g < D.instructions)
(ho : o < D.instructionStride)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.recipe_register
(D : Description)
(r o : ℕ)
(hr : r < D.registers)
(ho : o < D.registerStride)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.recipe_instruction
(D : Description)
(g o : ℕ)
(hg : g < D.instructions)
(ho : o < D.instructionStride)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.instructionRecipe_field
(D : Description)
(g : ℕ)
(j : Fin 3)
(o : ℕ)
(ho : o < D.fieldStride)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.data_register
(D : Description)
(memory : A595Paper.Registers)
(r o : ℕ)
(hr : r < D.registers)
(ho : o < D.registerStride)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.data_instruction
(D : Description)
(memory : A595Paper.Registers)
(g o : ℕ)
(hg : g < D.instructions)
(ho : o < D.instructionStride)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.data_field
(D : Description)
(memory : A595Paper.Registers)
(g : ℕ)
(j : Fin 3)
(o : ℕ)
(hg : g < D.instructions)
(ho : o < D.fieldStride)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.register_read
(D : Description)
(memory : A595Paper.Registers)
(r : ℕ)
(hr : r < D.registers)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.register_tag
(D : Description)
(memory : A595Paper.Registers)
(r : ℕ)
(hr : r < D.registers)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.register_field
(D : Description)
(memory : A595Paper.Registers)
(r : ℕ)
(hr : r < D.registers)
:
A595Paper.UnaryField (D.data memory) (D.reg r) r
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.field_tag
(D : Description)
(memory : A595Paper.Registers)
(g : ℕ)
(j : Fin 3)
(hg : g < D.instructions)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.unary_field
(D : Description)
(memory : A595Paper.Registers)
(g : ℕ)
(j : Fin 3)
(hg : g < D.instructions)
:
A595Paper.UnaryField (D.data memory) (D.field g j) (D.address g j)
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.registerRecipe_no_instruction
(memory : A595Paper.Registers)
(r o : ℕ)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.registerRecipe_no_register
(memory : A595Paper.Registers)
(r o : ℕ)
(ho : o ≠ 0)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.register_chain
(D : Description)
(memory : A595Paper.Registers)
:
A595Paper.RegisterChain (D.data memory) D.reg D.registers
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.instructionRecipe_not_slot
(D : Description)
(g o r : ℕ)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.recipe_slot
(D : Description)
(z r : ℕ)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.data_write
(D : Description)
(memory : A595Paper.Registers)
(r : ℕ)
(hr : r < D.registers)
(bit : Bool)
:
Function.update (D.data memory) (D.reg r + ↑r + 1) (A595Paper.Atom.bit bit) = D.data (Function.update memory r (some bit))
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.fieldRecipe_no_bank
(memory : A595Paper.Registers)
(a o : ℕ)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.registerRecipe_no_bank
(memory : A595Paper.Registers)
(r o : ℕ)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.instructionRecipe_no_bank
(D : Description)
(memory : A595Paper.Registers)
(g o : ℕ)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.recipe_bank
(D : Description)
(memory : A595Paper.Registers)
(z : ℕ)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.data_bank
(D : Description)
(memory : A595Paper.Registers)
(z : ℤ)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.fieldRecipe_read_shape
(memory : A595Paper.Registers)
(a o : ℕ)
:
Recipe.read memory (fieldRecipe a o) = A595Paper.Atom.field ∨ Recipe.read memory (fieldRecipe a o) = A595Paper.Atom.stroke ∨ Recipe.read memory (fieldRecipe a o) = A595Paper.Atom.separator ∨ Recipe.read memory (fieldRecipe a o) = A595Paper.Atom.blank
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.fieldRecipe_not_instruction
(memory : A595Paper.Registers)
(a o : ℕ)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.fieldRecipe_not_finish
(memory : A595Paper.Registers)
(a o : ℕ)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.fieldRecipe_not_field
(memory : A595Paper.Registers)
(a o : ℕ)
(ho : o ≠ 0)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.instructionRecipe_not_instruction
(D : Description)
(memory : A595Paper.Registers)
(g o : ℕ)
(ho : o ≠ 0)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.instructionRecipe_not_finish
(D : Description)
(memory : A595Paper.Registers)
(g o : ℕ)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.instruction_next
(D : Description)
(g : ℕ)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.field_eq
(D : Description)
(g : ℕ)
(j : Fin 3)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.instruction_tag
(D : Description)
(memory : A595Paper.Registers)
(g : ℕ)
(hg : g < D.instructions)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.instruction_gap
(D : Description)
(memory : A595Paper.Registers)
(g : ℕ)
(hg : g < D.instructions)
(z : ℤ)
(hz : D.instruction g + 1 ≤ z)
(hnext : z < D.instruction (g + 1))
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.field_interior
(D : Description)
(memory : A595Paper.Registers)
(g : ℕ)
(j : Fin 3)
(hg : g < D.instructions)
(z : ℤ)
(hz : D.field g j < z)
(hnext : z < D.field g j + ↑D.fieldStride)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.last_field_gap
(D : Description)
(memory : A595Paper.Registers)
(g : ℕ)
(hg : g < D.instructions)
(z : ℤ)
(hz : D.field g 2 < z)
(hnext : z ≤ D.instruction (g + 1) - 1)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.first_gap
(D : Description)
(memory : A595Paper.Registers)
(z : ℤ)
(hz : 3 ≤ z)
(hfirst : z < D.instruction 0)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.end_tag
(D : Description)
(memory : A595Paper.Registers)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.instructionNat_le_finish
(D : Description)
(g : ℕ)
(hg : g ≤ D.instructions)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.fieldNat_span
(D : Description)
(g : ℕ)
(j : Fin 3)
(hg : g < D.instructions)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.instruction_fields
(D : Description)
(memory : A595Paper.Registers)
(g : ℕ)
(hg : g < D.instructions)
:
The layout is constructed from the finite program's literal unary addresses, for all sizes. Every search and bit write is then performed by the installed fixed NOR interpreter.
Equations
- One or more equations did not get rendered due to their size.