Skip to content

Commit 48b9c11

Browse files
claudehyperpolymath
authored andcommitted
docs: record echo-types typesystem-integration sweep (4 downstream consumers)
cross-repo-bridge-status.md gains four rows: nextgen-typing (EchoTyping — affine subtyping = weaken; erasure = fiber), phronesis (PhronesisEcho — verdict-provenance = Echo), nextgen-languages/kitchenspeak (EchoBridge hand-verified → machine-checked), invariant-path (Rust application example). First three are content bridges importing echo-types under --safe; the fourth is citation-level. CHANGELOG updated. No proof source changed. https://claude.ai/code/session_01DQACj3RFmAPZaBPgR9SAaS
1 parent 8e84f69 commit 48b9c11

2 files changed

Lines changed: 36 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,26 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
88

99
## [Unreleased]
1010

11+
### Added (2026-06-12)
12+
13+
- *Cross-repo typesystem-integration sweep recorded in
14+
`docs/bridges/cross-repo-bridge-status.md`.* echo-types is now
15+
integrated into the hyperpolymath type systems (all merged to the
16+
consumers' `main`), with four new ledger rows:
17+
- **nextgen-typing**`EchoTyping.agda` imports `EchoLinear`/`Echo`:
18+
AffineScript `linear ⊑ affine` subtyping IS `weaken` (irreversible,
19+
distinction-forgetting, proof-irrelevant at affine); refinement
20+
erasure IS a fiber. Content bridge, `agda --safe` 3/3.
21+
- **phronesis**`PhronesisEcho.agda`: an ethical verdict's
22+
provenance IS `Echo verdict v`. Content bridge.
23+
- **nextgen-languages/kitchenspeak**`EchoBridge.agda` status
24+
upgraded hand-verified → machine-checked against the real `Echo`.
25+
- **invariant-path** — Rust application example
26+
(`classify_candidate` non-injective; retained candidate + `losses`
27+
IS the echo). Citation-level.
28+
No echo-types proof source changed; this is a documentation/ledger
29+
sweep recording downstream adoption.
30+
1131
### Added (2026-05-30)
1232

1333
- *Lane 3 ordinal track — Slice 3+4 Route A 6-PR arc + doc sweep.*

docs/bridges/cross-repo-bridge-status.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- SPDX-FileCopyrightText: 2025-2026 Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk> -->
33
# Cross-Repo Bridge Status
44

5-
Last updated: 2026-06-02.
5+
Last updated: 2026-06-12.
66

77
This file is the single status ledger for echo-type bridge work that
88
touches other repositories.
@@ -18,6 +18,10 @@ touches other repositories.
1818
| EchoTypes.jl executable mirror | Tier-1+Tier-2 spine + unconditional F5 OFS fragment (modules: `Echo`, `EchoResidue`, `EchoFiberCount`, `EchoThermodynamics`, plus 2026-05-27 v0.2.0 additions: `EchoTotalCompletion`, `EchoOrthogonalFactorizationSystem`, `EchoImageFactorization`, `EchoNoSectionGeneric`, `EchoLossTaxonomy`, `EchoEntropy`, `EchoObservationalEquivalence`) | [`hyperpolymath/EchoTypes.jl`](https://github.com/hyperpolymath/EchoTypes.jl) v0.2.0 (pinned to `e7dded6`); registered in `julia-professional-registry` | **Executable companion shipped.** Mirrors run the finite-domain shadow of the upstream theorems on concrete data and falsify-by-counterexample; the companion makes no proof claims, the Agda here remains the source of truth. R-2026-05-18 retraction surface NOT mirrored; F5 funext-qualified clauses (uniqueness up to iso, diagonal lifting) NOT mirrored — Julia has no funext, the claims would be vacuous. UIP- and truncation-strength upgrades likewise honestly not mirrored. | — (shipped; honest scope holds verbatim from upstream). Future advances on the Tier-1+Tier-2 spine are candidates for new shadows in subsequent EchoTypes.jl releases, but no in-repo CI dependency exists in either direction. |
1919
| Ephapax L3 bridge (Agda↔Coq) | `proofs/agda/EchoEphapaxBridge.agda` | `ephapax/formal/Echo.v` (Coq, 584 lines, 24 `Qed`, zero `Admitted` / zero `Axiom`) — explicit port of `EchoLinear.agda` + `EchoResidue.agda` under a K-free / zero-axiom discipline equivalent to `--safe --without-K` | **Navigability bridge done; content bridge NARROW** (2026-05-30). Two definitional `refl`-renames: `ephapax-L3-weaken = EchoLinear.weaken` and `ephapax-L3-no-section-collapse = EchoResidue.no-section-collapse-to-residue`. Coq headlines `mode_le_prop`, `weaken_collapses_distinction`, `affine_canonical`, `degrade_mode_comp`, `no_section_collapse_to_residue` (line 502-517) each match an Agda counterpart pinned in `Smoke.agda`. Scope: **L3 only** — ephapax-affine has Rust checkers only; L1 has 5 `Axiom` + 11 `Admitted`; L4 has no mechanised theorems yet (cf. ephapax `formal/PRESERVATION-DESIGN.md`, `docs/echo-types/paper.adoc` §"Threats to validity"). | Per-bridge docs `docs/bridges/ECHO-EPHAPAX-BRIDGE.adoc` (CNO-equivalent) not yet authored; tracked as follow-up issue. Full content bridge (round-trip CI between Agda + Coq) would require an Agda mirror of ephapax `formal/Echo.v` and is **not foreclosed** by the NARROW stub. |
2020
| Valence Shell / Ochránce accountable-shell bridge (exploratory, downstream) | Structured-loss vocabulary only — `EchoResidue` / `EchoResidueTaxonomy` / `EchoLossTaxonomy` / `EchoObservationalEquivalence` / `EchoNoSectionGeneric` cited at the reading-aid level. **No bridge module**; nothing added to `All.agda`, `Smoke.agda`, or `EchoCanonicalIdentitySuite.agda`. | Valence Shell (`hyperpolymath/valence-shell`) — shell state transitions, undo/redo, checkpoints, diff/replay. Ochránce (`hyperpolymath/ochrance`) — A2ML manifests, Merkle state commitments, repair/attestation surfaces. | **Exploratory — candidate downstream consumer. Core Affect: NO.** Echo Types' structured-loss semantics may *classify* shell state transitions by residue / loss form (recoverable / constrained / residue-bearing / observationally equivalent / genuinely lost); Ochránce may supply concrete receipt evidence. Downstream application evidence only — not a new foundation. No mechanised cross-repo theorem currently exists. Companion: `docs/bridge-status.md` §7 and `docs/echo-types/explorations/accountable-shell/README.adoc`. | No shared schema and no Agda↔Idris2 / Agda↔Rust import path; the relationship is citation-level only. Echo Types makes **no** claim about Valence Shell / Ochránce implementation correctness, and **no** claim about POSIX, Rust, the Lean→Rust correspondence, secure deletion, GDPR, cryptographic integrity, or attestation. Valence Shell's RMR/RMO vocabulary, if referenced, is downstream application vocabulary and is not adopted into the Echo Types core. |
21+
| **Typesystem integration (nextgen-typing)** | `EchoLinear` (`weaken`, `no-section-weaken`, `affine-canonical`), `Echo` | `nextgen-typing/verification/proofs/agda/EchoTyping.agda` (imports echo-types directly via `depend: echo-types`) | **Content bridge done (2026-06-12).** AffineScript `linear ⊑ affine` subtyping IS `EchoLinear.weaken` (irreversible — `no-section-weaken`; distinction-forgetting; proof-irrelevant at affine via `affine-canonical`); refinement erasure IS a fiber of `erase`. Headlines `TP-ECHO-1/2/3`. `agda --safe` 3/3 pass (Agda 2.6.3 + stdlib v2.3 + echo-types). | — (closed at content-bridge level; the hyperpolymath type-theory pipeline reuses echo-types' structured-loss notion directly rather than a parallel definition). |
22+
| **Verdict-provenance (phronesis)** | `Echo`, `echo-intro` | `phronesis/academic/formal-verification/agda/PhronesisEcho.agda` (imports echo-types directly) | **Content bridge done (2026-06-12).** An ethical verdict's provenance IS `Echo verdict v`: `eval` is non-injective, so the fiber retains *which* expressions justify a verdict the bare `Bool` forgets (`verdict-forgets-provenance`); `proj₁` is the recovering section. Machine-checked vs real echo-types. (Also fixed 4 pre-existing bugs making `Phronesis.agda` compile.) | — (closed; downstream consumer in the agentic-ethics language). |
23+
| **KitchenSpeak `@` witness (nextgen-languages)** | `Echo` | `nextgen-languages/kitchenspeak/proofs/agda/EchoBridge.agda` | **Status upgraded to MACHINE-CHECKED (2026-06-12).** Previously "hand-verified, not machine-checked"; now typechecks against the real `Echo`. The `@` sensor witness IS `Echo (fired sensor thr) true` (`witness⇒echo` / `echo⇒witness`). PoachedEgg stdlib-v2.3 drift (`toWitness {Q=}``{a?=}`) fixed so the suite type-checks. | — (the `--` comments in `kitchenspeak.agda-lib` need Agda ≥ 2.6.4; on the 2.6.3 CI toolchain use the explicit `-i` form, documented in the module). |
24+
| **Invariant Path application (invariant-path)** | Structured-loss vocabulary (the `Echo` fiber concept) — citation-level | `invariant-path` (Rust): `classify_candidate` + `docs/ECHO-TYPES.md` + `crates/invariant-path-core/{examples,tests}/echo_structured_loss.rs` | **Application example (2026-06-12).** `classify_candidate` is a non-injective classifier; the retained `ClaimCandidate` + `ClassificationOutcome.losses` IS the echo (fiber) over a `Classification`. Invariant Path is "a claim-path debugger, not a truth engine" precisely because it retains echoes. Runnable example + 2 CI-covered tests. | No Agda↔Rust import path; citation-level — the application *uses* the echo principle; no mechanised cross-repo theorem. |
2125

2226
## Immediate next actions
2327

@@ -67,6 +71,17 @@ precisely to paper over this in the relational model.
6771

6872
## Revision history
6973

74+
- 2026-06-12: **Typesystem-integration sweep.** Added four downstream
75+
consumer rows recording that echo-types is now integrated into the
76+
hyperpolymath type systems, all merged to the consumers' `main`:
77+
nextgen-typing (`EchoTyping.agda` — affine subtyping = `weaken`;
78+
refinement erasure = fiber), phronesis (`PhronesisEcho.agda`
79+
verdict-provenance = `Echo`), nextgen-languages/kitchenspeak
80+
(`EchoBridge.agda` status upgraded hand-verified → machine-checked;
81+
PoachedEgg stdlib drift fixed), and invariant-path (Rust application
82+
example, citation-level). First three are content bridges that
83+
`import` echo-types directly under `--safe`; the fourth is
84+
citation-level (no Agda↔Rust path).
7085
- 2026-06-02: Added the Valence Shell / Ochránce accountable-shell
7186
bridge row as an exploratory downstream-consumer entry (Core Affect:
7287
NO; citation-level only, no bridge module, nothing wired into

0 commit comments

Comments
 (0)