Skip to content

feat(proofs): print each gated module's digest and axiom report (WO 1.4) - #65

Merged
hyperpolymath merged 1 commit into
mainfrom
marina/eager-dijkstra-wlmapg
Nov 10, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
marina/eager-dijkstra-wlmapg

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

Work order 1.4. PWG-1 (PROOF-POLICY §8.2) needs each receipt to record a digest of the inputs and the axioms reported. The gate printed only PASS, so a green lane alone could not support PWG-1. With this change, each lane log is a full receipt.

Changes

scripts/check-proofs.sh prints, under each passing gated module:

  • the SHA-256 of the file;
  • its axiom report:
    • Agda: the import cone, and that its first-party modules have no postulate;
    • Rocq: the theorems that Print Assumptions finds closed under the global context;
    • Lean: the number of declared theorems that depend on no axiom.

Both axiom reports are transitive, so the audit of absent_under_all_features covers the Fixpoint/def helpers that it uses. The comment in the gate says so.

RSR Quality Checklist

Required

  • No banned language added

Testing

Run locally with the Guix builds of Agda 2.7.0.1, Rocq 8.18.0 and Lean 4.29.0:

  • Every gated module passes with a clean report.
  • The THY-1 digests equal those recorded in PROOF-STATUS.adoc: 4e39d6ae…, e2f90043…, 4158e54f….
  • The planted controls still fail the gate.

Generated by Claude Code

PWG-1 (PROOF-POLICY 8.2) needs each receipt to record a digest of the inputs
and the axioms reported. The gate printed only PASS, so a green lane alone
could not support PWG-1. Each passing gated module now prints its SHA-256
and its axiom report: for Agda the import cone and its first-party
postulates, for Rocq the theorems that Print Assumptions finds closed, for
Lean the count of declared theorems with no axiom.

Checked locally with the Guix builds of Agda 2.7.0.1, Rocq 8.18.0 and Lean
4.29.0: the THY-1 digests equal the ones in PROOF-STATUS.adoc
(4e39d6ae..., e2f90043..., 4158e54f...), and every report is clean. Both
axiom reports are transitive, so the audit of absent_under_all_features
covers the Fixpoint and def helpers it uses; the comment in the gate says so.

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

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • 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

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 10, 2026 20:31
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-10T20:31:45.826183Z
We couldn’t complete this review. Comment @codex review to try again.
299bd17 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@hyperpolymath
hyperpolymath merged commit 3367689 into main Nov 10, 2026
44 of 45 checks passed
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