The reflective decision automaton over the concrete checker ([Decoupling] §6.5, the Level-2 #
witness)
Provenance: [Decoupling] §6.5 (Proposition 6.5). This is the concrete,
executable counterpart of the abstract decision automaton: it runs the very same two-cell machine
directly over the executable bounded proof-checker
ReflectiveSubsystems.HilbertChecker.Prf Ax : Sentence ℒₒᵣ → ℕ → Bool of §6.3, so the §6.5 verdict
is obtained for a
real Gödel sentence of 𝗣𝗔⁻.
Like ReflectiveSubsystems/GodelChecker.lean, the machine and its run are restated here directly
against the concrete checker rather than instantiating the abstract structure. The
categorical Decoupling statements (the code region is read-only; the decoder is faithful;
persistence via the Decoupling Lemma) stay on the Mathlib side; here we keep only the plain
read-only equation of the code cell and drive the run to the Gödel verdict.
The machine #
Cells indexed by Bool (false = code, true = work) over S ⊕ (ℕ × Bool). One step fixes the
code cell (step_readonly_code) and advances the work cell by folding the checker over the next
proof code (step/workNext). After M_chk + 1 steps the read-out Boolean is the conjunction of
¬Prf(G, p) over all p ≤ M_chk (automaton_run); at the 𝗣𝗔⁻ Gödel sentence this is true
(paMinus_automaton_decides), mirroring
ReflectiveSubsystems.HilbertChecker.paMinus_decides_bounded_nonprovability.
Machine state: the two-cell shared memory indexed by Bool.
Equations
Instances For
The work-cell update: on a well-formed configuration within budget, fold one more proof code of
the concrete checker HilbertChecker.Prf Ax into the verdict.
Equations
- One or more equations did not get rendered due to their size.
- ReflectiveSubsystems.HilbertCheckerAutomaton.workNext Ax Mchk code work = work
Instances For
One machine step: the code cell (false) is always fixed; the work cell (true) advances by
workNext, reading the sentence off the code cell.
Equations
- ReflectiveSubsystems.HilbertCheckerAutomaton.step Ax Mchk s false = s false
- ReflectiveSubsystems.HilbertCheckerAutomaton.step Ax Mchk s true = ReflectiveSubsystems.HilbertCheckerAutomaton.workNext Ax Mchk (s false) (s true)
Instances For
Read out the running verdict: the work cell's Boolean, or false on an ill-typed work cell.
Equations
Instances For
§3 (read-only code cell) on the concrete machine — the categorical Decoupling statements are on the Mathlib side; here we keep only this plain equation.
The code cell is fixed across all iterations (proved locally, without the Mathlib-side Decoupling Lemma).
Run invariant: after j ≤ M_chk + 1 steps from init φ, the work cell is
Sum.inr (j, decide (∀ p < j, Prf Ax φ p = false)).
After M_chk + 1 steps the read-out Boolean is the conjunction of ¬Prf(φ, p) over the whole
bounded range p ≤ M_chk (§6.3's decision, concretely).
§6.5 Proposition 6.5 — the concrete 𝗣𝗔⁻ verdict. For the executable sound checker over any
𝗣𝗔⁻-provable axiom list, the reflective automaton halts after M_chk + 1 steps reading true on
the actual Gödel sentence G of 𝗣𝗔⁻ — true in the standard model, unprovable in 𝗣𝗔⁻. Mirrors
HilbertChecker.paMinus_decides_bounded_nonprovability, driven through the machine run.