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.CharacterZeroExpansion |
| 4 | |
| 5 | /-! Exact real-part identities relating the positive Poisson zero sum to L'/L. -/ |
| 6 | public section |
| 7 | |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | open scoped BigOperators Topology |
| 11 | open Set Complex Filter |
| 12 | namespace ConditionalGoldbach |
| 13 | attribute [local instance] conductorNeZero |
| 14 | |
| 15 | lemma zero_resolvent_real (ρ : ℂ) (hρ : ρ.re = 1/2) (x t : ℝ) : |
| 16 | (1/((1/2:ℂ)+line x t-ρ)).re = x/(x^2+(t-ρ.im)^2) := by |
| 17 | simp [one_div,Complex.inv_re,Complex.normSq_apply,line,hρ,pow_two] |
| 18 | |
| 19 | lemma zeroDifference_real_eq_poisson {N : ℕ} [NeZero N] (hGRH : GRH N) |
| 20 | (χ : Character N) (hχ : χ ≠ 1) (x y t : ℝ) (hx : 0 < x) (hy : 0 < y) : |
| 21 | (zeroDifference χ.primitiveCharacter (1/2+line x t) (1/2+line y t)).re = |
| 22 | zeroPoisson χ x t-zeroPoisson χ y t := by |
| 23 | have hχp := primitiveCharacter_ne_one_of_ne_one χ hχ |
| 24 | have hL (a : ℝ) (ha : 0 < a) : χ.primitiveCharacter.LFunction (1/2+line a t) ≠ 0 := |
| 25 | primitive_LFunction_ne_zero_of_GRH hGRH χ.conductor_dvd_level χ.primitiveCharacter |
| 26 | χ.primitiveCharacter_isPrimitive hχp (by simp [line]; exact ha) |
| 27 | have hC (a : ℝ) (ha : 0 < a) : completedL χ.primitiveCharacter (1/2+line a t) ≠ 0 := by |
| 28 | intro he |
| 29 | exact hL a ha ((completedL_eq_zero_iff χ.primitiveCharacter hχp χ.primitiveCharacter_isPrimitive _).mp he).2.2 |
| 30 | have hs := (primitive_zero_difference_summable_norm χ.primitiveCharacter hχp |
| 31 | χ.primitiveCharacter_isPrimitive _ _ (hC x hx) (hC y hy)).of_norm |
| 32 | rw [zeroDifference,Complex.re_tsum hs] |
| 33 | have he : ∀p : ZeroIndex χ.primitiveCharacter, |
| 34 | (1/(1/2+line x t-p.val.1)-1/(1/2+line y t-p.val.1)).re = |
| 35 | x/(x^2+(t-p.val.1.im)^2)-y/(y^2+(t-p.val.1.im)^2) := by |
| 36 | intro p |
| 37 | have hre := hGRH χ.conductor inferInstance χ.conductor_dvd_level χ.primitiveCharacter |
| 38 | χ.primitiveCharacter_isPrimitive p.val.1 p.property.1 p.property.2.1 p.property.2.2.1 |
| 39 | rw [sub_re,zero_resolvent_real _ hre,zero_resolvent_real _ hre] |
| 40 | simp_rw [he] |
| 41 | exact (primitive_zero_poisson_summable _ hχp χ.primitiveCharacter_isPrimitive _ _ hx).tsum_sub |
| 42 | (primitive_zero_poisson_summable _ hχp χ.primitiveCharacter_isPrimitive _ _ hy) |
| 43 | |
| 44 | lemma zeroPoisson_logDerivative_difference {N : ℕ} [NeZero N] (hGRH : GRH N) |
| 45 | (χ : Character N) (hχ : χ ∈ oddCharacters N) (x y t : ℝ) (hx : 0 < x) (hy : 0 < y) : |
| 46 | zeroPoisson χ x t-zeroPoisson χ y t = |
| 47 | (logDerivative χ (line x t)-logDerivative χ (line y t)+ |
| 48 | (logDeriv Gamma (3/4+line x t/2)-logDeriv Gamma (3/4+line y t/2))/2- |
| 49 | eulerCorrection χ (1/2+line x t)+eulerCorrection χ (1/2+line y t)).re := by |
| 50 | have hodd := (Finset.mem_filter.mp hχ).2 |
| 51 | have hχn := odd_character_ne_one χ hodd |
| 52 | have hχp := primitiveCharacter_ne_one_of_ne_one χ hχn |
| 53 | have hoddp := primitiveCharacter_odd χ hodd |
| 54 | have hu (a : ℝ) (ha : 0 < a) : 0 < (1/2+line a t).re := by simp [line]; linarith |
| 55 | have hL (a : ℝ) (ha : 0 < a) : χ.primitiveCharacter.LFunction (1/2+line a t) ≠ 0 := |
| 56 | primitive_LFunction_ne_zero_of_GRH hGRH χ.conductor_dvd_level χ.primitiveCharacter |
| 57 | χ.primitiveCharacter_isPrimitive hχp (by simp [line]; exact ha) |
| 58 | have hC (a : ℝ) (ha : 0 < a) : completedL χ.primitiveCharacter (1/2+line a t) ≠ 0 := by |
| 59 | intro he |
| 60 | exact hL a ha ((completedL_eq_zero_iff χ.primitiveCharacter hχp χ.primitiveCharacter_isPrimitive _).mp he).2.2 |
| 61 | have hH := completedL_logDerivative_difference χ.primitiveCharacter hχp |
| 62 | χ.primitiveCharacter_isPrimitive _ _ (hC x hx) (hC y hy) |
| 63 | change logDeriv (completedL χ.primitiveCharacter) _ - logDeriv (completedL χ.primitiveCharacter) _ = _ at hH |
| 64 | rw [completedL_logDeriv_odd χ.primitiveCharacter hoddp (hu x hx) (hL x hx), |
| 65 | completedL_logDeriv_odd χ.primitiveCharacter hoddp (hu y hy) (hL y hy), |
| 66 | show ((1/2+line x t : ℂ)+1)/2 = 3/4+line x t/2 by ring, |
| 67 | show ((1/2+line y t : ℂ)+1)/2 = 3/4+line y t/2 by ring] at hH |
| 68 | have hEx := logDeriv_eq_primitive_add_euler χ hχn (hu x hx) (hL x hx) |
| 69 | have hEy := logDeriv_eq_primitive_add_euler χ hχn (hu y hy) (hL y hy) |
| 70 | have he : logDerivative χ (line x t)-logDerivative χ (line y t)+ |
| 71 | (logDeriv Gamma (3/4+line x t/2)-logDeriv Gamma (3/4+line y t/2))/2- |
| 72 | eulerCorrection χ (1/2+line x t)+eulerCorrection χ (1/2+line y t) = |
| 73 | zeroDifference χ.primitiveCharacter (1/2+line x t) (1/2+line y t) := by |
| 74 | change logDeriv χ.LFunction (1/2+line x t)-logDeriv χ.LFunction (1/2+line y t)+ |
| 75 | (logDeriv Gamma (3/4+line x t/2)-logDeriv Gamma (3/4+line y t/2))/2- |
| 76 | eulerCorrection χ (1/2+line x t)+eulerCorrection χ (1/2+line y t) = _ |
| 77 | change _ = zeroDifference χ.primitiveCharacter _ _ at hH |
| 78 | change _ = _ at hEx hEy |
| 79 | simp only [logDeriv_apply] at * |
| 80 | linear_combination hH+hEx-hEy |
| 81 | rw [he,zeroDifference_real_eq_poisson hGRH χ hχn x y t hx hy] |
| 82 | |
| 83 | end ConditionalGoldbach |
