|
| 1 | += Echo Types — Establishment Plan |
| 2 | +:toc: macro |
| 3 | +:toclevels: 3 |
| 4 | +:sectnums: |
| 5 | +:sectnumlevels: 3 |
| 6 | +:icons: font |
| 7 | + |
| 8 | +[.lead] |
| 9 | +This document sets out the path by which "echo types" can acquire |
| 10 | +*recognised type-theoretic standing*. It is deliberately separate from |
| 11 | +`roadmap.md` (work partitioned by bottleneck) and `roadmap-gates.adoc` |
| 12 | +(the falsifiable identity claim). This document answers a different |
| 13 | +question: _given_ the gated identity claim, what makes a construction |
| 14 | +like this *established* in the sense that linear, dependent, or graded |
| 15 | +modal types are established — and what specifically must this repository |
| 16 | +ship to get there. |
| 17 | + |
| 18 | +toc::[] |
| 19 | + |
| 20 | +== The honest type-theoretic verdict |
| 21 | + |
| 22 | +`Echo f y := Σ (x : A) , (f x ≡ y)` is *definitionally* the homotopy |
| 23 | +fibre `fib f y` (HoTT book Def. 4.2.4). This fact governs the entire |
| 24 | +strategy and is owned, not hedged: |
| 25 | + |
| 26 | +* *"Linear" and "dependent" are the wrong target — comparing to them is |
| 27 | + a category error.* Dependent types are a _formation_ discipline |
| 28 | + (types depend on terms; semantics = LCCC / CwF). Linear and |
| 29 | + substructural types are a _structural-rule_ discipline |
| 30 | + (contraction/weakening restricted; semantics = symmetric monoidal |
| 31 | + closed categories / Benton's LNL). Both change the _judgmental_ |
| 32 | + apparatus of the theory. Echo introduces no new judgment, context |
| 33 | + structure, or formation rule — it is a derived Σ-type. Shipping |
| 34 | + bespoke "echo introduction/elimination rules" dressed as primitive |
| 35 | + would be the fastest possible way to lose every informed reader. |
| 36 | + |
| 37 | +* *The strength that befits echo is a graded comonadic modality — |
| 38 | + the coeffect / quantitative lineage.* That _is_ an established |
| 39 | + type strength in the modern sense (Petriček–Orchard–Mycroft |
| 40 | + coeffects; Brunel–Gaboardi–Mazza–Zdancewic; Atkey's Quantitative |
| 41 | + Type Theory; Orchard–Liepelt–Eades / Granule; Gaboardi et al. |
| 42 | + graded modal types). The repo's own code already has the shape: |
| 43 | + `EchoGraded`'s loss-grade lattice with join and universal property, |
| 44 | + `EchoLinear`'s two-mode degradation, `EchoCategorical`'s |
| 45 | + slice/fibration functor laws. It is not yet *named, characterised, |
| 46 | + and proved* as a graded comonad of structured loss. |
| 47 | + |
| 48 | +[#thesis] |
| 49 | +.The establishment thesis |
| 50 | +**** |
| 51 | +Echo is the homotopy fibre, equipped with a loss-grade lattice, |
| 52 | +forming a *definitionally-grounded graded comonad of structured loss*. |
| 53 | +Its authority comes not from being a new object but from being a |
| 54 | +*characterised* one: a universal property, multiple models, an |
| 55 | +irreducibility metatheorem, and a falsifiable retraction discipline. |
| 56 | +**** |
| 57 | + |
| 58 | +Owning "it is just `fib`" loudly is a credibility asset: it pre-empts |
| 59 | +the reviewer's first and strongest objection. |
| 60 | + |
| 61 | +== The five pillars |
| 62 | + |
| 63 | +Each pillar names the artefact it must ship and the *authority effect* |
| 64 | +— the specific reason a referee or community would upgrade their |
| 65 | +assessment. |
| 66 | + |
| 67 | +=== Pillar A — Pin the identity |
| 68 | + |
| 69 | +`Echo ≃ fib` currently lives in prose (`docs/gate-1-distinct-phenomenon.adoc`). |
| 70 | +Reviewers want the bridge as a checked lemma. |
| 71 | + |
| 72 | +* Artefact: `proofs/agda/EchoFiberBridge.agda` — `echo↔fib : |
| 73 | + Echo f y ↔ fiber f y` (definitional; `refl`-level round-trips). |
| 74 | + Pinned in `Smoke.agda`, wired into `All.agda`. *(landed — see |
| 75 | + §"Status".)* |
| 76 | +* Authority effect: converts the project's most honest admission into |
| 77 | + a machine-checked artefact. Referees trust projects that formalise |
| 78 | + their own deflationary claims. |
| 79 | + |
| 80 | +=== Pillar B — The universal property |
| 81 | + |
| 82 | +The single biggest lever. Echo has functoriality (`map-over` + id/comp), |
| 83 | +the composition iso, cancel-iso, pentagon — but no _characterisation_. |
| 84 | + |
| 85 | +* Artefact 1: `EchoPullback.agda` — `Echo f y` as the pullback of `f` |
| 86 | + along `y : ⊤ → B`, with the terminal-cone universal property |
| 87 | + `echo-pullback-univ`. The categorical-semantics anchor. |
| 88 | +* Artefact 2: `EchoGradedComonad.agda` (headline new family) — reuse |
| 89 | + `EchoGraded._≤g_`, `_⊔g_`, `≤g-prop`; define the graded counit / |
| 90 | + comultiplication and prove the three graded-comonad laws over the |
| 91 | + loss-grade lattice. |
| 92 | +* Authority effect: "has a universal property + is a graded comonad" |
| 93 | + is the line between a named lemma cluster and an established notion. |
| 94 | + |
| 95 | +=== Pillar C — An irreducibility metatheorem |
| 96 | + |
| 97 | +Harden Gate 2. The existing `VisibleConstraintAudit` / |
| 98 | +`IntegrationAudit` _negative_ exhibits (collapsing pseudo-theorems to |
| 99 | +`proj₂`) are exemplary practice; go one step further. |
| 100 | + |
| 101 | +* Artefact: `EchoSeparating.agda` — a *separating model*: a structure |
| 102 | + satisfying generic Σ-functoriality in which the loss-grade |
| 103 | + composition law (`degrade-compose` / `degrade-via-join`) fails. |
| 104 | +* Authority effect: answers "isn't this all Σ-lemmas with new names?" |
| 105 | + with a model, not an argument. Separating models are the gold |
| 106 | + standard for "this structure is real, not bookkeeping". |
| 107 | + |
| 108 | +=== Pillar D — A second model + conservativity |
| 109 | + |
| 110 | +A notion is established only if it is model-independent. |
| 111 | + |
| 112 | +* Artefact 1: `EchoRelModel.agda` — extend |
| 113 | + `EchoCategorical.Fibration` / `EchoRelational`; show the |
| 114 | + graded-comonad laws of Pillar B transport into the relational / |
| 115 | + presheaf model. Two independent models = robustness. |
| 116 | +* Artefact 2: `docs/echo-types/conservativity.adoc` (+ formal anchor) |
| 117 | + — because `Echo = Σ`, a small graded calculus with a loss modality |
| 118 | + embeds *conservatively and definitionally* into MLTT+Σ. State this |
| 119 | + as a metatheorem. "Conservative, definitionally-grounded extension" |
| 120 | + is exactly the clean result that earns trust. |
| 121 | +* Authority effect: model-independence + a conservativity theorem turn |
| 122 | + the deflation into a published positive result. |
| 123 | + |
| 124 | +=== Pillar E — External validation |
| 125 | + |
| 126 | +Authority is conferred socially, not internally. In cost/payoff order: |
| 127 | + |
| 128 | +. TYPES abstract (low bar, fast expert feedback) — "Echo: a |
| 129 | + definitionally-grounded graded comonad of structured loss". |
| 130 | +. A mechanised-metatheory paper at CPP or ITP (natural venue for a |
| 131 | + `--safe --without-K` Agda artefact; these venues reward the |
| 132 | + retraction/gate discipline). |
| 133 | +. Zenodo DOI + installable library packaging (stable module API so |
| 134 | + others can `import echo-types`). |
| 135 | +. Circulate the strongest adjacency note (HoTT fibres / QTT-modal) |
| 136 | + to those communities; the adjacency docs already pre-empt referee |
| 137 | + objections — use them as outreach. |
| 138 | +. Keep the falsifiable gates and a public retraction log. This _is_ |
| 139 | + the biggest authority asset; never soften it. |
| 140 | + |
| 141 | +== Sequencing and guardrails |
| 142 | + |
| 143 | +*Order:* A → B(pullback) → B(graded comonad) → C(separating model) → |
| 144 | +D(second model + conservativity) → E(write-up). A–C are the |
| 145 | +credibility core and need no external unblocker. The ordinal / Buchholz |
| 146 | +track is impressive _consumer evidence_, not foundation — keep it |
| 147 | +firewalled from the identity claim exactly as `roadmap.md` already does. |
| 148 | + |
| 149 | +*Hard guardrails (credibility hazards):* |
| 150 | + |
| 151 | +* Never add a postulate or drop `--safe --without-K` to force a |
| 152 | + "stronger" result — the conservativity _is_ the product. |
| 153 | +* The funext boundary is real and known (`examples/Transport.agda` |
| 154 | + stalls because `Field = Fin n → ℚ` forces funext, unavailable under |
| 155 | + `--safe`). Quarantine any funext-requiring result behind an |
| 156 | + explicitly labelled, isolated assumption module; never let it touch |
| 157 | + the core. |
| 158 | +* Do *not* reopen the five-axis simultaneous-integration claim — EI-2 |
| 159 | + settled it negatively, and having cleanly killed it is part of the |
| 160 | + authority story. |
| 161 | + |
| 162 | +== Status |
| 163 | + |
| 164 | +[cols="1,4,1", options="header"] |
| 165 | +|=== |
| 166 | +| Pillar | Artefact | State |
| 167 | + |
| 168 | +| A | `EchoFiberBridge.agda` (`echo↔fib`, pinned in `Smoke.agda`) | Landed |
| 169 | +| B | `EchoPullback.agda` | Scaffolded (doc-only module, in `All.agda`) |
| 170 | +| B | `EchoGradedComonad.agda` | Scaffolded (doc-only module, in `All.agda`) |
| 171 | +| C | `EchoSeparating.agda` | Scaffolded (doc-only module, in `All.agda`) |
| 172 | +| D | `EchoRelModel.agda` | Scaffolded (doc-only module, in `All.agda`) |
| 173 | +| D | `docs/echo-types/conservativity.adoc` | Not started |
| 174 | +| E | TYPES abstract / CPP-ITP paper / Zenodo / library packaging | Not started |
| 175 | +|=== |
| 176 | + |
| 177 | +The Pillar B–D scaffolds are documentation-only Agda modules (no |
| 178 | +declarations, hence no postulates or holes — they typecheck under |
| 179 | +`--safe --without-K` and are tracked in `All.agda` per the |
| 180 | +rung-consolidation policy). They carry the intended theorem signatures |
| 181 | +as commented specifications so a fresh session can start filling them |
| 182 | +without re-deriving the design. |
| 183 | + |
| 184 | +== Revision policy |
| 185 | + |
| 186 | +Update this document when a pillar artefact changes state, when a |
| 187 | +guardrail is hit, or when external validation (Pillar E) advances. |
| 188 | +Append-only revision history, each entry annotated with its trigger. |
| 189 | +The stable thesis (<<thesis>>) does not change without a recorded |
| 190 | +reason. |
0 commit comments