Imports
/- Copyright (c) 2026 Google LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. -/ module public import Cryptids.ReductionSupport.Riemann95.Parser95 public import Cryptids.ReductionSupport.Riemann95.Physical95 public import Cryptids.ReductionSupport.Riemann95.ControlStep95

Terminal execution and arithmetic frames

@[expose] public section

Terminal configurations

sectionnamespace ConjectureMachines.Riemann95.Dispatchopen Turing ConjectureMachinesopen ConjectureMachines.Riemann95.Parserdef terminal : Schema.ControlWord → Fin 95 | .outside s => outsideTerminal s | .entry _ => 58 | .local _ s => localTerminal s

The unbounded typed caller frontier follows this exact literal machine.

theorem actual_parse (c : Schema.ControlWord) : walkInternal 15 (Control.walked c) = some (terminal c) := c:Schema.ControlWord⊢ walkInternal 15 (Control.walked c) = some (terminal c) cases c with s:Fin 97⊢ walkInternal 15 (Control.walked (Schema.ControlWord.outside s)) = some (terminal (Schema.ControlWord.outside s)) All goals completed! 🐙 d:ℕ⊢ walkInternal 15 (Control.walked (Schema.ControlWord.entry d)) = some (terminal (Schema.ControlWord.entry d)) All goals completed! 🐙 d:ℕs:Fin 22⊢ walkInternal 15 (Control.walked (Schema.ControlWord.local d s)) = some (terminal (Schema.ControlWord.local d s)) All goals completed! 🐙def nativeCorrect (c : Schema.ControlWord) : Prop := match Control.effect c with | .halt => machine.transition (terminal c) 1 = none | .inc r => terminal c = Physical.incLeaf r | .decnz r => terminal c = Physical.decLeaf r | .jump _ _ => ∃ next : Fin 95, machine.transition (terminal c) 1 = some (0, .left, next)instance (c : Schema.ControlWord) : Decidable (nativeCorrect c) := c:Schema.ControlWord⊢ Decidable (nativeCorrect c) c:Schema.ControlWord⊢ Decidable (match Control.effect c with | Control.Effect.halt => machine.transition (terminal c) 1 = none | Control.Effect.inc r => terminal c = Physical.incLeaf r | Control.Effect.decnz r => terminal c = Physical.decLeaf r | Control.Effect.jump isContinue k => ∃ next, machine.transition (terminal c) 1 = some (0, Dir.left, next)) c:Schema.ControlWord⊢ Decidable (match Control.Effect.halt with | Control.Effect.halt => machine.transition (terminal c) 1 = none | Control.Effect.inc r => terminal c = Physical.incLeaf r | Control.Effect.decnz r => terminal c = Physical.decLeaf r | Control.Effect.jump isContinue k => ∃ next, machine.transition (terminal c) 1 = some (0, Dir.left, next))c:Schema.ControlWordr✝:Fin 5⊢ Decidable (match Control.Effect.inc r✝ with | Control.Effect.halt => machine.transition (terminal c) 1 = none | Control.Effect.inc r => terminal c = Physical.incLeaf r | Control.Effect.decnz r => terminal c = Physical.decLeaf r | Control.Effect.jump isContinue k => ∃ next, machine.transition (terminal c) 1 = some (0, Dir.left, next))c:Schema.ControlWordr✝:Fin 5⊢ Decidable (match Control.Effect.decnz r✝ with | Control.Effect.halt => machine.transition (terminal c) 1 = none | Control.Effect.inc r => terminal c = Physical.incLeaf r | Control.Effect.decnz r => terminal c = Physical.decLeaf r | Control.Effect.jump isContinue k => ∃ next, machine.transition (terminal c) 1 = some (0, Dir.left, next))c:Schema.ControlWordisContinue✝:Boolk✝:ℕ⊢ Decidable (match Control.Effect.jump isContinue✝ k✝ with | Control.Effect.halt => machine.transition (terminal c) 1 = none | Control.Effect.inc r => terminal c = Physical.incLeaf r | Control.Effect.decnz r => terminal c = Physical.decLeaf r | Control.Effect.jump isContinue k => ∃ next, machine.transition (terminal c) 1 = some (0, Dir.left, next)) c:Schema.ControlWord⊢ Decidable (match Control.Effect.halt with | Control.Effect.halt => machine.transition (terminal c) 1 = none | Control.Effect.inc r => terminal c = Physical.incLeaf r | Control.Effect.decnz r => terminal c = Physical.decLeaf r | Control.Effect.jump isContinue k => ∃ next, machine.transition (terminal c) 1 = some (0, Dir.left, next))c:Schema.ControlWordr✝:Fin 5⊢ Decidable (match Control.Effect.inc r✝ with | Control.Effect.halt => machine.transition (terminal c) 1 = none | Control.Effect.inc r => terminal c = Physical.incLeaf r | Control.Effect.decnz r => terminal c = Physical.decLeaf r | Control.Effect.jump isContinue k => ∃ next, machine.transition (terminal c) 1 = some (0, Dir.left, next))c:Schema.ControlWordr✝:Fin 5⊢ Decidable (match Control.Effect.decnz r✝ with | Control.Effect.halt => machine.transition (terminal c) 1 = none | Control.Effect.inc r => terminal c = Physical.incLeaf r | Control.Effect.decnz r => terminal c = Physical.decLeaf r | Control.Effect.jump isContinue k => ∃ next, machine.transition (terminal c) 1 = some (0, Dir.left, next))c:Schema.ControlWordisContinue✝:Boolk✝:ℕ⊢ Decidable (match Control.Effect.jump isContinue✝ k✝ with | Control.Effect.halt => machine.transition (terminal c) 1 = none | Control.Effect.inc r => terminal c = Physical.incLeaf r | Control.Effect.decnz r => terminal c = Physical.decLeaf r | Control.Effect.jump isContinue k => ∃ next, machine.transition (terminal c) 1 = some (0, Dir.left, next)) All goals completed! 🐙theorem outside_nativeCorrect : ∀ s : Fin 97, nativeCorrect (.outside s) := ⊢ ∀ (s : Fin 97), nativeCorrect (Schema.ControlWord.outside s) All goals completed! 🐙theorem local_nativeCorrect : ∀ s : Fin 22, nativeCorrect (.local 0 s) := ⊢ ∀ (s : Fin 22), nativeCorrect (Schema.ControlWord.local 0 s) All goals completed! 🐙

Native arithmetic indices are literal Fin5 leaves; halt and jump use the actual ONE cell.

theorem nativeCorrect_all (c : Schema.ControlWord) : nativeCorrect c := c:Schema.ControlWord⊢ nativeCorrect c cases c with s:Fin 97⊢ nativeCorrect (Schema.ControlWord.outside s) All goals completed! 🐙 d:ℕ⊢ nativeCorrect (Schema.ControlWord.entry d) All goals completed! 🐙 d:ℕs:Fin 22⊢ nativeCorrect (Schema.ControlWord.local d s) All goals completed! 🐙end ConjectureMachines.Riemann95.Dispatchend

Arithmetic frames

sectionnamespace ConjectureMachines.Riemann95.Dispatchopen Turing ConjectureMachinestheorem entry_append_zero (d : Nat) : Schema.entry d ++ [0] = Schema.callerPrefix d := d:ℕ⊢ Schema.entry d ++ [0] = Schema.callerPrefix d d:ℕhp:∃ p, Schema.callerPrefix d = p ++ [0]⊢ Schema.entry d ++ [0] = Schema.callerPrefix d d:ℕp:List (Fin 2)hp:Schema.callerPrefix d = p ++ [0]⊢ Schema.entry d ++ [0] = Schema.callerPrefix d All goals completed! 🐙def arithmeticPrefix (c : Schema.ControlWord) : Prop := match Control.effect c with | .inc _ | .decnz _ => Control.walked c = Schema.word c ++ List.replicate ((Control.walked c).length - (Schema.word c).length) 0 | _ => Trueinstance (c : Schema.ControlWord) : Decidable (arithmeticPrefix c) := c:Schema.ControlWord⊢ Decidable (arithmeticPrefix c) c:Schema.ControlWord⊢ Decidable (match Control.effect c with | Control.Effect.inc r => Control.walked c = Schema.word c ++ List.replicate (List.length (Control.walked c) - List.length (Schema.word c)) 0 | Control.Effect.decnz r => Control.walked c = Schema.word c ++ List.replicate (List.length (Control.walked c) - List.length (Schema.word c)) 0 | x => True) c:Schema.ControlWord⊢ Decidable (match Control.Effect.halt with | Control.Effect.inc r => Control.walked c = Schema.word c ++ List.replicate (List.length (Control.walked c) - List.length (Schema.word c)) 0 | Control.Effect.decnz r => Control.walked c = Schema.word c ++ List.replicate (List.length (Control.walked c) - List.length (Schema.word c)) 0 | x => True)c:Schema.ControlWordr✝:Fin 5⊢ Decidable (match Control.Effect.inc r✝ with | Control.Effect.inc r => Control.walked c = Schema.word c ++ List.replicate (List.length (Control.walked c) - List.length (Schema.word c)) 0 | Control.Effect.decnz r => Control.walked c = Schema.word c ++ List.replicate (List.length (Control.walked c) - List.length (Schema.word c)) 0 | x => True)c:Schema.ControlWordr✝:Fin 5⊢ Decidable (match Control.Effect.decnz r✝ with | Control.Effect.inc r => Control.walked c = Schema.word c ++ List.replicate (List.length (Control.walked c) - List.length (Schema.word c)) 0 | Control.Effect.decnz r => Control.walked c = Schema.word c ++ List.replicate (List.length (Control.walked c) - List.length (Schema.word c)) 0 | x => True)c:Schema.ControlWordisContinue✝:Boolk✝:ℕ⊢ Decidable (match Control.Effect.jump isContinue✝ k✝ with | Control.Effect.inc r => Control.walked c = Schema.word c ++ List.replicate (List.length (Control.walked c) - List.length (Schema.word c)) 0 | Control.Effect.decnz r => Control.walked c = Schema.word c ++ List.replicate (List.length (Control.walked c) - List.length (Schema.word c)) 0 | x => True) c:Schema.ControlWord⊢ Decidable (match Control.Effect.halt with | Control.Effect.inc r => Control.walked c = Schema.word c ++ List.replicate (List.length (Control.walked c) - List.length (Schema.word c)) 0 | Control.Effect.decnz r => Control.walked c = Schema.word c ++ List.replicate (List.length (Control.walked c) - List.length (Schema.word c)) 0 | x => True)c:Schema.ControlWordr✝:Fin 5⊢ Decidable (match Control.Effect.inc r✝ with | Control.Effect.inc r => Control.walked c = Schema.word c ++ List.replicate (List.length (Control.walked c) - List.length (Schema.word c)) 0 | Control.Effect.decnz r => Control.walked c = Schema.word c ++ List.replicate (List.length (Control.walked c) - List.length (Schema.word c)) 0 | x => True)c:Schema.ControlWordr✝:Fin 5⊢ Decidable (match Control.Effect.decnz r✝ with | Control.Effect.inc r => Control.walked c = Schema.word c ++ List.replicate (List.length (Control.walked c) - List.length (Schema.word c)) 0 | Control.Effect.decnz r => Control.walked c = Schema.word c ++ List.replicate (List.length (Control.walked c) - List.length (Schema.word c)) 0 | x => True)c:Schema.ControlWordisContinue✝:Boolk✝:ℕ⊢ Decidable (match Control.Effect.jump isContinue✝ k✝ with | Control.Effect.inc r => Control.walked c = Schema.word c ++ List.replicate (List.length (Control.walked c) - List.length (Schema.word c)) 0 | Control.Effect.decnz r => Control.walked c = Schema.word c ++ List.replicate (List.length (Control.walked c) - List.length (Schema.word c)) 0 | x => True) All goals completed! 🐙theorem outside_arithmeticPrefix : ∀ s : Fin 97, arithmeticPrefix (.outside s) := ⊢ ∀ (s : Fin 97), arithmeticPrefix (Schema.ControlWord.outside s) All goals completed! 🐙theorem entry_arithmeticPrefix (d : Nat) : arithmeticPrefix (.entry d) := d:ℕ⊢ arithmeticPrefix (Schema.ControlWord.entry d) d:ℕhlen:List.length (Control.walked (Schema.ControlWord.entry d)) - List.length (Schema.word (Schema.ControlWord.entry d)) = 2⊢ arithmeticPrefix (Schema.ControlWord.entry d) d:ℕhlen:List.length (Control.walked (Schema.ControlWord.entry d)) - List.length (Schema.word (Schema.ControlWord.entry d)) = 2⊢ Schema.callerPrefix d ++ [0] = Schema.entry d ++ List.replicate (List.length (Control.walked (Schema.ControlWord.entry d)) - List.length (Schema.word (Schema.ControlWord.entry d))) 0 d:ℕhlen:List.length (Control.walked (Schema.ControlWord.entry d)) - List.length (Schema.word (Schema.ControlWord.entry d)) = 2⊢ Schema.entry d ++ [0] ++ [0] = Schema.entry d ++ List.replicate 2 0 d:ℕhlen:List.length (Control.walked (Schema.ControlWord.entry d)) - List.length (Schema.word (Schema.ControlWord.entry d)) = 2⊢ Schema.entry d ++ ([0] ++ [0]) = Schema.entry d ++ List.replicate 2 0 All goals completed! 🐙theorem local_arithmeticPrefix (d : Nat) (s : Fin 22) : arithmeticPrefix (.local d s) := d:ℕs:Fin 22⊢ arithmeticPrefix (Schema.ControlWord.local d s) d:ℕsv:ℕhsv:sv < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨sv, hsv⟩) d:ℕsv:ℕhsv:0 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨0, hsv⟩)d:ℕsv:ℕhsv:1 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨1, hsv⟩)d:ℕsv:ℕhsv:2 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨2, hsv⟩)d:ℕsv:ℕhsv:3 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨3, hsv⟩)d:ℕsv:ℕhsv:4 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨4, hsv⟩)d:ℕsv:ℕhsv:5 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨5, hsv⟩)d:ℕsv:ℕhsv:6 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨6, hsv⟩)d:ℕsv:ℕhsv:7 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨7, hsv⟩)d:ℕsv:ℕhsv:8 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨8, hsv⟩)d:ℕsv:ℕhsv:9 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨9, hsv⟩)d:ℕsv:ℕhsv:10 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨10, hsv⟩)d:ℕsv:ℕhsv:11 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨11, hsv⟩)d:ℕsv:ℕhsv:12 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨12, hsv⟩)d:ℕsv:ℕhsv:13 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨13, hsv⟩)d:ℕsv:ℕhsv:14 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨14, hsv⟩)d:ℕsv:ℕhsv:15 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨15, hsv⟩)d:ℕsv:ℕhsv:16 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨16, hsv⟩)d:ℕsv:ℕhsv:17 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨17, hsv⟩)d:ℕsv:ℕhsv:18 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨18, hsv⟩)d:ℕsv:ℕhsv:19 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨19, hsv⟩)d:ℕsv:ℕhsv:20 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨20, hsv⟩)d:ℕsv:ℕhsv:21 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨21, hsv⟩) d:ℕsv:ℕhsv:0 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨0, hsv⟩)d:ℕsv:ℕhsv:1 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨1, hsv⟩)d:ℕsv:ℕhsv:2 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨2, hsv⟩)d:ℕsv:ℕhsv:3 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨3, hsv⟩)d:ℕsv:ℕhsv:4 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨4, hsv⟩)d:ℕsv:ℕhsv:5 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨5, hsv⟩)d:ℕsv:ℕhsv:6 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨6, hsv⟩)d:ℕsv:ℕhsv:7 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨7, hsv⟩)d:ℕsv:ℕhsv:8 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨8, hsv⟩)d:ℕsv:ℕhsv:9 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨9, hsv⟩)d:ℕsv:ℕhsv:10 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨10, hsv⟩)d:ℕsv:ℕhsv:11 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨11, hsv⟩)d:ℕsv:ℕhsv:12 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨12, hsv⟩)d:ℕsv:ℕhsv:13 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨13, hsv⟩)d:ℕsv:ℕhsv:14 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨14, hsv⟩)d:ℕsv:ℕhsv:15 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨15, hsv⟩)d:ℕsv:ℕhsv:16 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨16, hsv⟩)d:ℕsv:ℕhsv:17 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨17, hsv⟩)d:ℕsv:ℕhsv:18 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨18, hsv⟩)d:ℕsv:ℕhsv:19 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨19, hsv⟩)d:ℕsv:ℕhsv:20 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨20, hsv⟩)d:ℕsv:ℕhsv:21 < 22⊢ arithmeticPrefix (Schema.ControlWord.local d ⟨21, hsv⟩) All goals completed! 🐙

The arithmetic dispatcher consumes exactly the word followed by blank cells.

theorem arithmeticPrefix_all (c : Schema.ControlWord) : arithmeticPrefix c := c:Schema.ControlWord⊢ arithmeticPrefix c cases c with s:Fin 97⊢ arithmeticPrefix (Schema.ControlWord.outside s) All goals completed! 🐙 d:ℕ⊢ arithmeticPrefix (Schema.ControlWord.entry d) All goals completed! 🐙 d:ℕs:Fin 22⊢ arithmeticPrefix (Schema.ControlWord.local d s) All goals completed! 🐙end ConjectureMachines.Riemann95.Dispatchend

Halting transition

sectionnamespace ConjectureMachines.Riemann95open Turing ConjectureMachines

The final typed HALT word reaches the actual unique NONE cell before touching the bank.

theorem physical_halt_word (P : Nat) (bank : List Nat) : ∃ s, ∃ c : Cfg 95 2, nSteps s (Physical.rootCfg P (Schema.word (.outside Control.finalHaltId)) bank) = some c ∧ step machine c = none := P:ℕbank:List ℕ⊢ ∃ s c, nSteps s (Physical.rootCfg P (Schema.word (Schema.ControlWord.outside Control.finalHaltId)) bank) = some c ∧ step machine c = none P:ℕbank:List ℕbits:List (Fin 2) := [1, 1, 1, 1, 1, 1]⊢ ∃ s c, nSteps s (Physical.rootCfg P (Schema.word (Schema.ControlWord.outside Control.finalHaltId)) bank) = some c ∧ step machine c = none P:ℕbank:List ℕbits:List (Fin 2) := [1, 1, 1, 1, 1, 1]L:ListBlank (Fin 2) := Riemann120.rootLeftOf true⊢ ∃ s c, nSteps s (Physical.rootCfg P (Schema.word (Schema.ControlWord.outside Control.finalHaltId)) bank) = some c ∧ step machine c = none P:ℕbank:List ℕbits:List (Fin 2) := [1, 1, 1, 1, 1, 1]L:ListBlank (Fin 2) := Riemann120.rootLeftOf trueR:ListBlank (Fin 2) := ListBlank.mk ([1] ++ List.replicate (P - 7) 0 ++ [1, 0] ++ Semantics.Riemann.Layer1.encodeRegs bank)⊢ ∃ s c, nSteps s (Physical.rootCfg P (Schema.word (Schema.ControlWord.outside Control.finalHaltId)) bank) = some c ∧ step machine c = none P:ℕbank:List ℕbits:List (Fin 2) := [1, 1, 1, 1, 1, 1]L:ListBlank (Fin 2) := Riemann120.rootLeftOf trueR:ListBlank (Fin 2) := ListBlank.mk ([1] ++ List.replicate (P - 7) 0 ++ [1, 0] ++ Semantics.Riemann.Layer1.encodeRegs bank)hword:Schema.word (Schema.ControlWord.outside Control.finalHaltId) = bits ++ [1]⊢ ∃ s c, nSteps s (Physical.rootCfg P (Schema.word (Schema.ControlWord.outside Control.finalHaltId)) bank) = some c ∧ step machine c = none P:ℕbank:List ℕbits:List (Fin 2) := [1, 1, 1, 1, 1, 1]L:ListBlank (Fin 2) := Riemann120.rootLeftOf trueR:ListBlank (Fin 2) := ListBlank.mk ([1] ++ List.replicate (P - 7) 0 ++ [1, 0] ++ Semantics.Riemann.Layer1.encodeRegs bank)hword:Schema.word (Schema.ControlWord.outside Control.finalHaltId) = bits ++ [1]hwalk:Parser.walkInternal 15 bits = some 61⊢ ∃ s c, nSteps s (Physical.rootCfg P (Schema.word (Schema.ControlWord.outside Control.finalHaltId)) bank) = some c ∧ step machine c = none P:ℕbank:List ℕbits:List (Fin 2) := [1, 1, 1, 1, 1, 1]L:ListBlank (Fin 2) := Riemann120.rootLeftOf trueR:ListBlank (Fin 2) := ListBlank.mk ([1] ++ List.replicate (P - 7) 0 ++ [1, 0] ++ Semantics.Riemann.Layer1.encodeRegs bank)hword:Schema.word (Schema.ControlWord.outside Control.finalHaltId) = bits ++ [1]hwalk:Parser.walkInternal 15 bits = some 61hroot:Physical.rootCfg P (Schema.word (Schema.ControlWord.outside Control.finalHaltId)) bank = { state := 15, tape := Tape.mk' L (ListBlank.append bits R) }⊢ ∃ s c, nSteps s (Physical.rootCfg P (Schema.word (Schema.ControlWord.outside Control.finalHaltId)) bank) = some c ∧ step machine c = none P:ℕbank:List ℕbits:List (Fin 2) := [1, 1, 1, 1, 1, 1]L:ListBlank (Fin 2) := Riemann120.rootLeftOf trueR:ListBlank (Fin 2) := ListBlank.mk ([1] ++ List.replicate (P - 7) 0 ++ [1, 0] ++ Semantics.Riemann.Layer1.encodeRegs bank)hword:Schema.word (Schema.ControlWord.outside Control.finalHaltId) = bits ++ [1]hwalk:Parser.walkInternal 15 bits = some 61hroot:Physical.rootCfg P (Schema.word (Schema.ControlWord.outside Control.finalHaltId)) bank = { state := 15, tape := Tape.mk' L (ListBlank.append bits R) }⊢ nSteps 6 (Physical.rootCfg P (Schema.word (Schema.ControlWord.outside Control.finalHaltId)) bank) = some { state := 61, tape := Tape.mk' (ListBlank.append bits.reverse L) R }P:ℕbank:List ℕbits:List (Fin 2) := [1, 1, 1, 1, 1, 1]L:ListBlank (Fin 2) := Riemann120.rootLeftOf trueR:ListBlank (Fin 2) := ListBlank.mk ([1] ++ List.replicate (P - 7) 0 ++ [1, 0] ++ Semantics.Riemann.Layer1.encodeRegs bank)hword:Schema.word (Schema.ControlWord.outside Control.finalHaltId) = bits ++ [1]hwalk:Parser.walkInternal 15 bits = some 61hroot:Physical.rootCfg P (Schema.word (Schema.ControlWord.outside Control.finalHaltId)) bank = { state := 15, tape := Tape.mk' L (ListBlank.append bits R) }⊢ step machine { state := 61, tape := Tape.mk' (ListBlank.append bits.reverse L) R } = none P:ℕbank:List ℕbits:List (Fin 2) := [1, 1, 1, 1, 1, 1]L:ListBlank (Fin 2) := Riemann120.rootLeftOf trueR:ListBlank (Fin 2) := ListBlank.mk ([1] ++ List.replicate (P - 7) 0 ++ [1, 0] ++ Semantics.Riemann.Layer1.encodeRegs bank)hword:Schema.word (Schema.ControlWord.outside Control.finalHaltId) = bits ++ [1]hwalk:Parser.walkInternal 15 bits = some 61hroot:Physical.rootCfg P (Schema.word (Schema.ControlWord.outside Control.finalHaltId)) bank = { state := 15, tape := Tape.mk' L (ListBlank.append bits R) }⊢ nSteps 6 (Physical.rootCfg P (Schema.word (Schema.ControlWord.outside Control.finalHaltId)) bank) = some { state := 61, tape := Tape.mk' (ListBlank.append bits.reverse L) R } P:ℕbank:List ℕbits:List (Fin 2) := [1, 1, 1, 1, 1, 1]L:ListBlank (Fin 2) := Riemann120.rootLeftOf trueR:ListBlank (Fin 2) := ListBlank.mk ([1] ++ List.replicate (P - 7) 0 ++ [1, 0] ++ Semantics.Riemann.Layer1.encodeRegs bank)hword:Schema.word (Schema.ControlWord.outside Control.finalHaltId) = bits ++ [1]hwalk:Parser.walkInternal 15 bits = some 61hroot:Physical.rootCfg P (Schema.word (Schema.ControlWord.outside Control.finalHaltId)) bank = { state := 15, tape := Tape.mk' L (ListBlank.append bits R) }⊢ nSteps 6 { state := 15, tape := Tape.mk' L (ListBlank.append bits R) } = some { state := 61, tape := Tape.mk' (ListBlank.append bits.reverse L) R } All goals completed! 🐙 P:ℕbank:List ℕbits:List (Fin 2) := [1, 1, 1, 1, 1, 1]L:ListBlank (Fin 2) := Riemann120.rootLeftOf trueR:ListBlank (Fin 2) := ListBlank.mk ([1] ++ List.replicate (P - 7) 0 ++ [1, 0] ++ Semantics.Riemann.Layer1.encodeRegs bank)hword:Schema.word (Schema.ControlWord.outside Control.finalHaltId) = bits ++ [1]hwalk:Parser.walkInternal 15 bits = some 61hroot:Physical.rootCfg P (Schema.word (Schema.ControlWord.outside Control.finalHaltId)) bank = { state := 15, tape := Tape.mk' L (ListBlank.append bits R) }⊢ step machine { state := 61, tape := Tape.mk' (ListBlank.append bits.reverse L) R } = none P:ℕbank:List ℕbits:List (Fin 2) := [1, 1, 1, 1, 1, 1]L:ListBlank (Fin 2) := Riemann120.rootLeftOf trueR:ListBlank (Fin 2) := ListBlank.mk ([1] ++ List.replicate (P - 7) 0 ++ [1, 0] ++ Semantics.Riemann.Layer1.encodeRegs bank)hword:Schema.word (Schema.ControlWord.outside Control.finalHaltId) = bits ++ [1]hwalk:Parser.walkInternal 15 bits = some 61hroot:Physical.rootCfg P (Schema.word (Schema.ControlWord.outside Control.finalHaltId)) bank = { state := 15, tape := Tape.mk' L (ListBlank.append bits R) }hR:R.head = 1⊢ step machine { state := 61, tape := Tape.mk' (ListBlank.append bits.reverse L) R } = none P:ℕbank:List ℕbits:List (Fin 2) := [1, 1, 1, 1, 1, 1]L:ListBlank (Fin 2) := Riemann120.rootLeftOf trueR:ListBlank (Fin 2) := ListBlank.mk ([1] ++ List.replicate (P - 7) 0 ++ [1, 0] ++ Semantics.Riemann.Layer1.encodeRegs bank)hword:Schema.word (Schema.ControlWord.outside Control.finalHaltId) = bits ++ [1]hwalk:Parser.walkInternal 15 bits = some 61hroot:Physical.rootCfg P (Schema.word (Schema.ControlWord.outside Control.finalHaltId)) bank = { state := 15, tape := Tape.mk' L (ListBlank.append bits R) }hR:R.head = 1⊢ Option.map (fun x ↦ { state := x.2.2, tape := Tape.move x.2.1 (Tape.write x.1 (Tape.mk' (ListBlank.append bits.reverse L) R)) }) (machine.transition 61 1) = none All goals completed! 🐙end ConjectureMachines.Riemann95end