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.HardyTraces |
| 4 | public import ConditionalGoldbach.Definitions.Hilbert |
| 5 | public import ConditionalGoldbach.Definitions.Model |
| 6 | public import Mathlib.MeasureTheory.Function.L2Space |
| 7 | public import Mathlib.MeasureTheory.Measure.Haar.OfBasis |
| 8 | |
| 9 | /-! Operators definitions used by the conditional Goldbach formalization. -/ |
| 10 | @[expose] public section |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | open scoped BigOperators ComplexConjugate Topology |
| 15 | open MeasureTheory Filter Set Complex |
| 16 | namespace ConditionalGoldbach |
| 17 | attribute [local instance] Classical.propDecidable |
| 18 | |
| 19 | def weightedKernel (N : ℕ) [NeZero N] (s z : ℂ) : ℂ := |
| 20 | residual N s (conj z) / ((1 + s) * (1 + conj z)) |
| 21 | |
| 22 | def kernelAction {a : ℝ} (ha : a < beta) (N : ℕ) [NeZero N] |
| 23 | (K : ℂ → ℂ → ℂ) (h : HardySpace a beta) (s : ℂ) : ℂ := |
| 24 | (∫ t : ℝ, K s (line a t) * (boundaryTraces ha h).1 t) + |
| 25 | ∫ t : ℝ, K s (line beta t) * (boundaryTraces ha h).2 t |
| 26 | |
| 27 | def RepresentsKernel {a : ℝ} (ha : a < beta) (N : ℕ) [NeZero N] |
| 28 | (K : ℂ → ℂ → ℂ) (T : HardySpace a beta →L[ℂ] HardySpace a beta) : Prop := |
| 29 | ∀ h s, s ∈ strip a beta → fourierLaplace (T h) s = kernelAction ha N K h s |
| 30 | |
| 31 | def kernelOperator {a : ℝ} (ha : a < beta) (N : ℕ) [NeZero N] |
| 32 | (K : ℂ → ℂ → ℂ) : HardySpace a beta →L[ℂ] HardySpace a beta := |
| 33 | if h : ∃ T, RepresentsKernel ha N K T then Classical.choose h else 0 |
| 34 | |
| 35 | def residualOperator {a : ℝ} (ha : a < beta) (N : ℕ) [NeZero N] := |
| 36 | kernelOperator ha N (weightedKernel N) |
| 37 | |
| 38 | def arithmeticOperator {a : ℝ} (ha : a < beta) (N : ℕ) [NeZero N] := |
| 39 | kernelOperator ha N (fun s z => characterKernel N s (conj z) / ((1 + s) * (1 + conj z))) |
| 40 | |
| 41 | def diagonalOperator {a : ℝ} (ha : a < beta) (N : ℕ) [NeZero N] := |
| 42 | kernelOperator ha N (fun s z => diagonalSeries N (s + conj z) / ((1 + s) * (1 + conj z))) |
| 43 | |
| 44 | def modelOperator {a : ℝ} (ha : a < beta) (N : ℕ) [NeZero N] := |
| 45 | kernelOperator ha N (fun s z => continuedModel N s (conj z) / ((1 + s) * (1 + conj z))) |
| 46 | |
| 47 | def functionalValue {a : ℝ} (N : ℕ) (φ : ℝ → ℝ) (σ : ℝ) |
| 48 | (h : HardySpace a beta) : ℂ := |
| 49 | verticalMellin σ (fun s => (N : ℂ) ^ s * mellinWeight φ s * (1 + s) * fourierLaplace h s) |
| 50 | |
| 51 | def rieszVector {a : ℝ} (N : ℕ) (φ : ℝ → ℝ) : HardySpace a beta := |
| 52 | if h : ∃ v : HardySpace a beta, ∀ f, |
| 53 | functionalValue N φ sigmaStar f = paperInner f v |
| 54 | then Classical.choose h else 0 |
| 55 | |
| 56 | def evaluationVector {a b : ℝ} (s : ℂ) : HardySpace a b := |
| 57 | if h : ∃ v : HardySpace a b, ∀ f, fourierLaplace f s = paperInner f v |
| 58 | then Classical.choose h else 0 |
| 59 | |
| 60 | def diagonalHardyVector {a : ℝ} (n : ℕ) : HardySpace a beta := |
| 61 | if h : ∃ d : HardySpace a beta, ∀ s ∈ strip a beta, |
| 62 | fourierLaplace d s = diagonalVector n s |
| 63 | then Classical.choose h else 0 |
| 64 | |
| 65 | end ConditionalGoldbach |
