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.Affine.PullbackEmbeddingTwisting |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ClosedFamily.IntrinsicPolynomial |
| 3 | |
| 4 | /-! # Embedding Field Criterion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.EmbeddingFieldCriterion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The Hilbert condition on every field-valued point of an arbitrary base |
| 11 | is the intrinsic polynomial of the actual pulled-back embedding 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_iff |
| 19 | {K : Type u} [Field K] (x : Spec (.of K) ⟶ S) (P : Polynomial ℚ) : |
| 20 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial ((Closed.Families.FlatClosedFamily.ofEmbedding j).affineProjectivePullback x).homogeneousIdeal.toIdeal P ↔ |
| 21 | (((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle S n).pullback j.left).pullback (pullback.fst X.hom x)).HasSectionHilbertPolynomial (pullback.snd X.hom x) P := |
| 22 | (((Closed.Families.FlatClosedFamily.ofEmbedding j).affineProjectivePullback x).homogeneousIdeal_intrinsicHilbertPolynomial_iff P).trans |
| 23 | (Line.Bundles.LineBundle.hasSectionHilbertPolynomial_iff_of_overIso (Affine.PullbackEmbeddingTwisting.affinePullbackEmbeddingIso j x) |
| 24 | ((Closed.Families.FlatClosedFamily.ofEmbedding j).affineProjectivePullback x).twistingBundle |
| 25 | (((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle S n).pullback j.left).pullback (pullback.fst X.hom x)) |
| 26 | (Affine.PullbackEmbeddingTwisting.affinePullbackEmbeddingTwistingIso j x) P) |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.EmbeddingFieldCriterion |