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.FiniteMellinProjection |
| 4 | public import ConditionalGoldbach.Proofs.MellinMoment |
| 5 | |
| 6 | /-! Absolutely convergent double Mellin inversion for a common sampling sequence. -/ |
| 7 | public section |
| 8 | |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | open scoped BigOperators ComplexConjugate Topology ContDiff |
| 12 | open MeasureTheory Filter Set Complex |
| 13 | namespace ConditionalGoldbach |
| 14 | |
| 15 | lemma finite_double_mellin_inversion_series {ι : Type*} [Countable ι] |
| 16 | (f : ℝ → ℝ) (hf : ContDiff ℝ 2 f) (l r : ℝ) |
| 17 | (hsupp : Function.support f ⊆ Icc l r) (σ : ℝ) (hσ : 0<σ) (u : ι → ℝ) (b : ι → ℂ) |
| 18 | (hu : ∀ i, 0 < u i) |
| 19 | (hb : Summable (fun i => ‖b i‖ * Real.rpow (u i) (-σ) ^ 2)) : |
| 20 | Integrable (fun p : ℝ × ℝ => ∑' i, |
| 21 | b i * (mellin (fun u => (f u:ℂ)) (line σ p.1) * (u i : ℂ) ^ (-line σ p.1)) * |
| 22 | (mellin (fun u => (f u:ℂ)) (line σ p.2) * (u i : ℂ) ^ (-line σ p.2))) ∧ |
| 23 | HasSum (fun i => b i * (f (u i) : ℂ) ^ 2) |
| 24 | (verticalMellin σ (fun s => verticalMellin σ (fun z => ∑' i, |
| 25 | b i * (mellin (fun u => (f u:ℂ)) s * (u i : ℂ) ^ (-s)) * |
| 26 | (mellin (fun u => (f u:ℂ)) z * (u i : ℂ) ^ (-z))))) := by |
| 27 | let F : ι → ℝ × ℝ → ℂ := fun i p => |
| 28 | b i * (mellin (fun u => (f u:ℂ)) (line σ p.1) * (u i : ℂ) ^ (-line σ p.1)) * |
| 29 | (mellin (fun u => (f u:ℂ)) (line σ p.2) * (u i : ℂ) ^ (-line σ p.2)) |
| 30 | let B : ι → ℝ × ℝ → ℝ := fun i p => |
| 31 | (‖b i‖ * Real.rpow (u i) (-σ) ^ 2) * |
| 32 | (‖mellin (fun u => (f u:ℂ)) (line σ p.1)‖ * ‖mellin (fun u => (f u:ℂ)) (line σ p.2)‖) |
| 33 | have hi (i : ι) : Integrable (F i) := |
| 34 | ((compact_mellin_finite_inversion_integrable f hf l r hsupp σ hσ (u i) (hu i)).const_mul (b i)).mul_prod |
| 35 | (compact_mellin_finite_inversion_integrable f hf l r hsupp σ hσ (u i) (hu i)) |
| 36 | have heq (i : ι) (p : ℝ × ℝ) : ‖F i p‖ = B i p := by |
| 37 | simp only [F, B, norm_mul, Complex.norm_cpow_eq_rpow_re_of_pos (hu i)] |
| 38 | simp only [line, neg_re, add_re, ofReal_re, mul_re, ofReal_im, I_re, I_im, |
| 39 | mul_zero, zero_mul, sub_self, add_zero, Real.rpow_eq_pow] |
| 40 | ring |
| 41 | have hBi : Integrable (fun p : ℝ × ℝ => ∑' i, B i p) := by |
| 42 | simp only [B, tsum_mul_right] |
| 43 | exact ((compact_mellin_finite_verticalIntegrable f hf l r hsupp σ hσ).norm.mul_prod |
| 44 | (compact_mellin_finite_verticalIntegrable f hf l r hsupp σ hσ).norm).const_mul _ |
| 45 | have hsum : ∀ p : ℝ × ℝ, Summable (fun i => F i p) := by |
| 46 | intro p |
| 47 | apply Summable.of_norm |
| 48 | simpa only [heq, B] using hb.mul_right |
| 49 | (‖mellin (fun u => (f u:ℂ)) (line σ p.1)‖ * ‖mellin (fun u => (f u:ℂ)) (line σ p.2)‖) |
| 50 | have hInt : Integrable (fun p : ℝ × ℝ => ∑' i, F i p) := by |
| 51 | apply hBi.mono' (AEStronglyMeasurable.tsum (fun i => (hi i).aestronglyMeasurable)) |
| 52 | filter_upwards [] with p |
| 53 | simpa only [heq] using norm_tsum_le_tsum_norm (hsum p).norm |
| 54 | refine ⟨hInt, ?_⟩ |
| 55 | have h := hasSum_integral_of_dominated_convergence B |
| 56 | (fun i => (hi i).aestronglyMeasurable) |
| 57 | (fun i => Eventually.of_forall (fun p => (heq i p).le)) |
| 58 | (Eventually.of_forall (fun p => hb.mul_right _)) hBi |
| 59 | (Eventually.of_forall (fun p => (hsum p).hasSum)) |
| 60 | let c : ℂ := (2 * (Real.pi : ℂ))⁻¹ |
| 61 | have hscaled := h.mul_left (c * c) |
| 62 | convert hscaled using 1 |
| 63 | · ext i |
| 64 | dsimp [F] |
| 65 | rw [Measure.volume_eq_prod, integral_prod_mul |
| 66 | (fun x : ℝ => b i * (mellin (fun u => (f u:ℂ)) (line σ x) * (u i : ℂ) ^ (-line σ x))) |
| 67 | (fun y : ℝ => mellin (fun u => (f u:ℂ)) (line σ y) * (u i : ℂ) ^ (-line σ y)), integral_const_mul] |
| 68 | rw [compact_mellin_finite_inversion f hf l r hsupp σ hσ (u i) (hu i)] |
| 69 | unfold verticalMellin |
| 70 | dsimp [c] |
| 71 | ring |
| 72 | · rw [Measure.volume_eq_prod, integral_prod _ hInt] |
| 73 | simp only [verticalMellin, integral_const_mul] |
| 74 | dsimp [c, F] |
| 75 | ring |
| 76 | |
| 77 | end ConditionalGoldbach |
