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.Resolution.Blowups.GlobalBlowup.Local |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.ExceptionalPrincipality |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBlowup.OpenMap |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.IdealSheaf.AffinePullback |
| 5 | |
| 6 | /-! # Functorial Map -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBlowup.FunctorialMap.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! Functorial maps between actual global blowups of integral schemes. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable {X Y : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 19 | [IsIntegral Y] [IsLocallyNoetherian Y] |
| 20 | |
| 21 | omit [IsIntegral X] [IsLocallyNoetherian X] in |
| 22 | /-- The center remains nonzero on the blowup of its pullback. -/ |
| 23 | theorem globalBlowupMap_center_ne_bot (q : Y ⟶ X) (I : X.IdealSheafData) |
| 24 | (hY : I.comap q ≠ ⊥) : |
| 25 | I.comap (Data.Construction.globalBlowupToBase (I.comap q) hY ≫ q) ≠ ⊥ := by |
| 26 | rw [Scheme.IdealSheafData.comap_comp] |
| 27 | exact Nonzero.Construction.globalBlowup_totalIdeal_ne_bot (I.comap q) (I.comap q) hY hY |
| 28 | |
| 29 | /-- The universal property constructs the comparison for any actual morphism |
| 30 | whose pulled-back center is nonzero. -/ |
| 31 | def globalBlowupMap (q : Y ⟶ X) (I : X.IdealSheafData) |
| 32 | (hI : I ≠ ⊥) (hY : I.comap q ≠ ⊥) : |
| 33 | Data.Construction.globalBlowup (I.comap q) hY ⟶ Data.Construction.globalBlowup I hI := |
| 34 | Local.Construction.globalBlowupUniversalLift I hI (Data.Construction.globalBlowupToBase (I.comap q) hY ≫ q) |
| 35 | (globalBlowupMap_center_ne_bot q I hY) (by |
| 36 | rw [Scheme.IdealSheafData.comap_comp] |
| 37 | exact Global.ExceptionalPrincipality.Construction.globalBlowup_center_locallyPrincipal (I.comap q) hY) |
| 38 | |
| 39 | theorem globalBlowupMap_over (q : Y ⟶ X) (I : X.IdealSheafData) |
| 40 | (hI : I ≠ ⊥) (hY : I.comap q ≠ ⊥) : |
| 41 | globalBlowupMap q I hI hY ≫ Data.Construction.globalBlowupToBase I hI = |
| 42 | Data.Construction.globalBlowupToBase (I.comap q) hY ≫ q := |
| 43 | Local.Construction.globalBlowupUniversalLift_over I hI _ _ _ |
| 44 | |
| 45 | /-- The comparison is the unique morphism over the original base map. -/ |
| 46 | theorem globalBlowupMap_unique (q : Y ⟶ X) (I : X.IdealSheafData) |
| 47 | (hI : I ≠ ⊥) (hY : I.comap q ≠ ⊥) |
| 48 | (g : Data.Construction.globalBlowup (I.comap q) hY ⟶ Data.Construction.globalBlowup I hI) |
| 49 | (hg : g ≫ Data.Construction.globalBlowupToBase I hI = Data.Construction.globalBlowupToBase (I.comap q) hY ≫ q) : |
| 50 | g = globalBlowupMap q I hI hY := |
| 51 | Local.Construction.globalBlowup_hom_ext I hI _ (globalBlowupMap_center_ne_bot q I hY) |
| 52 | g _ hg (globalBlowupMap_over q I hI hY) |
| 53 | |
| 54 | /-- The universal comparison agrees with the previously constructed open map. -/ |
| 55 | theorem globalBlowupMap_eq_openMap (q : Y ⟶ X) [IsOpenImmersion q] |
| 56 | (I : X.IdealSheafData) (hI : I ≠ ⊥) (hY : I.comap q ≠ ⊥) : |
| 57 | globalBlowupMap q I hI hY = OpenMap.Construction.globalBlowupOpenMap q I hI hY := |
| 58 | (globalBlowupMap_unique q I hI hY _ (OpenMap.Construction.globalBlowupOpenMap_over q I hI hY)).symm |
| 59 | |
| 60 | end |
| 61 | |
| 62 | /-! The universal global blowup comparison agrees with actual affine Rees maps. -/ |
| 63 | |
| 64 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 65 | |
| 66 | variable {X Y : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 67 | [IsIntegral Y] [IsLocallyNoetherian Y] |
| 68 | |
| 69 | theorem globalBlowupMap_chart (q : Y ⟶ X) (I : X.IdealSheafData) |
| 70 | (hI : I ≠ ⊥) (hY : I.comap q ≠ ⊥) |
| 71 | (U : X.affineOpens) (V : Y.affineOpens) (hVU : V.1 ≤ q ⁻¹ᵁ U.1) : |
| 72 | Data.Construction.globalBlowupChart (I.comap q) hY V ≫ globalBlowupMap q I hI hY = |
| 73 | Blowup.Functor.Construction.affineBlowupMapTo (I.ideal U) ((I.comap q).ideal V) (q.appLE U.1 V.1 hVU).hom |
| 74 | (IdealSheaf.AffinePullback.Construction.idealSheaf_comap_ideal_of_le I q U V hVU).symm ≫ Data.Construction.globalBlowupChart I hI U := by |
| 75 | let j := Data.Construction.globalBlowupChart (I.comap q) hY V |
| 76 | let π := Data.Construction.globalBlowupToBase (I.comap q) hY |
| 77 | let : IsReduced (ReesGrading.Construction.affineBlowup ((I.comap q).ideal V)) := isReduced_of_isOpenImmersion j |
| 78 | have hd : Dense (((π ≫ q) ⁻¹ᵁ I.support.compl : (Data.Construction.globalBlowup (I.comap q) hY).Opens) : |
| 79 | Set (Data.Construction.globalBlowup (I.comap q) hY)) := by |
| 80 | have h := Local.Construction.idealSheaf_supportComplement_dense (I.comap (π ≫ q)) |
| 81 | (globalBlowupMap_center_ne_bot q I hY) |
| 82 | rw [Scheme.IdealSheafData.support_comap] at h |
| 83 | exact h |
| 84 | apply Local.Construction.globalBlowup_hom_ext_of_dense_complement I hI (j ≫ (π ≫ q)) |
| 85 | (hd.preimage j.isOpenEmbedding.isOpenMap) |
| 86 | · rw [Category.assoc, globalBlowupMap_over] |
| 87 | · rw [Category.assoc, Data.Construction.globalBlowupChart_over, ← Category.assoc, |
| 88 | Blowup.Functor.Construction.affineBlowupMapTo_over, Category.assoc] |
| 89 | change ReesGrading.Construction.affineBlowupToSpec ((I.comap q).ideal V) ≫ |
| 90 | (Spec.map (q.appLE U.1 V.1 hVU) ≫ U.2.fromSpec) = _ |
| 91 | rw [IsAffineOpen.SpecMap_appLE_fromSpec q U.2 V.2 hVU] |
| 92 | change _ = Data.Construction.globalBlowupChart (I.comap q) hY V ≫ |
| 93 | (Data.Construction.globalBlowupToBase (I.comap q) hY ≫ q) |
| 94 | exact (Category.assoc _ _ _).symm.trans |
| 95 | ((congrArg (fun k => k ≫ q) (Data.Construction.globalBlowupChart_over (I.comap q) hY V).symm).trans |
| 96 | (Category.assoc _ _ _)) |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBlowup.FunctorialMap.Construction |