Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Testing Tower Valuation

Abstract

Finite tables and program codes receive the testing tower’s concrete partial valuation.

Lemma 1.1 (Program-name definedness is halting).

Proof. Machine-checked in Lean as D5/S0/Naming/TestingTowerValuation.program_assignment_defined_iff_halts (✓ std3). ∎

Source. Repository-derived.

Commentary.

A natural-number program name is decoded by Mathlib’s denumerable code bijection and evaluated by Nat.Partrec.Code.eval on the supplied input. Its assignment is present exactly on the evaluator’s domain.

Theorem 1.2 (Program-name definedness is not computable).

Proof. Machine-checked in Lean as D5/S0/Naming/TestingTowerValuation.program_name_domain_not_computable (✓ std3). ∎

Source. Repository-derived.

Commentary.

Restricting natural-number names along the canonical encoding of partial-recursive codes recovers Mathlib’s halting predicate. A computable definedness test would contradict the pinned halting theorem.

References