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.Definitions.GeometryCore |
| 4 | public import Mathlib.Analysis.MellinTransform |
| 5 | |
| 6 | /-! Weights definitions used by the conditional Goldbach formalization. -/ |
| 7 | @[expose] public section |
| 8 | |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | open scoped BigOperators ComplexConjugate Topology |
| 12 | open scoped ContDiff |
| 13 | open MeasureTheory Filter Set Complex |
| 14 | namespace ConditionalGoldbach |
| 15 | attribute [local instance] Classical.propDecidable |
| 16 | |
| 17 | def IsWeight (φ : ℝ → ℝ) : Prop := |
| 18 | ContDiff ℝ ∞ φ ∧ Function.support φ ⊆ Icc (1 / 3) (2 / 3) ∧ |
| 19 | (∀ u, 0 ≤ φ u ∧ φ u ≤ 1) ∧ (∀ u, φ u = φ (1 - u)) ∧ φ ≠ 0 |
| 20 | |
| 21 | def companion (φ : ℝ → ℝ) (u : ℝ) : ℝ := Real.sqrt u * φ u |
| 22 | |
| 23 | def derivativeWeight (φ : ℝ → ℝ) (u : ℝ) : ℝ := |
| 24 | companion φ u - u * deriv (companion φ) u |
| 25 | |
| 26 | def weightMass (φ : ℝ → ℝ) : ℝ := ∫ u in (0 : ℝ)..1, φ u ^ 2 |
| 27 | |
| 28 | def mellinWeight (φ : ℝ → ℝ) (s : ℂ) : ℂ := |
| 29 | mellin (fun u => (companion φ u : ℂ)) s |
| 30 | |
| 31 | def verticalMellin (σ : ℝ) (f : ℂ → ℂ) : ℂ := |
| 32 | (2 * (Real.pi : ℂ))⁻¹ * ∫ t : ℝ, f (line σ t) |
| 33 | |
| 34 | def differenceConvolution (φ : ℝ → ℝ) (y : ℝ) : ℝ := |
| 35 | ∫ u in Ioi (0 : ℝ), φ u * φ (u + y) |
| 36 | |
| 37 | def sumConvolution (φ : ℝ → ℝ) (y : ℝ) : ℝ := |
| 38 | ∫ u in Ioi (0 : ℝ), φ u * φ (y - u) |
| 39 | |
| 40 | def signedConvolution (φ : ℝ → ℝ) (y : ℝ) : ℝ := |
| 41 | 2 * differenceConvolution φ y - sumConvolution φ y |
| 42 | |
| 43 | def normFunctional (N : ℕ) (φ : ℝ → ℝ) (a : ℝ) : ℝ := |
| 44 | (2 * Real.pi)⁻¹ * ∫ u in Ioi (0 : ℝ), |
| 45 | Real.rpow (N * u) (2 * a) * derivativeWeight φ u ^ 2 / |
| 46 | (1 + Real.rpow (N * u) (-2 * (beta - a))) / u |
| 47 | |
| 48 | def weightEnergy (φ : ℝ → ℝ) : ℝ := |
| 49 | (2 * Real.pi)⁻¹ * ∫ u in Ioi (0 : ℝ), derivativeWeight φ u ^ 2 / u |
| 50 | |
| 51 | def weightIntegral (φ : ℝ → ℝ) : ℝ := ∫ u in Ioi (0 : ℝ), φ u |
| 52 | |
| 53 | def functionalIntegrand (N : ℕ) (φ : ℝ → ℝ) (s : ℂ) : ℂ := |
| 54 | (N : ℂ) ^ s * mellinWeight φ s * (1 + s) |
| 55 | |
| 56 | end ConditionalGoldbach |
