DevinWatson commited on
Commit
1862eb6
·
verified ·
1 Parent(s): 39a147c

Add builds (2026-11-09)

Browse files
Files changed (1) hide show
  1. README.md +56 -29
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  license: mit
3
- pretty_name: "Lean build outputs: AxiomMath/PartitionZheng (unofficial)"
4
  tags:
5
  - lean4
6
  - mathlib
@@ -8,44 +8,71 @@ tags:
8
  - build-cache
9
  ---
10
 
11
- # Lean build outputs for AxiomMath/PartitionZheng (unofficial)
12
 
13
- Compiled Lean 4 build outputs (`.olean`, `.ilean`, `.c` and Lake trace files) for
14
- [AxiomMath/PartitionZheng](https://github.com/AxiomMath/PartitionZheng), so a checkout can skip compiling.
 
 
 
 
 
 
 
 
 
15
 
16
- **Unofficial.** Built and published by MoteMath. Not affiliated with or endorsed by the authors of AxiomMath/PartitionZheng
17
- or by Axiom. The source code and all credit belong to its authors; see `LICENSE` and `NOTICE.md`.
18
 
19
- ## Builds
20
 
21
- | commit | toolchain | build key | modules | compressed size |
22
- |---|---|---|---|---|
23
- | `9bfb4326c4ea` | v4.34.0-rc2 | `aea581556b3c7d21` | 32 | 3.6 MB |
24
 
25
- Each build folder holds `manifest.json` (commit, toolchain, dependency closure, shard hashes), the exact
26
- `lake-manifest.json` used, deterministic `shards/*.tar.zst` with a per-file SHA-256 index, and `reports/`.
27
 
28
- ## Using a build
 
 
29
 
30
- 1. Clone AxiomMath/PartitionZheng at the build's commit and run `lake exe cache get` (Mathlib's own cache).
31
- 2. Download the build folder and unpack it with `lbc.py unpack <build folder> <package dir>` from
32
- [MoteMath/lean-builds-index](https://huggingface.co/datasets/MoteMath/lean-builds-index). The tool checks every
33
- shard and every file hash and refuses unsafe paths.
34
- 3. Run `lake build --no-build`. It must report all targets up to date.
 
 
35
 
36
- ## What was checked before publishing
37
 
38
- - The build is green, with no `sorry` warnings outside challenge statement files.
39
- - A clean machine (a separate user with empty Lean and Lake caches) restored this build from the archive and
40
- `lake build --no-build --rehash` reported every target up to date.
41
- - Lean axiom audit of every declaration in the package's modules:
 
 
 
 
 
 
 
 
 
 
42
 
43
- Build `9bfb4326c4ea-aea581556b3c7d21`:
44
 
45
- - `all modules`: 461 declarations; axioms used: Quot.sound, Classical.choice, propext
 
 
 
 
 
 
 
46
 
47
- ## Trust
48
 
49
- Downloaded `.olean` files are trusted the way locally compiled ones are. They are not re-checked by the kernel when
50
- loaded. To check independently, rebuild any module and compare, or run an independent checker such as `lean4checker`
51
- over the environment.
 
1
  ---
2
  license: mit
3
+ pretty_name: "Compiled Lean outputs for PartitionZheng (from AxiomMath/PartitionZheng, unofficial)"
4
  tags:
5
  - lean4
6
  - mathlib
 
8
  - build-cache
9
  ---
10
 
11
+ # Compiled Lean outputs for PartitionZheng
12
 
13
+ > **What this is.** Compiled Lean 4 outputs (`.olean`, `.ilean`, `.c` and Lake trace files) for
14
+ > [AxiomMath/PartitionZheng](https://github.com/AxiomMath/PartitionZheng) at the commits listed below, so a checkout can skip compiling.
15
+ >
16
+ > **What this is not.**
17
+ > - Not a check of the mathematics. These files show that the code compiled. They do not show that the Lean
18
+ > statements faithfully formalize the results they are named after, and nobody here reviewed them as mathematics.
19
+ > - Not an official release. Built and published by MoteMath; not affiliated with or endorsed by AxiomMath or the
20
+ > authors of PartitionZheng. The source and all credit belong to its authors (see `LICENSE` and `NOTICE.md`).
21
+ >
22
+ > **How it was made.** By an automated, AI-assisted build pipeline on cloud machines, from the public source at each
23
+ > listed commit. The build log and every report are in each build folder under `reports/`.
24
 
25
+ ## Builds and what was checked
 
26
 
27
+ Every value below is read from the build folder's own reports; "not run" and "not recorded" mean exactly that.
28
 
29
+ | commit | Lean | packed | modules | `sorry` warnings | other warnings | axiom audit | round trip |
30
+ |---|---|---|---|---|---|---|---|
31
+ | `9bfb4326c4ea` | v4.34.0-rc2 | 2026-11-08 | 32 | 0 | 0 | passed | passed |
32
 
33
+ **Build `9bfb4326c4ea-aea581556b3c7d21`** (source commit `9bfb4326c4ea1e00016a842d7cc145e5c4e0684a`)
 
34
 
35
+ - No `sorry` warnings in the build log.
36
+ - Axiom audit: 461 declarations; every one depends only on propext, Classical.choice, Quot.sound.
37
+ - Round trip on a clean machine: passed. Restored on a clean machine; AxiomMath/PartitionZheng: Lake reported every target up to date (3296 jobs). (1 of 1 projects using it passed; checked 2026-11-09)
38
 
39
+ What the columns mean:
40
+ - **`sorry` warnings:** declarations the build reported as using `sorry`. Anything depending on them is not proved.
41
+ - **Axiom audit:** every declaration in the package's modules traced to the axioms it uses. "passed" means only
42
+ `propext`, `Classical.choice` and `Quot.sound`. It does not say a statement is the intended one: a theorem that
43
+ takes a hard fact as a hypothesis passes.
44
+ - **Round trip:** a separate user with empty Lean and Lake caches restored the build from the archive and Lake reported
45
+ every target up to date. It shows the archive is complete, not that the proofs are right.
46
 
47
+ ## Using a build
48
 
49
+ 1. Clone AxiomMath/PartitionZheng at the build's commit and run `lake exe cache get`, which fetches Mathlib from Mathlib's own
50
+ cache and checks out the dependencies.
51
+ 2. Get `lbc.py` from [MoteMath/lean-builds-index](https://huggingface.co/datasets/MoteMath/lean-builds-index)
52
+ (`tools/lbc.py`, about 700 lines of Python; read it before running it). It needs Python 3.10+, `zstd` and
53
+ `huggingface_hub`.
54
+ 3. Fetch as little as you need:
55
+ - `python3 lbc.py fetch . --module Some.Module` downloads only the shards holding that module and its import closure.
56
+ Repeat `--module` for several, and add `--dry-run` to see the size first.
57
+ - `python3 lbc.py fetch .` downloads every shard of every package with a published build.
58
+ 4. Run `lake build --no-build +Some.Module` (or `lake build --no-build` after a full fetch). It must report everything up
59
+ to date; `--check` on the fetch does this for you.
60
+
61
+ Each build folder holds `manifest.json` (commit, toolchain, dependency closure, shard hashes), the exact
62
+ `lake-manifest.json` used, deterministic `shards/*.tar.zst` with a per-file SHA-256 index, and `reports/`.
63
 
64
+ ## Trust and checking independently
65
 
66
+ - The SHA-256 hashes show a download is intact and matches what was published here. They come from the same publisher
67
+ as the files, so they are not evidence that the files are honest.
68
+ - Lean does not re-check `.olean` files when it loads them. A tampered file could contain a theorem with no valid proof.
69
+ - To check independently, use either route:
70
+ - re-check the compiled environment with the kernel: `lake env lean4checker --fresh Some.Module` (lean4checker
71
+ replays every declaration through Lean's kernel);
72
+ - or rebuild from the source commit and compare.
73
+ - For anything you rely on, prefer one of these over trusting the archive.
74
 
75
+ ## Questions, corrections and removal
76
 
77
+ Open a discussion in this repository's Community tab. Authors who want a build corrected or removed can ask there,
78
+ and it will be done.