Repository navigation
proofs: strict pragma sweep (exact-split, no-sized-types, no-guardedness) - #377
Conversation
Add --exact-split --no-sized-types --no-guardedness (and --cubical-compatible where missing) to the OPTIONS line of ten modules. Pragma-only change; no proof text touched. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDgtB5aF31cgQadaMa5
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
Summary
Pragma-only change. Ten modules now carry exactly
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}:All,Smoke,AuditSmoke,Echo/Measure/Composition,EchoDependentPushforward,EchoFiniteResidue,EchoResidueProtocol,EchoSourcePreserving,EchoSourcePreservingComparison,EchoThermodynamicsArbitrary.No overlapping-clause fixes were needed: every module passed
--exact-splitunchanged. NoCATCHALL, no flag weakened, no postulates introduced. Each diff is the one OPTIONS line.Deliberately not changed
EchoImageFactorizationPropCubical.agda: the--cubicalisland keeps its own profile.EchoImageFactorizationPropPostulated.agda: the quarantined postulate shadow ({-# OPTIONS --without-K #-}, four postulates).--saferejectspostulate, so the requested pragma cannot apply without changing what the module is. Left as is. It is outside every CI root.EchoCNOBridge,EchoCNOSemantics,EchoCNOPackaging: left to CNO bridges: repin absolute-zero to 8a3162a (pc-driven machine) #376.grep -rLtherefore still lists these three plus the two modules above (5 files).Verification (local, Agda 2.7.0.1 via
AGDA_TOOLS_DIR=/tmp/echo-agda bash scripts/setup-agda.sh;source /tmp/echo-agda/env.sh)Static guards, all exit 0:
sh scripts/kernel-guard.sh: PASSbash scripts/check-experimental-aggregate.sh: OKbash scripts/test-experimental-aggregate.sh: PASSsh scripts/check-agda-invocations.sh: OKbash tools/check-guardrails.sh proofs/agda: OK (152 modules)Cold typechecks (
agda --no-libraries -i "$AGDA_STDLIB" -i "$ABSOLUTE_ZERO_AGDA" --ignore-interfaces --safe --without-K --cubical-compatible -i proofs/agda <root>), each exit 0, no errors or warnings in output:All,Smoke,AuditSmoke,characteristic/All,examples/All,experimental/echo-additive/All,NarrowingSmokeCubical island (
... --ignore-interfaces --safe --cubical ... EchoImageFactorizationPropCubical.agda): exit 0.Not run locally: the Rocq/Lean recheck legs (unaffected by this change). CI has not yet run on this PR; nothing here claims it passed.
Note: #376 also edits
Smoke.agda(other lines); a pragma-line-only change should not conflict.Generated by Claude Code