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
Lane 5 Walkthrough 3 lands; the originally-scaffolded Lane 5 triplet
(region-exit audit, epistemic erasure, provenance / debugging) is now
complete in Agda.
Domain: 4-element `State` with two orthogonal sign bits. Visible
output `firstSign : State → Bool`; class predicate
`secondSign : State → Bool` is injective within each firstSign-fibre.
Three residue layers walked: full echo (Layer 0), class residue with
secondSign (Layer 1), trivial residue (Layer 2).
Headlines (all pinned in tutorial/provenance_debugging/Smoke.agda):
* `states-distinct-at-true` — Layer 0 distinguishes pp vs pn at the
same visible output.
* `classes-remain-distinct` — Layer 1 still distinguishes them.
* `recover-section-at-layer-1` (POSITIVE) — Layer 1 has a section;
`recover-from-class` is a right inverse of `state-to-class`.
* `trivials-collapse` — Layer 2 collapses the two echoes.
* `no-recovery-from-trivial` (NEGATIVE) — Layer 2 has no section;
structural mirror of EchoResidue.no-section-collapse-to-residue.
* `provenance-walk-contrast` — section / no-section pair as a Σ.
New pedagogical shape: W1 and W2 each ship a one-sided no-section;
W3 ships BOTH a section (Layer 1) and its absence (Layer 2),
exhibiting the boundary at which type-level recovery flips. The
mechanical load is that secondSign is injective within each fibre.
Honest-bound + matched-negative discipline inherited from W2 — Agda
file and README both open with the type-level disclosure (NOT a
runtime debugger), `NotProved-*` block at the file's bottom catalogues
out-of-scope properties.
Build invariant held: All.agda + Smoke.agda + tutorial/All.agda +
tutorial/provenance_debugging/Smoke.agda all exit 0 under
--safe --without-K, zero postulates, no funext.
Files:
* tutorial/provenance_debugging/ProvenanceDebugging.agda (worked example)
* tutorial/provenance_debugging/Smoke.agda (headline pins)
* tutorial/provenance_debugging/All.agda (aggregator)
* tutorial/provenance_debugging/README.adoc (narrative)
* tutorial/All.agda — registers W3
* tutorial/README.adoc — W3 flipped from design-doc to LANDED
* CLAUDE.md — Session arc 2026-05-27 entry
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments