The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
Susz exports of Lean 4 environments
Ready-to-check Lean 4 environments in Susz, a compact binary export format. With these files you can run a Lean kernel on a large development without first building it and its dependencies.
Files
| File | Environment | Declarations | Size | sha256 |
|---|---|---|---|---|
susz-0.1/init.susz |
Init of Lean core, Lean v4.34.1 |
58 170 | 36 MB | b775c241147ff359c4b50aceef2f47282dad9123ecb9f39e28b3c4db21d638d4 |
susz-0.1/cedar.susz |
cedar-spec 017c35c3, root Cedar, Lean v4.34.1 |
143 203 | 93 MB | 9c042d96506b9d51a51f8318e2ff98d8c22579a066df82e5324fbba8945ad51b |
susz-0.1/cslib.susz |
cslib 990e65a6, root Cslib, Lean v4.34.0 |
383 976 | 259 MB | 0effe6512b2754b1188c315213049cf4b3a021cdcbe7ec261aa856c62e9bdbe0 |
susz-0.1/mathlib.susz |
mathlib4 v4.34.1 (d13f23b7), root Mathlib, Lean v4.34.1 |
702 040 | 623 MB | 1800f0befe8ac30f0c3e873e8b95bf51db261936d5d3efe8df0e77804c3edc3e |
susz-0.1/flt.susz |
anthropics/fermats-last-theorem 6e837e75, root FinalCheck, Lean v4.33.1 |
1 710 994 | 4.28 GB | e8fc0abc991bd4353101015279091e0a0cb1ec79cd843364e0bfa61f59a87ebb |
susz-0.1/cfsg.susz |
AxiomMath/CFSG 69cb972f, root Comparator.Solution, Lean v4.35.0-rc3 |
42 376 449 | 34.7 GB | 8fef060bbb6e62fcfbf8535eff9f5671f9ed8537b09f057ae1a1c5af8ab7679a |
susz-0.1/cfsg-5437cdc.susz |
AxiomMath/CFSG 5437cdc3, root Comparator.Solution, Lean v4.35.0-rc3 |
39 656 013 | 35.6 GB | 1eb57e3a859fcc04d1d028bce75d3e2944eb652ac5c51acd076e507f75710972 |
susz-0.1/rh-alpoge-5ea74b91.susz |
the Lean proof of RH/GRH announced at alpo.ge: the solution export solution.ndjson from math.mit.edu/~drew/grh |
1 468 418 | 5.83 GB | a5b17c25c97daf1ab1ed69addc1a0be09f1ccdd122e718c3a7670d9044d7aceb |
init, cedar, cslib and mathlib are the same environments as the tests of those names on the Lean Kernel Arena. init.susz is a quick first check: it takes about a second. flt.susz is the whole environment of FinalCheck: the complete proof of Fermat's Last Theorem together with Mathlib, its dependencies and Lean core, including the Lean.* modules one FLT module imports. cfsg.susz is the environment of Comparator.Solution, the module the Classification of Finite Simple Groups is proved in, with Mathlib, TauCeti and Lean core: 2.09 billion expressions and 81.7 million names. cfsg.susz is the initial commit 69cb972f; cfsg-5437cdc.susz is the authors' later commit 5437cdc3 ("Improve code quality and reduce memory usage"), which rewrote some of the heaviest certificate proofs and has about 2.7 million fewer declarations. Both use the same three axioms (propext, Classical.choice, Quot.sound). rh-alpoge-5ea74b91.susz is the environment of the Riemann Hypothesis proof (with GRH statements) announced at alpo.ge; it was not exported by us but packed from the published export, as described below.
Check it yourself
With Gruszka, a Lean 4 kernel that reads Susz:
cargo install gruszka
hf download jasisz/susz susz-0.1/mathlib.susz --repo-type dataset --local-dir .
gruszka susz-0.1/mathlib.susz 8
The last argument is the number of worker threads. On an M2 Pro, a PGO build of Gruszka checks Mathlib in 8.4 s with 8 workers and a peak under 3 GB of RAM, and flt.susz in 3 min 55 s with 4 workers and a peak of 11–12 GB. A plain cargo install build is somewhat slower.
How it was made
- The
.oleanfiles of FLT and its dependencies were taken from the prebuilt Lean 4.33.1 builds published by MoteMath on Hugging Face, with every shard checked against its manifest's SHA-256. Lean core came from the official v4.33.1 release. - The environment rooted at
FinalCheckwas exported to ndjson with olean-export 0.6.0 (lean4export format 3.1.0). - The ndjson was packed with
susz pack(0.1.1 for FLT, 0.1.2 for the others; both write the same format).
The Arena environments were exported with lean4export 3.1.0, as the Arena does.
CFSG was made the same way from MoteMath's prebuilt CFSG and TauCeti builds and Mathlib's own cache at the pinned commit b63f6e8a (one module the cache lacked was rebuilt). Its certificates hold very large Nat literals, so both the exporter and the packer were built with a subquadratic decimal conversion (malachite) instead of their schoolbook one; the output format is unchanged. cfsg-5437cdc.susz was made from Axiom's public Lake artifact cache (their lake-cache-get-fast.sh, Linux x86_64), with the modules its module list lacked restored by lake build Comparator.Solution from the same cache; nothing was compiled. It was exported with the same olean-export and packed with susz pack 0.1.4.
rh-alpoge-5ea74b91.susz was packed, unchanged, from the export published at math.mit.edu/~drew/grh: solution.ndjson.zst (sha256 61a8938ad5f5e57397c1c0e3b954916af546d9004ade01c3555744a681b05381), which decompresses to solution.ndjson (61.6 GB, sha256 5ea74b912147c5c93cc2b6d70cc727cf908df2f62ac6a20480a3fa02f6be244e). We did not build or export the proof ourselves; the file name keeps the first digits of the ndjson's sha256. It was packed with susz pack 0.1.4.
To check that this file holds exactly the declarations of MIT's export, without the ndjson touching the disk (about 18 minutes and 11 GB on a laptop, mostly the download):
cargo install susz
curl -sSfL https://math.mit.edu/~drew/grh/solution.ndjson.zst | zstd -q -d --long=30 | susz digest - susz-0.1/rh-alpoge-5ea74b91.susz
It prints same: 2a6b512fd1647ff99609f0b0b0440e7617e35213cd11981da373781eee49b0b7 and 1468418 declarations: 3 axiom, 214241 def, 1246110 thm, 91 opaque, 4 quot, 7969 inductive. susz digest (susz 0.2.0) hashes every declaration by structure with SHA-256 and reads the ndjson with its own parser, separate from the packer's.
Licence
The Lean sources behind these exports (the FLT and CFSG repositories, Mathlib and its dependencies, TauCeti, cedar-spec, cslib and Lean core) are licensed under Apache 2.0, and so are these exports. The RH export is repackaged from its authors' publication and stays under their terms. All credit for the mathematics and the formal proofs goes to their authors.
- Downloads last month
- 325