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.Relative.EmbeddingFieldCriterion |
| 2 | |
| 3 | /-! # Embedding Field -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.EmbeddingField |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A field-fiber Hilbert condition can be checked on any actual Cartesian |
| 10 | model of the source, retaining an explicit comparison of the embedding |
| 11 | line bundle. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | variable {S : Scheme.{u}} {X : Over S} {n : ℕ} |
| 15 | variable (j : X ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) [IsClosedImmersion j.left] |
| 16 | variable [Flat X.hom] [LocallyOfFinitePresentation X.hom] |
| 17 | |
| 18 | theorem relativeEmbedding_fieldHilbert_cartesian_iff |
| 19 | {K : Type u} [Field K] (x : Spec (.of K) ⟶ S) (Y : Over (Spec (.of K))) |
| 20 | (a : Y.left ⟶ X.left) (H : IsPullback a Y.hom X.hom x) (M : Line.Bundles.LineBundle Y.left) |
| 21 | (e : (((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle S n).pullback j.left).pullback a).sheaf ≅ M.sheaf) |
| 22 | (P : Polynomial ℚ) : |
| 23 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial ((Closed.Families.FlatClosedFamily.ofEmbedding j).affineProjectivePullback x).homogeneousIdeal.toIdeal P ↔ |
| 24 | M.HasSectionHilbertPolynomial Y.hom P := by |
| 25 | let O := (RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle S n).pullback j.left |
| 26 | let c := pullback.fst X.hom x |
| 27 | let E : Y ≅ (Over.pullback x).obj X := Over.isoMk H.isoPullback H.isoPullback_hom_snd |
| 28 | let e' : ((O.pullback c).pullback E.hom.left).sheaf ≅ M.sheaf := |
| 29 | (Scheme.Modules.pullbackComp E.hom.left c).app O.sheaf ≪≫ |
| 30 | (Scheme.Modules.pullbackCongr H.isoPullback_hom_fst).app O.sheaf ≪≫ e |
| 31 | exact (Relative.EmbeddingFieldCriterion.relativeEmbedding_fieldHilbert_iff j x P).trans |
| 32 | (Line.Bundles.LineBundle.hasSectionHilbertPolynomial_iff_of_overIso E (O.pullback c) M e' P) |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.EmbeddingField |