Skip to content

proofs: PWG-3 receipt for the active Agda (18 rows); check the test modules - #204

Merged
hyperpolymath merged 2 commits into
mainfrom
proofs/pwg3-receipt
Nov 18, 2026
Merged

hyperpolymath merged 2 commits into
mainfrom
proofs/pwg3-receipt

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Summary

1. A PWG-3 receipt for the active Agda. This adds verification/receipts/absolute-zero-proofs_praxis.deed (standards PROOF-POLICY §8.5.1).

  • It describes source commit 8a3162a and the agda job of proofs.yml run 43612221557 on that commit.
  • Toolchain: Agda 2.6.3 and agda-stdlib v1.7.3 (0817da6).
  • Each of the four roots is checked with --safe --without-K --cubical-compatible --double-check -W error -W noUnsupportedIndexedMatch.

Import cone. agda --dependency-graph gives 128 modules:

  • the 4 roots (no other module of this repo);
  • 115 agda-stdlib modules, recorded in an (import :repository "agda/agda-stdlib" …) clause together with the library file;
  • 9 modules supplied with Agda.

The home manifest also lists absolute-zero.agda-lib and scripts/provision-agda-stdlib.sh, which holds the stdlib pin. A comment-aware postulate scan of all 128 modules finds only the four Agda.Primitive level postulates (Level, lzero, lsuc, _⊔_). The receipt lists them as its trusted base.

Rows. PROOF-STATUS gains a "Ledger (PWG receipt rows)" table with 18 headline rows, all PWG-3:

Rows Covers
CNO-1..10 interpreter/derivation agreement, determinism, the IsCNO characterisation, purity, observational left inverse, composition under Closed, closedness-needed, positive witnesses, load-not-cno, jump-self-diverges
OND-2..5 as in the OND roadmap
EB-1..4 the EchoBridge results; EB-3 and EB-4 take funext as an explicit argument, not a postulate

OND-6 is open and ungraded.

  • Census: 19 rows. 18 PWG-3, 0 PWG-2i, 0 PWG-2ii, 0 PWG-1, 1 ungraded.
  • Recheck legs: no Rocq or Lean development states the pc-driven model, so those legs are unavailable.
  • Doc updates: the canonical PROOF-STATUS row, README and EXPLAINME now say PWG-3 instead of ungraded.

2. The test modules are now checked. CNOTests.agda and EchoBridgeCNOTests.agda were not checked anywhere.

  • The CI agda job and proofs/verify-active-provers.sh now check all six modules.
  • The local gate now uses the CI invocation instead of --safe --without-K alone.
  • gate-selftest.sh follows: its stub and the expected calls use the new flags and module list.

3. A table fix on main. A bare | in the canonical PROOF-STATUS table (sat|unsat) made scripts/check-adoc-tables.sh fail on main. It is now escaped.

Checks run

Check Result
standards deed_lint.js --proof-receipt-json on the receipt accepts it; every claim derives the recorded :pwg
standards scripts/check-proof-receipt.sh --import agda/agda-stdlib=… every check holds: source on main, both manifests hold at their commits for all 18 claims
Agda 2.6.3 + stdlib v1.7.3, the CI invocation plus --ignore-interfaces on all 6 modules each exits 0
bash proofs/tests/gate-selftest.sh GATE-SELFTEST OK: 31/31
proofs/verify-active-provers.sh all six Agda modules pass; z3 and idris2 are not installed here, so the gate reports them missing
scripts/check-adoc-tables.sh OK on PROOF-STATUS and README
scripts/check-proof-patterns.sh, tests/check-proof-patterns.sh pass

EXPLAINME.adoc:134 still fails the table check, as it already does on main. That line is not touched here.

Not done

  • Test modules and the receipt: they are not roots of this receipt, because its run predates their CI wiring.
  • AGPL header: the CNO.agda header still says License: AGPL-3.0 / Palimpsest 0.5. Licence edits are owner-only.

Generated by Claude Code

Summary by CodeRabbit

  • Documentation
    • Updated proof-status information to show 18 headline Agda proofs as verified at the PWG-3 level, with a recorded receipt. OND-6 remains open and ungraded; Z3 checks remain documented as tested-only.
  • Tests
    • Automated checks now include two additional Agda test modules.

Add verification/receipts/absolute-zero-proofs_praxis.deed (PROOF-POLICY
§8.5.1). It describes source commit 8a3162a and the agda job of proofs.yml
run 43612221557 on that commit: Agda 2.6.3, agda-stdlib v1.7.3 (0817da6),
the four CI roots under the §2.1 invocation plus --double-check -W error.

The import cone (agda --dependency-graph) is 128 modules: the 4 roots, 115
stdlib modules, recorded as an (import agda/agda-stdlib ...) clause, and 9
modules supplied with Agda. A comment-aware postulate scan of the cone finds
only the four Agda.Primitive level postulates, listed as the trusted base.

18 headline rows (CNO-1..10, OND-2..5, EB-1..4) are PWG-3; OND-6 is open and
ungraded. No Rocq or Lean development states the pc-driven model, so those
legs are unavailable. PROOF-STATUS gains the row ledger; the canonical row,
README and EXPLAINME now say PWG-3 instead of ungraded.

Also escape a bare | in the canonical PROOF-STATUS table (sat\|unsat), which
made scripts/check-adoc-tables.sh fail on main.

Checks: standards deed_lint.js --proof-receipt-json (accepts) and
scripts/check-proof-receipt.sh (every check holds).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MF5GeeBBDF6sUzr6pZTjWV
CNOTests.agda and EchoBridgeCNOTests.agda (concrete runs, positive and
negative controls) were checked by nothing. The CI agda job and
proofs/verify-active-provers.sh now check all six modules. The local gate
now uses the same invocation as CI (PROOF-POLICY §2.1 plus --double-check
-W error -W noUnsupportedIndexedMatch) instead of --safe --without-K alone.
gate-selftest.sh follows: its agda stub and expected calls take the new
flags and module list.

Checks: bash proofs/tests/gate-selftest.sh -> GATE-SELFTEST OK: 31/31.
proofs/verify-active-provers.sh with Agda 2.6.3 and stdlib v1.7.3: all six
Agda modules pass (z3 and idris2 are not installed here).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MF5GeeBBDF6sUzr6pZTjWV
@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Agda CI checks now cover six modules with expanded compiler flags. A new receipt records PWG-3 results for 18 headline rows. The proof-status table and project notices now reflect the receipt; OND-6 remains open and ungraded.

Changes: Agda verification and receipt

Layer / File(s) Summary
Agda CI module checks
.github/workflows/proofs.yml, proofs/verify-active-provers.sh, proofs/tests/gate-selftest.sh
The CI workflow and active-prover gate check CNOTests and EchoBridgeCNOTests in addition to the existing modules. The Agda invocation adds cubical compatibility, double-checking, and warning options. The gate self-test validates the expanded arguments and module list.
Receipt and proof-status records
verification/receipts/absolute-zero-proofs_praxis.deed, PROOF-STATUS.adoc, README.adoc, EXPLAINME.adoc
The receipt records Agda verification and PWG-3 grades for 18 rows; OND-6 remains open and ungraded. The status table and project notices reflect these records. The Z3 entry retains its tested-only status and lists five expected and observed verdicts.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Other

Possibly related issues

Possibly related PRs

Merge Risk: Minimal · up to c0ab0

This change extends the Agda checks to cover the two test modules and records a receipt that grades the 18 headline proof rows PWG-3. OND-6 remains open. The documentation and the check scripts are consistent with each other. A mismatch in the checks would surface as a CI failure, and the change is easy to revert, so no merge-blocking risk remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: a PWG-3 receipt for the active Agda development covering 18 rows. It also names the second change, checking the test modules in CI. The title is specific and matches t…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: a PWG-3 receipt for the active Agda development covering 18 rows. It also names the second change, checking the test modules in CI. The title is specific and matches the changeset and the PR objectives. It is long at 75 characters, but it stays on topic.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 8a3162a and c0ab035.

Files selected for processing: 7

  • .github/workflows/proofs.yml
  • EXPLAINME.adoc
  • PROOF-STATUS.adoc
  • README.adoc
  • proofs/tests/gate-selftest.sh
  • proofs/verify-active-provers.sh
  • verification/receipts/absolute-zero-proofs_praxis.deed

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 18, 2026 00:19
@hyperpolymath
hyperpolymath merged commit ced2f8d into main Nov 18, 2026
12 checks passed
@hyperpolymath
hyperpolymath deleted the proofs/pwg3-receipt branch November 18, 2026 00:33
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