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.AbelianModuli.ReferenceFamily.Affine.RationalPointChart |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.AffineSchemeModels |
| 3 | |
| 4 | /-! # Point Chart Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.PointChartCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! An actual affine rational-point neighborhood gives a smooth |
| 13 | coordinate algebra with a constructed augmentation. The affine map |
| 14 | of that augmentation recovers the original point in the original family. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | attribute [local implicit_reducible] EtaleSplittingAt.EtaleSplitting.affineOver |
| 19 | |
| 20 | variable (k : Type) [Field k] (A : Over (Spec (.of k))) (p : EtaleSplittingAt.EtaleSplitting.affineOver k k ⟶ A) |
| 21 | (D : RationalPointChart.AffineOverPointChart k A p) |
| 22 | |
| 23 | abbrev affinePointChartAlgebra : CommAlgCat k := HilbertConstruction.Affine.OverChartPoints.affineOverAlgebra k D.source |
| 24 | |
| 25 | def affinePointChartIso : D.source ≅ EtaleSplittingAt.EtaleSplitting.affineOver k (affinePointChartAlgebra k A p D) := |
| 26 | HilbertConstruction.Affine.OverChartPoints.affineOverIso k D.source |
| 27 | |
| 28 | def affinePointChartInclusion : EtaleSplittingAt.EtaleSplitting.affineOver k (affinePointChartAlgebra k A p D) ⟶ A := |
| 29 | (affinePointChartIso k A p D).inv ≫ D.inclusion |
| 30 | |
| 31 | def affinePointChartPoint : EtaleSplittingAt.EtaleSplitting.affineOver k k ⟶ EtaleSplittingAt.EtaleSplitting.affineOver k (affinePointChartAlgebra k A p D) := |
| 32 | D.point ≫ (affinePointChartIso k A p D).hom |
| 33 | |
| 34 | def affinePointChartAugmentation : affinePointChartAlgebra k A p D →ₐ[k] k := |
| 35 | OverMorphismAlgebra.affineOverMorphismAlgebra k k (affinePointChartAlgebra k A p D) (affinePointChartPoint k A p D) |
| 36 | |
| 37 | theorem affinePointChartAugmentation_fac : |
| 38 | AlgebraAutomorphismNaturality.affineOverAlgHom k (affinePointChartAlgebra k A p D) k (affinePointChartAugmentation k A p D) ≫ |
| 39 | affinePointChartInclusion k A p D = p := by |
| 40 | rw [affinePointChartAugmentation, OverMorphismAlgebra.affineOverMorphismAlgebra_recovery] |
| 41 | change (D.point ≫ (affinePointChartIso k A p D).hom) ≫ |
| 42 | ((affinePointChartIso k A p D).inv ≫ D.inclusion) = p |
| 43 | rw [Category.assoc, Iso.hom_inv_id_assoc] |
| 44 | exact D.commutes |
| 45 | |
| 46 | instance affinePointChartInclusion_open : IsOpenImmersion (affinePointChartInclusion k A p D).left := by |
| 47 | have : IsIso (affinePointChartIso k A p D).inv.left := |
| 48 | (Over.forget _).map_isIso (affinePointChartIso k A p D).inv |
| 49 | have : IsOpenImmersion (affinePointChartIso k A p D).inv.left := IsOpenImmersion.of_isIso _ |
| 50 | exact IsOpenImmersion.comp _ _ |
| 51 | |
| 52 | instance affinePointChartAlgebra_smooth [Smooth A.hom] : Algebra.Smooth k (affinePointChartAlgebra k A p D) := |
| 53 | HilbertConstruction.Smooth.AffineSchemeModels.affineOverAlgebra_smooth k D.source |
| 54 | |
| 55 | abbrev affinePointChartSectionAlgebra : Algebra (affinePointChartAlgebra k A p D) k := |
| 56 | (affinePointChartAugmentation k A p D).toRingHom.toAlgebra |
| 57 | |
| 58 | theorem affinePointChartSection_scalarTower : |
| 59 | letI := affinePointChartSectionAlgebra k A p D |
| 60 | IsScalarTower k (affinePointChartAlgebra k A p D) k := by |
| 61 | let := affinePointChartSectionAlgebra k A p D |
| 62 | exact IsScalarTower.of_algebraMap_eq (fun r => (affinePointChartAugmentation k A p D).commutes r |>.symm) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | /-! The actual affine neighborhood of a rational point of an integral |
| 67 | family is nonempty and integral, so its coordinate algebra is a domain. -/ |
| 68 | |
| 69 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 70 | |
| 71 | attribute [local implicit_reducible] EtaleSplittingAt.EtaleSplitting.affineOver |
| 72 | |
| 73 | variable (k : Type) [Field k] (A : Over (Spec (.of k))) (p : EtaleSplittingAt.EtaleSplitting.affineOver k k ⟶ A) |
| 74 | (D : RationalPointChart.AffineOverPointChart k A p) |
| 75 | |
| 76 | instance affinePointChart_source_nonempty : Nonempty D.source.left := |
| 77 | ⟨D.point.left (IsLocalRing.closedPoint k)⟩ |
| 78 | |
| 79 | instance affinePointChart_source_integral [IsIntegral A.left] : IsIntegral D.source.left := |
| 80 | isIntegral_of_isOpenImmersion D.inclusion.left |
| 81 | |
| 82 | instance affinePointChartAlgebra_isDomain [IsIntegral A.left] : IsDomain (affinePointChartAlgebra k A p D) := |
| 83 | inferInstanceAs (IsDomain Γ(D.source.left, ⊤)) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.PointChartCoordinates |