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.SpectralBasisExistence |
| 4 | |
| 5 | public section |
| 6 | |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | open scoped BigOperators ComplexConjugate Topology |
| 10 | open Filter Set Complex InnerProductSpace |
| 11 | namespace ConditionalGoldbach |
| 12 | attribute [local instance] Classical.propDecidable |
| 13 | variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] |
| 14 | |
| 15 | /-- A nonzero square-summable diagonal spectrum attains the operator norm. -/ |
| 16 | theorem spectral_norm_attained (T : H →L[ℂ] H) (hT : Nonempty (SpectralData T)) |
| 17 | (hne : T ≠ 0) : ∃ j, |eigenvalues T j| = ‖T‖ := by |
| 18 | have normBound (M : ℝ) (hM : 0 ≤ M) : |
| 19 | ‖T‖ ≤ M ↔ ∀ j, |eigenvalues T j| ≤ M := by |
| 20 | simpa only [eigenvalues, dite_eq_left hT] using (Classical.choice hT).norm_le_iff M hM |
| 21 | have hp : 0 < ‖T‖ := norm_pos_iff.mpr hne |
| 22 | have hs := finite_large_eigenvalues T hT (‖T‖ / 2) (half_pos hp) |
| 23 | have hex : ∃ j, ‖T‖ / 2 < |eigenvalues T j| := by |
| 24 | by_contra! h |
| 25 | have hn := (normBound _ (by positivity)).mpr h |
| 26 | linarith |
| 27 | have hnefin : hs.toFinset.Nonempty := by |
| 28 | obtain ⟨j, hj⟩ := hex |
| 29 | exact ⟨j, hs.mem_toFinset.mpr hj⟩ |
| 30 | obtain ⟨j, hj, hmax⟩ := hs.toFinset.exists_max_image (fun j => |eigenvalues T j|) hnefin |
| 31 | refine ⟨j, le_antisymm (abs_eigenvalues_le_norm T hT j) ?_⟩ |
| 32 | apply (normBound _ (abs_nonneg _)).mpr |
| 33 | intro k |
| 34 | by_cases hk : k ∈ hs.toFinset |
| 35 | · exact hmax k hk |
| 36 | · have hk' : |eigenvalues T k| ≤ ‖T‖ / 2 := by |
| 37 | simpa only [hs.mem_toFinset, Set.mem_ofPred_eq, not_lt] using hk |
| 38 | exact hk'.trans (le_of_lt (hs.mem_toFinset.mp hj)) |
| 39 | |
| 40 | /-- The abstract norm assertions used in Proposition 5.3. -/ |
| 41 | theorem spectral_norm_spec (T : H →L[ℂ] H) (hT : Nonempty (SpectralData T)) : |
| 42 | ‖T‖ = sSup (Set.range (fun j => |eigenvalues T j|)) ∧ |
| 43 | (T ≠ 0 → ∃ j, |eigenvalues T j| = ‖T‖) := |
| 44 | ⟨norm_eq_ciSup_abs_eigenvalues T hT, spectral_norm_attained T hT⟩ |
| 45 | |
| 46 | end ConditionalGoldbach |
