Skip to content

Show Lean's own dependencies and axiom reports for the three PCP papers - #17

Merged
wcook04 merged 2 commits into
mainfrom
claude/pcp-lean-extraction-20261116
Nov 16, 2026
Merged

wcook04 merged 2 commits into
mainfrom
claude/pcp-lean-extraction-20261116

Conversation

@wcook04

@wcook04 wcook04 commented Nov 16, 2026

Copy link
Copy Markdown
Owner

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.

Paper Declarations on the page With dependencies Results whose theorem has a graph
Exposition 138 (was 52) 107 (was 21) 14 of 15 (was 1)
Full argument 274 (was 83) 212 (was 21) 23 of 26 (was 1)
Specialist 91 (was 42) 71 (was 21) 12 of 12 (was 1)

How the data was made

  • Run 43790700983 fetched Mathlib's compiled files, compiled the 71 PCP modules at the project's toolchain (Lean 4.35.0-rc2, "Build completed successfully (4041 jobs)") and ran tools/extract_built.py for each paper. The tool uses a module only when the compiled source is byte-identical to the paper's copy.
  • Lean reports no axioms beyond propext, Classical.choice and Quot.sound.
  • papers/pcp-full-argument/source-review.md records 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 check for all five papers, paper.py build, npm run test:source, the site build, and tests/journey.py (443 checks) all pass.

🤖 Generated with Claude Code

wcook04 and others added 2 commits November 16, 2026 02:11
…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>
@wcook04
wcook04 merged commit b4a1254 into main Nov 16, 2026
1 check 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