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.SpectralTraceBounds |
| 4 | |
| 5 | public section |
| 6 | |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | open scoped BigOperators |
| 10 | namespace ConditionalGoldbach |
| 11 | variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H] |
| 12 | |
| 13 | lemma hilbertSchmidt_sub_bound {T S : H →L[ℂ] H} |
| 14 | (hT : IsHilbertSchmidt T) (hS : IsHilbertSchmidt S) : |
| 15 | IsHilbertSchmidt (T-S) ∧ hsNorm (T-S)≤2*(hsNorm T+hsNorm S) := by |
| 16 | obtain ⟨b,hb⟩ := hT |
| 17 | have hT : IsHilbertSchmidt T := ⟨b,hb⟩ |
| 18 | obtain ⟨hST,hTS⟩ := proposition_5_3_hs_basis_independent T hT b |
| 19 | obtain ⟨hSS,hSSq⟩ := proposition_5_3_hs_basis_independent S hS b |
| 20 | have hpoint (j : ℕ) : ‖(T-S) (b j)‖^2≤2*(‖T (b j)‖^2+‖S (b j)‖^2) := by |
| 21 | change ‖T (b j)-S (b j)‖^2≤_ |
| 22 | have h := norm_sub_le (T (b j)) (S (b j)) |
| 23 | nlinarith [norm_nonneg (T (b j)-S (b j)),norm_nonneg (T (b j)),norm_nonneg (S (b j)),sq_nonneg (‖T (b j)‖-‖S (b j)‖)] |
| 24 | have hsum : Summable (fun j => ‖(T-S) (b j)‖^2) := |
| 25 | ((hST.add hSS).mul_left 2).of_nonneg_of_le (fun _ => sq_nonneg _) hpoint |
| 26 | have hsub : IsHilbertSchmidt (T-S) := ⟨b,hsum⟩ |
| 27 | refine ⟨hsub,?_⟩ |
| 28 | have he := (proposition_5_3_hs_basis_independent (T-S) hsub b).2 |
| 29 | have hsq : hsNorm (T-S)^2≤2*(hsNorm T^2+hsNorm S^2) := by |
| 30 | rw [he,hTS,hSSq] |
| 31 | convert Summable.tsum_le_tsum hpoint hsum ((hST.add hSS).mul_left 2) using 1 |
| 32 | rw [tsum_mul_left,hST.tsum_add hSS] |
| 33 | have ht := hsNorm_nonneg T |
| 34 | have hs := hsNorm_nonneg S |
| 35 | have hts := hsNorm_nonneg (T-S) |
| 36 | nlinarith [mul_nonneg ht hs] |
| 37 | |
| 38 | lemma hilbertSchmidt_sub_sub_bound {P D K : H →L[ℂ] H} |
| 39 | (hP : IsHilbertSchmidt P) (hD : IsHilbertSchmidt D) (hK : IsHilbertSchmidt K) : |
| 40 | IsHilbertSchmidt (P-D-K) ∧ hsNorm (P-D-K)≤4*(hsNorm P+hsNorm D+hsNorm K) := by |
| 41 | obtain ⟨hPD,hPDnorm⟩ := hilbertSchmidt_sub_bound hP hD |
| 42 | obtain ⟨hR,hRnorm⟩ := hilbertSchmidt_sub_bound hPD hK |
| 43 | exact ⟨hR,by linarith [hsNorm_nonneg K]⟩ |
| 44 | |
| 45 | end ConditionalGoldbach |
