|
Download README.md from MoteMath/lean-builds-google-deepmind-formal-conjectures: direct link, hf CLI and curl.
- Browser
- Download file 18.3 kB
-
https://huggingface.co/datasets/MoteMath/lean-builds-google-deepmind-formal-conjectures/resolve/main/README.md
- Command line
-
hf download hf://datasets/MoteMath/lean-builds-google-deepmind-formal-conjectures/README.md
-
curl -L -o README.md https://huggingface.co/datasets/MoteMath/lean-builds-google-deepmind-formal-conjectures/resolve/main/README.md
18.3 kB
| license: apache-2.0 | |
| pretty_name: "Compiled Lean outputs for formal-conjectures (from google-deepmind/formal-conjectures, unofficial)" | |
| tags: | |
| - lean4 | |
| - mathlib | |
| - formal-mathematics | |
| - build-cache | |
| # Compiled Lean outputs for formal-conjectures | |
| **A build is not a proof.** This repository holds compiled files. They show that the Lean code of | |
| [google-deepmind/formal-conjectures](https://github.com/google-deepmind/formal-conjectures) 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:** | |
| - `7862bf6a6976` (v4.27.0): axiom audit: flags sorry, native_decide (trusts the compiler), lcProof (compiled definitions only). | |
| - `a425ca3eb797` (v4.33.1): axiom audit: flags sorry, native_decide (trusts the compiler), lcProof (compiled definitions only), 194 other axiom(s). | |
| - `f564f8d7a6d2` (v4.27.0): axiom audit: flags sorry, native_decide (trusts the compiler), lcProof (compiled definitions only). | |
| > **What this is.** Compiled Lean 4 outputs (`.olean`, `.ilean`, `.c` and Lake trace files) for | |
| > [google-deepmind/formal-conjectures](https://github.com/google-deepmind/formal-conjectures) 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 `google-deepmind` or the authors of formal-conjectures. The source and all credit belong to its authors (see `LICENSE` and `NOTICE.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 in `NOTICE.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 | | |
| |---|---|---|---|---|---|---|---| | |
| | `7862bf6a6976` | v4.27.0 | 2026-11-12 | 776 | 0 | 2 | flags sorry, native_decide (trusts the compiler), lcProof (compiled definitions only) | passed | | |
| | `a425ca3eb797` | v4.33.1 | 2026-11-12 | 2127 | 0 | 0 | flags sorry, native_decide (trusts the compiler), lcProof (compiled definitions only), 194 other axiom(s) | passed | | |
| | `f564f8d7a6d2` | v4.27.0 | 2026-11-12 | 637 | 0 | 0 | flags sorry, native_decide (trusts the compiler), lcProof (compiled definitions only) | passed | | |
| **Build `7862bf6a6976-ab422a8a8a4eccb8`** (source commit `7862bf6a6976c26acb086b6b2cec12ad1d92ce5d`) | |
| - No `sorry` warnings in the build log. | |
| - Axiom audit: 7348 declarations; axioms beyond the standard three: Lean.ofReduceBool, Lean.trustCompiler, lcProof, sorryAx. | |
| - `native_decide` proofs rely on Lean's compiler being correct, not only on the kernel. | |
| - `lcProof` is an axiom Lean's code generator places in compiled code (for example `Repr` instances, `unsafe` or `implemented_by` helpers and floating-point routines). The audit classified every declaration that depends on a non-standard axiom by kind: 1 constructor, 28 definitions, 1 inductive, 1 recursor, 2322 theorems. No declaration of kind theorem depends on `lcProof`; auxiliary terms such as `X._proof_1` in the list below are generated inside the definition `X` they are named after. | |
| - Declarations that depend on them (first ones listed by the audit): `Erdos67.erdos_67` (sorryAx), `Erdos107.variants.hmpt_bound` (sorryAx), `OeisA231201.conjecture` (sorryAx), `LeinsterGroup.abelian_is_leinster_iff_cyclic_perfect` (sorryAx), `Erdos288.erdos_288.variants.exists_k_gt_2` (sorryAx), `UnionClosed.union_closed.variants.cardinality_even_of_union_closed_tight` (sorryAx), `Erdos1106.erdos_1106.parts.ii` (sorryAx), `Kourovka.«19.25».kourovka.«19.25»` (sorryAx), `OpenQuantumProblem35.oqp_35` (sorryAx), `PerfectNumbers.infinitely_many_perfect` (sorryAx), `Erdos633.isCuttable_iff_isSquare_of_linearIndependent` (sorryAx), `Erdos200.erdos_200.variants.upper` (sorryAx) ... | |
| - Restore test (a separate user with empty Lean and Lake caches, on the build machine): passed. Restored by a separate user with empty caches; google-deepmind/alphaproof-nexus-results: Lake reported every target up to date (8062 jobs). (1 of 1 projects using it passed; checked 2026-11-12) | |
| **Build `a425ca3eb797-f9a6bcdff7a272a5`** (source commit `a425ca3eb797fe927cb88c950565fdcbbbbada70`) | |
| - No `sorry` warnings in the build log. | |
| - Axiom audit: 22760 declarations; axioms beyond the standard three: _private.FormalConjectures.Arxiv.«2507.17780».«4».0.Arxiv.«2507.17780».tx_graffiti_conjecture_4._native.native_decide.ax_1_1, _private.FormalConjectures.Arxiv.«2507.17780».«4».0.Arxiv.«2507.17780».tx_graffiti_conjecture_4._native.native_decide.ax_1_2, _private.FormalConjectures.ErdosProblems.«1148».0.Erdos1148.erdos_1148.variants.lower_bound._native.decide.ax_1_1, _private.FormalConjectures.ErdosProblems.«313».0.Erdos313.erdos_313.variants.exists_at_least_eight_primary_pseudoperfect._native.native_decide.ax_1_10, _private.FormalConjectures.ErdosProblems.«313».0.Erdos313.erdos_313.variants.exists_at_least_eight_primary_pseudoperfect._native.native_decide.ax_1_11, _private.FormalConjectures.ErdosProblems.«313».0.Erdos313.erdos_313.variants.exists_at_least_eight_primary_pseudoperfect._native.native_decide.ax_1_12, _private.FormalConjectures.ErdosProblems.«313».0.Erdos313.erdos_313.variants.exists_at_least_eight_primary_pseudoperfect._native.native_decide.ax_1_4, _private.FormalConjectures.ErdosProblems.«313».0.Erdos313.erdos_313.variants.exists_at_least_eight_primary_pseudoperfect._native.native_decide.ax_1_5, ... (683 more). | |
| - `native_decide` proofs rely on Lean's compiler being correct, not only on the kernel. | |
| - `lcProof` is an axiom Lean's code generator places in compiled code (for example `Repr` instances, `unsafe` or `implemented_by` helpers and floating-point routines). The audit classified every declaration that depends on a non-standard axiom by kind: 689 axioms, 1 constructor, 261 definitions, 1 inductive, 1 recursor, 5201 theorems. No declaration of kind theorem depends on `lcProof`; auxiliary terms such as `X._proof_1` in the list below are generated inside the definition `X` they are named after. | |
| - Declarations that depend on them (first ones listed by the audit): `Erdos685.erdos_685.parts.i` (sorryAx), `Erdos133.erdos_133.variants.isTheta` (sorryAx), `OeisA130911.conjecture` (sorryAx), `ScholzConjecture.scholz_conjecture` (sorryAx), `Green5.green_5.variants.sl_two.answer` (sorryAx), `ReconstructionConjecture.reconstruction_conjecture` (sorryAx), `BergeFulkersonConjecture.berge_fulkerson_conjecture.variants.petersen` (sorryAx), `Green52.green_52_log` (sorryAx), `OeisA93818.conjecture` (sorryAx), `Erdos365.erdos_365.parts.ii` (sorryAx), `Erdos67.erdos_67` (sorryAx), `Erdos107.variants.hmpt_bound` (sorryAx) ... | |
| - Independent restore test on 2026-11-13: passed. On a machine that built nothing, a new user with no token and only public sources cloned this project at this commit from GitHub, ran `lake exe cache get`, downloaded `lbc.py` from the public index and ran `lbc.py fetch . --check`: 82.2 MB downloaded from these datasets, every hash verified, and Lake reported every target up to date. | |
| - Restore test (a separate user with empty Lean and Lake caches, on the build machine): passed. Restored by a separate user with empty caches; google-deepmind/formal-conjectures: Lake reported every target up to date (10835 jobs). (1 of 1 projects using it passed; checked 2026-11-12) | |
| **Build `f564f8d7a6d2-c6446b0adf253630`** (source commit `f564f8d7a6d28bfeea4deeb0c12aa81348da6d73`) | |
| - No `sorry` warnings in the build log. | |
| - Axiom audit: 5567 declarations; axioms beyond the standard three: Lean.ofReduceBool, Lean.trustCompiler, lcProof, sorryAx. | |
| - `native_decide` proofs rely on Lean's compiler being correct, not only on the kernel. | |
| - `lcProof` is an axiom Lean's code generator places in compiled code (for example `Repr` instances, `unsafe` or `implemented_by` helpers and floating-point routines). The audit classified every declaration that depends on a non-standard axiom by kind: 1 constructor, 19 definitions, 1 inductive, 1 recursor, 1731 theorems. No declaration of kind theorem depends on `lcProof`; auxiliary terms such as `X._proof_1` in the list below are generated inside the definition `X` they are named after. | |
| - Declarations that depend on them (first ones listed by the audit): `Erdos67.erdos_67` (sorryAx), `Erdos107.variants.hmpt_bound` (sorryAx), `OeisA231201.conjecture` (sorryAx), `Erdos288.erdos_288.variants.exists_k_gt_2` (sorryAx), `UnionClosed.union_closed.variants.cardinality_even_of_union_closed_tight` (sorryAx), `Erdos200.erdos_200.variants.upper` (sorryAx), `Erdos1148.erdos_1148.lower_bound` (sorryAx), `Erdos945.erdos_945` (sorryAx), `Erdos119.erdos_119_2` (sorryAx), `GRH.generalized_riemann_hypothesis` (sorryAx), `RegularPrimes.not_isRegularPrime_37_first` (sorryAx), `OeisA87719.a_three._proof_1_34` (Lean.ofReduceBool, Lean.trustCompiler) ... | |
| - Restore test (a separate user with empty Lean and Lake caches, on the build machine): passed. Restored by a separate user with empty caches; google-deepmind/formal-imo: Lake reported every target up to date (8153 jobs). (plausible, LeanSearchClient, importGraph, proofwidgets, aesop, Qq, batteries, Cli has no build in this cache but none was needed) (1 of 1 projects using it passed; checked 2026-11-12) | |
| What the columns mean: | |
| - **`sorry` warnings:** declarations the build reported as using `sorry`. Anything depending on them is not proved. | |
| "problem statements only" means every one is in a `problem.lean` or challenge file: in that layout the | |
| statement file states the theorems with `sorry`, 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.choice` and `Quot.sound`. "passed outside problem statements" means a module-by-module audit | |
| found `sorryAx` only 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 | |
| 1. Clone google-deepmind/formal-conjectures at the build's commit and run `lake exe cache get`, which fetches Mathlib from Mathlib's own cache and checks out the dependencies. | |
| 2. Get `lbc.py` from [MoteMath/lean-builds-index](https://huggingface.co/datasets/MoteMath/lean-builds-index) | |
| (`tools/lbc.py`, about 700 lines of Python; read it before running it). It needs Python 3.10+, `zstd` and | |
| `huggingface_hub`. | |
| 3. Fetch as little as you need: | |
| - `python3 lbc.py fetch . --module Some.Module` downloads only the shards holding that module and its import closure. | |
| Repeat `--module` for several, and add `--dry-run` to see the size first. | |
| - `python3 lbc.py fetch .` downloads every shard of every package with a published build. | |
| 4. Run `lake build --no-build +Some.Module` (or `lake build --no-build` after a full fetch). It must report everything up | |
| to date; `--check` on 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 `.olean` files 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. | |
| - 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`, `.c` and Lake trace files, and where the | |
| project builds them native object files, libraries and executables) for the public GitHub repository google-deepmind/formal-conjectures. | |
| 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 | |
| google-deepmind/formal-conjectures. Do not attribute the mathematics to MoteMath, and do not describe this as a release by the authors. | |
| - **Licence terms.** Read `LICENSE`, `NOTICE.md` and the upstream files under `licenses/`. 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.choice` and `Quot.sound`. | |
| - That a build is current. Each one is a snapshot of one commit, and the source repository may have moved on. | |
| - If `sorry_warnings` is not 0, or `axiom_audit` is 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.jsonl` and `catalog/builds.parquet` of | |
| [MoteMath/lean-builds-index](https://huggingface.co/datasets/MoteMath/lean-builds-index). | |
| - **Field meanings.** `sorry_warnings`: declarations the build log reported as using `sorry` (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. | |
| ```json | |
| [ | |
| { | |
| "path": "builds/v4.27.0/x86_64-unknown-linux-gnu/7862bf6a6976-ab422a8a8a4eccb8", | |
| "commit": "7862bf6a6976c26acb086b6b2cec12ad1d92ce5d", | |
| "toolchain": "v4.27.0", | |
| "build_key": "ab422a8a8a4eccb8", | |
| "package": "formal_conjectures", | |
| "modules": 776, | |
| "sorry_warnings": 0, | |
| "sorry_scope": null, | |
| "other_warnings": 2, | |
| "axiom_audit": "flags sorry, native_decide (trusts the compiler), lcProof (compiled definitions only)", | |
| "round_trip": "passed", | |
| "deps_not_cached": [] | |
| }, | |
| { | |
| "path": "builds/v4.33.1/x86_64-unknown-linux-gnu/a425ca3eb797-f9a6bcdff7a272a5", | |
| "commit": "a425ca3eb797fe927cb88c950565fdcbbbbada70", | |
| "toolchain": "v4.33.1", | |
| "build_key": "f9a6bcdff7a272a5", | |
| "package": "formal_conjectures", | |
| "modules": 2127, | |
| "sorry_warnings": 0, | |
| "sorry_scope": null, | |
| "other_warnings": 0, | |
| "axiom_audit": "flags sorry, native_decide (trusts the compiler), lcProof (compiled definitions only), 194 other axiom(s)", | |
| "round_trip": "passed", | |
| "deps_not_cached": [] | |
| }, | |
| { | |
| "path": "builds/v4.27.0/x86_64-unknown-linux-gnu/f564f8d7a6d2-c6446b0adf253630", | |
| "commit": "f564f8d7a6d28bfeea4deeb0c12aa81348da6d73", | |
| "toolchain": "v4.27.0", | |
| "build_key": "c6446b0adf253630", | |
| "package": "formal_conjectures", | |
| "modules": 637, | |
| "sorry_warnings": 0, | |
| "sorry_scope": null, | |
| "other_warnings": 0, | |
| "axiom_audit": "flags sorry, native_decide (trusts the compiler), lcProof (compiled definitions only)", | |
| "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. | |