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
| 1 | module |
| 2 | |
| 3 | public import ConditionalGoldbach.Proofs.LFunctionDomain |
| 4 | |
| 5 | /-! Local finiteness of the paper's zeros with multiplicity, using the actual entire L-function. -/ |
| 6 | public section |
| 7 | |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | open scoped BigOperators ComplexConjugate Topology |
| 11 | open Set Complex Metric Filter |
| 12 | namespace ConditionalGoldbach |
| 13 | |
| 14 | lemma LFunction_zeros_codiscrete {d : ℕ} [NeZero d] (χ : Character d) (hχ : χ ≠ 1) : |
| 15 | (χ.LFunction ⁻¹' {0})ᶜ ∈ Filter.codiscrete ℂ := by |
| 16 | have ha : AnalyticOnNhd ℂ χ.LFunction univ := fun z _ => |
| 17 | (χ.differentiable_LFunction hχ).analyticAt z |
| 18 | exact ha.preimage_zero_mem_codiscrete |
| 19 | (χ.LFunction_ne_zero_of_one_le_re (s := 2) (Or.inl hχ) (by norm_num)) |
| 20 | |
| 21 | lemma LFunction_zeros_compact_finite {d : ℕ} [NeZero d] (χ : Character d) (hχ : χ ≠ 1) |
| 22 | {K : Set ℂ} (hK : IsCompact K) : (K ∩ χ.LFunction ⁻¹' {0}).Finite := by |
| 23 | have hc := mem_codiscrete'.mp (LFunction_zeros_codiscrete χ hχ) |
| 24 | have hclosed : IsClosed (χ.LFunction ⁻¹' {0}) := by simpa using hc.1 |
| 25 | have hdiscrete : IsDiscrete (χ.LFunction ⁻¹' {0}) := by simpa using hc.2 |
| 26 | exact (hK.inter_right hclosed).finite (hdiscrete.mono inter_subset_right) |
| 27 | |
| 28 | lemma zeroWindow_finite {d : ℕ} [NeZero d] (χ : Character d) (hχ : χ ≠ 1) (t : ℝ) : |
| 29 | (zeroWindow χ t).Finite := by |
| 30 | classical |
| 31 | let K : Set ℂ := closedBall 0 (|t|+3) ∩ χ.LFunction ⁻¹' {0} |
| 32 | have hK : K.Finite := LFunction_zeros_compact_finite χ hχ (isCompact_closedBall ..) |
| 33 | have hB : (⋃ z ∈ K, ({z} : Set ℂ) ×ˢ Set.Iio (analyticOrderNatAt χ.LFunction z)).Finite := |
| 34 | hK.biUnion (fun z _ => (finite_singleton z).prod (Set.finite_Iio _)) |
| 35 | apply (hB.preimage Subtype.val_injective.injOn).subset |
| 36 | intro p hp |
| 37 | simp only [mem_preimage, mem_iUnion, mem_prod, mem_singleton_iff, mem_Iio] |
| 38 | refine ⟨p.val.1, ?_, rfl, p.property.2.2.2⟩ |
| 39 | refine ⟨?_, p.property.2.2.1⟩ |
| 40 | apply mem_closedBall_zero_iff.mpr |
| 41 | have hre : |p.val.1.re| ≤ 1 := by rw [abs_of_pos p.property.1]; exact p.property.2.1.le |
| 42 | have him : |p.val.1.im| ≤ |t|+1 := by |
| 43 | apply abs_le.mpr |
| 44 | have hh := hp |
| 45 | change t ≤ p.val.1.im ∧ p.val.1.im < t+1 at hh |
| 46 | constructor |
| 47 | · linarith [neg_abs_le t] |
| 48 | · linarith [le_abs_self t] |
| 49 | exact (Complex.norm_le_abs_re_add_abs_im _).trans (by linarith) |
| 50 | |
| 51 | end ConditionalGoldbach |
