Skip to content

registry: pin resource-algebra's 27 proven theorems; refresh its census row - #96

Merged
hyperpolymath merged 3 commits into
mainfrom
claude/zealous-wozniak-2nherb
Nov 17, 2026
Merged

hyperpolymath merged 3 commits into
mainfrom
claude/zealous-wozniak-2nherb

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

resource-algebra has had a §8.5.1 proof receipt since 2026-11-11 (verification/receipts/resource-algebra-proofs_praxis.deed, describing f211fc1), but the claims registry pinned none of its claims. Its census row was also stale: it was built at a19a5b8, 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-1 to #S-4.
    • Pinned at resource-algebra main f0818f2 (2026-11-16) with that commit's receipt digest.
    • Each statement is taken word for word from the claim column of resource-algebra's docs/status/PROOF-STATUS.adoc.
    • Each Agda name comes from that file's statement-correspondence table, resolved to its defining module in src/. Where a row spans modules, the names are qualified from the common prefix, as THY-1 already does.
  • Not pinned: the two OPEN rows, C-4b and M-2. They name no Agda declaration, so a record would fail validation.
  • F-5 omits maps-disagree-at-positive. At f0818f2 that 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 into src/. 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 at f0818f2 with update-rows.sh (28 own proof files, 574 declarations; it was 25 and 467).
  • catalogue.adoc, az.adoc, organisations.adoc, index.json and registry.adoc are regenerated.
  • CHANGELOG.adoc entry under Added.

Result: the reader derives PWG-1 for all 27, and the §8.5.3 git checks pass. The registry census is now 38 at PWG-1 and 6 ungraded, of 44 theorems.

RSR Quality Checklist

Required

  • Tests pass (each check-views recipe run by hand; see Testing)
  • Code is formatted (data and generated views only; I-JSON/JCS check passes)
  • Linter is clean
  • No banned language patterns (the generator script was Bun JavaScript, run from outside the repository; nothing added here)
  • No unsafe blocks without // SAFETY: comments (none)
  • No banned functions
  • SPDX license headers present on all new/modified source files (no new files)
  • No secrets, credentials, or .env files included

As Applicable

  • CHANGELOG or release notes updated

Testing

just is not installed here, so I ran each recipe of just check-views directly, with MATHESIS_STANDARDS set to a standards checkout at the reader pin e5a39d7 (deed_lint.js digest matches). All pass:

  • catalogue-check
  • the census tests (tests/census/*.sh)
  • census-atlas.mjs check and its test
  • claims-registry.mjs check
  • theory-ledger.mjs verify
  • bun test tests/registry/
  • cohort.mjs check and bun test tests/applied/
  • scripts/check-ijson-jcs.sh --enforce

Generated by Claude Code

…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
hyperpolymath marked this pull request as ready for review November 16, 2026 19:24
@hyperpolymath
hyperpolymath enabled auto-merge (squash) November 16, 2026 19:24
Repository owner deleted a comment from coderabbitai Bot Nov 16, 2026
Repository owner deleted a comment from chatgpt-codex-connector Bot Nov 16, 2026
Repository owner deleted a comment from chatgpt-codex-connector Bot Nov 16, 2026
@coderabbitai

coderabbitai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between aebdf06 and 2100dfa.

Files ignored due to path filters: 5

  • docs/atlas/generated/az.adoc is excluded by !**/generated/**
  • docs/atlas/generated/catalogue.adoc is excluded by !**/generated/**
  • docs/atlas/generated/index.json is excluded by !**/generated/**
  • docs/atlas/generated/organisations.adoc is excluded by !**/generated/**
  • docs/atlas/generated/registry.adoc is excluded by !**/generated/**
Files selected for processing: 3

  • CHANGELOG.adoc
  • docs/atlas/census/rows.jsonl
  • docs/atlas/claims/claims.jsonl

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.

Share

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
@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath merged commit e266fff into main Nov 17, 2026
42 of 43 checks passed
@hyperpolymath
hyperpolymath deleted the claude/zealous-wozniak-2nherb branch November 17, 2026 04:11
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>
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants