Repository navigation
Releases
Goldbach Proofs Dependency Library
goldbach-work-dep-lib-v1.3
增加了完整三元哥德巴赫和素数间隙的编译缓存。
- part2:
AxiomMath/erh-totally-real、ternary-goldbach/elliotglazer(完整三元哥德巴赫的证书回放缓存)、
grh-compact_show_term(顶层lean/.lake/build中的GRHCompact产物) - part1:其余
lean/Migrated各工程的.lake/build,含素数间隙工程openai/PrimeGaps186、
AxiomMath/PrimeGapsLib,以及wu2008的build/输出目录 - 与此前一致:不含 Mathlib(各工程
require mathlib from git@fc4f59e577feb1a4956671bc04ac18aaaf8cd842,
需自备fc4f59e5的构建或lake exe cache get),也不含依赖包的源码与其构建产物
还原
在 lean/ 目录下:
7z x goldbach-work-dep-lib-v1.3-part1.7z.001
7z x goldbach-work-dep-lib-v1.3-part2.7z.001
压缩包内路径相对 lean/。校验值见附件 SHA256SUMS。
Goldbach Proofs Dependency Library(Lean v4.36.0, fc4f59e) v1.2.0
v1.2.0:在 v1.1.0 的基础上补齐了依赖源码、恢复脚本与验收表;新增 AxiomMath/erh-totally-real 的编译缓存。
内容
lean/Migrated下各工程的.lake/build,不含 Mathlib、不含 grh-compact_show_term- 新增:
erh-totally-real(26.2 GB)与它的依赖dedekind_zeta(26.4 GB)、class-field-theory(3.9 GB) - 新增:全部非 Mathlib 依赖的源码(1.3 GB)——两个共享包目录的 9 个包 +
LeanArchitect+RSBounds+illuminate/MD4Lean/subverso/verso+dedekind_zeta+TauCeti,还原后无需联网即可使用这些构建产物 - 新增:
lean/Migrated/restore-dep-lib.sh(检查 + 修复脚本)与lean/Migrated/RESTORE.md(还原步骤 + 验收表) - 合计 105.6 GB 未压缩,318,631 个
Migrated/条目;7z t校验通过
还原
# 全部分卷放在同一目录,在 lean/ 目录下执行
7z x goldbach-work-dep-lib-v1.2.0.7z.001
lean/Migrated/restore-dep-lib.sh # 只检查
lean/Migrated/restore-dep-lib.sh --apply # 同时补软链、拉缺失依赖
lean/Migrated/restore-dep-lib.sh --apply --proxy http://<你的代理主机>:<端口>
脚本会核对:工具链(Lean 4.36.0)、Mathlib 提交(fc4f59e577feb1a4956671bc04ac18aaaf8cd842)、
/tmp/goldbach-proofs 软链、两个共享包目录的软链布局、每个 git 依赖的锁定 rev,
最后对每个工程跑 lake --no-build build <目标>,报告 CACHE HIT / NEEDS INCREMENTAL / MISSING DEPENDENCY。
验收入口
| 工程 | 命令 |
|---|---|
主工程 lean/ |
lake build PEqualNP(默认只建 PEqualNP) |
lixiang90 |
lake build AnalyticNumberTheory(默认还带 Encyclopedia) |
wu2008 |
python3 build.py(lake build 会返回 Nothing to build) |
| 其余工程 | lake build(各自 defaultTargets) |
注意
- Mathlib 不在包内,需自备
fc4f59e5的构建(或lake exe cache get) .lake的 trace 记录的是绝对路径/root/goldbach-work/lean与/tmp/goldbach-proofs,源码需逐字节一致,否则 lake 判定缓存失效并重编
sha256
48000f7acbc0055271f52fc4f828e724d6735658f55c8fc8792dc7bef908c342 goldbach-work-dep-lib-v1.2.0.7z.001
2199a118672a447f1ead54010650680de8c3d1b7e16ddf753b7aa7304c53d5de goldbach-work-dep-lib-v1.2.0.7z.002
1306d1c819f9fad40af7637b0909d5b063fa921ab86903179e40c165e3d2906f goldbach-work-dep-lib-v1.2.0.7z.003
0a322b9a7105c699aa44a6f5e9d98e9c1baf1a4cb163bb8de304e93c32a2fde4 goldbach-work-dep-lib-v1.2.0.7z.004
Goldbach Proofs Dependency Library(Lean v4.36.0, fc4f59e)
v1.1.0:GRH 适配已经完成,现在确实可以还原编译缓存。
本 release 提供 goldbach-proofs/lean/Migrated 下各工程的编译缓存归档(不含 Mathlib 与 grh-compact_show_term),
用 7z 分卷(每个 < 2 GiB)以便直接作为 Release 资产分发。
- 工具链:Lean v4.36.0(
611c117bfaf7b7ae1cfcf246ce6fba31e8f509e9) - Mathlib:
fc4f59e577feb1a4956671bc04ac18aaaf8cd842(本包不含,下游需自备) - 内容:156,656 个文件 / 1,432 个目录,未压缩 52.3 GB
- 不含:Mathlib、
grh-compact_show_term
还原(在 lean/ 目录下执行,两个分卷需在同一目录):
7z x goldbach-work-dep-lib-v1.1.0.7z.001
sha256:
89ae323fa586a4c9c193ef2fa8037fb4402df004e59d1bdca086d9636f2c1407 goldbach-work-dep-lib-v1.1.0.7z.001
6be3b6cd51f89240c417296f9e81197a715e010e8dc50d8189cf09445c7b1779 goldbach-work-dep-lib-v1.1.0.7z.002
注意:.lake 的 trace 里记录的是绝对路径(/root/goldbach-work/lean 与 /tmp/goldbach-proofs),
源码需逐字节一致、工具链与 Mathlib rev 需完全相同,否则 lake 会判定缓存失效并重新编译。
v1.1.0: The GRH port is complete — the compile cache can now actually be restored.
This release ships the build cache for the projects under goldbach-proofs/lean/Migrated
(excluding Mathlib and grh-compact_show_term), split into 7z volumes (each < 2 GiB)
so they can be distributed as release assets.
- Toolchain: Lean v4.36.0 (
611c117bfaf7b7ae1cfcf246ce6fba31e8f509e9) - Mathlib:
fc4f59e577feb1a4956671bc04ac18aaaf8cd842(not included; bring your own) - Contents: 156,656 files / 1,432 folders, 52.3 GB uncompressed
- Excludes: Mathlib,
grh-compact_show_term
Restore (run inside lean/, keep both volumes in the same directory):
7z x goldbach-work-dep-lib-v1.1.0.7z.001
Note: the .lake traces record absolute paths (/root/goldbach-work/lean and
/tmp/goldbach-proofs). Sources must match byte-for-byte and the toolchain and Mathlib
rev must be identical, otherwise lake will treat the cache as stale and rebuild.
GRH Lean cache v4.36.0 (78b0afb)
GRH compiled artifacts for Lean v4.36.0. Mathlib cache is restored from the official Mathlib cache service. SHA-256: a22ad13e1b1d33f51e3aa768254580d056cd745fae5825357ede15cba83248c9