Repository navigation
registry: pin resource-algebra's 27 proven theorems; refresh its census row - #96
Merged
Merged
Conversation
…us row The claims registry gains the 27 proven rows of hyperpolymath/resource-algebra (C-1 to S-4), pinned at its main of 2026-11-16 (f0818f2) with the receipt that describes f211fc1. The canon reader at the pinned standards commit derives PWG-1 for all 27, with the §8.5.3 git checks passing. The two OPEN rows (C-4b, M-2) name no Agda declaration and are not pinned. F-5 omits maps-disagree-at-positive at this pin: there it is in the unit tests, outside the graded cone; hyperpolymath/resource-algebra#36 moves it. The resource-algebra census row is rebuilt at f0818f2 (28 own proof files, 574 declarations), with the catalogue, atlas and registry views regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LiQzWJdcPfRU6YMDGRG8Xi
hyperpolymath
marked this pull request as ready for review
November 16, 2026 19:24
hyperpolymath
enabled auto-merge (squash)
November 16, 2026 19:24
4 tasks done
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
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. |
4 of 5 tasks
hyperpolymath
added a commit
to hyperpolymath/resource-algebra
that referenced
this pull request
Nov 17, 2026
## Why F-5's ledger row cites `maps-disagree-at-positive` as the proof that the two strict morphisms Loss → MaxPlus are distinct. That lemma lived in `tests/unit/MorphismTest.agda`, outside the graded import cone (`src/ResourceAlgebra/All.agda`). The Agda receipt's inputs manifest covers only `src/`. So a change to that lemma would not have invalidated F-5's receipt. I found this while pinning this repository's claims in the mathesis registry, and it was the only ledger-cited Agda name outside `src/`. ## What - `maps-disagree-at-positive` moves, unchanged, into `src/ResourceAlgebra/Morphism.agda`. The Rocq and Lean legs already prove it under the same name. - `docs/status/PROOF-STATUS.adoc` records the gap in the receipt at `f211fc1`. The run did check the lemma, because the gate checks the unit tests, but the manifest did not cover it. The receipt itself is left as it is. Because this PR changes `src/`, the next receipt is due after merge, and that receipt covers the lemma. - `CHANGELOG.adoc` entry. ## Scope change This PR first also removed `-W noUnsupportedIndexedMatch` from the Agda gate. #37 makes the same change and adds a regression test that fails against the old flags. So the last commit reverts the gate change here and leaves it to #37. That way, one change sits in one PR. The two PRs now touch different lines; both edit `PROOF-STATUS.adoc` and `CHANGELOG.adoc`, in places that don't overlap. ## Testing - With the old flags still in place, `bash scripts/check-agda.sh` passes locally on Agda 2.6.3, the Ubuntu package. That covers the postulate scan, the trusted-base check, the unit tests and all 9 expected rejections. - The previous head `7f095b4` passed `proofs.yml` on the pinned 2.6.4.3, along with the Rocq and Lean legs. That head also carried the gate change. - asciidoctor `--failure-level=WARN` renders both changed `.adoc` files. Related: hyperpolymath/mathesis#96 pins this repository's 27 proven claims. F-5's record there gains the lemma's name once this PR merges and a new receipt exists. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01LiQzWJdcPfRU6YMDGRG8Xi --------- Co-authored-by: Claude <noreply@anthropic.com>
…stry branch Clean textual merge. The registry view rebuilt at the reader pin is byte-identical to the merge result (49 claims; census 38 PWG-1, 6 ungraded, of 44 theorems). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LiQzWJdcPfRU6YMDGRG8Xi
|
hyperpolymath
pushed a commit
that referenced
this pull request
Nov 17, 2026
main gained #96 (resource-algebra row), #99 and #104. rows.jsonl merged cleanly (different rows); index.json conflicted, so every generated file was rebuilt from the merged rows with census-atlas.mjs build and render-catalogue.sh instead of being hand-merged. The atlas check, the catalogue diff, 13 atlas tests and 9 census tests pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TbbnKqskQA5mj5gfMniPzi
hyperpolymath
added a commit
that referenced
this pull request
Nov 17, 2026
…rkers (#105) ## Summary This refreshes the census rows for hyperpolymath/hypatia, metadatastician/standards and the 14 rows that have Idris2 proofs and a non-zero `unsafe` count. The hypatia row now covers the actions.lock closure work in hyperpolymath/hypatia#1026 and hyperpolymath/hypatia#1187. This PR first carried its own fix for a scanner false positive: the Idris2 function `partial'` was counted as four `partial` annotations. #101 landed on main meanwhile with the same fix, applied to every marker rule. The merge `39ea12a` keeps main's scanner and drops this PR's narrower rule and test. **The PR now changes census data only.** ## Changes | Repository | Change | |---|---| | hyperpolymath/hypatia @ `29a9e4a` | own files 58 → 77, declarations 680 → 1040, unsafe 0 | | metadatastician/standards @ `b49a33e` | own files 2 → 3, declarations 40 → 66 | | hyperpolymath/echidna | own files 170 → 163, declarations 1969 → 1676, from its newer commits | | 13 other Idris2 rows with unsafe markers | move to their current commits; counts unchanged | The 13 rows in the last line are ambientops, deed-core, developer-ecosystem, ephapax, poly-ssg, proven, raze-tui, reposystem, ssg-collection, cerro-torre, gossamer, paint-type and vordr. No unsafe count changed in the 14 refreshed Idris2 rows. Their markers are real `partial` annotations, and the false positive affected only hypatia. `docs/atlas/generated/*` is regenerated with `census-atlas.mjs build` and `render-catalogue.sh`. ## Follow-up Standards' row still names `docs/proof-debt.adoc` as its status document. standards#1635 renames standards' record to `3-practice/PROOF-STATUS.adoc` and retires that ledger. Once it merges, one more `update-rows.sh metadatastician/standards` will name the new file. ## RSR Quality Checklist ### Required - [x] Tests pass: `tests/census/*.sh` all pass, `bun test tests/atlas/census-atlas.test.mjs` 13/13 - [x] Catalogue matches rows; `census-atlas.mjs check` PASS - [x] No banned language patterns, no secrets - [x] No source files changed ### As Applicable - [ ] Deed and ROADMAP: not changed; project state did not change ## Open PRs this touches This PR changes only `docs/atlas/census/rows.jsonl` and the four generated atlas files. Of the other open PRs: - **#98** refreshes the same hypatia row at `6f3f16f`. This PR refreshes it at `29a9e4a`, which is later and includes hypatia#1187. If this merges, #98 is superseded. - **#96** (resource-algebra row) and **#100** (ddraig-ssg row) refresh different rows. They still edit the same files, so whichever merges second will conflict. To resolve, rerun `scripts/census/update-rows.sh` for its row on top of the new main, then regenerate. Do not hand-merge the generated files. - **#99** touches `docs/atlas/generated/registry.adoc`, which this PR does not change. **#102** and **#103** do not overlap with this PR. ## Testing Ran `update-rows.sh` on the 16 repositories on top of main at `261e6dc`. Then ran the census tests, the catalogue diff, and the atlas build, check and tests. No licence content is touched. https://claude.ai/code/session_01TbbnKqskQA5mj5gfMniPzi --- _Generated by [Claude Code](https://claude.ai/code)_ --------- Co-authored-by: Claude <noreply@anthropic.com>
9 tasks done
hyperpolymath
added a commit
that referenced
this pull request
Nov 17, 2026
…tness lemma (#108) ## Summary This is the follow-up that #96 announced. After #96 merged, two resource-algebra PRs landed: - hyperpolymath/resource-algebra#36 moved F-5's `maps-disagree-at-positive` into `src/`, inside the graded cone. - hyperpolymath/resource-algebra#44 wrote a new proof receipt for the merge commit, `47de4a8`. This PR moves the registry's resource-algebra pins to that receipt and adds the lemma to F-5's record. ## Changes - `docs/atlas/claims/claims.jsonl`: the 27 resource-algebra records are now pinned at `a17ffb6`, the commit that holds the new receipt, with that receipt's digest. - F-5 now names `maps-disagree-at-positive`. - Every statement and Agda name was re-extracted from resource-algebra's ledger at `a17ffb6` and matches the records. - `docs/atlas/census/rows.jsonl`: the resource-algebra row is rebuilt at `a17ffb6`, with 29 own proof files and 575 declarations. Before, they were 28 and 574. - Regenerated views: `catalogue.adoc`, `az.adoc`, `organisations.adoc`, `index.json` and `registry.adoc`. - `CHANGELOG.adoc` has an entry under Added. Result: the canon reader derives PWG-1 for all 27, and the §8.5.3 git checks pass. The registry census is unchanged: 38 at PWG-1 and 6 ungraded, of 44 theorems. ## RSR Quality Checklist ### Required - [x] Tests pass (each `check-views` recipe run by hand; see Testing) - [x] Code is formatted (data and generated views; I-JSON/JCS check passes) - [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 new/modified source files (no new files) - [x] No secrets, credentials, or `.env` files included ### As Applicable - [x] `CHANGELOG` or release notes updated ## Testing These ran with `MATHESIS_STANDARDS` set to a standards checkout at the reader pin `e5a39d7`, and all passed: - `catalogue-check` - census tests - `census-atlas.mjs check` and its test - `claims-registry.mjs check` - `theory-ledger.mjs verify` - `bun test tests/registry/` - `cohort.mjs check` - `scripts/check-ijson-jcs.sh --enforce` - asciidoctor render of `CHANGELOG.adoc` --- _Generated by [Claude Code](https://claude.ai/code/session_01LiQzWJdcPfRU6YMDGRG8Xi)_ Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
resource-algebra has had a §8.5.1 proof receipt since 2026-11-11 (
verification/receipts/resource-algebra-proofs_praxis.deed, describingf211fc1), but the claims registry pinned none of its claims. Its census row was also stale: it was built ata19a5b8, before the Questions instance existed. This PR pins the claims and rebuilds the row. The registry derives every grade with the canon reader, so this PR assigns no grade.Changes
docs/atlas/claims/claims.jsonl: 27 records,hyperpolymath/resource-algebra#C-1to#S-4.mainf0818f2(2026-11-16) with that commit's receipt digest.docs/status/PROOF-STATUS.adoc.src/. Where a row spans modules, the names are qualified from the common prefix, as THY-1 already does.OPENrows, C-4b and M-2. They name no Agda declaration, so a record would fail validation.maps-disagree-at-positive. Atf0818f2that lemma is in resource-algebra's unit tests, outside the graded cone and outside the receipt's inputs manifest. F-5: move maps-disagree-at-positive into the graded cone resource-algebra#36 moves it intosrc/. Once that PR merges and a new receipt exists, the pin can be bumped and the name added.docs/atlas/census/rows.jsonl: the resource-algebra row is rebuilt atf0818f2withupdate-rows.sh(28 own proof files, 574 declarations; it was 25 and 467).catalogue.adoc,az.adoc,organisations.adoc,index.jsonandregistry.adocare regenerated.CHANGELOG.adocentry under Added.Result: the reader derives
PWG-1for all 27, and the §8.5.3 git checks pass. The registry census is now 38 atPWG-1and 6ungraded, of 44 theorems.RSR Quality Checklist
Required
check-viewsrecipe run by hand; see Testing)unsafeblocks without// SAFETY:comments (none).envfiles includedAs Applicable
CHANGELOGor release notes updatedTesting
justis not installed here, so I ran each recipe ofjust check-viewsdirectly, withMATHESIS_STANDARDSset to a standards checkout at the reader pine5a39d7(deed_lint.jsdigest matches). All pass:catalogue-checktests/census/*.sh)census-atlas.mjs checkand its testclaims-registry.mjs checktheory-ledger.mjs verifybun test tests/registry/cohort.mjs checkandbun test tests/applied/scripts/check-ijson-jcs.sh --enforceGenerated by Claude Code