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.IdealGluing |
| 2 | |
| 3 | /-! # Gluing -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Effective gluing retains flatness and local finite presentation of embedded families. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y S : Scheme.{u}} {C : X.OpenCover} [Category C.I₀] [C.LocallyDirected] |
| 16 | variable [Small.{u} C.I₀] [Quiver.IsThin C.I₀] |
| 17 | |
| 18 | /-- Any property local on the source passes from the local closed families to the glued family. -/ |
| 19 | theorem IdealDescent.IdealDescentData.glued_property (D : IdealDescent.IdealDescentData C) (p : X ⟶ Y) |
| 20 | (W : MorphismProperty Scheme.{u}) [IsZariskiLocalAtSource W] |
| 21 | (h : ∀ i, W ((D.ideal i).subschemeι ≫ C.f i ≫ p)) : |
| 22 | W (D.relativeGluingData.toBase ≫ p) := by |
| 23 | apply IsZariskiLocalAtSource.of_openCover (P := W) D.relativeGluingData.cover |
| 24 | intro i |
| 25 | have hi : D.relativeGluingData.cover.f i ≫ D.relativeGluingData.toBase = |
| 26 | (D.ideal i).subschemeι ≫ C.f i := D.relativeGluingData.ι_toBase i |
| 27 | have he : D.relativeGluingData.cover.f i ≫ (D.relativeGluingData.toBase ≫ p) = |
| 28 | (D.ideal i).subschemeι ≫ C.f i ≫ p := |
| 29 | (Category.assoc _ _ _).symm.trans |
| 30 | ((congrArg (fun a => a ≫ p) hi).trans (Category.assoc _ _ _)) |
| 31 | exact (congrArg (fun f : (D.ideal i).subscheme ⟶ Y => W f) he).mpr (h i) |
| 32 | |
| 33 | variable {P : Over S} {C : P.left.OpenCover} [Category C.I₀] [C.LocallyDirected] |
| 34 | variable [Small.{u} C.I₀] [Quiver.IsThin C.I₀] |
| 35 | |
| 36 | /-- Glue compatible ideals whose local closed families are flat and locally finitely presented. -/ |
| 37 | def Closed.Families.FlatClosedFamily.glue (D : IdealDescent.IdealDescentData C) |
| 38 | (hflat : ∀ i, Flat ((D.ideal i).subschemeι ≫ C.f i ≫ P.hom)) |
| 39 | (hfinite : ∀ i, LocallyOfFinitePresentation ((D.ideal i).subschemeι ≫ C.f i ≫ P.hom)) : |
| 40 | Closed.Families.FlatClosedFamily P := by |
| 41 | let Z : Over S := Over.mk (D.relativeGluingData.toBase ≫ P.hom) |
| 42 | let i : Z ⟶ P := Over.homMk D.relativeGluingData.toBase rfl |
| 43 | letI : IsZariskiLocalAtSource (@Flat.{u}) := |
| 44 | HasRingHomProperty.instIsZariskiLocalAtSource (Q := RingHom.Flat) |
| 45 | letI : IsZariskiLocalAtSource (@LocallyOfFinitePresentation.{u}) := |
| 46 | HasRingHomProperty.instIsZariskiLocalAtSource (Q := RingHom.FinitePresentation) |
| 47 | have : Flat Z.hom := D.glued_property P.hom (@Flat.{u}) hflat |
| 48 | have : LocallyOfFinitePresentation Z.hom := |
| 49 | D.glued_property P.hom (@LocallyOfFinitePresentation.{u}) hfinite |
| 50 | have : IsClosedImmersion i.left := D.glued_closedImmersion |
| 51 | exact Closed.Families.FlatClosedFamily.ofEmbedding i |
| 52 | |
| 53 | /-- The glued family's defining ideal has the prescribed local restrictions. -/ |
| 54 | theorem Closed.Families.FlatClosedFamily.glue_ideal_comap (D : IdealDescent.IdealDescentData C) |
| 55 | (hflat : ∀ i, Flat ((D.ideal i).subschemeι ≫ C.f i ≫ P.hom)) |
| 56 | (hfinite : ∀ i, LocallyOfFinitePresentation ((D.ideal i).subschemeι ≫ C.f i ≫ P.hom)) |
| 57 | (i : C.I₀) : (Closed.Families.FlatClosedFamily.glue D hflat hfinite).ideal.comap (C.f i) = D.ideal i := |
| 58 | D.gluedIdeal_comap i |
| 59 | |
| 60 | /-- Compatible local ideal families with the required geometric properties glue uniquely. -/ |
| 61 | theorem Closed.Families.FlatClosedFamily.existsUnique_glued_family (D : IdealDescent.IdealDescentData C) |
| 62 | (hflat : ∀ i, Flat ((D.ideal i).subschemeι ≫ C.f i ≫ P.hom)) |
| 63 | (hfinite : ∀ i, LocallyOfFinitePresentation ((D.ideal i).subschemeι ≫ C.f i ≫ P.hom)) : |
| 64 | ∃! F : Closed.Families.FlatClosedFamily P, ∀ i, F.ideal.comap (C.f i) = D.ideal i := by |
| 65 | refine ⟨Closed.Families.FlatClosedFamily.glue D hflat hfinite, Closed.Families.FlatClosedFamily.glue_ideal_comap D hflat hfinite, ?_⟩ |
| 66 | intro F hF |
| 67 | exact F.ext_on_open_cover _ C |
| 68 | (fun i => (hF i).trans (Closed.Families.FlatClosedFamily.glue_ideal_comap D hflat hfinite i).symm) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |