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.FiniteModelBasic |
| 4 | |
| 5 | /-! Exact compatibility of the Appendix B weight with the finite C6 model interfaces. -/ |
| 6 | @[expose] public section |
| 7 | |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | open scoped Topology |
| 11 | open MeasureTheory Set |
| 12 | namespace ConditionalGoldbach |
| 13 | |
| 14 | def wideFiniteModelWeight : FiniteModelWeight wideWeight where |
| 15 | smooth := wideWeight_contDiff |
| 16 | lower := 16/experimentN |
| 17 | upper := 1-16/experimentN |
| 18 | lower_pos := by norm_num [experimentN] |
| 19 | upper_lt_one := by norm_num [experimentN] |
| 20 | lower_le_upper := by norm_num [experimentN] |
| 21 | support_subset := wideWeight_support.trans Ioo_subset_Icc_self |
| 22 | |
| 23 | lemma companion_wideWeight : companion wideWeight = wideCompanion := by |
| 24 | funext u |
| 25 | by_cases hu : 0 < u |
| 26 | · have hs : Real.sqrt u ≠ 0 := (Real.sqrt_pos.mpr hu).ne' |
| 27 | simp only [companion,wideWeight] |
| 28 | field_simp |
| 29 | · have hz : wideCompanion u = 0 := by |
| 30 | by_contra hn |
| 31 | have hh := (wideCompanion_support hn).1 |
| 32 | have hpos : (0 : ℝ) < 16/experimentN := by norm_num [experimentN] |
| 33 | exact hu (hpos.trans hh) |
| 34 | simp [companion,wideWeight,hz] |
| 35 | |
| 36 | lemma finiteModel_mass_wideWeight : FiniteModel.modelMass wideWeight = wideModelMass := rfl |
| 37 | |
| 38 | lemma mellinWeight_wideWeight : mellinWeight wideWeight = |
| 39 | mellin (fun u => (wideCompanion u : ℂ)) := by |
| 40 | unfold mellinWeight |
| 41 | rw [companion_wideWeight] |
| 42 | |
| 43 | end ConditionalGoldbach |
