|
Download README.md from MathCorpus/builds: direct link, hf CLI and curl.
- Browser
- Download file 2.59 kB
-
https://huggingface.co/datasets/MathCorpus/builds/resolve/main/README.md
- Command line
-
hf download hf://datasets/MathCorpus/builds/README.md
-
curl -L -o README.md https://huggingface.co/datasets/MathCorpus/builds/resolve/main/README.md
2.59 kB
metadata
license: apache-2.0
pretty_name: Lean builds
tags:
- lean4
- mathlib
- formal-mathematics
Lean builds
Compiled builds of Lean 4 projects, each recorded with who built it and where it came from, with data read from the compiled environment (dependencies, axioms, source ranges).
Layout
builds/<origin>/<builder>/<owner__repo[__subfolder]>/<commit>/: one build.build.jsonis the record (repository, commit, toolchain, license, builder, source);manifest.jsonllists every compiled file (path, SHA-256, size);derived/holds data computed from exactly these files; each folder has its own README and the project's license files.blobs/shards/<ab>/<id>.parquet: the files, stored once by content, packed into Parquet files of about 1 GB (columnssha256,size,data; sorted bysha256).datais the file's own bytes and Parquet compresses it (zstd, 1 MB pages, so similar files compress together). Files a publisher released already compressed, with their own hashes, are kept byte for byte in shards without Parquet compression.blobs/index/<ab>/<id>.parquet: thesha256andsizeof every file in shard<id>. Downloadblobs/index/to find which shard holds a file; each shard and its index are written once and never changed.
To get a build back: read its manifest.jsonl, find each SHA-256 in blobs/index/, read those rows from the
shards (filter on sha256), and check each file's SHA-256. mathcorpus restore-build BUILD_ID DEST
(builds.py) does this.
Who built what
origin: mathcorpus-foundation: compiled from source by MathCorpus. Lean's kernel checked every proof in our build.origin: external: someone else's published build, copied unchanged, with a link to where it came from. It shows that a build exists. We did not check it, so it does not count as verified.
Only projects whose license allows redistribution have their files here; for others, only the manifest.
| Build | Project |
|---|---|
builds/mathcorpus-foundation/modal/lsernau__grh-lean__grh-compact/72fead10… |
https://github.com/lsernau/grh-lean grh-compact/, Apache-2.0 |
builds/external/github-ci:leanprover-community__riemann-hypothesis/leanprover-community__riemann-hypothesis/756a7025… |
https://github.com/leanprover-community/riemann-hypothesis, Apache-2.0; the project's own CI build, downloaded unchanged (https://rh-cache.taucetiproject.org/ci/revisions/756a70250dcba9162b99d4ea35c186558434c17e.json): not checked by us |