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.OpenEquality |
| 2 | import Mathlib.AlgebraicGeometry.RelativeGluing |
| 3 | |
| 4 | /-! # Ideal Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IdealDescent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatible ideal sheaves on a locally directed open cover give actual scheme gluing data. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} (C : X.OpenCover) [Category C.I₀] [C.LocallyDirected] |
| 17 | |
| 18 | /-- Local ideal sheaves with equality under every transition of a directed open cover. -/ |
| 19 | structure IdealDescentData where |
| 20 | ideal : ∀ i, (C.X i).IdealSheafData |
| 21 | compatible : ∀ {i j} (f : i ⟶ j), (ideal j).comap (C.trans f) = ideal i |
| 22 | |
| 23 | namespace IdealDescentData |
| 24 | |
| 25 | variable {C} (D : IdealDescentData C) |
| 26 | |
| 27 | /-- A cover transition restricts to the canonical closed subschemes. -/ |
| 28 | def transition {i j : C.I₀} (f : i ⟶ j) : (D.ideal i).subscheme ⟶ (D.ideal j).subscheme := |
| 29 | Scheme.IdealSheafData.subschemeMap (D.ideal i) (D.ideal j) (C.trans f) |
| 30 | (Scheme.IdealSheafData.le_map_iff_comap_le.mpr (D.compatible f).le) |
| 31 | |
| 32 | @[reassoc (attr := simp)] |
| 33 | theorem transition_inclusion {i j : C.I₀} (f : i ⟶ j) : |
| 34 | D.transition f ≫ (D.ideal j).subschemeι = (D.ideal i).subschemeι ≫ C.trans f := |
| 35 | Scheme.IdealSheafData.subschemeMap_subschemeι _ _ _ _ |
| 36 | |
| 37 | /-- The transition square is Cartesian because its ideals agree by pullback. -/ |
| 38 | theorem transition_isPullback {i j : C.I₀} (f : i ⟶ j) : |
| 39 | IsPullback (D.transition f) (D.ideal i).subschemeι (D.ideal j).subschemeι (C.trans f) := by |
| 40 | apply IsPullback.flip |
| 41 | apply isPullback_of_isClosedImmersion |
| 42 | · exact (D.transition_inclusion f).symm |
| 43 | · rw [(D.ideal j).ker_subschemeι, (D.ideal i).ker_subschemeι] |
| 44 | exact D.compatible f |
| 45 | |
| 46 | /-- The local closed subschemes and their actual transition maps form a diagram. -/ |
| 47 | def schemeFunctor : C.I₀ ⥤ Scheme.{u} where |
| 48 | obj i := (D.ideal i).subscheme |
| 49 | map f := D.transition f |
| 50 | map_id i := by |
| 51 | apply (cancel_mono (D.ideal i).subschemeι).mp |
| 52 | simp only [IdealDescentData.transition_inclusion, Scheme.Cover.trans_id, Category.comp_id, Category.id_comp] |
| 53 | map_comp f h := by |
| 54 | apply (cancel_mono (D.ideal _).subschemeι).mp |
| 55 | simp only [IdealDescentData.transition_inclusion, Category.assoc, transition_inclusion_assoc, |
| 56 | Scheme.Cover.trans_comp] |
| 57 | |
| 58 | /-- Compatible ideals supply the equifibered diagram used by relative scheme gluing. -/ |
| 59 | def relativeGluingData : C.RelativeGluingData where |
| 60 | functor := D.schemeFunctor |
| 61 | natTrans := |
| 62 | { app i := (D.ideal i).subschemeι |
| 63 | naturality _ _ f := D.transition_inclusion f } |
| 64 | equifibered _ _ f := D.transition_isPullback f |
| 65 | |
| 66 | end IdealDescentData |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IdealDescent |