Repository navigation
docs(proofs): ledger corrections from the 2026-11-09 statement audit - #20
Conversation
Comments, ledger and doc text only; no proof term changes. - Vocabulary: DESIGNED is a local label (read as OPEN); PROOF-POLICY §5's closed set is PROVEN / PROVEN-WITH-AXIOMS / TESTED / ASSUMED / OPEN. - The gate invocation lacks --cubical-compatible, so it is not the PROOF-POLICY §2.1 profile (All.agda passes under it locally; the gate change is open). Every theorem is `ungraded` under §8. - L-2: Loss matches echo-types clause for clause, not textually (fixities differ; local min). - C-2: ⊕ is shown to be an upper bound; the least-upper-bound half of "join" is not stated. - Four rejection fixtures use refl on open terms, which shows only that an equation is not definitional; the closed refutations carry the separation. S-1/S-2/S-4 are closed kernel-checked refutations that the TESTED label under-states. - README notes that IsDioid omits absorbing zero (disclosed in Core). - Separation header: S-3 is two refls, not refl plus an inequality. - docs/status/PROOF-NEEDS.adoc replaces the RSR template (ABI/TP rows that do not apply) with a pointer to the ledger and the open needs. Checked: scripts/check-agda.sh passes (core proofs, unit tests, 8 rejections); All.agda compiles under `--safe --without-K --cubical-compatible`; tests/workflows/governance_policy_test.sh passes. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MF5GeeBBDF6sUzr6pZTjWV
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
Canon lockstep is red, but not because of this PR. The
This PR changes only No fix is ported. The fix is to repin the deed to 2.1.5, and that pin asserts that the repo meets the new gate table. That is the estate repin (T2) the owner is handling, not a change to slip into a docs-only PR. Generated by Claude Code |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
## Summary Stacked on #20 (the claims audit). Merge that first; this PR then shows only `9eb65d7`. This closes two items from the 2026-11-09 audit: - The gate did not run the PROOF-POLICY §2.1 profile. - C-2 did not state the least-upper-bound half of "⊕ is the join". It also unblocks choreographic-types. That repo imports these modules, and `--cubical-compatible` is coinfective, so it cannot declare the flag until they do. ## Changes - Every module in `src/` and `tests/` declares `--safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness`, and `resource-algebra.agda-lib` carries the same flags. No proof needed changing. - `scripts/check-agda.sh` runs `--safe --without-K --cubical-compatible` with `--double-check -W error -W noUnsupportedIndexedMatch`. CI's `Agda proofs` job runs this script on the pinned 2.6.4.3, so CI enforces the set. - `Core.⊕-least : a ≼ c → b ≼ c → (a ⊕ b) ≼ c`, from `⊕-mono` and idempotence. - `docs/status/PROOF-STATUS.adoc`: the audit note on the gate and the C-2 row are marked resolved. ## RSR Quality Checklist ### Required - [x] Tests pass: `scripts/check-agda.sh` passes locally on Agda 2.6.3 and 2.7.0.1 (core proofs, unit tests, all 8 expected rejections at their own declaration). CI on 2.6.4.3 is the real check. - [ ] Code is formatted: not applicable (no formatter for Agda here) - [x] Linter is clean - [x] No banned language patterns - [x] No `unsafe` blocks without `// SAFETY:` comments (none) - [x] No banned functions - [x] SPDX license headers present on all modified files (unchanged) - [x] No secrets, credentials, or `.env` files included ### As Applicable - [x] Documentation updated (`docs/status/PROOF-STATUS.adoc`) Note: seven `.agdai` interface files under `src/ResourceAlgebra/` are tracked in git. Local checks regenerate them; this PR leaves them unchanged. --- _Generated by [Claude Code](https://claude.ai/code/session_01MF5GeeBBDF6sUzr6pZTjWV)_ --------- Signed-off-by: Jonathan D.A. Jewell <[email protected]> Co-authored-by: Claude <[email protected]>



Summary
A statement-level review (2026-11-09) compared the ledger with the Agda. This PR changes comments, ledger and doc text only. No proof term changes.
Changes
DESIGNEDis a local label, read here as OPEN. PROOF-POLICY §5's closed set is PROVEN / PROVEN-WITH-AXIOMS / TESTED / ASSUMED / OPEN.--cubical-compatible, so it is not the §2.1 profile.All.agdapasses under that profile locally; changing the gate is a follow-up. Every theorem isungradedunder §8.Lossmatches echo-types clause for clause, not textually. The fixities differ and this repo uses a localmin.reflon open terms. A refusedreflthere shows only that an equation is not definitional; the closed refutations carry the separation. S-1, S-2 and S-4 are kernel-checked closed refutations that the TESTED label under-states.IsDioidomits absorbing zero.Core.agdaalready discloses this.Separation.agdaheader: S-3 is tworefls, notreflplus an inequality.docs/status/PROOF-NEEDS.adoc: the RSR template's ABI/TP rows don't apply to this repo. The file now points to the ledger and lists the open needs.RSR Quality Checklist
Required
scripts/check-agda.sh(core proofs, unit tests, 8 rejections) andtests/workflows/governance_policy_test.shunsafeblocks without// SAFETY:comments (none).envfiles includedAs Applicable
(status)/(maturity)updated: not changedTesting
On Agda 2.6.3, with 2.7.0.1 checked earlier today:
bash scripts/check-agda.shprintsPASS: core proofs, unit tests and all 8 expected rejections.agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces -i src src/ResourceAlgebra/All.agdaexits 0.bash tests/workflows/governance_policy_test.shpasses.Generated by Claude Code