Repository navigation
Show Lean's own dependencies and axiom reports for the three PCP papers - #17
Merged
Merged
Conversation
…pendencies The local build guard caps a build at 25 minutes; these 71 modules need hours. This runs only on its own branch and uploads the generated reports for review. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Lean 4.35.0-rc2 compiled the 71 PCP modules these papers use in a GitHub Actions run (43790700983), and tools/extract_built.py read each declaration's statement, dependencies and axioms from the compiled files. Every declaration on the three pages now has Lean provenance, the headline theorem's proof included, so a result's graph shows what it uses instead of one card. Lean reports only propext, Classical.choice and Quot.sound. The real dependencies bring 213 more declarations onto the pages; each has a plain title written from its Lean, made with AI and not reviewed by the authors. Scope notes, the source review, the README and the journey test say what was run. The workflow stays, to be run by hand. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
What a reader sees
On the three PCP explanations (full argument, specialist paper, exposition), each result's graph now shows what its Lean statement and proof use, and each declaration carries Lean's axiom report. Before this, most of those declarations had been read from the source text, so the graph drew a single card for them.
How the data was made
tools/extract_built.pyfor each paper. The tool uses a module only when the compiled source is byte-identical to the paper's copy.propext,Classical.choiceandQuot.sound.papers/pcp-full-argument/source-review.mdrecords the run, commit and report hashes.Written with AI, not reviewed by the authors
213 newly reachable declarations each got a short plain title, written from the Lean statement and its comment. Comparisons of statements with their Lean remain held. This says Lean compiled these modules and what it reported; it is not a review of the mathematics.
Checks run on this branch
Unit tests (122),
paper.py checkfor all five papers,paper.py build,npm run test:source, the site build, andtests/journey.py(443 checks) all pass.🤖 Generated with Claude Code