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.Divisors.LineBundles.LineBundle.CanonicalRationalRestriction |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.PullbackGenericIndependence |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Point.SupportOpenEvaluation |
| 4 | |
| 5 | /-! # Restriction Regular Representative -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: every actual regular representative computes the canonical restriction to a prime support -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.Order |
| 14 | |
| 15 | variable {X : Scheme.{0}} [IsIntegral X] (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) (a : X.functionFieldˣ) (x : X) |
| 16 | |
| 17 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.RationalSectionUnitNeighborhood.restrictionCoefficient_regular |
| 18 | (D : L.RationalSectionUnitNeighborhood a x) |
| 19 | (U : X.Opens) [Nonempty U] (hxU : x ∈ U) (s : Γ(L.sheaf, U)) |
| 20 | (hs : L.genericSectionCoefficient U s = a.val) : |
| 21 | letI := Point.SupportOpenEvaluation.BundleCycles.pointSupportPreimage_nonempty X x U hxU |
| 22 | D.restrictionCoefficient.val = |
| 23 | (L.pullback (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x))).genericSectionCoefficient |
| 24 | ((CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x)) ⁻¹ᵁ U) |
| 25 | (Module.OpenPullbackSections.BundleCycles.moduleSectionPullbackOnOpen (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x)) L.sheaf U s) := by |
| 26 | let := Point.SupportOpenEvaluation.BundleCycles.pointSupportPreimage_nonempty X x U hxU |
| 27 | exact LineBundle.PullbackGenericIndependence.Cycles.lineBundlePullback_genericCoefficient_eq (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x)) L |
| 28 | D.openSet U D.localSection s |
| 29 | (((L.genericSectionCoefficient_eq_local x D.openSet D.subordinate D.localSection).trans |
| 30 | D.localSection_coefficient).trans hs.symm) |
| 31 | |
| 32 | variable [AlgebraicGeometry.IsNoetherian X] |
| 33 | |
| 34 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.rationalSectionRestrictionCoefficient_regular (hx : coheight x = 1) |
| 35 | [IsIntegrallyClosed (X.presheaf.stalk x)] |
| 36 | (ha : L.rationalSectionPointDivisorWithCoefficient a x = 0) |
| 37 | (U : X.Opens) [Nonempty U] (hxU : x ∈ U) (s : Γ(L.sheaf, U)) |
| 38 | (hs : L.genericSectionCoefficient U s = a.val) : |
| 39 | letI := Point.SupportOpenEvaluation.BundleCycles.pointSupportPreimage_nonempty X x U hxU |
| 40 | (L.rationalSectionRestrictionCoefficient a x hx ha).val = |
| 41 | (L.pullback (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x))).genericSectionCoefficient |
| 42 | ((CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x)) ⁻¹ᵁ U) |
| 43 | (Module.OpenPullbackSections.BundleCycles.moduleSectionPullbackOnOpen (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x)) L.sheaf U s) := |
| 44 | LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.RationalSectionUnitNeighborhood.restrictionCoefficient_regular L a x |
| 45 | (Classical.choice (L.rationalSectionUnitNeighborhood_nonempty a x hx ha)) U hxU s hs |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.Divisors.LineBundles |