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.RestrictionGlobalFrame |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Normal.RationalRestrictionResidue |
| 3 | |
| 4 | /-! # Restriction Global Divisor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.RestrictionGlobalDivisor.Cycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: the actual restricted line-bundle divisor in a global frame is the ordinary restricted principal divisor -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 13 | |
| 14 | variable {X : Scheme.{0}} [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 15 | {L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X} (e : L.sheaf ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule X) |
| 16 | (a : X.functionFieldˣ) (x : X) (hx : coheight x = 1) |
| 17 | [IsIntegrallyClosed (X.presheaf.stalk x)] |
| 18 | (ha : L.rationalSectionPointDivisorWithCoefficient a x = 0) |
| 19 | |
| 20 | theorem restrictedRationalSectionPointCycle_globalFrame : |
| 21 | L.restrictedRationalSectionPointCycle a x hx ha = |
| 22 | Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (irreducibleSetEquivPoints.symm x) |
| 23 | (RationalNormalUnitRestriction.BundleCycles.normalRationalRestriction X x hx (a * GlobalCoordinate.Cycles.lineBundleGlobalRationalCoefficient e) |
| 24 | ((GlobalDivisor.Cycles.lineBundleGlobal_section_order e a x).symm.trans ha)).val := by |
| 25 | change Finsupp.mapDomain (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x)) |
| 26 | ((L.pullback (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x))).rationalSectionPointCycleWithCoefficient |
| 27 | (L.rationalSectionRestrictionCoefficient a x hx ha)) = _ |
| 28 | rw [GlobalDivisor.Cycles.lineBundleGlobal_section_pointCycle (PullbackIso.Cycles.lineBundlePullbackGlobalTrivialization e _), |
| 29 | RestrictionGlobalFrame.Cycles.rationalSectionRestrictionCoefficient_globalFrame e a x hx ha] |
| 30 | exact (Finsupp.embDomain_eq_mapDomain |
| 31 | ⟨CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x), |
| 32 | (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x)).isClosedEmbedding.injective⟩ _).symm |
| 33 | |
| 34 | theorem normalResidue_restrictedSection_globalFrame (g : X.functionFieldˣ) : |
| 35 | Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (irreducibleSetEquivPoints.symm x) |
| 36 | (Normal.PointResidue.BundleCycles.normalPointResidueFunction X x hx (a * GlobalCoordinate.Cycles.lineBundleGlobalRationalCoefficient e) g) = |
| 37 | X.ord g.val x • L.restrictedRationalSectionPointCycle a x hx ha := by |
| 38 | rw [restrictedRationalSectionPointCycle_globalFrame e a x hx ha] |
| 39 | exact Normal.RationalRestrictionResidue.BundleCycles.normalResidue_principal_order_zero X x hx (a * GlobalCoordinate.Cycles.lineBundleGlobalRationalCoefficient e) g _ |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.RestrictionGlobalDivisor.Cycles |