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.Semantics.Riemann120.Program

Abstract finite-stage initialization, using decidability of stage 0 (n = 2) directly over ℕ without importing real/complex analysis.

@[expose] public sectionnamespace ConjectureMachines.Riemann104.FiniteStageopen ConjectureMachines.Riemann120 ConjectureMachines.Riemann120.Layer2def stageCfg (M : Nat) : RhRegCfg := ⟨[], [M, 0, 0, 0, 0]⟩theorem earlier_stages_safe {M : Nat} (hM : M ≤ 1) {j : Nat} (hj : j < M) : ¬ ShuniaCounterexample (j + 2) := M:ℕhM:M ≤ 1j:ℕhj:j < M⊢ ¬ShuniaCounterexample (j + 2) M:ℕhM:M ≤ 1j:ℕhj:j < Mhj0:j = 0⊢ ¬ShuniaCounterexample (j + 2) M:ℕhM:M ≤ 1hj:0 < M⊢ ¬ShuniaCounterexample (0 + 2) M:ℕhM:M ≤ 1hj:0 < Mh:ShuniaCounterexample (0 + 2)⊢ False M:ℕhM:M ≤ 1hj:0 < Mh:(quarterClock 1 + 1) * 2 ^ quarterClock 1 ≤ 1 - offsetDigits 2 (shuniaProd 2 - 1)⊢ False M:ℕhM:M ≤ 1hj:0 < Mh:(quarterClock 1 + 1) * 2 ^ quarterClock 1 ≤ 1 - offsetDigits 2 (shuniaProd 2 - 1)hq:1 ≤ quarterClock 1⊢ False M:ℕhM:M ≤ 1hj:0 < Mh:(quarterClock 1 + 1) * 2 ^ quarterClock 1 ≤ 1 - offsetDigits 2 (shuniaProd 2 - 1)hq:1 ≤ quarterClock 1hlhs:2 * 1 ≤ (quarterClock 1 + 1) * 2 ^ quarterClock 1⊢ False All goals completed! 🐙end ConjectureMachines.Riemann104.FiniteStage