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.FamilyIntrinsic |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.EmbeddingIntrinsic |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.FamilyKernelRecovery |
| 4 | |
| 5 | /-! # Embedding Intrinsic -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.EmbeddingIntrinsic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The full Hilbert condition of an actual relative projective embedding, including an embedded morphism graph, is the intrinsic polynomial of its pulled-back O(1). -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {K : Type u} [Field K] {n : ℕ} {A : Over (Spec (.of K))} |
| 18 | variable (i : A ⟶ Projective.ProjectivePresentations.projectiveSpaceOver (Spec (.of K)) n) |
| 19 | variable [IsClosedImmersion i.left] [Flat A.hom] [LocallyOfFinitePresentation A.hom] |
| 20 | |
| 21 | def relativeEmbeddingTwistingBundleIso : |
| 22 | ((Closed.Families.FlatClosedFamily.ofEmbedding i).relativeTwistingBundle.pullback (Closed.Families.FlatClosedFamily.ofEmbeddingIso i).hom.left).sheaf ≅ |
| 23 | ((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle (Spec (.of K)) n).pullback i.left).sheaf := by |
| 24 | have he : (Closed.Families.FlatClosedFamily.ofEmbeddingIso i).hom.left ≫ (Closed.Families.FlatClosedFamily.ofEmbedding i).inclusion.left = |
| 25 | i.left := congrArg Over.Hom.left (Closed.Families.FlatClosedFamily.ofEmbeddingIso_inclusion i) |
| 26 | exact (Scheme.Modules.pullbackComp (Closed.Families.FlatClosedFamily.ofEmbeddingIso i).hom.left |
| 27 | (Closed.Families.FlatClosedFamily.ofEmbedding i).inclusion.left).app (RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle (Spec (.of K)) n).sheaf ≪≫ |
| 28 | (Scheme.Modules.pullbackCongr he).app (RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle (Spec (.of K)) n).sheaf |
| 29 | |
| 30 | theorem relativeEmbedding_hilbertPolynomial_iff (P : Polynomial ℚ) : |
| 31 | (∀ (L : Type u) [Field L] (x : Spec (.of L) ⟶ Spec (.of K)), |
| 32 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial ((Closed.Families.FlatClosedFamily.ofEmbedding i).affineProjectivePullback x).homogeneousIdeal.toIdeal P) ↔ |
| 33 | ((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle (Spec (.of K)) n).pullback i.left).HasSectionHilbertPolynomial A.hom P := |
| 34 | ((Closed.Families.FlatClosedFamily.ofEmbedding i).fieldHilbert_intrinsic_iff P).trans |
| 35 | (Line.Bundles.LineBundle.hasSectionHilbertPolynomial_iff_of_overIso (Closed.Families.FlatClosedFamily.ofEmbeddingIso i) |
| 36 | (Closed.Families.FlatClosedFamily.ofEmbedding i).relativeTwistingBundle |
| 37 | ((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle (Spec (.of K)) n).pullback i.left) |
| 38 | (relativeEmbeddingTwistingBundleIso i) P) |
| 39 | |
| 40 | theorem relativeEmbedding_intrinsicHilbertPolynomial_exists : |
| 41 | ∃ P : Polynomial ℚ, |
| 42 | ((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle (Spec (.of K)) n).pullback i.left).HasSectionHilbertPolynomial A.hom P := by |
| 43 | obtain ⟨P, hP⟩ := (Closed.Families.FlatClosedFamily.ofEmbedding i).relativeTwistingBundle_hilbertPolynomial_exists |
| 44 | exact ⟨P, (Line.Bundles.LineBundle.hasSectionHilbertPolynomial_iff_of_overIso (Closed.Families.FlatClosedFamily.ofEmbeddingIso i) |
| 45 | (Closed.Families.FlatClosedFamily.ofEmbedding i).relativeTwistingBundle |
| 46 | ((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle (Spec (.of K)) n).pullback i.left) |
| 47 | (relativeEmbeddingTwistingBundleIso i) P).mp hP⟩ |
| 48 | |
| 49 | open _root_.CategoryTheory.MonoidalCategory |
| 50 | |
| 51 | theorem embeddedGraph_intrinsicHilbertPolynomial_iff |
| 52 | {B : Over (Spec (.of K))} [IsSeparated B.hom] |
| 53 | (j : A ⊗ B ⟶ Projective.ProjectivePresentations.projectiveSpaceOver (Spec (.of K)) n) [IsClosedImmersion j.left] |
| 54 | (P : Polynomial ℚ) (p : A ⟶ B) : |
| 55 | Embedded.GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial j P p ↔ |
| 56 | ((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle (Spec (.of K)) n).pullback (MorphismGraphFamilies.familyGraph p ≫ j).left).HasSectionHilbertPolynomial A.hom P := by |
| 57 | have : IsClosedImmersion (MorphismGraphFamilies.familyGraph p ≫ j).left := |
| 58 | inferInstanceAs (IsClosedImmersion ((MorphismGraphFamilies.familyGraph p).left ≫ j.left)) |
| 59 | have he := Closed.Families.FlatClosedFamily.ofEmbedding_reembed (MorphismGraphFamilies.familyGraph p) j |
| 60 | have hpoly := congrArg (fun F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.projectiveSpaceOver (Spec (.of K)) n) => |
| 61 | ∀ (L : Type u) [Field L] (x : Spec (.of L) ⟶ Spec (.of K)), |
| 62 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (F.affineProjectivePullback x).homogeneousIdeal.toIdeal P) he |
| 63 | exact hpoly.to_iff.trans (relativeEmbedding_hilbertPolynomial_iff (MorphismGraphFamilies.familyGraph p ≫ j) P) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.EmbeddingIntrinsic |