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.RationalSectionNeighborhood |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.LocalGeneratorPullback |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Point.SupportNaturality |
| 4 | |
| 5 | /-! # Rational Section Restriction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: restrict the actual rational section to a prime support through a genuine unit neighborhood -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 14 | |
| 15 | variable {X : Scheme.{0}} [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 16 | {L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X} {a : X.functionFieldˣ} {x : X} |
| 17 | (D : L.RationalSectionUnitNeighborhood a x) |
| 18 | |
| 19 | instance Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.RationalSectionUnitNeighborhood.supportPreimage_nonempty : |
| 20 | Nonempty ((CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x)) ⁻¹ᵁ D.openSet) := by |
| 21 | refine ⟨⟨genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme (irreducibleSetEquivPoints.symm x)), ?_⟩⟩ |
| 22 | change CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x) (genericPoint _) ∈ D.openSet |
| 23 | rw [Point.SupportNaturality.BundleCycles.pointSupport_genericPoint] |
| 24 | exact D.point_mem |
| 25 | |
| 26 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.RationalSectionUnitNeighborhood.restrictionCoefficient : (CycleClass.Geometric.GenericPoint.reducedSupportScheme (irreducibleSetEquivPoints.symm x)).functionFieldˣ := |
| 27 | LineBundle.LocalGeneratorPullback.Cycles.lineBundleLocalGeneratorPullbackCoefficient (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x)) L |
| 28 | D.openSet D.trivialization D.localSection (by rw [D.trivialization_generator]; exact isUnit_one) |
| 29 | |
| 30 | omit [AlgebraicGeometry.IsNoetherian X] in |
| 31 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.RationalSectionUnitNeighborhood.restrictionCoefficient_apply : D.restrictionCoefficient.val = |
| 32 | (L.pullback (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x))).genericSectionCoefficient |
| 33 | ((CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x)) ⁻¹ᵁ D.openSet) |
| 34 | (Module.OpenPullbackSections.BundleCycles.moduleSectionPullbackOnOpen (CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x)) L.sheaf D.openSet D.localSection) := rfl |
| 35 | |
| 36 | omit [AlgebraicGeometry.IsNoetherian X] in |
| 37 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.RationalSectionUnitNeighborhood.restrictionCoefficient_independent (E : L.RationalSectionUnitNeighborhood a x) : |
| 38 | D.restrictionCoefficient = E.restrictionCoefficient := by |
| 39 | let i := CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x) |
| 40 | let M := L.pullback i |
| 41 | let V : X.Opens := D.openSet ⊓ E.openSet |
| 42 | let S := i ⁻¹ᵁ V |
| 43 | let : Nonempty S := by |
| 44 | refine ⟨⟨genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme (irreducibleSetEquivPoints.symm x)), ?_⟩⟩ |
| 45 | change i (genericPoint _) ∈ V |
| 46 | rw [Point.SupportNaturality.BundleCycles.pointSupport_genericPoint] |
| 47 | exact ⟨D.point_mem, E.point_mem⟩ |
| 48 | have hSD : S ≤ i ⁻¹ᵁ D.openSet := fun _ h => h.1 |
| 49 | have hSE : S ≤ i ⁻¹ᵁ E.openSet := fun _ h => h.2 |
| 50 | have hsections := L.localSections_agree_on_overlap x x D.openSet E.openSet D.subordinate E.subordinate |
| 51 | D.localSection E.localSection (D.localSection_coefficient.trans E.localSection_coefficient.symm) |
| 52 | have hD := Module.OpenPullbackSections.BundleCycles.moduleSectionPullbackOnOpen_restrict i L.sheaf (show V ≤ D.openSet from inf_le_left) D.localSection |
| 53 | have hE := Module.OpenPullbackSections.BundleCycles.moduleSectionPullbackOnOpen_restrict i L.sheaf (show V ≤ E.openSet from inf_le_right) E.localSection |
| 54 | have hPull := hD.trans ((congrArg (Module.OpenPullbackSections.BundleCycles.moduleSectionPullbackOnOpen i L.sheaf V) hsections).trans hE.symm) |
| 55 | apply Units.ext |
| 56 | change M.genericSectionCoefficient (i ⁻¹ᵁ D.openSet) (Module.OpenPullbackSections.BundleCycles.moduleSectionPullbackOnOpen i L.sheaf D.openSet D.localSection) = |
| 57 | M.genericSectionCoefficient (i ⁻¹ᵁ E.openSet) (Module.OpenPullbackSections.BundleCycles.moduleSectionPullbackOnOpen i L.sheaf E.openSet E.localSection) |
| 58 | calc |
| 59 | _ = M.genericSectionCoefficient S |
| 60 | (M.sheaf.presheaf.map (homOfLE hSD).op (Module.OpenPullbackSections.BundleCycles.moduleSectionPullbackOnOpen i L.sheaf D.openSet D.localSection)) := |
| 61 | (M.genericSectionCoefficient_restrict hSD _).symm |
| 62 | _ = M.genericSectionCoefficient S |
| 63 | (M.sheaf.presheaf.map (homOfLE hSE).op (Module.OpenPullbackSections.BundleCycles.moduleSectionPullbackOnOpen i L.sheaf E.openSet E.localSection)) := |
| 64 | congrArg (M.genericSectionCoefficient S) hPull |
| 65 | _ = _ := M.genericSectionCoefficient_restrict hSE _ |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.Divisors.LineBundles |