Skip to content

Commit dd68275

Browse files
Merge branch 'main' into claude/ecstatic-wright-OBEvx
2 parents b47e7be + 124fb87 commit dd68275

18 files changed

Lines changed: 1087 additions & 152 deletions

.machine_readable/agent_instructions/README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MPL-2.0
2-
// Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <6759885+hyperpolymath@users.noreply.github.com>
2+
// Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
33
= Agent Instructions (echo-types)
44
:toc: preamble
55

.machine_readable/agent_instructions/coverage.a2ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-License-Identifier: MPL-2.0
2-
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <6759885+hyperpolymath@users.noreply.github.com>
2+
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
33
#
44
# coverage.a2ml — Session coverage tracking (echo-types)
55
# Updated at the end of each AI agent session.

.machine_readable/agent_instructions/debt.a2ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-License-Identifier: MPL-2.0
2-
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <6759885+hyperpolymath@users.noreply.github.com>
2+
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
33
#
44
# debt.a2ml — Meander debt list (echo-types)
55
# Proof obligations and chores found but not discharged. Carried between

.machine_readable/agent_instructions/methodology.a2ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-License-Identifier: MPL-2.0
2-
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <6759885+hyperpolymath@users.noreply.github.com>
2+
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
33
#
44
# methodology.a2ml — AI agent methodology configuration (echo-types)
55
# Declares how agents should approach work in this Agda proof library.

.machine_readable/anchors/ANCHOR.a2ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-License-Identifier: MPL-2.0
2-
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <6759885+hyperpolymath@users.noreply.github.com>
2+
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
33
#
44
# ANCHOR.a2ml - authoritative anchor for the echo-types repository.
55
# Canonical identity + policy boundaries for downstream/satellite repos.

.machine_readable/svc/k9/methodology-guard.k9.ncl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-License-Identifier: MPL-2.0
2-
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <6759885+hyperpolymath@users.noreply.github.com>
2+
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
33
#
44
# K9 Validator: Methodology Guard (echo-types)
55
# Checks that agent work respects the methodology constraints declared in

AFFIRMATION.adoc

Lines changed: 373 additions & 0 deletions
Large diffs are not rendered by default.

Fidelity-OPEN-postulates.md

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,19 @@ fidelity claim, plus one genuinely-proved structural fact:
2727
term is `≤Ω ω` (the carrier lives in the ν ≤ ω fragment; the notation
2828
never names a marker above Ω_ω). This is the structural precondition
2929
of the upper bound, *not* the upper bound itself.
30+
- The **target structure** `(𝒪, _<𝒪_, wf-<𝒪)` is now **real,
31+
postulate-free** (2026-06-15): `Ordinal.Buchholz.BHTarget` constructs
32+
it from the Brouwer order (`Ord` / `_<′_` / `wf-<′`) via
33+
`bh-notation-from`, inside the `--safe` kernel (wired into `All.agda`,
34+
pinned in `Ordinal/Buchholz/Smoke.agda`). Only the candidate BH
35+
*height* remains a free input — an explicit `Fidelity.AtHeight`
36+
module parameter.
3037

3138
**What remains genuinely open.** The two pieces of real content — the
3239
**order-reflecting, height-preserving denotation** `⟦·⟧` and its
33-
**cofinality** — are postulated, together with the existence of a
34-
checked Bachmann–Howard target structure. These are the missing
35-
*objects*, not missing *plumbing*.
40+
**cofinality** — are postulated. (The checked Bachmann–Howard target
41+
*structure* is no longer assumed — see the last bullet above.) These are
42+
the missing *objects*, not missing *plumbing*.
3643

3744
**Explicit non-claim.** *Nothing in this module asserts that order type
3845
ψ₀(Ω_ω) is proven.* `fidelity` is only as strong as the three
@@ -46,18 +53,25 @@ commit.
4653

4754
## The postulates (complete list — `grep postulate Fidelity.agda`)
4855

56+
As of 2026-06-15 there are **two** (reduced from three). The former
57+
`bh-notation` postulate is **discharged**: the target structure is now
58+
constructed for real in the `--safe` module `Ordinal.Buchholz.BHTarget`
59+
(`bh-notation-from` over the Brouwer order `Ord` / `_<′_` / `wf-<′`), and
60+
the candidate BH height is an explicit `Fidelity.AtHeight` module
61+
parameter rather than an axiom.
62+
4963
| # | Name | Statement (in words) | What closes it | Owner |
5064
|---|------|----------------------|----------------|-------|
51-
| 1 | `bh-notation : BHNotation` | A checked well-founded strict order `(𝒪, _<𝒪_)` with a distinguished element `bh-height` whose initial segment is the Bachmann–Howard ordinal ψ₀(Ω_ω). | Construct (or import) a verified Bachmann–Howard ordinal structure in Agda — e.g. a checked ordinal-notation library, or a Cantor/Veblen normal-form development carried to ψ₀(Ω_ω). | **External mathematics** (owner / external) |
52-
| 2 | `denotation : DenotesBH bh-notation` | A denotation `⟦·⟧ : BT → 𝒪` that is **order-preserving** (`s <ᵇ² t → ⟦s⟧ <𝒪 ⟦t⟧`), **order-reflecting** (`⟦s⟧ <𝒪 ⟦t⟧ → s <ᵇ² t`), **cofinal** (image unbounded in `𝒪`), and **pins BH** (`⟦BH⟧ ≡ bh-height`). The height-preserving embedding `rank2` is *not*. | Define `⟦·⟧` mapping each ψ_ν / Ω_ν / + to its genuine ordinal height (not the collapsed ω-power blocks of `rank2`) and prove the four fields. This is the core order-type-correctness work (a denotational semantics for the notation faithful to `_<ᵇ²_`). | **External mathematics** (owner / external); the design route is option (a) in `D-2026-06-14`. |
53-
| 3 | `ordinal-upper-bound : ∀ {t} → WfBT t → ¬ (bh-height <𝒪 ⟦ t ⟧)` | No well-formed carrier term denotes strictly above the BH height (the ⟦·⟧-level upper half of the sandwich). | Cheap *given* postulate #2: combine the real `markers-≤ω` (every marker `≤Ω ω`) with a height calculation through the real `⟦·⟧` (markers `≤ ω` ⇒ denotation `≤ ψ₀(Ω_ω)`). It is postulated only because it quantifies over the not-yet-real `⟦·⟧`; it is **not** independent external mathematics beyond #2. | Discharged alongside / just after #2 (in-repo, once `⟦·⟧` is real). |
65+
| 1 | `denotation : DenotesBH bh-notation` | A denotation `⟦·⟧ : BT → 𝒪` (with `𝒪 = Ord`, `_<𝒪_ = _<′_`) that is **order-preserving** (`s <ᵇ² t → ⟦s⟧ <′ ⟦t⟧`), **order-reflecting** (`⟦s⟧ <′ ⟦t⟧ → s <ᵇ² t`), **cofinal** (image unbounded in `Ord`), and **pins BH** (`⟦BH⟧ ≡ bh-height`). The height-preserving embedding `rank2` is *not*. | Define `⟦·⟧` mapping each ψ_ν / Ω_ν / + to its genuine ordinal height (not the collapsed ω-power blocks of `rank2`) and prove the four fields. This is the core order-type-correctness work (a denotational semantics for the notation faithful to `_<ᵇ²_`). | **External mathematics** (owner / external); the design route is option (a) in `D-2026-06-14`. |
66+
| 2 | `ordinal-upper-bound : ∀ {t} → WfBT t → ¬ (bh-height <𝒪 ⟦ t ⟧)` | No well-formed carrier term denotes strictly above the BH height (the ⟦·⟧-level upper half of the sandwich). | Cheap *given* postulate #1: combine the real `markers-≤ω` (every marker `≤Ω ω`) with a height calculation through the real `⟦·⟧` (markers `≤ ω` ⇒ denotation `≤ ψ₀(Ω_ω)`). It is postulated only because it quantifies over the not-yet-real `⟦·⟧`; it is **not** independent external mathematics beyond #1. | Discharged alongside / just after #1 (in-repo, once `⟦·⟧` is real). |
5467

5568
## Discharge order
5669

57-
`bh-notation` (#1) and `denotation` (#2) are the genuine external
58-
content and are independent of each other only up to #2 referencing
59-
#1's `𝒪`. `ordinal-upper-bound` (#3) is downstream of #2 and in-repo
60-
once #2 lands. When all three are real, `fidelity : OrderTypeBH`
61-
becomes an unconditional theorem and a **human** may then update the
62-
appendix / decision-log / roadmap from "OPEN" to discharged — per the
63-
hard rule, this commit does not pre-empt that sign-off.
70+
`denotation` (#1) is the genuine external content — the faithful
71+
height-preserving embedding into the now-real Brouwer target.
72+
`ordinal-upper-bound` (#2) is downstream of #1 and in-repo once #1
73+
lands. When both are real, `fidelity : OrderTypeBH` becomes an
74+
unconditional theorem (for the supplied `AtHeight` height) and a
75+
**human** may then update the appendix / decision-log / roadmap from
76+
"OPEN" to discharged — per the hard rule, this commit does not pre-empt
77+
that sign-off.

docs/echo-types/MAP.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,14 @@ in the Pillar F4 template style.
164164
INJ ⇒ projection-unique; SURJ ⇒ every fibre inhabited; CONST ⇒
165165
section from the entire domain. K-free skeletons across all four.
166166
`proofs/agda/EchoLossTaxonomy.agda`.
167+
* *Displayed-type packaging* `[REAL]` — `Displayed` / `DispHom` /
168+
`idDispHom` / `fromHomOver`: the displayed-type / fibration packaging
169+
of the categorical base, a faithful Agda mirror of typed-wasm's Idris
170+
`Echo.idr`, with four closed laws (identity displayed morphism acts
171+
as identity; `fromHomOver` well-defined = `map-over` by construction;
172+
compatibility with `map-over-id` and `map-over-comp`). Purely the
173+
fibration packaging — no variance / graded-comonad / universal-property
174+
claim (R-2026-05-18). `proofs/agda/EchoDisplayed.agda`.
167175
* *Residue taxonomy* (residue-side) — `record ResidueForm f R`
168176
packaging the per-output residue carrier + lowering shared by the
169177
eight decoration modules. Eight instances (as of 2026-05-28):

docs/echo-types/echo-kernel-note.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,16 @@ kernel** — the boundary is real and lives outside this core.
6565
`EchoFiberBridge`, `EchoFiberCount`, `EchoFiberTriangulation`,
6666
`EchoIndexed`, `EchoRelational`, `EchoTruncation`,
6767
`EchoJanusBridge`, `EchoTropical`, `EchoSeparating`,
68-
`EchoTotalCompletion`
68+
`EchoTotalCompletion`, `EchoDisplayed`
6969
| One hop off the kernel. `EchoJanusBridge`/`EchoTropical` are
7070
*Directions* (see MAP). `EchoFiberTriangulation` is the external
7171
stdlib triangulation hardening item. `EchoSeparating` carries
7272
retracted prose framing (below). `EchoTotalCompletion` is the
7373
`A ↔ Σ Echo` encode/decode pair anchoring the F5 canonical-
74-
identity cohort (Tier 2 below).
74+
identity cohort (Tier 2 below). `EchoDisplayed` is the
75+
displayed-type / `DispHom` / `fromHomOver` fibration packaging of
76+
the categorical base (faithful mirror of typed-wasm's Idris
77+
`Echo.idr`; no variance / graded-comonad claim, per R-2026-05-18).
7578

7679
| *Derived — Tier 2* +
7780
(depend on Tier-1 `Echo*`)

0 commit comments

Comments
 (0)