Download README.md from MoteMath/lean-builds-AxiomMath-PrimeNumberTheoremAnd: direct link, hf CLI and curl.
- Browser
- Download file 5.66 kB
-
https://huggingface.co/datasets/MoteMath/lean-builds-AxiomMath-PrimeNumberTheoremAnd/resolve/8a131aeeff07142ffd2fbcee10ef6dcd217efb33/README.md
- Command line
-
hf download hf://datasets/MoteMath/lean-builds-AxiomMath-PrimeNumberTheoremAnd@8a131aeeff07142ffd2fbcee10ef6dcd217efb33/README.md
-
curl -L -o README.md https://huggingface.co/datasets/MoteMath/lean-builds-AxiomMath-PrimeNumberTheoremAnd/resolve/8a131aeeff07142ffd2fbcee10ef6dcd217efb33/README.md
license: apache-2.0
pretty_name: >-
Compiled Lean outputs for PrimeNumberTheoremAnd (from
AxiomMath/PrimeNumberTheoremAnd, unofficial)
tags:
- lean4
- mathlib
- formal-mathematics
- build-cache
Compiled Lean outputs for PrimeNumberTheoremAnd
What this is. Compiled Lean 4 outputs (
.olean,.ilean,.cand Lake trace files) for AxiomMath/PrimeNumberTheoremAnd at the commits listed below, so a checkout can skip compiling.What this is not.
- Not a check of the mathematics. These files show that the code compiled. They do not show that the Lean statements faithfully formalize the results they are named after, and nobody here reviewed them as mathematics.
- Not an official release. Built and published by MoteMath; not affiliated with or endorsed by AxiomMath or the authors of PrimeNumberTheoremAnd. The source and all credit belong to its authors (see
LICENSEandNOTICE.md).How it was made. By an automated, AI-assisted build pipeline on cloud machines, from the public source at each listed commit. The build log and every report are in each build folder under
reports/.
Builds and what was checked
Every value below is read from the build folder's own reports; "not run" and "not recorded" mean exactly that.
| commit | Lean | packed | modules | sorry warnings |
other warnings | axiom audit | round trip |
|---|---|---|---|---|---|---|---|
c19697c736ba |
v4.34.0-rc2 | 2026-11-08 | 134 | 0 | 0 | passed | passed |
2667e414c38e |
v4.33.0-rc1 | 2026-11-08 | 134 | 0 | 0 | passed | passed |
d71f7b41560c |
v4.35.0-rc2 | 2026-11-08 | 134 | 0 | 0 | passed | passed |
Build c19697c736ba-d64e2d571e6e5c7b (source commit c19697c736ba5f2817528328604b3d4a1682b589)
- No
sorrywarnings in the build log. - Axiom audit: 7593 declarations; every one depends only on propext, Classical.choice, Quot.sound.
- Round trip on a clean machine: passed. Restored on a clean machine; AxiomMath/ZetaZerosV2: Lake reported every target up to date (4027 jobs). (1 of 1 projects using it passed; checked 2026-11-09)
Build 2667e414c38e-76c3139a15e46e8e (source commit 2667e414c38e5a5dc9aa1946f16f13001e5cd3ed)
- No
sorrywarnings in the build log. - Axiom audit: 7594 declarations; every one depends only on propext, Classical.choice, Quot.sound.
- Round trip on a clean machine: passed. Restored on a clean machine; AxiomMath/BGP212: Lake reported every target up to date (4433 jobs). (2 of 2 projects using it passed; checked 2026-11-09)
Build d71f7b41560c-fe5427ceac98a1dc (source commit d71f7b41560c1487cc6b9fbbe6914b55fd8aac13)
- No
sorrywarnings in the build log. - Axiom audit: 7600 declarations; every one depends only on propext, Classical.choice, Quot.sound.
- Round trip on a clean machine: passed. Restored on a clean machine; AxiomMath/PrimeNumberTheoremAnd: Lake reported every target up to date (4221 jobs). (2 of 2 projects using it passed; checked 2026-11-09)
What the columns mean:
sorrywarnings: declarations the build reported as usingsorry. Anything depending on them is not proved.- Axiom audit: every declaration in the package's modules traced to the axioms it uses. "passed" means only
propext,Classical.choiceandQuot.sound. It does not say a statement is the intended one: a theorem that takes a hard fact as a hypothesis passes. - Round trip: a separate user with empty Lean and Lake caches restored the build from the archive and Lake reported every target up to date. It shows the archive is complete, not that the proofs are right.
Using a build
- Clone AxiomMath/PrimeNumberTheoremAnd at the build's commit and run
lake exe cache get, which fetches Mathlib from Mathlib's own cache and checks out the dependencies. - Get
lbc.pyfrom MoteMath/lean-builds-index (tools/lbc.py, about 700 lines of Python; read it before running it). It needs Python 3.10+,zstdandhuggingface_hub. - Fetch as little as you need:
python3 lbc.py fetch . --module Some.Moduledownloads only the shards holding that module and its import closure. Repeat--modulefor several, and add--dry-runto see the size first.python3 lbc.py fetch .downloads every shard of every package with a published build.
- Run
lake build --no-build +Some.Module(orlake build --no-buildafter a full fetch). It must report everything up to date;--checkon the fetch does this for you.
Each build folder holds manifest.json (commit, toolchain, dependency closure, shard hashes), the exact
lake-manifest.json used, deterministic shards/*.tar.zst with a per-file SHA-256 index, and reports/.
Trust and checking independently
- The SHA-256 hashes show a download is intact and matches what was published here. They come from the same publisher as the files, so they are not evidence that the files are honest.
- Lean does not re-check
.oleanfiles when it loads them. A tampered file could contain a theorem with no valid proof. - To check independently, use either route:
- re-check the compiled environment with the kernel:
lake env lean4checker --fresh Some.Module(lean4checker replays every declaration through Lean's kernel); - or rebuild from the source commit and compare.
- re-check the compiled environment with the kernel:
- For anything you rely on, prefer one of these over trusting the archive.
Questions, corrections and removal
Open a discussion in this repository's Community tab. Authors who want a build corrected or removed can ask there, and it will be done.