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
{{ message }}
Repository navigation
Commit 94fe849
Browse filesBrowse the repository at this point in the historyBrowse files
fix(abi): type-check the Idris2 proofs in CI and re-prove line-comment stripping
No CI job had ever type-checked src/abi/, and with Idris2 0.7.0 none of
the five modules checked as committed. PROOF-NEEDS.adoc marked them ✅
with no receipt.
- scripts/ci/check-idris-abi.sh: stages a module-path view of the
unchanged files (they declare PanicAttack.ABI.* but live flat) and
type-checks each one. It fails on a type error, a missing %default
total, or believe_me / assert_total / assert_smaller / postulate /
idris_crash in code. Verified both ways: it passes here, fails on
main's Stripping and Types, and fails on a planted believe_me.
- proven-tests.yml: a blocking `idris-abi` job builds Idris2 from the
v0.7.0 tag (commit checked), caches it, and runs the script. It records
a PROOF-POLICY §6 deviation; actionlint is clean; it uses only
already-locked action pins.
- Stripping.idr: the 2026-06-02 proof never type-checked (unsolved
constraint in the // case, decEq not imported). It is re-proved through
stripIsIdOnClean (identity on //-free text) and stripIsClean /
bodyIsClean (output is //-free, mutual induction).
stripLineCommentsIdempotent and bodyIsFixedPoint follow. The strippers
use explicit Bool steps. An exhaustive differential run over all 29,524
strings of length ≤ 9 on {/, x, \n} matches the previous definitions,
and a mutant blanking with '/' is rejected.
- Types.idr: adds the Eq Severity that Ord needs and fixes the LangId
declaration syntax.
- PROOF-NEEDS.adoc, EXPLAINME.adoc and CHANGELOG.adoc now record that the
earlier claims had no receipt, and name the new one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PFaqv6iBXrt3W5Akd1Fq5k
| `src/abi/PatternCompleteness.idr` | PA1 Idris2 proof — every Lang/Category has a detector
56
56
| `src/abi/ClassificationSoundness.idr` | PA2 Idris2 proof — severity total order + maxSeverity commutativity
57
-
| `src/abi/Stripping.idr` | Layer 1.0 partial — line-comment-strip foundation (shape lemma + base cases of `stripLineCommentsIdempotent` Qed-closed)
57
+
| `src/abi/Stripping.idr` | Layer 1.0 — line-comment stripping is idempotent (`stripLineCommentsIdempotent`; re-proved 2026-11-09, type-checked by the `idris-abi` CI job)
0 commit comments