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.NumberTheory.PadicHodge.GeometricComparison.Finite.PoleDivisor |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineRationalExists |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.PoleDivisor |
| 4 | |
| 5 | /-! # Complement Divisor -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.ComplementDivisor.AffineComplementDivisor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Affine complements on smooth geometrically integral schemes over arbitrary fields. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem exists_lineBundle {K : Type u} [Field K] |
| 18 | {X : Scheme.{u}} [IsIntegral X] [X.IsSeparated] |
| 19 | (f : X ⟶ Spec (.of K)) [Smooth f] [GeometricallyIntegral f] (U : X.affineOpens) [Nonempty U.1] : |
| 20 | ∃ (L : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (s : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ L.sheaf), AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s = U.1 := by |
| 21 | obtain ⟨T, hT⟩ := AlgebraicGeometry.Quotients.FiniteDescent.AffineRationalExists.Construction.AffineRationalCoordinates.exists_finset f U |
| 22 | obtain ⟨L, s, hs⟩ := Finite.PoleDivisor.FinitePoleDivisor.exists_lineBundle f T |
| 23 | refine ⟨L, s, ?_⟩ |
| 24 | apply SetLike.ext |
| 25 | intro x |
| 26 | exact (hs x).trans (hT x).symm |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.ComplementDivisor.AffineComplementDivisor |