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.RationalUnitNeighborhood |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.MovedSectionNeighborhood |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.LocalUnitTrivialization |
| 4 | |
| 5 | /-! # Rational Section Neighborhood -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: actual unit-valued neighborhood representatives of a rational line-bundle section -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.Order |
| 14 | |
| 15 | variable {X : Scheme.{0}} [IsIntegral X] |
| 16 | |
| 17 | /-- A regular unit in an actual local frame representing the specified rational section. |
| 18 | The data contains only an open neighborhood, a regular unit, and its generic coefficient. -/ |
| 19 | structure Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.RationalSectionUnitNeighborhood (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) (a : X.functionFieldˣ) (x : X) where |
| 20 | openSet : X.Opens |
| 21 | subordinate : openSet ≤ L.trivializingOpen x |
| 22 | point_mem : x ∈ openSet |
| 23 | unit : Γ(X, openSet)ˣ |
| 24 | generic_eq : letI : Nonempty openSet := ⟨⟨x, point_mem⟩⟩ |
| 25 | FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm openSet unit = a * L.rationalSectionCoordinate x |
| 26 | |
| 27 | variable (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) (a : X.functionFieldˣ) (x : X) |
| 28 | |
| 29 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.rationalSectionUnitNeighborhood_nonempty [AlgebraicGeometry.IsNoetherian X] |
| 30 | (hx : coheight x = 1) [IsIntegrallyClosed (X.presheaf.stalk x)] |
| 31 | (ha : L.rationalSectionPointDivisorWithCoefficient a x = 0) : |
| 32 | Nonempty (L.RationalSectionUnitNeighborhood a x) := by |
| 33 | obtain ⟨U, hU, hxU, u, hu⟩ := L.exists_rationalSection_unit_neighborhood a x hx ha |
| 34 | exact ⟨⟨U, hU, hxU, u, hu⟩⟩ |
| 35 | |
| 36 | variable {L a x} (D : L.RationalSectionUnitNeighborhood a x) |
| 37 | |
| 38 | instance Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.RationalSectionUnitNeighborhood.openSet_nonempty : Nonempty D.openSet := ⟨⟨x, D.point_mem⟩⟩ |
| 39 | |
| 40 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.RationalSectionUnitNeighborhood.localSection : Γ(L.sheaf, D.openSet) := L.rationalUnitLocalSection x D.openSet D.subordinate D.unit |
| 41 | |
| 42 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.RationalSectionUnitNeighborhood.localSection_coordinate : L.sectionFrame x D.openSet D.subordinate D.localSection = D.unit.val := |
| 43 | L.rationalUnitLocalSection_coordinate x D.openSet D.subordinate D.unit |
| 44 | |
| 45 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.RationalSectionUnitNeighborhood.localSection_coefficient : L.localRationalCoefficient x D.openSet D.subordinate D.localSection = a.val := |
| 46 | L.rationalUnitLocalSection_coefficient a x D.openSet D.subordinate D.unit D.generic_eq |
| 47 | |
| 48 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.RationalSectionUnitNeighborhood.trivialization : L.sheaf.restrict D.openSet.ι ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule D.openSet.toScheme := |
| 49 | L.localUnitSectionTrivialization x D.openSet D.subordinate D.localSection |
| 50 | (D.localSection_coordinate.symm ▸ D.unit.isUnit) |
| 51 | |
| 52 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.RationalSectionUnitNeighborhood.trivialization_generator : |
| 53 | LineBundle.GlobalFrame.Cycles.lineBundleGlobalFrame (L := L.restrictToOpen D.openSet.ι) D.trivialization ⊤ |
| 54 | (Module.SectionHom.BundleCycles.moduleSectionAsGlobal L.sheaf D.openSet D.localSection) = 1 := |
| 55 | L.localUnitSectionTrivialization_generator x D.openSet D.subordinate D.localSection |
| 56 | (D.localSection_coordinate.symm ▸ D.unit.isUnit) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Divisors.LineBundles |