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.ClosedFamilyTwisting |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.FamilyKernelRecovery |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.PresentationSectionData |
| 4 | |
| 5 | /-! # Homogeneous Coverage -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.HomogeneousCoverage.StableHilbertCoverage |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The canonical saturated homogeneous model of an original relative |
| 12 | projective embedding retains its precise embedding and twisting bundle. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | |
| 17 | private theorem inverse_embedding_square {C : Type*} [Category* C] |
| 18 | {W X Y Z T : C} (a : W ⟶ X) (e : Y ≅ X) (i : X ⟶ T) |
| 19 | (j : Y ⟶ Z) (q : Z ⟶ T) (h : e.hom ≫ i = j ≫ q) : |
| 20 | ((a ≫ e.inv) ≫ j) ≫ q = a ≫ i := by |
| 21 | rw [Category.assoc, Category.assoc, ← h, e.inv_hom_id_assoc] |
| 22 | |
| 23 | namespace RelativeModel |
| 24 | variable {R : CommRingCat.{u}} {n : ℕ} |
| 25 | variable (F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.projectiveSpaceOver (Spec R) n)) |
| 26 | |
| 27 | def ideal : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n) := |
| 28 | (F.affineProjectivePullback (𝟙 _)).homogeneousIdeal |
| 29 | |
| 30 | def iso : Projective.EmbeddingBaseChange.homogeneousProjectiveFamily (ideal F) ≅ F.scheme := |
| 31 | (F.affineProjectivePullback (𝟙 _)).homogeneousFamilyIso ≪≫ F.identityAffineFamilyIso |
| 32 | |
| 33 | theorem embedding : |
| 34 | (iso F).hom.left ≫ F.inclusion.left = |
| 35 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (ideal F) ≫ AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec R)) n := by |
| 36 | let G := F.affineProjectivePullback (𝟙 _) |
| 37 | change (G.homogeneousFamilyIso.hom.left ≫ F.identityAffineFamilyIso.hom.left) ≫ |
| 38 | F.inclusion.left = _ |
| 39 | rw [Category.assoc, F.identityAffineFamilyIso_embedding, ← Category.assoc] |
| 40 | exact congrArg (fun a => a ≫ AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec R)) n) |
| 41 | (congrArg Over.Hom.left G.homogeneousFamilyIso_embedding) |
| 42 | |
| 43 | end RelativeModel |
| 44 | |
| 45 | namespace EmbeddingModel |
| 46 | variable {R : CommRingCat.{u}} {n : ℕ} {X : Over (Spec R)} |
| 47 | variable (i : X ⟶ Projective.ProjectivePresentations.projectiveSpaceOver (Spec R) n) |
| 48 | variable [IsClosedImmersion i.left] [Flat X.hom] [LocallyOfFinitePresentation X.hom] |
| 49 | |
| 50 | def ideal : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n) := |
| 51 | RelativeModel.ideal (Closed.Families.FlatClosedFamily.ofEmbedding i) |
| 52 | |
| 53 | theorem saturated : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.IsSaturated (ideal i).toIdeal := |
| 54 | ((Closed.Families.FlatClosedFamily.ofEmbedding i).affineProjectivePullback (𝟙 _)).homogeneousIdeal_saturated |
| 55 | |
| 56 | def iso : X ≅ Projective.EmbeddingBaseChange.homogeneousProjectiveFamily (ideal i) := |
| 57 | Closed.Families.FlatClosedFamily.ofEmbeddingIso i ≪≫ (RelativeModel.iso (Closed.Families.FlatClosedFamily.ofEmbedding i)).symm |
| 58 | |
| 59 | theorem embedding : |
| 60 | ((iso i).hom.left ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (ideal i)) ≫ |
| 61 | AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec R)) n = i.left := by |
| 62 | let F := Closed.Families.FlatClosedFamily.ofEmbedding i |
| 63 | exact (inverse_embedding_square (Closed.Families.FlatClosedFamily.ofEmbeddingIso i).hom.left |
| 64 | ((Over.forget _).mapIso (RelativeModel.iso F)) F.inclusion.left |
| 65 | (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (ideal i)) (AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec R)) n) |
| 66 | (RelativeModel.embedding F)).trans |
| 67 | (congrArg Over.Hom.left (Closed.Families.FlatClosedFamily.ofEmbeddingIso_inclusion i)) |
| 68 | |
| 69 | def twistingIso : |
| 70 | ((ProjectiveTwisting.Bundle.projectiveTwistingBundle (ideal i) 1).pullback (iso i).hom.left).sheaf ≅ |
| 71 | ((RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle (Spec R) n).pullback i.left).sheaf := by |
| 72 | let e := (iso i).hom.left |
| 73 | let j := HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (ideal i) |
| 74 | let a := AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec R)) n |
| 75 | let L := RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle (Spec R) n |
| 76 | let M := Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle R n |
| 77 | exact (Scheme.Modules.pullback e).mapIso (ProjectiveTwisting.TwistingRestriction.affineProjectiveTwistingBundle_quotientIso (ideal i)).symm ≪≫ |
| 78 | (Scheme.Modules.pullbackComp e j).app M.sheaf ≪≫ |
| 79 | (Scheme.Modules.pullback (e ≫ j)).mapIso (Relative.TwistingAffinePullback.relativeProjectiveTwistingBundle_affineIso (𝟙 (Spec R)) n).symm ≪≫ |
| 80 | (Scheme.Modules.pullbackComp (e ≫ j) a).app L.sheaf ≪≫ |
| 81 | (Scheme.Modules.pullbackCongr (embedding i)).app L.sheaf |
| 82 | |
| 83 | end EmbeddingModel |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.HomogeneousCoverage.StableHilbertCoverage |