Skip to content

Gate proof leaves with Lean theorem signatures - #224

Merged
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/lean-signature-gate-0721
Jul 21, 2026
Merged

Gate proof leaves with Lean theorem signatures#224
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/lean-signature-gate-0721

Conversation

@FluffyAIcode

Copy link
Copy Markdown
Owner

Summary

  • require a single safe Lean theorem signature for every proposed minimum leaf
  • typecheck signatures against pinned Lean 4.32.0-rc1 and mathlib before ledger persistence
  • record FORMALIZED status and signature hash while reserving PROVED for no-sorry/no-axiom proofs
  • install and build the pinned Lean gate in CI

Test plan

  • 51 Python/Lean gate tests passed
  • 8582-job Lean/mathlib build passed
  • invalid identifiers, executable commands, axioms, and duplicate signatures are rejected

The uncommitted candidate.py file is active runtime state and is excluded.

Made with Cursor

Require every proposed minimum leaf to typecheck as a safe, explicit Lean/mathlib theorem signature before it can enter the proof ledger.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 21, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@FluffyAIcode
FluffyAIcode merged commit 9ffe01d into main Jul 21, 2026
7 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.

1 participant