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.SpectralCompletionChoice |
| 4 | public import ConditionalGoldbach.Proofs.SpectralCompletionIdentities |
| 5 | |
| 6 | public section |
| 7 | |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | open scoped BigOperators ComplexConjugate Topology |
| 11 | open MeasureTheory Filter Set Complex |
| 12 | namespace ConditionalGoldbach |
| 13 | attribute [local instance] Classical.propDecidable |
| 14 | variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] |
| 15 | |
| 16 | /-- The actual Fredholm product of the squared operator, not a chosen-eigenbasis surrogate. -/ |
| 17 | theorem spectralSquare_determinant_spec (T : H →L[ℂ] H) (hT : Nonempty (SpectralData T)) : |
| 18 | Nonempty (SpectralData (T.comp T)) ∧ |
| 19 | positiveTrace (T.comp T) = ∑' j, eigenvalues T j ^ 2 ∧ |
| 20 | (∀ t : ℂ, Multipliable (fun j : ℕ => 1 - t * (eigenvalues T j : ℂ) ^ 2) ∧ |
| 21 | fredholmSquareDet T t = ∏' j : ℕ, (1 - t * (eigenvalues T j : ℂ) ^ 2)) := by |
| 22 | let d := Classical.choice hT |
| 23 | have hA : Nonempty (SpectralData (T.comp T)) := ⟨d.square⟩ |
| 24 | let dA := Classical.choice hA |
| 25 | have heig : eigenvalues T = d.values := by simp only [eigenvalues, dite_eq_left hT, d] |
| 26 | refine ⟨hA, ?_, ?_⟩ |
| 27 | · rw [symmetric_square_trace_eq_hsNorm T d.isSymmetric d.isHilbertSchmidt, d.hsNorm_sq, heig] |
| 28 | · intro t |
| 29 | have hs : Summable (fun j => -(t * (d.values j : ℂ) ^ 2)) := by |
| 30 | simpa only [Complex.ofReal_pow] using |
| 31 | ((Complex.summable_ofReal.2 d.squareSummable).mul_left t).neg |
| 32 | refine ⟨?_, ?_⟩ |
| 33 | · simpa only [heig, sub_eq_add_neg] using Complex.multipliable_one_add_of_summable hs |
| 34 | · have hsSquare : Summable (fun j => -(t * (d.square.values j : ℂ))) := by |
| 35 | simpa only [SpectralData.square, Complex.ofReal_pow] using hs |
| 36 | have hsA := (d.square.spectralStatistic_independent dA (fun x => -(t * (x : ℂ))) hsSquare).1 |
| 37 | have hp := dA.tprod_one_add_independent d.square (fun x => -(t * (x : ℂ))) hsA hsSquare |
| 38 | simpa only [fredholmSquareDet, positiveFredholmDet, eigenvalues, dite_eq_left hA, |
| 39 | dite_eq_left hT, d, dA, SpectralData.square, Complex.ofReal_pow, sub_eq_add_neg] using hp |
| 40 | |
| 41 | theorem proposition_6_1_square_determinant (N : ℕ) [NeZero N] (hN : Even N) |
| 42 | (hlarge : Real.exp 10 < (N : ℝ)) (hGRH : GRH N) (ha : alpha N < beta) : |
| 43 | let T := residualOperator ha N |
| 44 | Nonempty (SpectralData (T.comp T)) ∧ |
| 45 | positiveTrace (T.comp T) = ∑' j, eigenvalues T j ^ 2 ∧ |
| 46 | (∀ t : ℂ, Multipliable (fun j : ℕ => 1 - t * (eigenvalues T j : ℂ) ^ 2) ∧ |
| 47 | fredholmSquareDet T t = ∏' j : ℕ, (1 - t * (eigenvalues T j : ℂ) ^ 2)) := by |
| 48 | exact spectralSquare_determinant_spec _ (residualOperator_has_spectral_data N hN hlarge hGRH ha) |
| 49 | |
| 50 | theorem proposition_6_1 (N : ℕ) [NeZero N] (hN : Even N) (hlarge : Real.exp 10 < (N : ℝ)) |
| 51 | (hGRH : GRH N) (ha : alpha N < beta) : |
| 52 | CompactUniformLimit (fun k q => spectralPartialQuaternion N (residualOperator ha N) q k) |
| 53 | (spectralQuaternion N (residualOperator ha N)) ∧ |
| 54 | IntrinsicEntire (spectralQuaternion N (residualOperator ha N)) ∧ |
| 55 | (∀ q : ℂ, Multipliable (fun j : ℕ => |
| 56 | 1 - (4 * eigenvalues (residualOperator ha N) j ^ 2 / spectralScale N ^ 2 : ℝ) * |
| 57 | q * (1 - q))) ∧ |
| 58 | IsPositiveTraceClass ((residualOperator ha N).comp (residualOperator ha N)) ∧ |
| 59 | positiveTrace ((residualOperator ha N).comp (residualOperator ha N)) = |
| 60 | hsNorm (residualOperator ha N) ^ 2 ∧ |
| 61 | (∀ q : ℂ, spectralComplex N (residualOperator ha N) q = |
| 62 | fredholmSquareDet (residualOperator ha N) (4 / spectralScale N ^ 2 * q * (1 - q))) := by |
| 63 | have hT := residualOperator_has_spectral_data N hN hlarge hGRH ha |
| 64 | let d := Classical.choice hT |
| 65 | refine ⟨spectralQuaternion_compactUniformLimit N _ hT, |
| 66 | spectralQuaternion_intrinsicEntire N _ hT, spectralComplex_multipliable N _ hT, |
| 67 | symmetric_square_positiveTraceClass _ d.isSymmetric d.isHilbertSchmidt, |
| 68 | symmetric_square_trace_eq_hsNorm _ d.isSymmetric d.isHilbertSchmidt, ?_⟩ |
| 69 | intro q |
| 70 | rw [((spectralSquare_determinant_spec _ hT).2.2 _).2] |
| 71 | apply tprod_congr |
| 72 | intro j |
| 73 | push_cast |
| 74 | ring |
| 75 | |
| 76 | end ConditionalGoldbach |
