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.HardyKernelColumns |
| 4 | public import Mathlib.Analysis.SpecialFunctions.JapaneseBracket |
| 5 | |
| 6 | /-! A product majorant supplies both the four boundary L² blocks and all closed-strip Hardy columns. -/ |
| 7 | public section |
| 8 | |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | open MeasureTheory Filter Set Complex |
| 12 | open scoped Topology ComplexConjugate |
| 13 | namespace ConditionalGoldbach |
| 14 | |
| 15 | lemma hardyKernel_inputs_of_majorant {a b : ℝ} (hab : a < b) (K : ℂ → ℂ → ℂ) |
| 16 | (hc : ContinuousOn (Function.uncurry K) |
| 17 | {p : ℂ × ℂ | p.1.re ∈ Icc a b ∧ p.2.re ∈ Icc a b}) |
| 18 | (hhol : ∀ s : ℂ, s.re ∈ Icc a b → DifferentiableOn ℂ (fun z => K z s) (strip a b)) |
| 19 | (M : ℝ → ℝ) (hM : Integrable M) |
| 20 | (hbound : ∀ x ∈ Icc a b, ∀ y ∈ Icc a b, ∀ v t : ℝ, |
| 21 | ‖K (line x v) (line y t)‖ ^ 2 ≤ M v * M t) : |
| 22 | (∀ x ∈ ({a, b} : Finset ℝ), ∀ y ∈ ({a, b} : Finset ℝ), |
| 23 | MemLp (fun p : ℝ × ℝ => K (line x p.1) (line y p.2)) 2 volume) ∧ |
| 24 | HasHardyKernelColumns hab K := by |
| 25 | constructor |
| 26 | · intro x hx y hy |
| 27 | have hxi : x ∈ Icc a b := by |
| 28 | simp only [Finset.mem_insert, Finset.mem_singleton] at hx |
| 29 | rcases hx with rfl | rfl <;> exact ⟨by linarith, by linarith⟩ |
| 30 | have hyi : y ∈ Icc a b := by |
| 31 | simp only [Finset.mem_insert, Finset.mem_singleton] at hy |
| 32 | rcases hy with rfl | rfl <;> exact ⟨by linarith, by linarith⟩ |
| 33 | have hcont : Continuous (fun p : ℝ × ℝ => K (line x p.1) (line y p.2)) := by |
| 34 | apply hc.comp_continuous (show Continuous (fun p : ℝ × ℝ => (line x p.1, line y p.2)) by |
| 35 | unfold line; fun_prop) |
| 36 | intro p |
| 37 | simpa [line] using And.intro hxi hyi |
| 38 | apply (memLp_two_iff_integrable_sq_norm hcont.aestronglyMeasurable).mpr |
| 39 | have hi : Integrable (fun p : ℝ × ℝ => M p.1 * M p.2) volume := by |
| 40 | simpa only [smul_eq_mul, Measure.volume_eq_prod] using hM.smul_prod hM |
| 41 | apply hi.mono' (hcont.norm.pow 2).aestronglyMeasurable |
| 42 | filter_upwards [] with p |
| 43 | simpa only [Pi.pow_apply, Real.norm_eq_abs, abs_sq] using hbound x hxi y hyi p.1 p.2 |
| 44 | · apply hardyKernelColumns_of_majorant hab K hhol |
| 45 | · intro s hs |
| 46 | exact hc.comp (f := fun z : ℂ => (z, s)) (by fun_prop) |
| 47 | (by intro z hz; exact ⟨hz, hs⟩) |
| 48 | · intro s hs |
| 49 | refine ⟨fun t => M t * M s.im, hM.mul_const _, ?_⟩ |
| 50 | intro x hx t |
| 51 | have he : line s.re s.im = s := by apply Complex.ext <;> simp [line] |
| 52 | simpa only [he] using hbound x hx s.re hs t s.im |
| 53 | |
| 54 | lemma hardy_decay_integrable : Integrable (fun t : ℝ => (1 + |t|) ^ (- (3 / 2 : ℝ))) := by |
| 55 | simpa only [Real.norm_eq_abs] using |
| 56 | (integrable_one_add_norm (μ := (volume : Measure ℝ)) (by norm_num : |
| 57 | (Module.finrank ℝ ℝ : ℝ) < (3 / 2 : ℝ))) |
| 58 | |
| 59 | lemma hardyKernel_inputs_of_power_bound {a b : ℝ} (hab : a < b) (K : ℂ → ℂ → ℂ) |
| 60 | (hc : ContinuousOn (Function.uncurry K) |
| 61 | {p : ℂ × ℂ | p.1.re ∈ Icc a b ∧ p.2.re ∈ Icc a b}) |
| 62 | (hhol : ∀ s : ℂ, s.re ∈ Icc a b → DifferentiableOn ℂ (fun z => K z s) (strip a b)) |
| 63 | (C : ℝ) (hC : 0 ≤ C) |
| 64 | (hbound : ∀ x ∈ Icc a b, ∀ y ∈ Icc a b, ∀ v t : ℝ, |
| 65 | ‖K (line x v) (line y t)‖ ^ 2 ≤ |
| 66 | C * (1 + |v|) ^ (- (3 / 2 : ℝ)) * (1 + |t|) ^ (- (3 / 2 : ℝ))) : |
| 67 | (∀ x ∈ ({a, b} : Finset ℝ), ∀ y ∈ ({a, b} : Finset ℝ), |
| 68 | MemLp (fun p : ℝ × ℝ => K (line x p.1) (line y p.2)) 2 volume) ∧ |
| 69 | HasHardyKernelColumns hab K := by |
| 70 | apply hardyKernel_inputs_of_majorant hab K hc hhol |
| 71 | (fun t => Real.sqrt C * (1 + |t|) ^ (- (3 / 2 : ℝ))) |
| 72 | (hardy_decay_integrable.const_mul _) |
| 73 | intro x hx y hy v t |
| 74 | convert hbound x hx y hy v t using 1 |
| 75 | rw [show Real.sqrt C * (1 + |v|) ^ (- (3 / 2 : ℝ)) * |
| 76 | (Real.sqrt C * (1 + |t|) ^ (- (3 / 2 : ℝ))) = |
| 77 | (Real.sqrt C)^2 * (1 + |v|) ^ (- (3 / 2 : ℝ)) * (1 + |t|) ^ (- (3 / 2 : ℝ)) by ring, |
| 78 | Real.sq_sqrt hC] |
| 79 | |
| 80 | end ConditionalGoldbach |
