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.IdealDescent |
| 2 | |
| 3 | /-! # Ideal Gluing -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Effective gluing of compatible ideal sheaves on a locally directed open cover. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} {C : X.OpenCover} [Category C.I₀] [C.LocallyDirected] |
| 16 | variable [Small.{u} C.I₀] [Quiver.IsThin C.I₀] (D : IdealDescent.IdealDescentData C) |
| 17 | |
| 18 | /-- The glued local closed subschemes give a closed immersion into the ambient scheme. -/ |
| 19 | theorem IdealDescent.IdealDescentData.glued_closedImmersion : IsClosedImmersion D.relativeGluingData.toBase := by |
| 20 | apply IsZariskiLocalAtTarget.of_openCover C |
| 21 | intro i |
| 22 | let h := (D.relativeGluingData.isPullback_natTrans_ι_toBase i).flip |
| 23 | have he : C.pullbackHom D.relativeGluingData.toBase i = |
| 24 | h.isoPullback.inv ≫ (D.ideal i).subschemeι := h.isoPullback_inv_snd.symm |
| 25 | rw [he] |
| 26 | exact @IsClosedImmersion.comp _ _ _ h.isoPullback.inv (D.ideal i).subschemeι |
| 27 | inferInstance (inferInstanceAs (IsClosedImmersion (D.ideal i).subschemeι)) |
| 28 | |
| 29 | /-- The actual defining ideal of the glued closed subscheme. -/ |
| 30 | def IdealDescent.IdealDescentData.gluedIdeal : X.IdealSheafData := D.relativeGluingData.toBase.ker |
| 31 | |
| 32 | /-- The glued ideal restricts to precisely the prescribed local ideal on each chart. -/ |
| 33 | theorem IdealDescent.IdealDescentData.gluedIdeal_comap (i : C.I₀) : (D.gluedIdeal).comap (C.f i) = D.ideal i := by |
| 34 | have : IsClosedImmersion D.relativeGluingData.toBase := D.glued_closedImmersion |
| 35 | let h := D.relativeGluingData.isPullback_natTrans_ι_toBase i |
| 36 | have he : (D.ideal i).subschemeι.ker = D.gluedIdeal.comap (C.f i) := |
| 37 | (congrArg Scheme.Hom.ker h.isoPullback_hom_fst).symm.trans |
| 38 | ((Scheme.Hom.ker_comp_of_isIso h.isoPullback.hom _).trans |
| 39 | (Scheme.IdealSheafData.ker_fst_of_isClosedImmersion D.relativeGluingData.toBase (C.f i))) |
| 40 | exact he.symm.trans (D.ideal i).ker_subschemeι |
| 41 | |
| 42 | /-- Compatible local ideals glue to a unique global quasi-coherent ideal sheaf. -/ |
| 43 | theorem IdealDescent.IdealDescentData.existsUnique_ideal : ∃! I : X.IdealSheafData, ∀ i, I.comap (C.f i) = D.ideal i := by |
| 44 | refine ⟨D.gluedIdeal, D.gluedIdeal_comap, ?_⟩ |
| 45 | intro I hI |
| 46 | exact ClosedFamily.OpenEquality.ideal_eq_of_open_cover C I D.gluedIdeal |
| 47 | (fun i => (hI i).trans (D.gluedIdeal_comap i).symm) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |