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.RestrictionRegularRepresentative |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.OpenPullbackCoefficient |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.OpenSquareCoefficient |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Point.SupportOpenCycle |
| 5 | |
| 6 | /-! # Restriction Open Coefficient -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.RestrictionOpenCoefficient.Cycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! # LineBundleCycles: canonical rational-section restriction commutes with actual open pullback on prime supports -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 15 | |
| 16 | variable {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] |
| 17 | [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian Y] |
| 18 | (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) (i : Y ⟶ X) [IsOpenImmersion i] (y : Y) |
| 19 | |
| 20 | def lineBundlePointSupportOpenIso : |
| 21 | ((L.pullback (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm (i y)))).pullback (Point.SupportMap.BundleCycles.pointSupportMap i y)).sheaf ≅ |
| 22 | ((L.pullback i).pullback (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm y))).sheaf := |
| 23 | Module.PullbackSquareSections.BundleCycles.modulePullbackSquareIso (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm (i y))) (Point.SupportMap.BundleCycles.pointSupportMap i y) |
| 24 | i (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm y)) (Point.SupportMap.BundleCycles.pointSupportMap_inclusion i y) L.sheaf |
| 25 | |
| 26 | theorem rationalSectionRestrictionCoefficient_open (a : X.functionFieldˣ) |
| 27 | (hx : coheight (i y) = 1) (hy : coheight y = 1) |
| 28 | [IsIntegrallyClosed (X.presheaf.stalk (i y))] [IsIntegrallyClosed (Y.presheaf.stalk y)] |
| 29 | (ha : L.rationalSectionPointDivisorWithCoefficient a (i y) = 0) |
| 30 | (ha' : (L.pullback i).rationalSectionPointDivisorWithCoefficient (L.openPullbackSectionCoefficient i a) y = 0) : |
| 31 | (L.pullback i).rationalSectionRestrictionCoefficient (L.openPullbackSectionCoefficient i a) y hy ha' = |
| 32 | OpenDivisor.Cycles.lineBundleIsoSectionCoefficient (lineBundlePointSupportOpenIso L i y) |
| 33 | ((L.pullback (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm (i y)))).openPullbackSectionCoefficient |
| 34 | (Point.SupportMap.BundleCycles.pointSupportMap i y) (L.rationalSectionRestrictionCoefficient a (i y) hx ha)) := by |
| 35 | let D := Classical.choice (L.rationalSectionUnitNeighborhood_nonempty a (i y) hx ha) |
| 36 | let jX := CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm (i y)) |
| 37 | let jY := CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm y) |
| 38 | let q := Point.SupportMap.BundleCycles.pointSupportMap i y |
| 39 | let U := D.openSet |
| 40 | let V := i ⁻¹ᵁ U |
| 41 | let W := jY ⁻¹ᵁ V |
| 42 | let : Nonempty V := ⟨⟨y, D.point_mem⟩⟩ |
| 43 | let : Nonempty W := Point.SupportOpenEvaluation.BundleCycles.pointSupportPreimage_nonempty Y y V D.point_mem |
| 44 | let hq : W ≤ (q ≫ jX) ⁻¹ᵁ U := (Point.SupportOpenCycle.BundleCycles.pointSupportMap_open_preimage i y U).ge |
| 45 | let s := D.localSection |
| 46 | let t := Module.OpenPullbackSections.BundleCycles.moduleSectionPullbackOnOpen i L.sheaf U s |
| 47 | let u := Module.OpenPullbackSections.BundleCycles.moduleSectionPullbackOnOpen jX L.sheaf U s |
| 48 | let M := L.pullback jX |
| 49 | let b := L.rationalSectionRestrictionCoefficient a (i y) hx ha |
| 50 | have hs : L.genericSectionCoefficient U s = a.val := |
| 51 | (L.genericSectionCoefficient_eq_local (i y) U D.subordinate s).trans D.localSection_coefficient |
| 52 | have ht : (L.pullback i).genericSectionCoefficient V t = (L.openPullbackSectionCoefficient i a).val := |
| 53 | L.genericSectionCoefficient_openPullback_onOpen i a U s hs |
| 54 | have hu : M.genericSectionCoefficient (jX ⁻¹ᵁ U) u = b.val := |
| 55 | congrArg (fun v => v.val) (L.rationalSectionRestrictionCoefficient_eq a (i y) hx ha D).symm |
| 56 | have hby := (L.pullback i).rationalSectionRestrictionCoefficient_regular |
| 57 | (L.openPullbackSectionCoefficient i a) y hy ha' V D.point_mem t ht |
| 58 | have hsq := OpenSquareCoefficient.Cycles.lineBundleOpenSquare_genericCoefficient jX q i jY |
| 59 | (Point.SupportMap.BundleCycles.pointSupportMap_inclusion i y) L U hq s b hu |
| 60 | apply Units.ext |
| 61 | exact hby.trans hsq |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.RestrictionOpenCoefficient.Cycles |