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.ClosedFamily.IntrinsicPolynomial |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ClosedFamily.EmbeddingIso |
| 3 | |
| 4 | /-! # Embedding Intrinsic -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The Hilbert polynomial of the actual ideal family of any closed projective embedding is the intrinsic section polynomial of the pulled-back ambient O(1). -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] {n : ℕ} {A : Over (Spec (.of R))} |
| 17 | variable (j : A ⟶ Projective.ProjectivePresentations.affineProjectiveSpace R n) |
| 18 | variable [IsClosedImmersion j.left] [Flat A.hom] [LocallyOfFinitePresentation A.hom] |
| 19 | |
| 20 | def Projective.EmbeddingIntrinsic.projectiveEmbeddingTwistingBundleIso : |
| 21 | ((Closed.Families.FlatClosedFamily.ofEmbedding j).twistingBundle.pullback (Closed.Families.FlatClosedFamily.ofEmbeddingIso j).hom.left).sheaf ≅ |
| 22 | ((Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle R n).pullback j.left).sheaf := by |
| 23 | have he : (Closed.Families.FlatClosedFamily.ofEmbeddingIso j).hom.left ≫ (Closed.Families.FlatClosedFamily.ofEmbedding j).inclusion.left = |
| 24 | j.left := congrArg Over.Hom.left (Closed.Families.FlatClosedFamily.ofEmbeddingIso_inclusion j) |
| 25 | exact (Scheme.Modules.pullbackComp (Closed.Families.FlatClosedFamily.ofEmbeddingIso j).hom.left |
| 26 | (Closed.Families.FlatClosedFamily.ofEmbedding j).inclusion.left).app (Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle R n).sheaf ≪≫ |
| 27 | (Scheme.Modules.pullbackCongr he).app (Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle R n).sheaf |
| 28 | |
| 29 | theorem Line.Bundles.LineBundle.hasSectionHilbertPolynomial_iff_of_sheafIso |
| 30 | {K : Type u} [Field K] {Y : Scheme.{u}} (p : Y ⟶ Spec (.of K)) |
| 31 | (L M : Line.Bundles.LineBundle Y) (e : L.sheaf ≅ M.sheaf) (P : Polynomial ℚ) : |
| 32 | L.HasSectionHilbertPolynomial p P ↔ M.HasSectionHilbertPolynomial p P := |
| 33 | Line.Bundles.LineBundle.hasSectionHilbertPolynomial_iff_of_sectionIso p p L M P |
| 34 | (fun d => Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsIso p ((TensorPower.Maps.tensorPowerFunctor Y d).mapIso e)) |
| 35 | |
| 36 | variable {K : Type u} [Field K] {B : Over (Spec (.of K))} |
| 37 | variable (i : B ⟶ Projective.ProjectivePresentations.affineProjectiveSpace K n) |
| 38 | variable [IsClosedImmersion i.left] [Flat B.hom] [LocallyOfFinitePresentation B.hom] |
| 39 | |
| 40 | theorem Projective.EmbeddingIntrinsic.projectiveEmbedding_hilbertPolynomial_iff (P : Polynomial ℚ) : |
| 41 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (Closed.Families.FlatClosedFamily.ofEmbedding i).homogeneousIdeal.toIdeal P ↔ |
| 42 | ((Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle K n).pullback i.left).HasSectionHilbertPolynomial B.hom P := |
| 43 | ((Closed.Families.FlatClosedFamily.ofEmbedding i).homogeneousIdeal_intrinsicHilbertPolynomial_iff P).trans |
| 44 | (Line.Bundles.LineBundle.hasSectionHilbertPolynomial_iff_of_overIso (Closed.Families.FlatClosedFamily.ofEmbeddingIso i) |
| 45 | (Closed.Families.FlatClosedFamily.ofEmbedding i).twistingBundle ((Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle K n).pullback i.left) |
| 46 | (Projective.EmbeddingIntrinsic.projectiveEmbeddingTwistingBundleIso i) P) |
| 47 | |
| 48 | theorem Projective.EmbeddingIntrinsic.projectiveEmbedding_hilbertPolynomial_iff_of_bundleIso (L : Line.Bundles.LineBundle B.left) |
| 49 | (e : ((Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle K n).pullback i.left).sheaf ≅ L.sheaf) (P : Polynomial ℚ) : |
| 50 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (Closed.Families.FlatClosedFamily.ofEmbedding i).homogeneousIdeal.toIdeal P ↔ |
| 51 | L.HasSectionHilbertPolynomial B.hom P := |
| 52 | (Projective.EmbeddingIntrinsic.projectiveEmbedding_hilbertPolynomial_iff i P).trans |
| 53 | (Line.Bundles.LineBundle.hasSectionHilbertPolynomial_iff_of_sheafIso B.hom |
| 54 | ((Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle K n).pullback i.left) L e P) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |