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.RestrictionOpenCoefficient |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.SectionCycleTransport |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Point.SupportOpenCycle |
| 4 | |
| 5 | /-! # Restriction Open Cycle -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.RestrictionOpenCycle.Cycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: the complete canonical restricted-section cycle commutes exactly with actual open pullback -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 14 | |
| 15 | variable {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] |
| 16 | [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian Y] |
| 17 | (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) (i : Y ⟶ X) [IsOpenImmersion i] (y : Y) |
| 18 | |
| 19 | theorem restrictedRationalSectionPointCycle_open (a : X.functionFieldˣ) |
| 20 | (hx : coheight (i y) = 1) (hy : coheight y = 1) |
| 21 | [IsIntegrallyClosed (X.presheaf.stalk (i y))] [IsIntegrallyClosed (Y.presheaf.stalk y)] |
| 22 | (ha : L.rationalSectionPointDivisorWithCoefficient a (i y) = 0) |
| 23 | (ha' : (L.pullback i).rationalSectionPointDivisorWithCoefficient (L.openPullbackSectionCoefficient i a) y = 0) : |
| 24 | (L.pullback i).restrictedRationalSectionPointCycle (L.openPullbackSectionCoefficient i a) y hy ha' = |
| 25 | Finsupp.comapDomain i (L.restrictedRationalSectionPointCycle a (i y) hx ha) i.isOpenEmbedding.injective.injOn := by |
| 26 | let jX := CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm (i y)) |
| 27 | let jY := CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm y) |
| 28 | let q := Point.SupportMap.BundleCycles.pointSupportMap i y |
| 29 | let M := L.pullback jX |
| 30 | let b := L.rationalSectionRestrictionCoefficient a (i y) hx ha |
| 31 | have hc := RestrictionOpenCoefficient.Cycles.rationalSectionRestrictionCoefficient_open L i y a hx hy ha ha' |
| 32 | have hd := SectionCycleTransport.Cycles.lineBundleIso_section_pointCycle (RestrictionOpenCoefficient.Cycles.lineBundlePointSupportOpenIso L i y) |
| 33 | (M.openPullbackSectionCoefficient q b) |
| 34 | have ho := M.openPullback_section_pointCycle q b |
| 35 | have hs := Point.SupportOpenCycle.BundleCycles.pointSupportOpen_pointCycle i y (M.rationalSectionPointCycleWithCoefficient b) |
| 36 | change Finsupp.mapDomain jY (((L.pullback i).pullback jY).rationalSectionPointCycleWithCoefficient |
| 37 | ((L.pullback i).rationalSectionRestrictionCoefficient _ y hy ha')) = _ |
| 38 | exact (congrArg (fun c => Finsupp.mapDomain jY |
| 39 | (((L.pullback i).pullback jY).rationalSectionPointCycleWithCoefficient c)) hc).trans |
| 40 | ((congrArg (Finsupp.mapDomain jY) hd).trans ((congrArg (Finsupp.mapDomain jY) ho).trans hs.symm)) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.RestrictionOpenCycle.Cycles |