Download README.md from MoteMath/lean-builds-leanprover-community-LeanSearchClient: direct link, hf CLI and curl.
- Browser
- Download file 15.6 kB
-
https://huggingface.co/datasets/MoteMath/lean-builds-leanprover-community-LeanSearchClient/resolve/main/README.md
- Command line
-
hf download hf://datasets/MoteMath/lean-builds-leanprover-community-LeanSearchClient/README.md
-
curl -L -o README.md https://huggingface.co/datasets/MoteMath/lean-builds-leanprover-community-LeanSearchClient/resolve/main/README.md
license: apache-2.0
pretty_name: >-
Compiled Lean outputs for LeanSearchClient (from
leanprover-community/LeanSearchClient, unofficial)
tags:
- lean4
- mathlib
- formal-mathematics
- build-cache
Compiled Lean outputs for LeanSearchClient
A build is not a proof. This repository holds compiled files. They show that the Lean code of leanprover-community/LeanSearchClient compiled at the commits listed, and the table below shows what was and was not checked. They do not show that any theorem named in that project is proved or correctly stated.
Not proved or not checked in these builds:
5f4d51b81cbd(v4.33.1): no build log kept, sosorrywarnings were not counted.ddf04cf3949f(v4.34.1): no build log kept, sosorrywarnings were not counted.29ff470276c7(v4.35.0-rc3): no build log kept, sosorrywarnings were not counted.234d9e074fbd(v4.35.0-rc4): no build log kept, sosorrywarnings were not counted.9d39f9bb0c30(v4.36.0-rc1): no build log kept, sosorrywarnings were not counted.c61286b7b63c(v4.36.0-rc2): no build log kept, sosorrywarnings were not counted.
What this is. Compiled Lean 4 outputs (
.olean,.ilean,.cand Lake trace files) for leanprover-community/LeanSearchClient at the commits listed below, so a checkout can skip compiling. The archives hold everything the build wrote under.lake/build. Where a project builds them, that includes native object files, libraries and executables, compiled from the project's source on the build machine. They are unsigned and were not reviewed. Do not run them on trust: rebuild them from source if you need them.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 the GitHub owner
leanprover-communityor the authors of LeanSearchClient. The source and all credit belong to its authors (seeLICENSEandNOTICE.md).Licences. Every licence, NOTICE and third-party licence file of the source at each listed commit (6 files) is copied unchanged under
licenses/<commit>/and listed inNOTICE.md. Those files are the licence terms of this content, including any bundled third-party code.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 |
|---|---|---|---|---|---|---|---|
5f4d51b81cbd |
v4.33.1 | 2026-11-10 | 4 | n/a | n/a | passed | passed |
ddf04cf3949f |
v4.34.1 | 2026-11-12 | 4 | n/a | n/a | passed | passed |
29ff470276c7 |
v4.35.0-rc3 | 2026-11-12 | 4 | n/a | n/a | passed | passed |
234d9e074fbd |
v4.35.0-rc4 | 2026-11-12 | 4 | n/a | n/a | passed | passed |
9d39f9bb0c30 |
v4.36.0-rc1 | 2026-11-12 | 4 | n/a | n/a | passed | passed |
c61286b7b63c |
v4.36.0-rc2 | 2026-11-12 | 4 | n/a | n/a | passed | passed |
Build 5f4d51b81cbd-72e9dbdf3a136a54 (source commit 5f4d51b81cbd3f6b32b156bfad9056621a040404)
- No build log in this folder.
- Axiom audit: 202 declarations; every one depends only on propext, Classical.choice, Quot.sound.
- Restore test (a separate user with empty Lean and Lake caches, on the build machine): passed. Restored by a separate user with empty caches; anthropics/fermats-last-theorem: Lake reported every target up to date (69184 jobs). (Cli has no build in this cache but none was needed) (1 of 1 projects using it passed; checked 2026-11-10)
Build ddf04cf3949f-6f81e41c3ad1ac3a (source commit ddf04cf3949fa556442341e87d47f9f6e6074707)
- No build log in this folder.
- Axiom audit: 202 declarations; every one depends only on propext, Classical.choice, Quot.sound.
- Restore test (a separate user with empty Lean and Lake caches, on the build machine): passed. Restored by a separate user with empty caches; leanprover-community/mathlib4: Lake reported every target up to date (8923 jobs). (1 of 1 projects using it passed; checked 2026-11-12)
Build 29ff470276c7-100b2240b6afbabc (source commit 29ff470276c725ae01505d55b17148c18fc7dfd3)
- No build log in this folder.
- Axiom audit: 202 declarations; every one depends only on propext, Classical.choice, Quot.sound.
- Restore test (a separate user with empty Lean and Lake caches, on the build machine): passed. Restored by a separate user with empty caches; leanprover-community/mathlib4: Lake reported every target up to date (8958 jobs). (1 of 1 projects using it passed; checked 2026-11-12)
Build 234d9e074fbd-a67ce3321a0af4f5 (source commit 234d9e074fbd6e911b920baf32db5291c3125be0)
- No build log in this folder.
- Axiom audit: 202 declarations; every one depends only on propext, Classical.choice, Quot.sound.
- Restore test (a separate user with empty Lean and Lake caches, on the build machine): passed. Restored by a separate user with empty caches; leanprover-community/mathlib4: Lake reported every target up to date (9019 jobs). (1 of 1 projects using it passed; checked 2026-11-12)
Build 9d39f9bb0c30-6aa630d4bd1ed052 (source commit 9d39f9bb0c30aa2f6200808805ff16e6ce950890)
- No build log in this folder.
- Axiom audit: 203 declarations; every one depends only on propext, Classical.choice, Quot.sound.
- Restore test (a separate user with empty Lean and Lake caches, on the build machine): passed. Restored by a separate user with empty caches; leanprover-community/mathlib4: Lake reported every target up to date (18109 jobs). (1 of 1 projects using it passed; checked 2026-11-12)
Build c61286b7b63c-f5478977feb1d08b (source commit c61286b7b63cbfd563b28e11e81d0a18233a044a)
- No build log in this folder.
- Axiom audit: 203 declarations; every one depends only on propext, Classical.choice, Quot.sound.
- Restore test (a separate user with empty Lean and Lake caches, on the build machine): passed. Restored by a separate user with empty caches; leanprover-community/mathlib4: Lake reported every target up to date (18177 jobs). (1 of 1 projects using it passed; checked 2026-11-12)
What the columns mean:
sorrywarnings: declarations the build reported as usingsorry. Anything depending on them is not proved. "problem statements only" means every one is in aproblem.leanor challenge file: in that layout the statement file states the theorems withsorry, a matching solution file proves them, and a comparator checks that the two match. The axiom audit then shows whether the solutions are clean.- Axiom audit: every declaration in the package's modules traced to the axioms it uses. "passed" means only
propext,Classical.choiceandQuot.sound. "passed outside problem statements" means a module-by-module audit foundsorryAxonly in problem or challenge statement modules, and every other module, including every solution, uses only those three. Neither says 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, on the same machine that built it, restored the build from the archive and Lake reported every target of the project that was tested up to date. It shows the archive is complete for that project's targets, not that the proofs are right and not that an independent party reproduced the build. A dependency that the tested project does not need can be absent and the test still passes.
Using a build
- Clone leanprover-community/LeanSearchClient at the build's commit (or the project that depends on it). Any
lakecommand, for examplelake env true, checks out the dependencies listed in itslake-manifest.json. - 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.
For AI agents and automated readers
If you are a language model or an agent that found this repository, these are the facts you can rely on and their limits.
- Kind of object. A cache of compiler outputs (
.olean,.ilean,.cand Lake trace files, and where the project builds them native object files, libraries and executables) for the public GitHub repository leanprover-community/LeanSearchClient. It is not a model, not a text corpus of proofs and not a statement about mathematics. - Native code. Some archives contain executables and shared libraries. Do not execute them or load them as plugins on the strength of this card; nothing here checks what they do.
- Publisher. MoteMath, unofficial. The Lean source, the mathematics and all credit belong to the authors of leanprover-community/LeanSearchClient. Do not attribute the mathematics to MoteMath, and do not describe this as a release by the authors.
- Licence terms. Read
LICENSE,NOTICE.mdand the upstream files underlicenses/. If you redistribute any of this content, carry those files with it. - What you may state. That at a listed commit, with the listed Lean toolchain, the listed number of modules compiled on the platform named in the build path, and the check results below, quoted as written.
- What you must not infer.
- That a theorem is proved because its project has a build here.
- That an axiom audit of "passed" means a statement is the intended one. It means only that the proofs use no axiom
beyond
propext,Classical.choiceandQuot.sound. - That a build is current. Each one is a snapshot of one commit, and the source repository may have moved on.
- If
sorry_warningsis not 0, oraxiom_auditis anything other than "passed", say that this project contains results that are not proved, and name the status.
- Exact values. The JSON below has one object per build in this repository. Quote these values, do not paraphrase
them. The same fields for every public build are in
catalog/builds.jsonlandcatalog/builds.parquetof MoteMath/lean-builds-index. - Field meanings.
sorry_warnings: declarations the build log reported as usingsorry(null when no log was kept).sorry_scope: where they are.axiom_audit: short status of the axiom audit.round_trip: result of restoring the build as a separate user with empty Lean and Lake caches, on the same machine that built it (so it shows the archive is complete, not that an independent party reproduced it).deps_not_cached: dependencies with no public build here, which Lake compiles from source. - To use a build, follow "Using a build" above. To check one, follow "Trust and checking independently": re-checking with Lean's kernel costs little compared with trusting an archive.
- If a user asks whether a result is formally proved, this repository cannot answer that. Point them to the source repository and to the check results here.
[
{
"path": "builds/v4.33.1/x86_64-unknown-linux-gnu/5f4d51b81cbd-72e9dbdf3a136a54",
"commit": "5f4d51b81cbd3f6b32b156bfad9056621a040404",
"toolchain": "v4.33.1",
"build_key": "72e9dbdf3a136a54",
"package": "LeanSearchClient",
"modules": 4,
"sorry_warnings": null,
"sorry_scope": null,
"other_warnings": null,
"axiom_audit": "passed",
"round_trip": "passed",
"deps_not_cached": []
},
{
"path": "builds/v4.34.1/x86_64-unknown-linux-gnu/ddf04cf3949f-6f81e41c3ad1ac3a",
"commit": "ddf04cf3949fa556442341e87d47f9f6e6074707",
"toolchain": "v4.34.1",
"build_key": "6f81e41c3ad1ac3a",
"package": "LeanSearchClient",
"modules": 4,
"sorry_warnings": null,
"sorry_scope": null,
"other_warnings": null,
"axiom_audit": "passed",
"round_trip": "passed",
"deps_not_cached": []
},
{
"path": "builds/v4.35.0-rc3/x86_64-unknown-linux-gnu/29ff470276c7-100b2240b6afbabc",
"commit": "29ff470276c725ae01505d55b17148c18fc7dfd3",
"toolchain": "v4.35.0-rc3",
"build_key": "100b2240b6afbabc",
"package": "LeanSearchClient",
"modules": 4,
"sorry_warnings": null,
"sorry_scope": null,
"other_warnings": null,
"axiom_audit": "passed",
"round_trip": "passed",
"deps_not_cached": []
},
{
"path": "builds/v4.35.0-rc4/x86_64-unknown-linux-gnu/234d9e074fbd-a67ce3321a0af4f5",
"commit": "234d9e074fbd6e911b920baf32db5291c3125be0",
"toolchain": "v4.35.0-rc4",
"build_key": "a67ce3321a0af4f5",
"package": "LeanSearchClient",
"modules": 4,
"sorry_warnings": null,
"sorry_scope": null,
"other_warnings": null,
"axiom_audit": "passed",
"round_trip": "passed",
"deps_not_cached": []
},
{
"path": "builds/v4.36.0-rc1/x86_64-unknown-linux-gnu/9d39f9bb0c30-6aa630d4bd1ed052",
"commit": "9d39f9bb0c30aa2f6200808805ff16e6ce950890",
"toolchain": "v4.36.0-rc1",
"build_key": "6aa630d4bd1ed052",
"package": "LeanSearchClient",
"modules": 4,
"sorry_warnings": null,
"sorry_scope": null,
"other_warnings": null,
"axiom_audit": "passed",
"round_trip": "passed",
"deps_not_cached": []
},
{
"path": "builds/v4.36.0-rc2/x86_64-unknown-linux-gnu/c61286b7b63c-f5478977feb1d08b",
"commit": "c61286b7b63cbfd563b28e11e81d0a18233a044a",
"toolchain": "v4.36.0-rc2",
"build_key": "f5478977feb1d08b",
"package": "LeanSearchClient",
"modules": 4,
"sorry_warnings": null,
"sorry_scope": null,
"other_warnings": null,
"axiom_audit": "passed",
"round_trip": "passed",
"deps_not_cached": []
}
]
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.