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.SpectralPositiveFredholm |
| 4 | public import ConditionalGoldbach.Proofs.SpectralHilbertSchmidtCompact |
| 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] [CompleteSpace H] |
| 15 | |
| 16 | omit [CompleteSpace H] in |
| 17 | /-- The paper's Hilbert--Schmidt norm is nonnegative, including its totalized zero case. -/ |
| 18 | theorem hsNorm_nonneg (T : H →L[ℂ] H) : 0 ≤ hsNorm T := by |
| 19 | unfold hsNorm |
| 20 | split_ifs |
| 21 | · exact Real.sqrt_nonneg _ |
| 22 | · exact le_rfl |
| 23 | |
| 24 | /-- The operator norm is at most the paper's original Hilbert--Schmidt norm. -/ |
| 25 | theorem IsHilbertSchmidt.norm_le_hsNorm {T : H →L[ℂ] H} (hT : IsHilbertSchmidt T) : |
| 26 | ‖T‖ ≤ hsNorm T := by |
| 27 | unfold IsHilbertSchmidt at hT |
| 28 | unfold hsNorm |
| 29 | rw [dite_eq_left hT] |
| 30 | exact hilbertSchmidt_norm_le T (Classical.choose hT) (Classical.choose_spec hT) |
| 31 | |
| 32 | /-- For a positive trace-class operator, its Hilbert--Schmidt norm is at most its trace. -/ |
| 33 | theorem IsPositiveTraceClass.hsNorm_le_trace {A : H →L[ℂ] H} (hA : IsPositiveTraceClass A) : |
| 34 | hsNorm A ≤ positiveTrace A := by |
| 35 | obtain ⟨-, -, hspec, hpos, hsum, htrace, -, -⟩ := proposition_6_1_positive_fredholm_spec A hA |
| 36 | have hsq : hsNorm A ^ 2 = ∑' j, eigenvalues A j ^ 2 := by |
| 37 | simpa only [eigenvalues, dite_eq_left hspec] using (Classical.choice hspec).hsNorm_sq |
| 38 | have hnonneg : 0 ≤ positiveTrace A := htrace ▸ tsum_nonneg hpos |
| 39 | have hle : (∑' j, eigenvalues A j ^ 2) ≤ (positiveTrace A) ^ 2 := by |
| 40 | calc |
| 41 | (∑' j, eigenvalues A j ^ 2) ≤ ∑' j, eigenvalues A j * positiveTrace A := by |
| 42 | apply Summable.tsum_le_tsum ?_ (eigenvalues_square_summable A hspec) |
| 43 | (hsum.mul_right (positiveTrace A)) |
| 44 | intro j |
| 45 | have hj : eigenvalues A j ≤ positiveTrace A := by |
| 46 | rw [htrace] |
| 47 | exact hsum.le_tsum j (fun i hi => hpos i) |
| 48 | nlinarith [hpos j] |
| 49 | _ = (positiveTrace A) ^ 2 := by rw [tsum_mul_right, ← htrace, pow_two] |
| 50 | rw [← hsq] at hle |
| 51 | nlinarith [hsNorm_nonneg A] |
| 52 | |
| 53 | end ConditionalGoldbach |
