You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EchoResidueTaxonomy: Search + Epistemic as ResidueForm instances
Closes the last two "structurally compatible" gaps in the Tier-2
residue grid companion remark. All eight decoration modules now
have packaged ResidueForm instances (six worked + two endpoints).
* `search-residue` — bounded-`n` search witness as the residue
carrier, parametric in a search-completeness witness
`∀ {y} (e : Echo f y) → Σ ℕ λ k → (k < n) × (enum k ≡ proj₁ e)`.
Mirrors `module CostInstance.cost-residue`'s parametric-witness
shape: an external proof that the relevant point exists in the
decoration's quantitative axis is passed at the boundary. The
lowering's EchoS triple is `(k, k<n, trans (cong f eq) p)`.
* `epistemic-residue` — `identity-residue` specialised to `obs r`
(Role → Bool from EchoChoreo). The indistinguishability class
at observation value `y` IS the fibre `Echo (obs r) y`, so the
"quotient by indist" interpretation collapses definitionally to
identity. Pinned under a distinct name so the epistemic reading
is discoverable at the taxonomy boundary; no new carrier (a
setoid carrier with explicit equivalence relation or a
propositional truncation of the class would both be separate
earn-back lifts — the latter handled by EchoImageFactorizationProp
in a related PR).
Companion remark updated to mark items 6 and 8 as LANDED (matching
items 5 and 7 which landed 2026-05-27); closing paragraph revised
to reflect all eight decorations now packaged.
Smoke.agda pin extended to include `search-residue` and
`epistemic-residue`.
## Build invariant
* `EchoResidueTaxonomy.agda` compiles standalone under
`--safe --without-K`, zero postulates, no funext.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments