| @@ -0,0 +1,140 @@ |
| 1 | +--- |
| 2 | +route: a6-audit |
| 3 | +issue: 33 |
| 4 | +status: done |
| 5 | +pins: |
| 6 | + goldbach_tech_merge: 7aa3f68407434bb7c962833d13a5299c3b273cff |
| 7 | + upstream_lean: a5c1fa9cee34de526915481f93cadeb1ea16014b |
| 8 | +--- |
| 9 | +# A-6 audit: p + P₄ under Dirichlet GRH |
| 10 | + |
| 11 | +**Claim.** Under GRH for Dirichlet `L`-functions, every even `N ≥ 4` is |
| 12 | +`N = p + m` with `p` prime, `m ≥ 1`, and `Ω(m) ≤ 4` (`Ω` counts prime factors |
| 13 | +with multiplicity; `m = 1` is allowed). |
| 14 | + |
| 15 | +**Pins.** The goldbach.tech merge is |
| 16 | +[PR #2521](https://github.com/CGandGameEngineLearner/goldbach-proofs/pull/2521) |
| 17 | +at `7aa3f68407434bb7c962833d13a5299c3b273cff`; its checkpoint is |
| 18 | +`research/checkpoint/2026-11-26-one-plus-four/`. The Lean source is |
| 19 | +[`Visio-Vanitas/buchstab-switching`](https://github.com/Visio-Vanitas/buchstab-switching) |
| 20 | +at `a5c1fa9cee34de526915481f93cadeb1ea16014b` (the version the checkpoint's |
| 21 | +second-round evidence names). I read the files below at those pins; I did not |
| 22 | +rebuild the project. |
| 23 | + |
| 24 | +## The headline declaration carries `sorry` |
| 25 | + |
| 26 | +`lean/AllEvenOnePlusFour/Challenge.lean:58` says: |
| 27 | + |
| 28 | +```lean |
| 29 | +theorem all_even_one_plus_four (hGRH : DirichletLNonvanishingRightOfHalf) : |
| 30 | + AllEvenPrimePlusAlmostPrime 4 := by |
| 31 | + sorry |
| 32 | +``` |
| 33 | + |
| 34 | +This is the statement-under-test, not a proof. `Challenge.lean` imports only |
| 35 | +Mathlib; the rest of the library does not import it. `AxiomsCheck.lean` is the |
| 36 | +only importer, and it checks that the library's copies of the two definitions |
| 37 | +agree definitionally. The project's own `#print axioms` output records: |
| 38 | + |
| 39 | +```text |
| 40 | +'all_even_one_plus_four' depends on axioms: [propext, sorryAx, Classical.choice, Quot.sound] |
| 41 | +``` |
| 42 | + |
| 43 | +So the headline claim is **not machine-checked**. |
| 44 | + |
| 45 | +## What is kernel-checked, and on what hypotheses |
| 46 | + |
| 47 | +The statement is `AllEvenPrimePlusAlmostPrime 4`: |
| 48 | + |
| 49 | +```lean |
| 50 | +∀ N : ℕ, 4 ≤ N → Even N → ∃ p m : ℕ, |
| 51 | + p.Prime ∧ 0 < m ∧ N = p + m ∧ Ω m ≤ 4 |
| 52 | +``` |
| 53 | + |
| 54 | +The premise is the upstream `DirichletLNonvanishingRightOfHalf`: for every |
| 55 | +nonzero modulus `N`, every `DirichletCharacter ℂ N`, and every `s` with |
| 56 | +`1/2 < re s`, `L(s, χ) ≠ 0`, except the trivial character at `s = 1`. It |
| 57 | +ranges over all moduli and all characters, primitive or not. |
| 58 | + |
| 59 | +The main clean theorems are: |
| 60 | + |
| 61 | +| Declaration | Statement and hypotheses | `#print axioms` | |
| 62 | +|---|---|---| |
| 63 | +| `all_even_one_plus_four_of_inputs` | `AnalyticInputs → AllEvenPrimePlusAlmostPrime 4` | `propext, Classical.choice, Quot.sound` | |
| 64 | +| `all_even_one_plus_four_of_conditionalInputs` | `ConditionalInputs → DirichletLNonvanishingRightOfHalf → AllEvenPrimePlusAlmostPrime 4` | same | |
| 65 | +| `prime_add_of_lt_tailStart` | `GoldbachUpTo (4·10¹⁸) → WeightedSievePositiveOn [4·10¹⁸, 10⁵⁰⁰) → ∀ N, 4 ≤ N → N < 10⁵⁰⁰ → Even N → ∃ p m, ...` | same | |
| 66 | +| `exists_prime_add_of_weightedSum_pos` | `N ≤ z·y⁴`, `N < y⁵`, and `0 < weightedSum N z y` imply the decomposition with `Ω m ≤ 4` | same | |
| 67 | +| `cardFactors_le_four_of_weight_pos` | the weight lemma: a positive weight forces `Ω (N − p) ≤ 4` under the same size bounds | same | |
| 68 | +| `rough_of_mem_siftedPrimes` | every prime divisor of `N − p` in the sifted set is at least `z` | same | |
| 69 | +| `truncated_alternating_sum_choose` and the two Bonferroni sign lemmas | the binomial identity and the two inequality directions used by the weight argument | same | |
| 70 | +| `exists_prime_add_of_goldbachUpTo` | `GoldbachUpTo B` gives the decomposition for `4 ≤ N ≤ B` | same | |
| 71 | +| the `Sanity.lean` lemmas | monotonicity in `K`, equivalence with `primeFactorsList.length` and `Nat.IsAtMostAlmostPrime`, `4 = 3 + 1`, `K = 0` false at `N = 10`, and Goldbach for `N ≤ 40` | same | |
| 72 | + |
| 73 | +`AxiomsCheck.lean` also prints `all_even_one_plus_four_of_conditionalInputs'`, |
| 74 | +the same theorem stated with `Challenge.lean`'s own definitions, and it is |
| 75 | +clean too. All of the above are conditional on the structures |
| 76 | +`AnalyticInputs` or `ConditionalInputs`; none of those fields is proved in |
| 77 | +Lean. |
| 78 | + |
| 79 | +## The three inputs, and the disputed one |
| 80 | + |
| 81 | +`AnalyticInputs` has one field per regime: |
| 82 | + |
| 83 | +- `regime1 : GoldbachUpTo (4·10¹⁸)` — the published computation of Oliveira e |
| 84 | + Silva, Herzog and Pardi for even `N ≤ 4·10¹⁸`. It is not re-enumerated in |
| 85 | + Lean. |
| 86 | +- `regime2 : WeightedSievePositiveOn (Ico (4·10¹⁸) (10⁵⁰⁰))` — the 58-slab |
| 87 | + Brun/Bonferroni certificate. The checkpoint says the 58 slabs and the tail |
| 88 | + series were replayed; the Lean field remains an explicit hypothesis. |
| 89 | +- `regime3 : WeightedSievePositiveOn (Ici (10⁵⁰⁰))` — the infinite tail. The |
| 90 | + upstream README states this input is **not established** after independent |
| 91 | + review: the proof of [BJS] Theorem 6 uses its hypothesis at all lower levels, |
| 92 | + while the note's parameters violate it. Here [BJS] is Matteo Bordignon, |
| 93 | + Daniel R. Johnston and Valeriia Starichkova, *An explicit version of Chen's |
| 94 | + theorem and the linear sieve*, arXiv:2207.09452v6 (2022), Theorem 6. |
| 95 | + |
| 96 | +`ConditionalInputs` replaces `regime2` and `regime3` by functions |
| 97 | +`DirichletLNonvanishingRightOfHalf → ...`, so the GRH premise is visible. |
| 98 | +`all_even_one_plus_four_of_conditionalInputs` then composes them. The |
| 99 | +composition is clean, but the second premise (`regime3`) is the disputed one; |
| 100 | +the clean axiom list does not make that input true. |
| 101 | + |
| 102 | +The checkpoint's own status line says: "计算可复现,完整解析论证待独立审定" |
| 103 | +(the computation is reproducible; the full analytic argument awaits |
| 104 | +independent review), and the Lean goal uses `sorry` as a placeholder. |
| 105 | +That matches the source: the Lean covers the weight/Bonferroni/reduction |
| 106 | +core (the combinatorial part around Sections 2–3), not the analytic sieve, |
| 107 | +the numerical certificates, the Möbius-to-binomial passage, or the |
| 108 | +pruning of primes dividing `N`. |
| 109 | + |
| 110 | +## Comparison with Zhou's Chen 1 + 2 |
| 111 | + |
| 112 | +`subfish-zhou/goldbach-lean` at tag `1plus1.9-v1.0.0` (`df1f3b3b`) is the |
| 113 | +existing formalization of Chen's `1 + 2` (a prime plus a `P₂`). `P₂` is a |
| 114 | +strict subset of `P₄`, so Chen's conclusion is stronger than this claim's |
| 115 | +`p + P₄`; the A-6 work is not a replacement for it. It is also conditional on |
| 116 | +Dirichlet GRH and on the three input fields, whereas Zhou's tag is the |
| 117 | +separately audited Chen formalization. I did not rebuild Zhou's tree; the |
| 118 | +comparison is statement-level. |
| 119 | + |
| 120 | +## State |
| 121 | + |
| 122 | +**Claimed, not machine-checked.** The kernel-checked content is a reduction |
| 123 | +from explicit hypothesis structures; the headline declaration |
| 124 | +`all_even_one_plus_four` depends on `sorryAx`. The combinatorial reduction is |
| 125 | +machine-checked; the analytic premises, including the disputed Regime 3, are |
| 126 | +not. For L-1: claim — p + P₄ for every even `N ≥ 4` under Dirichlet GRH; |
| 127 | +URL — https://github.com/CGandGameEngineLearner/goldbach-proofs/pull/2521 |
| 128 | +(upstream repository: https://github.com/Visio-Vanitas/buchstab-switching); |
| 129 | +who — 千早爱音 / Visio-Vanitas, merged by goldbach.tech in PR #2521; date — |
| 130 | +2026-11-26; state — **claimed / conditional reduction, not machine-checked**. |
| 131 | + |
| 132 | +## What I read, and what I did not do |
| 133 | + |
| 134 | +Read at the pins: `Challenge.lean`, `AllEvenOnePlusFour/Statement.lean`, |
| 135 | +`Reduction.lean`, `AxiomsCheck.lean`, the project `README.md`, its build log, |
| 136 | +and the `lean-axioms-a5c1fa9.txt` output in the checkpoint. I did not run |
| 137 | +`lake build`, `lake exe cache get`, or `#print axioms`; the axiom lines quoted |
| 138 | +above are the project's recorded output, not an independent reproduction. A |
| 139 | +second party should rebuild the fixed upstream tree with Lean 4.37.0-rc1 and |
| 140 | +Mathlib `31ce06ea`. |