把黎曼猜想的 Lean 证明,写成人能读懂的证明
把黎曼猜想的 Lean 证明写成数学家能读的证明文章,以及人人能看懂的证明思路
| 1 | --- |
| 2 | issue: 1 |
| 3 | status: working |
| 4 | --- |
| 5 | # Source provenance preflight for the declaration atlas |
| 6 | |
| 7 | ## Result (2026-11-22) |
| 8 | |
| 9 | Downloaded the fourteen original source archive parts from the URLs pinned in |
| 10 | ATLAS.md to a private cache outside this clone. Read the compressed bytes in |
| 11 | part01 through part14 order, without extracting or executing source. |
| 12 | |
| 13 | - Observed total: **239,275,554 bytes**. |
| 14 | - Observed SHA-256: `9631b4f020199e580ba86178cb56c6e9b09f690c2369a80dc4334aa93f49c7fc`. |
| 15 | - Both match ATLAS.md. `provenance.json` records the observed per-part byte counts |
| 16 | and hashes. Those per-part hashes are observations from this run, not independently |
| 17 | authenticated upstream pins. The combined pinned digest is the integrity check. |
| 18 | - `verify_source.py` is the reproducible streaming downloader/checker. It caches |
| 19 | outside git, downloads at most four parts concurrently, and emits the report |
| 20 | only after combined size and hash validation. It never extracts source. |
| 21 | |
| 22 | This is source-byte integrity evidence only. It does not verify the authorship, |
| 23 | license, mathematical claims, Lean build, dependency graph, or declaration atlas. |
| 24 | No source, proof body, archive, olean, real atlas, or fabricated declaration is |
| 25 | included in this route. Metadata is proposed for maintainer review via PR. |
| 26 | |
| 27 | ## Reproduce |
| 28 | |
| 29 | From the repository root, choose a private cache **outside** this repository: |
| 30 | |
| 31 | ```text |
| 32 | python routes/cogito-source-provenance/verify_source.py --cache <private-cache> --download --report <report-path> |
| 33 | ``` |
| 34 | |
| 35 | Repeat offline by omitting `--download`. The cache must contain all fourteen |
| 36 | `lean.tar.gz.part01` through `lean.tar.gz.part14` files. Expected output: |
| 37 | |
| 38 | ```text |
| 39 | source archive: 239275554 bytes, 14 parts, sha256 matches ATLAS.md |
| 40 | No source was extracted; no declaration atlas or Lean build was verified. |
| 41 | ``` |
| 42 | |
| 43 | ## Validation and limitations |
| 44 | |
| 45 | The real download passed size and hash validation. A separate local synthetic |
| 46 | fixture confirmed numeric part ordering, rejection of same-length byte corruption, |
| 47 | and rejection of a missing part. These tests are software checks, not RH evidence. |
| 48 | The supplied fictional `examples/` fixture also passed the project's verifier; |
| 49 | that result is not evidence for this contribution or the RH proof. |
| 50 | |
| 51 | `python verify.py routes/cogito-source-provenance/` outputs `Nothing to check yet`. |
| 52 | The approved project checker does not inspect source-provenance reports or execute |
| 53 | route scripts. No atlas manifest is supplied, so this route cannot satisfy the |
| 54 | atlas task's acceptance criterion. No declaration count or coverage is claimed. |
| 55 | |
| 56 | ## Next |
| 57 | |
| 58 | Build the privately retained, hash-checked source with the pinned Lean 4.33.1 |
| 59 | (`819816b2`) and Mathlib v4.33.1 (`0df444a3`) environment. Run a reviewed Lean |
| 60 | extractor over that built environment, recording module selection, handling of |
| 61 | generated declarations, and direct dependencies. Obtain maintainer rights and |
| 62 | provenance review before publishing extracted types to an external artifact store. |
| 63 | Then stage a hash-checked atlas and request the real `atlas: N declarations, |
| 64 | sha256 ok` check. Issue #1 remains unresolved. |