Compiled oleans for Anthropic’s VP ≠ VNP Proof

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.

These are build products of someone else’s code, which we have not mathematically reviewed. Lean checks the proofs given the definitions in 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.
Modules
323 (322 proof + Challenge)
Compiled
323, 0 errors (180s)
Download
6 archives, 1.92 GiB
Unpacked
272 MiB + 6 GiB deps
Lean
v4.33.1
Mathlib
tag v4.33.1
Built
2026-11-23, x86_64 Linux

Checks run on this build

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.

Static source audit

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).

Axioms & statement identity

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.

Kernel replay & leanchecker

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.

Module replay
finished, all passed
Passed
322 of 322
Constants replayed
13,629
Failed
0
leanchecker Solution
running
leanchecker Paper
pending
As of
2026-11-23 17:44 EST

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.

    Download

    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.

    ArchiveContainsSizeSHA-256
    vp-vnp-oleans-Nc.tar.gzNc (236 modules)53 MiBe7d1203115c35cce06e5220450ef59e86bb02089762de1ea7c43628be42b81d1
    vp-vnp-oleans-Paper.tar.gzPaper (43 modules)30 MiB7b4864ed65c1ece8e3d7ca4f26dfe23824af834af0bb368a5bc11090d4adac03
    vp-vnp-oleans-NS1.tar.gzNS1 (29 modules)8.3 MiBe813065a2f6332d55e430c554bb3d3bb2e489dd0b28e2468f303298e4d82a44e
    vp-vnp-oleans-Ov.tar.gzOv (11 modules)1.3 MiBd59f421b004575649f2ff53a10fa0b7715195976a25ea578238d88645f8db0fb
    vp-vnp-oleans-Top.tar.gzStatement, Solution, Paper, Challenge70 KiB2a2a0e52045b93cd51278b13de6a30fe61e6a5215953f220ab912bda6430cf1d
    vp-vnp-oleans-deps-mathlib-etc.tar.gzMathlib and the other dependencies (identical to RH v4.33.1)1.83 GiB42b22a8360d23db1e6b48d3b80b06895669ffd8e5c2c213872d66cd5412e0422

    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

    Export files

    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.

    FileContainsSizeSHA-256
    The five theorems of Solution.lean and everything they depend on (Mathlib and project). pendingwill populate automatically once leanchecker & export finish
    The 13 definitions of Statement.lean and everything they depend on (Mathlib and core only). pendingwill 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.

    How they were built

    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.

    Toolchain and dependencies

    Leanleanprover/lean4:v4.33.1, commit 819816b2e0a3bf405af45ae5c7af2491d8f5bee6 (official release binary)
    mathlib0df444a360eaa60ab8c11dca51a86af692955474 (tag v4.33.1)
    batteries4488d40d070b9700d4d5a6aa342f0d40c31b2a2d
    aesop3448c0bcc5ce01b2d1546e483ec3620e32df3d0e
    Qq92c15be17b7caf78c2ad767ec40f89052d908d81
    proofwidgets4be2e3d5087eeb272cf5a8853b8f9dd025ef5957
    importGraph16f02aa7642864af59f1ff0e384a015994db9118
    plausibleb7eb3304aeae834b12dda98993a37f6a41f6f0bb
    LeanSearchClient5f4d51b81cbd3f6b32b156bfad9056621a040404

    What to check

    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).