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.Stage95 public import Cryptids.ReductionSupport.Riemann95.Bootstrap95

The complete physical run and its counterexample criterion

@[expose] public sectionnamespace ConjectureMachines.Riemann95

Positive stage progress makes physical runs cofinal in the natural stage index.

theorem physical_stage0_halts_iff_witness : (StateTransition.eval (ConjectureMachines.step machine) (Physical.rootCfg 22 [] ([0,0,0,0,0] ++ List.replicate 4 0))).Dom ↔ ∃ M : Nat, Riemann120.ShuniaCounterexample (M+2) := ⊢ (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom ↔ ∃ M, Riemann120.ShuniaCounterexample (M + 2) start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)⊢ (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom ↔ ∃ M, Riemann120.ShuniaCounterexample (M + 2) start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)⊢ (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom ↔ ∃ M, Riemann120.ShuniaCounterexample (M + 2) start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)⊢ (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom ↔ ∃ M, Riemann120.ShuniaCounterexample (M + 2) start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))⊢ (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom ↔ ∃ M, Riemann120.ShuniaCounterexample (M + 2) start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some b⊢ (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom ↔ ∃ M, Riemann120.ShuniaCounterexample (M + 2) start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some b⊢ (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom → ∃ M, Riemann120.ShuniaCounterexample (M + 2)start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some b⊢ (∃ M, Riemann120.ShuniaCounterexample (M + 2)) → (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some b⊢ (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom → ∃ M, Riemann120.ShuniaCounterexample (M + 2) start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bh:(StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom⊢ ∃ M, Riemann120.ShuniaCounterexample (M + 2) start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bh:(StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Domb:Cfg 95 2 := (StateTransition.eval (step machine) start).get h⊢ ∃ M, Riemann120.ShuniaCounterexample (M + 2) start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bh:(StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Domb:Cfg 95 2 := (StateTransition.eval (step machine) start).get hhr:StateTransition.Reaches (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)hstop:step machine ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h) = none⊢ ∃ M, Riemann120.ShuniaCounterexample (M + 2) start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bh:(StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Domb:Cfg 95 2 := (StateTransition.eval (step machine) start).get hhr:StateTransition.Reaches (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)hstop:step machine ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h) = noneN:ℕhN:nSteps N (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) = some ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)⊢ ∃ M, Riemann120.ShuniaCounterexample (M + 2) start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bh:(StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Domb:Cfg 95 2 := (StateTransition.eval (step machine) start).get hhr:StateTransition.Reaches (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)hstop:step machine ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h) = noneN:ℕhN:nSteps N (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) = some ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)hsafe:∀ m < N + 1, ¬Riemann120.ShuniaCounterexample (m + 2)⊢ ∃ M, Riemann120.ShuniaCounterexample (M + 2)start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bh:(StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Domb:Cfg 95 2 := (StateTransition.eval (step machine) start).get hhr:StateTransition.Reaches (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)hstop:step machine ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h) = noneN:ℕhN:nSteps N (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) = some ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)K:ℕleft✝:K < N + 1hK:Riemann120.ShuniaCounterexample (K + 2)right✝:∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)⊢ ∃ M, Riemann120.ShuniaCounterexample (M + 2) start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bh:(StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Domb:Cfg 95 2 := (StateTransition.eval (step machine) start).get hhr:StateTransition.Reaches (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)hstop:step machine ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h) = noneN:ℕhN:nSteps N (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) = some ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)hsafe:∀ m < N + 1, ¬Riemann120.ShuniaCounterexample (m + 2)⊢ ∃ M, Riemann120.ShuniaCounterexample (M + 2) start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bh:(StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Domb:Cfg 95 2 := (StateTransition.eval (step machine) start).get hhr:StateTransition.Reaches (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)hstop:step machine ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h) = noneN:ℕhN:nSteps N (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) = some ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)hsafe:∀ m < N + 1, ¬Riemann120.ShuniaCounterexample (m + 2)P:ℕhP:N + 1 + 21 ≤ Pt:ℕht:N + 1 ≤ textra:List ℕhLong:nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, N + 1, 0] ++ extra))⊢ ∃ M, Riemann120.ShuniaCounterexample (M + 2) start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bh:(StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Domb:Cfg 95 2 := (StateTransition.eval (step machine) start).get hhr:StateTransition.Reaches (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)hstop:step machine ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h) = noneN:ℕhN:nSteps N (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) = some ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)hsafe:∀ m < N + 1, ¬Riemann120.ShuniaCounterexample (m + 2)P:ℕhP:N + 1 + 21 ≤ Pt:ℕht:N + 1 ≤ textra:List ℕhLong:nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, N + 1, 0] ++ extra))hadd:t = N + (t - N - 1 + 1)⊢ ∃ M, Riemann120.ShuniaCounterexample (M + 2) start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bh:(StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Domb:Cfg 95 2 := (StateTransition.eval (step machine) start).get hhr:StateTransition.Reaches (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)hstop:step machine ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h) = noneN:ℕhN:nSteps N (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) = some ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)hsafe:∀ m < N + 1, ¬Riemann120.ShuniaCounterexample (m + 2)P:ℕhP:N + 1 + 21 ≤ Pt:ℕht:N + 1 ≤ textra:List ℕhLong:(some ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)).bind (nSteps (t - N - 1 + 1)) = some (Physical.rootCfg P [] ([0, 0, 0, N + 1, 0] ++ extra))hadd:t = N + (t - N - 1 + 1)⊢ ∃ M, Riemann120.ShuniaCounterexample (M + 2) start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bh:(StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Domb:Cfg 95 2 := (StateTransition.eval (step machine) start).get hhr:StateTransition.Reaches (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)hstop:step machine ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h) = noneN:ℕhN:nSteps N (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) = some ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)hsafe:∀ m < N + 1, ¬Riemann120.ShuniaCounterexample (m + 2)P:ℕhP:N + 1 + 21 ≤ Pt:ℕht:N + 1 ≤ textra:List ℕhadd:t = N + (t - N - 1 + 1)hLong:(step machine b).bind (nSteps (t - N - 1)) = some (Physical.rootCfg P [] ([0, 0, 0, N + 1, 0] ++ extra))⊢ ∃ M, Riemann120.ShuniaCounterexample (M + 2) start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bh:(StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Domb:Cfg 95 2 := (StateTransition.eval (step machine) start).get hhr:StateTransition.Reaches (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)hstop:step machine ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h) = noneN:ℕhN:nSteps N (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) = some ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)hsafe:∀ m < N + 1, ¬Riemann120.ShuniaCounterexample (m + 2)P:ℕhP:N + 1 + 21 ≤ Pt:ℕht:N + 1 ≤ textra:List ℕhadd:t = N + (t - N - 1 + 1)hLong:none.bind (nSteps (t - N - 1)) = some (Physical.rootCfg P [] ([0, 0, 0, N + 1, 0] ++ extra))⊢ ∃ M, Riemann120.ShuniaCounterexample (M + 2) All goals completed! 🐙 start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bh:(StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Domb:Cfg 95 2 := (StateTransition.eval (step machine) start).get hhr:StateTransition.Reaches (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)hstop:step machine ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h) = noneN:ℕhN:nSteps N (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)) = some ((StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).get h)K:ℕleft✝:K < N + 1hK:Riemann120.ShuniaCounterexample (K + 2)right✝:∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)⊢ ∃ M, Riemann120.ShuniaCounterexample (M + 2) All goals completed! 🐙 start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some b⊢ (∃ M, Riemann120.ShuniaCounterexample (M + 2)) → (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bM:ℕhM:Riemann120.ShuniaCounterexample (M + 2)⊢ (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bM:ℕhM:Riemann120.ShuniaCounterexample (M + 2)hsafe:∀ m < M + 1, ¬Riemann120.ShuniaCounterexample (m + 2)⊢ (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Domstart:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bM:ℕhM:Riemann120.ShuniaCounterexample (M + 2)K:ℕleft✝:K < M + 1hK:Riemann120.ShuniaCounterexample (K + 2)hmin:∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)⊢ (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bM:ℕhM:Riemann120.ShuniaCounterexample (M + 2)hsafe:∀ m < M + 1, ¬Riemann120.ShuniaCounterexample (m + 2)⊢ (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom All goals completed! 🐙 start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bM:ℕhM:Riemann120.ShuniaCounterexample (M + 2)K:ℕleft✝:K < M + 1hK:Riemann120.ShuniaCounterexample (K + 2)hmin:∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)⊢ (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bM:ℕhM:Riemann120.ShuniaCounterexample (M + 2)K:ℕleft✝:K < M + 1hK:Riemann120.ShuniaCounterexample (K + 2)hmin:∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)P:ℕhP:K + 21 ≤ Pt:ℕht:K ≤ textra:List ℕhstage:nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, K, 0] ++ extra))⊢ (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bM:ℕhM:Riemann120.ShuniaCounterexample (M + 2)K:ℕleft✝:K < M + 1hK:Riemann120.ShuniaCounterexample (K + 2)hmin:∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)P:ℕhP:K + 21 ≤ Pt:ℕht:K ≤ textra:List ℕhstage:nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, K, 0] ++ extra))s:ℕc:Cfg 95 2hsteps:nSteps s (Physical.rootCfg P [] ([0, 0, 0, K, 0] ++ extra)) = some chstop:step machine c = none⊢ (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bM:ℕhM:Riemann120.ShuniaCounterexample (M + 2)K:ℕleft✝:K < M + 1hK:Riemann120.ShuniaCounterexample (K + 2)hmin:∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)P:ℕhP:K + 21 ≤ Pt:ℕht:K ≤ textra:List ℕhstage:nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, K, 0] ++ extra))s:ℕc:Cfg 95 2hsteps:nSteps s (Physical.rootCfg P [] ([0, 0, 0, K, 0] ++ extra)) = some chstop:step machine c = nonehrun:nSteps (t + s) start = some c⊢ (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom start:Cfg 95 2 := Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0)decCE:(n : ℕ) → Decidable (Riemann120.ShuniaCounterexample n)findBelow:∀ (B : ℕ), (∀ m < B, ¬Riemann120.ShuniaCounterexample (m + 2)) ∨ ∃ K < B, Riemann120.ShuniaCounterexample (K + 2) ∧ ∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)stages:∀ (k : ℕ), (∀ m < k, ¬Riemann120.ShuniaCounterexample (m + 2)) → ∃ P, k + 21 ≤ P ∧ ∃ t, k ≤ t ∧ ∃ extra, nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, k, 0] ++ extra))finite:∀ {a b : Cfg 95 2}, StateTransition.Reaches (step machine) a b → ∃ n, nSteps n a = some bM:ℕhM:Riemann120.ShuniaCounterexample (M + 2)K:ℕleft✝:K < M + 1hK:Riemann120.ShuniaCounterexample (K + 2)hmin:∀ m < K, ¬Riemann120.ShuniaCounterexample (m + 2)P:ℕhP:K + 21 ≤ Pt:ℕht:K ≤ textra:List ℕhstage:nSteps t start = some (Physical.rootCfg P [] ([0, 0, 0, K, 0] ++ extra))s:ℕc:Cfg 95 2hsteps:nSteps s (Physical.rootCfg P [] ([0, 0, 0, K, 0] ++ extra)) = some chstop:step machine c = nonehrun:nSteps (t + s) start = some chr:StateTransition.Reaches (step machine) start c⊢ (StateTransition.eval (step machine) (Physical.rootCfg 22 [] ([0, 0, 0, 0, 0] ++ List.replicate 4 0))).Dom All goals completed! 🐙

The stage-zero test is safe, so counterexamples occur at positive stage indices.

theorem counterexample_iff_positive_stage : (∃ M : Nat, Riemann120.ShuniaCounterexample (M + 2)) ↔ ∃ M : Nat, 1 ≤ M ∧ Riemann120.ShuniaCounterexample (M + 2) := ⊢ (∃ M, Riemann120.ShuniaCounterexample (M + 2)) ↔ ∃ M, 1 ≤ M ∧ Riemann120.ShuniaCounterexample (M + 2) htwo:¬Riemann120.ShuniaCounterexample 2⊢ (∃ M, Riemann120.ShuniaCounterexample (M + 2)) ↔ ∃ M, 1 ≤ M ∧ Riemann120.ShuniaCounterexample (M + 2) htwo:¬Riemann120.ShuniaCounterexample 2⊢ (∃ M, Riemann120.ShuniaCounterexample (M + 2)) → ∃ M, 1 ≤ M ∧ Riemann120.ShuniaCounterexample (M + 2)htwo:¬Riemann120.ShuniaCounterexample 2⊢ (∃ M, 1 ≤ M ∧ Riemann120.ShuniaCounterexample (M + 2)) → ∃ M, Riemann120.ShuniaCounterexample (M + 2) htwo:¬Riemann120.ShuniaCounterexample 2⊢ (∃ M, Riemann120.ShuniaCounterexample (M + 2)) → ∃ M, 1 ≤ M ∧ Riemann120.ShuniaCounterexample (M + 2) htwo:¬Riemann120.ShuniaCounterexample 2M:ℕhM:Riemann120.ShuniaCounterexample (M + 2)⊢ ∃ M, 1 ≤ M ∧ Riemann120.ShuniaCounterexample (M + 2) htwo:¬Riemann120.ShuniaCounterexample 2hM:Riemann120.ShuniaCounterexample (0 + 2)⊢ ∃ M, 1 ≤ M ∧ Riemann120.ShuniaCounterexample (M + 2)htwo:¬Riemann120.ShuniaCounterexample 2M:ℕhM:Riemann120.ShuniaCounterexample (M + 1 + 2)⊢ ∃ M, 1 ≤ M ∧ Riemann120.ShuniaCounterexample (M + 2) htwo:¬Riemann120.ShuniaCounterexample 2hM:Riemann120.ShuniaCounterexample (0 + 2)⊢ ∃ M, 1 ≤ M ∧ Riemann120.ShuniaCounterexample (M + 2) All goals completed! 🐙 htwo:¬Riemann120.ShuniaCounterexample 2M:ℕhM:Riemann120.ShuniaCounterexample (M + 1 + 2)⊢ ∃ M, 1 ≤ M ∧ Riemann120.ShuniaCounterexample (M + 2) exact ⟨M + 1, htwo:¬Riemann120.ShuniaCounterexample 2M:ℕhM:Riemann120.ShuniaCounterexample (M + 1 + 2)⊢ 1 ≤ M + 1 All goals completed! 🐙, hM⟩ htwo:¬Riemann120.ShuniaCounterexample 2⊢ (∃ M, 1 ≤ M ∧ Riemann120.ShuniaCounterexample (M + 2)) → ∃ M, Riemann120.ShuniaCounterexample (M + 2) htwo:¬Riemann120.ShuniaCounterexample 2M:ℕleft✝:1 ≤ MhM:Riemann120.ShuniaCounterexample (M + 2)⊢ ∃ M, Riemann120.ShuniaCounterexample (M + 2) All goals completed! 🐙end ConjectureMachines.Riemann95