A constructive Agda development of ordinal notations: Brouwer ordinals, the
Veblen functions up to a defined Γ₀, and a Buchholz-style term order with
machine-checked well-foundedness. It was extracted from
echo-types. Every module checked
by the gate compiles under --safe --without-K with no postulates.
This repository is the hand-off record of a research ladder that outgrew
echo-types. It is not an active project. The owner decision (D-2026-06-21,
recorded in docs/echo-types/decisions/ordinal-fidelity-ladder-parked.adoc)
is that the climb is not being continued. The artifact is valid and is kept as
it stood. Nothing here is claimed beyond what the proofs state.
Order-type fidelity is OPEN. There is no proof that the Buchholz order on
WfBT has order type ψ₀(Ω_ω). What is verified:
-
well-foundedness of the Buchholz orders;
-
a Veblen ladder up to a defined Γ₀, in which every level of the binary φ is monotone, inflationary and continuous (strict monotonicity, and so normality in the strict sense, is proved for φ₁ only), and the fixed-point engine gives the least fixed point and is monotone in its function;
-
one direction of Γ₀'s fixed-point property (
Γ₀-prefixed).
The reverse direction is reduced to an explicit closure obligation
(Γ₀-fixed-from-closure) and is not proved. See
Fidelity-OPEN-postulates.adoc and
docs/echo-types/decisions/ordinal-bh-order-type-fidelity-open.adoc.
verification/proofs/agda/Ordinal/Buchholz/Fidelity.agda declares two
postulates, carrier-height and denotation. It is the only file here
that is not --safe. A 2026-11-09 audit found the earlier specification
jointly inconsistent; it was restated the same day as the order type of the
sound carrier (WfAdm terms under <ᵇ²). That carrier omits the ψ₀
fragment, so this is not yet the ψ₀(Ω_ω) claim; see
the notes there. It is left out of All.agda and is recorded as
quarantine in verification/proofs/agda/MANIFEST, so nothing verified
depends on it.
Path under verification/proofs/agda/Ordinal/ |
Content |
|---|---|
|
Brouwer ordinals, arithmetic, ω-powers, |
|
The Buchholz term syntax |
|
The Cantor-normal-form layer, the ℕ-staged closure, the pedagogical ψ, and the Ω-marker leaf module. |
docs/EXPLAINME.adoc maps each claim to the module
and theorem that proves it. The Veblen levels, the doubled-ladder design and
the rejected routes are explained in docs/bridges/buchholz-plan.adoc and
docs/bridges/buchholz-rank-obstruction.adoc.
You need Agda and version 2.3 of the Agda standard library, registered under
the library name standard-library. The agda job in
.github/workflows/quality.yml pins Agda 2.7.0.1 with standard library 2.3.
Agda 2.6.3 with standard library 2.3 was checked locally on 2026-11-09 (see
docs/status/PROOF-STATUS.adoc). No other
version has been tested, so no minimum version is claimed.
agda verification/proofs/agda/All.agdaverification/proofs/agda/ordinal-notation.agda-lib sets the include path. The template proof gate
checks every module listed in verification/proofs/agda/MANIFEST: 76 gated
modules, plus Fidelity.agda, which must keep failing --safe.
just proof-check-agdaverification/proofs/agda/Ordinal/Buchholz/Smoke.agda pins the Buchholz
headline theorems. Of the Brouwer and Veblen headlines, four are also pinned
there: ε₀-ε-number, φ₁-ε-number, next-ε-least and Γ₀-prefixed. Three
are checked through All.agda but not pinned: nextFix-least,
Γ₀-fixed-from-closure and nextFix-mono-in-g.
The agda job in .github/workflows/quality.yml runs scripts/check-proofs.sh agda
and then agda --safe --without-K --cubical-compatible --double-check -W error
-W noUnsupportedIndexedMatch All.agda. As of 2026-11-16, however, every
recent Code Quality run on main ended in startup_failure (a workflow-file
problem), so main has no green run of that job. A run of a probe branch
reported the job as passing. See
docs/status/PROOF-STATUS.adoc.
echo-types keeps three small bridge modules, because its echo-to-ordinal
bridge depends on them: Ordinal.OmegaMarkers, Ordinal.Buchholz.Syntax and
EchoOrdinal. The first two also live here, so the two copies can drift.
Treat the copies in this repository as the maintained versions of the ordinal
side.
This code was extracted from echo-types main at
703dd77af402e959b46f49e8ce2e084521bedbae. Module names are unchanged. The
Agda sources moved from echo-types' proofs/agda/ to
verification/proofs/agda/ to fit this repository’s layout. The documents
under docs/bridges/ and docs/echo-types/ still use the old proofs/agda/
paths. They are kept as they were written. The full per-file history stays in
echo-types up to that commit.
Code, configuration and scripts are licensed under the
Mozilla Public License 2.0 (MPL-2.0). Prose documentation is
licensed under CC-BY-SA-4.0. Both texts are in LICENSES/, and the
SPDX-License-Identifier header in each file is authoritative.