Explore the dependency graph of the proof → Look up any of the 4,576 declarations used by the five headline theorems and see what it uses and what uses it.
The mathematics and its Lean 4 formalization are a research artifact released by Anthropic (discovered and written by an internal research Claude model; no human mathematician has checked the proof). The repository is anthropics/formal-math/vp-vnp and the paper is paper.pdf. This page hosts independent build products and verification checks run on that source.
The .olean file of every one of the 323 modules in anthropics/formal-math/vp-vnp
(322 proof modules plus Challenge.lean), compiled from scratch in an isolated 200-core sandbox, together
with the Mathlib .oleans it was compiled against and lean4export proof-term exports.
Made possible by the support of Grant 63750, “Explaining Universal Truths”, from the John Templeton Foundation. Additional support from research funds of the Laboratory for Social Minds and from the Survival and Flourishing Fund.
Statement.lean; verifying that Statement.lean
faithfully formalizes Valiant’s conjecture requires reading that file directly. All checks below use Lean v4.33.1’s
own kernel; the lean4export files further down are provided so independent kernels
(such as nanoda or lean4lean) can check them directly.Five checks are run in an isolated systemd sandbox (200 cores, no network, read-only toolchain and Mathlib):
static source audit, from-scratch compilation, axiom and statement-identity verification, per-module kernel replay, and
full leanchecker --fresh replay.
Scanning all 324 .lean files (72,932 lines) before compilation found: 0 custom axioms,
0 environment-tampering or FFI/IO calls, 0 run_cmd/initialize/elab/implemented_by
declarations, and sorry only in the five intentional placeholder theorems of Challenge.lean
(which nothing imports).
The output of scripts/PrintAxioms.lean (and our independent Verify.lean closure walk)
for the five headline theorems in Solution.lean:
'Solution.mainTheorem' depends on axioms: [propext, Classical.choice, Quot.sound] 'Solution.mainTheoremApprox' depends on axioms: [propext, Classical.choice, Quot.sound] 'Solution.separation' depends on axioms: [propext, Classical.choice, Quot.sound] 'Solution.separationClosure' depends on axioms: [propext, Classical.choice, Quot.sound] 'Solution.permanent_over_real' depends on axioms: [propext, Classical.choice, Quot.sound]
Each of the five is verified at the Expr level to be a theorem defined in Solution
whose universe parameters and type match the corresponding sorry’d theorem in Challenge.olean identically
(CompareChallenge.lean: 5/5 CHALLENGE_MATCH_OK). Walking the transitive dependency closure of all
13 definitions in Statement.lean confirms that every transitive dependency comes solely from
Statement or Mathlib/core, with zero leakage from Nc, NS1, Ov,
Paper, or Solution. Walking the full closure of the five headline theorems (58,121–62,426
constants across 299–320 project modules) confirms only the three standard axioms and zero sorryAx.
Every constant of every proof module (all 322 non-Challenge modules, 13,629 constants) is replayed
through the Lean v4.33.1 kernel on top of its imports, one module per process (Replay.lean, mirroring
leanchecker’s replayFromImports). In addition, full end-to-end
leanchecker --fresh Solution and leanchecker --fresh Paper runs are tracked live below.
All 322 proof modules (13,629 constants) passed per-module Lean 4.33.1 kernel replay in 30.1s with 0 failures. Live status for leanchecker --fresh and lean4export refreshes automatically from the verification machine.
Extract every archive into the same directory; they unpack under vp-vnp-oleans/ (with
dependencies identical to the RH build under alp-oleans/deps/). Downloads support range requests. The plain-text
README travels with the files.
| Archive | Contains | Size | SHA-256 |
|---|---|---|---|
| vp-vnp-oleans-Nc.tar.gz | Nc (236 modules) | 53 MiB | e7d1203115c35cce06e5220450ef59e86bb02089762de1ea7c43628be42b81d1 |
| vp-vnp-oleans-Paper.tar.gz | Paper (43 modules) | 30 MiB | 7b4864ed65c1ece8e3d7ca4f26dfe23824af834af0bb368a5bc11090d4adac03 |
| vp-vnp-oleans-NS1.tar.gz | NS1 (29 modules) | 8.3 MiB | e813065a2f6332d55e430c554bb3d3bb2e489dd0b28e2468f303298e4d82a44e |
| vp-vnp-oleans-Ov.tar.gz | Ov (11 modules) | 1.3 MiB | d59f421b004575649f2ff53a10fa0b7715195976a25ea578238d88645f8db0fb |
| vp-vnp-oleans-Top.tar.gz | Statement, Solution, Paper, Challenge | 70 KiB | 2a2a0e52045b93cd51278b13de6a30fe61e6a5215953f220ab912bda6430cf1d |
| vp-vnp-oleans-deps-mathlib-etc.tar.gz | Mathlib and the other dependencies (identical to RH v4.33.1) | 1.83 GiB | 42b22a8360d23db1e6b48d3b80b06895669ffd8e5c2c213872d66cd5412e0422 |
Checksums: SHA256SUMS covers all archives
and export files, and SHA256SUMS-project-oleans.txt.gz
(15 KiB) gives the SHA-256 of each of the 323 project .olean files, for comparing against a build of your own.
base=https://photos.proofsandreasons.io/vp-vnp-oleans
curl -O $base/SHA256SUMS
for f in $(awk '/tar.gz/ {print $2}' SHA256SUMS); do curl -C - -O $base/$f; done
sha256sum -c --ignore-missing SHA256SUMS
for f in vp-vnp-oleans-*.tar.gz; do tar -xzf $f; done
For independent checkers that read an export rather than .olean files. Generated with
lean4export (tag v4.33.0, built with the v4.33.1
toolchain) in NDJSON export format 3.1.0 with default options (no unsafe declarations, no mdata).
This table populates automatically as soon as the post-verification publisher uploads the exports.
| File | Contains | Size | SHA-256 |
|---|---|---|---|
vp-vnp-export-solution-theorems.ndjson.gz |
The five theorems of Solution.lean and everything they depend on (Mathlib and project). |
pending | will populate automatically once leanchecker & export finish |
vp-vnp-export-statements.ndjson.gz |
The 13 definitions of Statement.lean and everything they depend on (Mathlib and core only). |
pending | will populate automatically once leanchecker & export finish |
The export commands are lean4export Solution -- Solution.mainTheorem Solution.mainTheoremApprox
Solution.separation Solution.separationClosure Solution.permanent_over_real and
lean4export Statement -- Statement.Computes Statement.perm Statement.hc Statement.Beyond Statement.MainTheorem
Statement.Approximates Statement.MainTheoremApprox Statement.Family Statement.VP Statement.VPBar Statement.VNP
Statement.Separation Statement.SeparationClosure.
Source. anthropics/formal-math/vp-vnp
at commit 11b6c7e3c927df2658f513b6b68ea7f8929c62c5 (tree SHA b076b4b081298c4e909bac3f87f0e4462d1fb2cb),
with the toolchain and dependencies pinned by its own lean-toolchain and lake-manifest.json.
Direct parallel compilation (200 cores). Following the same sandboxed workflow used for our
Riemann Hypothesis verification, each of the 323 modules was compiled directly by the pinned
lean v4.33.1 binary in topological dependency order inside a network-isolated systemd sandbox
(AllowedCPUs=0-199, read-only toolchain and Mathlib):
lean --tstack=400000 <Module/Path>.lean -o lib/<Module/Path>.olean --setup <json>
with the exact setup options from lakefile.toml:
{"name": "<Module.Name>", "package": "vp-vnp", "isModule": false,
"options": {"autoImplicit": false},
"importArts": {}, "dynlibs": [], "plugins": []}
Dependencies were not rebuilt. Notice that vp-vnp pins the exact same Lean toolchain
(v4.33.1) and all nine Lake packages (including Mathlib 0df444a3) as the alpo.ge RH development.
The dependency .oleans are the official Mathlib build cache downloads, mounted read-only during compilation.
Result. All 323 modules compiled cleanly in 180.0 seconds wall time with 0 errors and 0 retries.
sorry warnings were emitted solely for the five intentional placeholders in Challenge.lean.
| Lean | leanprover/lean4:v4.33.1, commit 819816b2e0a3bf405af45ae5c7af2491d8f5bee6 (official release binary) |
| mathlib | 0df444a360eaa60ab8c11dca51a86af692955474 (tag v4.33.1) |
| batteries | 4488d40d070b9700d4d5a6aa342f0d40c31b2a2d |
| aesop | 3448c0bcc5ce01b2d1546e483ec3620e32df3d0e |
| 92c15be17b7caf78c2ad767ec40f89052d908d81 | |
| proofwidgets | 4be2e3d5087eeb272cf5a8853b8f9dd025ef5957 |
| importGraph | 16f02aa7642864af59f1ff0e384a015994db9118 |
| plausible | b7eb3304aeae834b12dda98993a37f6a41f6f0bb |
| LeanSearchClient | 5f4d51b81cbd3f6b32b156bfad9056621a040404 |
Solution.lean proves five headline theorems against the definitions in Statement.lean
(which imports only Mathlib): Solution.mainTheorem (superpolynomial lower bounds for hc over
every field and for perm outside characteristic 2), Solution.mainTheoremApprox (the same for
approximating circuits), Solution.separation (VP F ⊂ VNP F over every field),
Solution.separationClosure (¬ VNP F ⊆ VPBar F over every field), and
Solution.permanent_over_real (the real permanent special case).