Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.Comparison.Betti.Open.AffineIsoEvaluation |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Projective.IntersectionHolomorphy |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions |
| 4 | |
| 5 | /-! # Chart Section Map -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Projective.ChartSectionMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The section map induced by the native projective affine chart sends the |
| 12 | original homogeneous fractions to their dehomogenized polynomials. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | def projectiveCoordinateSectionMap (n : ℕ) (i : Fin (n + 1)) : |
| 17 | Γ(Foundations.Scheme.ProjectiveSpace.projectiveSpace n, Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i) ⟶ CommRingCat.of (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i) := |
| 18 | (Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i).topIso.inv ≫ (Foundations.Scheme.ProjectiveChart.projectiveCoordinateIsoSpec n i).inv.appTop ≫ |
| 19 | (Scheme.ΓSpecIso (CommRingCat.of (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i))).hom |
| 20 | |
| 21 | @[reassoc] |
| 22 | theorem projectiveAwaySection_inv_chart (n : ℕ) (i : Fin (n + 1)) : |
| 23 | Proj.awayToSection (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i) ≫ |
| 24 | (Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i).topIso.inv ≫ |
| 25 | (Proj.basicOpenIsoSpec (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i) |
| 26 | (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveVariable_homogeneous n i) (by decide : 0 < 1)).inv.appTop = |
| 27 | (Scheme.ΓSpecIso (CommRingCat.of (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartRing n i))).inv := by |
| 28 | apply (cancel_epi (Scheme.ΓSpecIso (CommRingCat.of (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartRing n i))).hom).mp |
| 29 | rw [← Category.assoc, ← Category.assoc, |
| 30 | Category.assoc (Scheme.ΓSpecIso (CommRingCat.of (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartRing n i))).hom |
| 31 | (Proj.awayToSection (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i)) |
| 32 | (Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i).topIso.inv, |
| 33 | ← Proj.basicOpenToSpec_app_top] |
| 34 | change (Proj.basicOpenIsoSpec (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i) |
| 35 | (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveVariable_homogeneous n i) (by decide : 0 < 1)).hom.appTop ≫ |
| 36 | (Proj.basicOpenIsoSpec (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i) |
| 37 | (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveVariable_homogeneous n i) (by decide : 0 < 1)).inv.appTop = _ |
| 38 | rw [← Scheme.Hom.comp_appTop, Iso.inv_hom_id, Iso.hom_inv_id] |
| 39 | rfl |
| 40 | |
| 41 | theorem projectiveCoordinateSectionMap_away (n : ℕ) (i : Fin (n + 1)) : |
| 42 | Proj.awayToSection (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i) ≫ |
| 43 | projectiveCoordinateSectionMap n i = |
| 44 | CommRingCat.ofHom (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartToPolynomial n i) := by |
| 45 | unfold projectiveCoordinateSectionMap Foundations.Scheme.ProjectiveChart.projectiveCoordinateIsoSpec |
| 46 | rw [Iso.trans_inv, Scheme.Hom.comp_appTop] |
| 47 | change Proj.awayToSection (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i) ≫ |
| 48 | (Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i).topIso.inv ≫ |
| 49 | ((Proj.basicOpenIsoSpec (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i) |
| 50 | (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveVariable_homogeneous n i) (by decide : 0 < 1)).inv.appTop ≫ |
| 51 | (Spec.map (CommRingCat.ofHom (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartToPolynomial n i))).appTop) ≫ |
| 52 | (Scheme.ΓSpecIso (CommRingCat.of (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i))).hom = _ |
| 53 | simp only [Category.assoc] |
| 54 | rw [Scheme.ΓSpecIso_naturality, projectiveAwaySection_inv_chart_assoc, Iso.inv_hom_id_assoc] |
| 55 | |
| 56 | theorem projectiveCoordinateSectionMap_localEquation (n : ℕ) (i : Fin (n + 1)) |
| 57 | (j : {j : Fin (n + 1) // j ≠ i}) : |
| 58 | projectiveCoordinateSectionMap n i (SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation (R := ℂ) i j.val) = |
| 59 | MvPolynomial.X j := by |
| 60 | rw [SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation_of_ne i j.val j.property] |
| 61 | have h := ConcreteCategory.congr_hom (projectiveCoordinateSectionMap_away n i) |
| 62 | (SheafCohomology.Projective.SpaceChart.MvPolynomial.awayVar ℂ i j) |
| 63 | exact h.trans (Foundations.Scheme.PolynomialToProjectiveChart.projectiveChartToPolynomial_ratio n i j) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Comparison.Betti.Projective.ChartSectionMap |