Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit deb7011. Configure here.
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
#print axiomscommands with a repo-local memoized Lean axiom audit command.PrintAxioms.leangenerated and reproducible viascripts/generate_print_axioms.py.Lean.ofReduceBoolto the builtin Lean axiom allowlist; existing docs already treat it as a foundational Lean axiom.check_axioms.py --reportinput format while emitting one normalized line per theorem.Benchmarks
Measured with warmed Lake artifacts.
lake env lean PrintAxioms.leanlake build PrintAxiomslake env lean PrintAxioms.leanlake build PrintAxiomsThe new audit also reports all 2,782 generated public theorem checks as one-line records. The old parser only captured 1,197 old
#printrecords in my local comparison because Lean wrapped many axiom lists across lines.Validation
lake build PrintAxiomslake env lean PrintAxioms.lean+python3 scripts/check_axioms.py --reportpython3 scripts/generate_print_axioms.py --checkpython3 -m unittest scripts.test_check_axioms scripts.test_profile_ci_resources scripts.test_check_verify_syncpython3 -m unittest discover scriptsmake checkNote
Low Risk
Low risk: changes are confined to the Lean axiom-audit generator and its Python parsing/allowlist, primarily affecting CI verification output and performance rather than runtime behavior.
Overview
Speeds up the axiom-dependency audit by replacing generated per-theorem
#print axiomscommands with a repo-local, memoized Lean command (#verity_print_axioms) that caches axiom results across dependencies.Keeps
PrintAxioms.leanreproducible viascripts/generate_print_axioms.py, and updatesscripts/check_axioms.py --reportto parse the new one-theorem-per-line output while expanding the builtin allowlist to includeLean.ofReduceBool.Reviewed by Cursor Bugbot for commit 098db70. Bugbot is set up for automated code reviews on this repo. Configure here.