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