Commit 408b7aa
docs(proofs): echo-types audit per estate standing directive (#178)
## Summary
Per the estate-wide standing directive (memory:
`feedback_proofs_must_check_and_cross_doc_echo_types`), every proof in
any sibling repo with an echo-types link must first audit
`hyperpolymath/echo-types`, reuse if applicable, extend upstream WITH
proofs if not, then cross-document. L3 (echo) obligations are
load-bearing; L1/L4-only obligations audit-and-record-as-not-relevant.
Audits all 26 obligation-bearing proof modules across `proofs/agda/`,
`verification/proofs/idris2/`, `verification/proofs/lean4/`, and
`meta-checker/src/Echidna/` and records the result in
`docs/PROOF-NEEDS.md` § "Echo-types audit (2026-06-01)".
## Findings
- **2 L3-shape obligations** cross-referenced to echo-types EQUIV / INJ
cases in `EchoLossTaxonomy.agda`:
- `Serialisation.roundtrip` (E12, `ProofStateSerialisation.idr:88`) =
`HasInverse` + `equiv-fibre-center` (EQUIV case)
- `kind_to_u8_injective` (E6, `ProverKindInjectivity.idr`) =
`inj-fibre-proj-unique` (INJ case)
- **24 L4 obligations** recorded as audit-and-not-relevant (orders,
monotonicity, exhaustivity, aggregation, totality, hash algebra)
- **0 L1 / L2 obligations** — echidna is not a typed-substrate project
- **No upstream extension owed** — echo-types already mechanises both
classified shapes; echidna's theorems are downstream applications at the
concrete-prover (Idris2) stratum
`echidna#117` (`Client.res` AffineScript-TEA port — missing `Http.fetch`
/ `Promise` / `Json` / `Dict`) is L4-only (transport shapes); recorded
as not-relevant so a future port reviewer does not need to re-audit.
## Cross-doc echo
- echidna → echo-types: this PR's new section.
- echo-types → echidna: already exists via
`docs/echo-types/echidna-design-search-2026-04-28.adoc` (tool-side, not
proof-side); no reverse proof-relevance link owed.
## Test plan
- [x] Manual classification audit of every `*.agda` / `*.idr` / `*.lean`
/ `*.v` / `*.thy` file under `proofs/`, `verification/proofs/`,
`meta-checker/src/` (excluding owner-intentional `src/abi/` and `tests/`
smoke fixtures).
- [x] Echo-types lemma lookup verified against
`proofs/agda/EchoLossTaxonomy.agda` (EQUIV `HasInverse` and INJ
`inj-fibre-proj-unique` rename).
- [x] Doc-only change — no code, no proof tactics, no CI surface
modified.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 4df666b commit 408b7aa
1 file changed
Lines changed: 89 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
0 commit comments