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.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations |
| 2 | import Mathlib.AlgebraicGeometry.Noetherian |
| 3 | |
| 4 | /-! # Projective Open -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every open subscheme of a projectively presented scheme over a |
| 11 | Noetherian base has an actual quasi-projective presentation. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | def Projective.ProjectivePresentations.ProjectivePresentation.openQuasiProjective {S : Scheme.{u}} [IsNoetherian S] |
| 16 | {X : Over S} (P : Projective.ProjectivePresentations.ProjectivePresentation X) (U : X.left.Opens) : |
| 17 | Projective.ProjectivePresentations.QuasiProjectivePresentation (Over.mk (U.ι ≫ X.hom)) := by |
| 18 | letI : IsProper X.hom := P.proper |
| 19 | letI : IsLocallyNoetherian X.left := LocallyOfFiniteType.isLocallyNoetherian X.hom |
| 20 | letI : CompactSpace X.left := QuasiCompact.compactSpace_of_compactSpace X.hom |
| 21 | letI : IsNoetherian X.left := { |
| 22 | toIsLocallyNoetherian := inferInstance |
| 23 | toCompactSpace := inferInstance } |
| 24 | exact { |
| 25 | locallyFiniteType := inferInstanceAs (LocallyOfFiniteType (U.ι ≫ X.hom)) |
| 26 | quasiCompact := inferInstanceAs (QuasiCompact (U.ι ≫ X.hom)) |
| 27 | compactification := X |
| 28 | projective := P |
| 29 | embedding := Over.homMk U.ι rfl |
| 30 | openImmersion := inferInstanceAs (IsOpenImmersion U.ι) } |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |