goldbach-spectral-bridge
Li and Liu's GRH + S ⇒ Goldbach in Lean, checked against the paper by Comparator: clean it up together, and settle S
From the paper to the Lean files
Start at primePair_consequence (statement_005_primePair_consequence). It gives a lower bound for ordered prime pairs in the middle third of every sufficiently large even integer, assuming eventual GRH and either R or S for an admissible function h. Read theorem_1_1 for the S branch and theorem_1_2 for the sharper R bound. The exact signed error identity in §7 and the zero–norm correspondence in §6 connect those conclusions to the operator.
This guide follows Li and Liu, A conditional proof of the Goldbach conjecture, Shandong University preprint, 13 November 2026, 63 pages (PDF SHA-256 998f35a787a2f568113fac12caf5a9a799f537e83a5e649be25f3a76ac81bc58). Page numbers below are for that edition. Library declarations in the tables are in the ConditionalGoldbach namespace and audit statements are in TexComparator. To check a claim against the independently transcribed statement, follow its entry in Challenge.lean to Reference14.lean, Reference57.lean or ReferenceAB.lean, then see how Solution.lean supplies the proof. The Comparator configuration is the project's statement check.
1. Introduction and main results (pp. 1–5)
§1.1 introduces the Hardy–Littlewood prediction and its singular series (mangoldt, C2, singularSeries). §1.2 fixes the smooth symmetric weight and count (IsWeight, goldbach, weightMass), then introduces the local premise GRH and the scale and product (spectralScale, spectralQuaternion). The spectral premises are HypothesisS, HypothesisR. zeroFreeWidth, IsAdmissible express the width and admissibility in (1.7). PrimePairCount is the count used in the final lower bound.
| Paper result or clause | Lean declaration | Comparator statement |
|---|---|---|
| §1.1 / (1.2), identify the singular series with the existing library version | singularSeries_eq_existing |
statement_000_singularSeries_eq_existing |
| §1.2, existence of the smooth weight used in the setup | theorem_1_1_weight_exists |
statement_002_theorem_1_1_weight_exists |
| Theorem 1.1, conditional asymptotic under S (p. 4) | theorem_1_1 |
statement_001_theorem_1_1 |
R implies S for every admissible choice of h (p. 4) |
theorem_1_2_hypothesisR_implies_S |
statement_004_theorem_1_2_hypothesisR_implies_S |
| Theorem 1.2, sharper error under R (p. 5) | theorem_1_2 |
statement_003_theorem_1_2 |
| Prime-pair consequence after Theorem 1.2 (p. 5) | primePair_consequence |
statement_005_primePair_consequence |
2. Outline of the proof (pp. 5–14)
The five steps lead from the finite count to its operator bound.
- §2.1 projects the count using odd characters. Start at
lemma_3_1,proposition_3_2,lemma_3_5for the finite identity, the analytic kernel and its Mellin representation. - §2.2 subtracts the diagonal and signed Beta model. Read
lemma_4_1,proposition_4_4,proposition_4_5for the model, its continuation and the residual. - §2.3 chooses the strip (
alpha,beta,strip) and realizes the residual as an operator (HardySpace,residualOperator,proposition_5_3). - §2.4 passes from the spectrum to the quaternionic product and from zeros to the operator norm. Read
proposition_6_1,proposition_6_3,theorem_6_1,theorem_6_2. The fixed-modulus zero conditions useSpectralZeroFree,SpectralR. - §2.5 evaluates the signed arithmetic residual, identifies it with a quadratic form and obtains prime pairs. Read
proposition_7_3,theorem_7_1,primePair_consequence.
3. Odd-character projection (pp. 14–20)
The finite sums use oddCharacters, characterPolynomial, diagonalMoment. The analytic kernel is characterKernel. The three signed families used in §2.1.3 and §3.4 are positiveDifferenceFamily, negativeDifferenceFamily, sumFamily.
| Paper result or clause | Lean declaration | Comparator statement |
|---|---|---|
| §3.1, Lemma 3.1, finite projection (p. 15) | lemma_3_1 |
statement_006_lemma_3_1 |
| §3.1, Lemma 3.1, finite projection (p. 15) | lemma_3_1_odd_orthogonality |
statement_007_lemma_3_1_odd_orthogonality |
| §3.2, Proposition 3.2, character kernel (pp. 16–17) | proposition_3_2 |
statement_008_proposition_3_2 |
| §3.2, Proposition 3.2, character kernel (pp. 16–17) | proposition_3_2_finite_rank |
statement_009_proposition_3_2_finite_rank |
| §3.2, Proposition 3.2, character kernel (pp. 16–17) | proposition_3_2_joint_meromorphic |
statement_010_proposition_3_2_joint_meromorphic |
| §3.3, Lemma 3.3, local zero count (p. 17) | lemma_3_3 |
statement_011_lemma_3_3 |
| §3.3, Lemma 3.4, paired zero expansion under GRH (p. 18) | lemma_3_4 |
statement_012_lemma_3_4 |
| §3.3, Lemma 3.4, paired zero expansion under GRH (p. 18) | lemma_3_4_normal_convergence |
statement_013_lemma_3_4_normal_convergence |
| §3.3, Lemma 3.4, paired zero expansion under GRH (p. 18) | lemma_3_4_paired_zero_sum |
statement_014_lemma_3_4_paired_zero_sum |
| §3.4, Lemma 3.5, Mellin projection and signed families (p. 19) | lemma_3_5 |
statement_015_lemma_3_5 |
| §3.4, Lemma 3.5, Mellin projection and signed families (p. 19) | lemma_3_5_absolute_convergence |
statement_016_lemma_3_5_absolute_convergence |
| §3.4, Lemma 3.5, Mellin projection and signed families (p. 19) | lemma_3_5_small_sigma |
statement_017_lemma_3_5_small_sigma |
| §3.4, Lemma 3.5, Mellin projection and signed families (p. 19) | lemma_3_5_weight_support |
statement_018_lemma_3_5_weight_support |
4. Beta model and analytic residual (pp. 20–25)
Read betaKernel, gammaQuotient, densityEulerProduct for the factors of the model, then continuedModel, residual for the continued model and the residual.
| Paper result or clause | Lean declaration | Comparator statement |
|---|---|---|
| §4.1, Lemma 4.1, continuous signed model (p. 21) | lemma_4_1 |
statement_019_lemma_4_1 |
| §4.1, Lemma 4.1, continuous signed model (p. 21) | lemma_4_1_absolute_convergence |
statement_020_lemma_4_1_absolute_convergence |
| §4.1, Lemma 4.1, continuous signed model (p. 21) | lemma_4_1_signed_model |
statement_021_lemma_4_1_signed_model |
| §4.1, Lemma 4.1, continuous signed model (p. 21) | lemma_4_1_local_density |
statement_022_lemma_4_1_local_density |
| §4.2, Lemma 4.2, Gamma factorization (pp. 21–22) | lemma_4_2 |
statement_023_lemma_4_2 |
| §4.2, Lemma 4.2, Gamma factorization (pp. 21–22) | lemma_4_2_meromorphic |
statement_024_lemma_4_2_meromorphic |
| §4.3, Lemma 4.3, density convergence and bounds (p. 22) | lemma_4_3 |
statement_025_lemma_4_3 |
| §4.3, Lemma 4.3, density convergence and bounds (p. 22) | lemma_4_3_uniform |
statement_026_lemma_4_3_uniform |
| §4.3, Lemma 4.3, density convergence and bounds (p. 22) | lemma_4_3_density_convergence |
statement_027_lemma_4_3_density_convergence |
| §4.3, Lemma 4.3, density convergence and bounds (p. 22) | lemma_4_3_euler_product_convergence |
statement_028_lemma_4_3_euler_product_convergence |
| §4.4, Proposition 4.4, continuation of the Beta model (p. 24) | proposition_4_4 |
statement_029_proposition_4_4 |
| §4.5, Proposition 4.5, holomorphy and symmetry of the residual (p. 24) | proposition_4_5 |
statement_030_proposition_4_5 |
5. Hardy-space operator (pp. 25–31)
The arithmetic strip, boundary points and weighted kernel start at strip, boundaryPoint, weightedKernel. The Hardy space and its selected operator are HardySpace, residualOperator.
| Paper result or clause | Lean declaration | Comparator statement |
|---|---|---|
| §5.1, Proposition 5.1, Hermitian arithmetic kernel (p. 27) | proposition_5_1 |
statement_031_proposition_5_1 |
| §5.1, Proposition 5.1, Hermitian arithmetic kernel (p. 27) | proposition_5_1_fueter_equation |
statement_032_proposition_5_1_fueter_equation |
| §5.2, Lemma 5.2, Fourier–Laplace representation and traces (p. 28) | lemma_5_2 |
statement_033_lemma_5_2 |
| §5.2, Lemma 5.2, Fourier–Laplace representation and traces (p. 28) | lemma_5_2_closed_trace_space |
statement_034_lemma_5_2_closed_trace_space |
| §5.2, Lemma 5.2, Fourier–Laplace representation and traces (p. 28) | lemma_5_2_representation_spec |
statement_035_lemma_5_2_representation_spec |
| §5.2, Lemma 5.2, Fourier–Laplace representation and traces (p. 28) | lemma_5_2_boundary_inner |
statement_036_lemma_5_2_boundary_inner |
| §5.2, Lemma 5.2, Fourier–Laplace representation and traces (p. 28) | interiorLine_memLp |
statement_083_interiorLine_memLp |
| §5.2, Lemma 5.2, Fourier–Laplace representation and traces (p. 28) | boundaryTraces_exist |
statement_084_boundaryTraces_exist |
| §5.3, Proposition 5.3, compact self-adjoint Hilbert–Schmidt realization (p. 29) | proposition_5_3 |
statement_037_proposition_5_3 |
| §5.3, Proposition 5.3, compact self-adjoint Hilbert–Schmidt realization (p. 29) | proposition_5_3_kernel_integrability |
statement_038_proposition_5_3_kernel_integrability |
| §5.3, Proposition 5.3, compact self-adjoint Hilbert–Schmidt realization (p. 29) | proposition_5_3_hs_basis_independent |
statement_039_proposition_5_3_hs_basis_independent |
| §5.4, Proposition 5.4, point evaluation and kernel pairing (pp. 30–31) | proposition_5_4 |
statement_040_proposition_5_4 |
| §5.4, Proposition 5.4, point evaluation and kernel pairing (pp. 30–31) | proposition_5_4_exact_norm |
statement_041_proposition_5_4_exact_norm |
| §5.4, Proposition 5.4, point evaluation and kernel pairing (pp. 30–31) | proposition_5_4_kernel_pairing |
statement_042_proposition_5_4_kernel_pairing |
| §5.4, Proposition 5.4, point evaluation and kernel pairing (pp. 30–31) | proposition_5_4_fixed_contour |
statement_043_proposition_5_4_fixed_contour |
6. Spectral zeros and norm bounds (pp. 31–43)
The product is defined at spectralQuaternion, spectralComplex. Read the classification of zeros before applying the norm bounds.
§6.5 compares the available bounds as the left boundary varies. See normFunctional_baseline_bounds, lemma_A_3_balance, lemma_A_3 and Appendix A.
7. Exact quadratic form and main proofs (pp. 43–51)
The signed contour integral is residualIntegral. The functional, its squared norm and its representing vector are functionalValue, normFunctional, rieszVector. At §7.3 the argument returns to theorem_1_1, theorem_1_2, primePair_consequence.
| Paper result or clause | Lean declaration | Comparator statement |
|---|---|---|
| §7.1.1, Lemma 7.1, character integral (p. 44) | lemma_7_1 |
statement_070_lemma_7_1 |
| §7.1.1, Lemma 7.1, character integral (p. 44) | lemma_7_1_absolute_convergence |
statement_071_lemma_7_1_absolute_convergence |
| §7.1.2, Lemma 7.2, diagonal and Beta integrals (p. 45) | lemma_7_2 |
statement_072_lemma_7_2 |
| §7.1.2, Lemma 7.2, diagonal and Beta integrals (p. 45) | lemma_7_2_absolute_convergence |
statement_073_lemma_7_2_absolute_convergence |
| §7.1.2, Lemma 7.2, diagonal and Beta integrals (p. 45) | lemma_7_2_convolutions |
statement_074_lemma_7_2_convolutions |
| §7.1.3, Proposition 7.3, contour-independent arithmetic discrepancy (p. 47) | proposition_7_3 |
statement_075_proposition_7_3 |
| §7.1.3, Proposition 7.3, contour-independent arithmetic discrepancy (p. 47) | proposition_7_3_absolute_convergence |
statement_076_proposition_7_3_absolute_convergence |
| §7.2.1, Proposition 7.4, the functional norm (p. 49) | proposition_7_4 |
statement_077_proposition_7_4 |
| §7.2.1, Proposition 7.4, the functional norm (p. 49) | proposition_7_4_norm_integrals |
statement_078_proposition_7_4_norm_integrals |
| §7.2.2, Theorem 7.1, exact signed residual identity (p. 50) | theorem_7_1 |
statement_079_theorem_7_1 |
| §7.2.2, Theorem 7.1, exact signed residual identity (p. 50) | theorem_7_1_uniform |
statement_080_theorem_7_1_uniform |
| §7.3, Lemma 7.5, arithmetic estimate from a zero-free width (p. 50) | lemma_7_5 |
statement_081_lemma_7_5 |
| §7.3, Lemma 7.5, arithmetic estimate from a zero-free width (p. 50) | lemma_7_5_asymptotic |
statement_082_lemma_7_5_asymptotic |
8. Relation to twin primes and classical methods (pp. 51–52)
This is discussion. The proof machinery it refers back to is the quadratic form and the conditional estimates (theorem_7_1, theorem_1_1, theorem_1_2).
Appendix A. Varying the strip boundary (pp. 53–57)
The strip and operator use alpha, strip, residualOperator with a boundary parameter. The corresponding fixed-parameter hypotheses are HypothesisSAt, HypothesisRAt. baselineBound, balanceFactor give the bounds used in the comparison.
| Paper result or clause | Lean declaration | Comparator statement |
|---|---|---|
| A.1, Proposition A.1, Hardy realization with a variable boundary (p. 53) | proposition_A_1 |
statement_085_proposition_A_1 |
| A.1, Proposition A.1, Hardy realization with a variable boundary (p. 53) | proposition_A_1_operator_spec |
statement_086_proposition_A_1_operator_spec |
| A.2, Proposition A.2, a fixed parameter and the scope of the spectral bounds (p. 54) | proposition_A_2 |
statement_087_proposition_A_2 |
| A.2, Proposition A.2, a fixed parameter and the scope of the spectral bounds (p. 54) | variable_uniform_spectral_bound |
statement_089_variable_uniform_spectral_bound |
| A.2, Proposition A.2, a fixed parameter and the scope of the spectral bounds (p. 54) | proposition_A_2_pointwise |
statement_088_proposition_A_2_pointwise |
| A.3, Lemma A.3, balancing functional and operator bounds (p. 55) | lemma_A_3 |
statement_090_lemma_A_3 |
| A.3, Lemma A.3, balancing functional and operator bounds (p. 55) | lemma_A_3_absolute_operator_bound |
statement_091_lemma_A_3_absolute_operator_bound |
| A.3, Lemma A.3, balancing functional and operator bounds (p. 55) | lemma_A_3_balance |
statement_092_lemma_A_3_balance |
| A.3, Lemma A.3, balancing functional and operator bounds (p. 55) | lemma_A_3_width_ratio |
statement_093_lemma_A_3_width_ratio |
| A.4, Proposition A.4, fixed-modulus obstruction and baseline product (pp. 55–56) | proposition_A_4 |
statement_094_proposition_A_4 |
| A.4, Proposition A.4, fixed-modulus obstruction and baseline product (pp. 55–56) | proposition_A_4_baseline_product |
statement_095_proposition_A_4_baseline_product |
Appendix B. The experiment at 30,030 (pp. 57–62)
Start with wideWeight, edgeCorrection, primePowerCorrection for the wider weight and corrections, countingIntegral, wideMainIntegral, wideResidual for the moments and residual, and finiteSpectralMatrix, finiteSpectralFunction for the finite model.
| Paper result or clause | Lean declaration | Comparator statement |
|---|---|---|
| B.1, Proposition B.1, wide-weight counting identity (p. 57) | proposition_B_1 |
statement_096_proposition_B_1 |
| B.2, Lemma B.2, character moments on the counting line (p. 58) | lemma_B_2 |
statement_097_lemma_B_2 |
| B.3, main-integral identity (p. 59) | lemma_B_3_main_integral |
statement_099_lemma_B_3_main_integral |
| B.3, Lemma B.3, enclosure from moment errors (p. 59) | lemma_B_3 |
statement_098_lemma_B_3 |
| B.4, Proposition B.4, Hardy interpretation of the wide residual (p. 60) | proposition_B_4 |
statement_100_proposition_B_4 |
| B.4, Proposition B.4, Hardy interpretation of the wide residual (p. 60) | proposition_B_4_weight |
statement_101_proposition_B_4_weight |
| B.4, Proposition B.5, zeros of the finite spectral model (p. 61) | proposition_B_5 |
statement_102_proposition_B_5 |
The numerical cross-check unorderedPrimePairs_eq_905 certifies 905 unordered pairs by direct finite enumeration (B-08). The analytic results above include the enclosure implication and the conditional finite-matrix zero classification. For the status of the paper's moment values, error bounds and computed spectrum (including Figures B.1 and B.2), see the numerical audit.
