MindFormal v1.0.0One Mind

MindFormal.Tools.A595Paper.Ports

A fixed finite repertoire for every local view, plus four reserved ports. The repertoire depends only on the finite glyph alphabet, never on the number of registers or instructions placed on the paper.

noncomputable def MindFormal.A595Paper.viewPort {Γ : Type u_1} [Fintype Γ] (v : View Γ) :
Fin (viewCount Γ + 4)
Equations
Instances For
    noncomputable def MindFormal.A595Paper.portPattern {Γ : Type u_1} [Fintype Γ] (i : Fin (viewCount Γ + 4)) :
    Equations
    Instances For
      theorem MindFormal.A595Paper.portPattern_eq {Γ : Type u_1} [Fintype Γ] (i : Fin (viewCount Γ + 4)) (v : View Γ) :
      noncomputable def MindFormal.A595Paper.portCommand {Γ : Type u_1} [Fintype Γ] (start : Command Γ) (table : View Γ → Command Γ) (i : Fin (viewCount Γ + 4)) :

      A local transition table belongs to the mind's fixed command projection. The reserved start command is fixed independently of the paper contents.

      Equations
      Instances For
        @[simp]
        theorem MindFormal.A595Paper.portCommand_viewPort {Γ : Type u_1} [Fintype Γ] (start : Command Γ) (table : View Γ → Command Γ) (v : View Γ) :
        portCommand start table (viewPort v) = table v
        @[simp]
        theorem MindFormal.A595Paper.portCommand_zero {Γ : Type u_1} [Fintype Γ] (start : Command Γ) (table : View Γ → Command Γ) :
        portCommand start table 0 = start