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.Divisors.LineBundles.Global.OpenDeformationMap |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.AffineChartBase |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Global.PuncturedLaurentChart |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.IsIso |
| 5 | import OAI.AlgebraicGeometry.Divisors.LineBundles.QuotientFiber |
| 6 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Global.Specialization |
| 7 | |
| 8 | /-! # Deformation To -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Open.DeformationTo.BundleCycles |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | section |
| 15 | |
| 16 | /-! The deformation charts of an actual open immersion have exactly the expected base map and open image. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | variable {X Y : Scheme.{0}} (i : X ⟶ Y) [IsOpenImmersion i] (I : Y.IdealSheafData) |
| 21 | (U : X.AffineZariskiSite) |
| 22 | |
| 23 | instance openDeformationChartMap_isIso : |
| 24 | IsIso (Spec.map (CommRingCat.ofHom (DeformationDiagram.BundleCycles.openDeformationRingMap i I U))) := |
| 25 | isIso_SpecMap_iff.mpr (DeformationDiagram.BundleCycles.openDeformationRingMap_bijective i I U) |
| 26 | |
| 27 | def openDeformationChart : Spec (CommRingCat.of (Deformation.Iff.BundleCycles.deformationAlgebra ((I.comap i).ideal U))) ⟶ Global.Deformation.BundleCycles.globalDeformation I := |
| 28 | Spec.map (CommRingCat.ofHom (DeformationDiagram.BundleCycles.openDeformationRingMap i I U)) ≫ |
| 29 | (Global.Deformation.BundleCycles.globalDeformationCover I).f (AffineChartBase.BundleCycles.openAffineSiteImage i U) |
| 30 | |
| 31 | instance openDeformationChart_open : IsOpenImmersion (openDeformationChart i I U) := by |
| 32 | exact @IsOpenImmersion.comp _ _ _ |
| 33 | (Spec.map (CommRingCat.ofHom (DeformationDiagram.BundleCycles.openDeformationRingMap i I U))) |
| 34 | ((Global.Deformation.BundleCycles.globalDeformationCover I).f (AffineChartBase.BundleCycles.openAffineSiteImage i U)) |
| 35 | inferInstance ((Global.Deformation.BundleCycles.globalDeformationCover I).map_prop _) |
| 36 | |
| 37 | theorem openDeformationChart_baseSquare : |
| 38 | Spec.map (CommRingCat.ofHom (DeformationDiagram.BundleCycles.openDeformationRingMap i I U)) ≫ |
| 39 | Spec.map (CommRingCat.ofHom (algebraMap Γ(Y, (AffineChartBase.BundleCycles.openAffineSiteImage i U).1) |
| 40 | (Deformation.Iff.BundleCycles.deformationAlgebra (I.ideal (AffineChartBase.BundleCycles.openAffineSiteImage i U))))) = |
| 41 | Spec.map (CommRingCat.ofHom (algebraMap Γ(X, U.1) (Deformation.Iff.BundleCycles.deformationAlgebra ((I.comap i).ideal U)))) ≫ |
| 42 | Spec.map (i.appIso U.1).hom := by |
| 43 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 44 | congr 1 |
| 45 | apply CommRingCat.hom_ext |
| 46 | apply RingHom.ext |
| 47 | intro r |
| 48 | exact Deformation.Maps.BundleCycles.deformationMap_algebraMap _ _ _ |
| 49 | (Ideal.map_le_iff_le_comap.mp (AffineChartBase.BundleCycles.openAffineSiteImage_ideal i I U).symm.le) r |
| 50 | |
| 51 | theorem openDeformationChart_toBase : |
| 52 | openDeformationChart i I U ≫ Global.Deformation.BundleCycles.globalDeformationProjection I = |
| 53 | Spec.map (CommRingCat.ofHom (algebraMap Γ(X, U.1) (Deformation.Iff.BundleCycles.deformationAlgebra ((I.comap i).ideal U)))) ≫ |
| 54 | U.2.fromSpec ≫ i := by |
| 55 | let a := Spec.map (CommRingCat.ofHom (DeformationDiagram.BundleCycles.openDeformationRingMap i I U)) |
| 56 | let b := Spec.map (CommRingCat.ofHom (algebraMap Γ(Y, (AffineChartBase.BundleCycles.openAffineSiteImage i U).1) |
| 57 | (Deformation.Iff.BundleCycles.deformationAlgebra (I.ideal (AffineChartBase.BundleCycles.openAffineSiteImage i U))))) |
| 58 | let c := Spec.map (CommRingCat.ofHom (algebraMap Γ(X, U.1) (Deformation.Iff.BundleCycles.deformationAlgebra ((I.comap i).ideal U)))) |
| 59 | exact (Category.assoc a ((Global.Deformation.BundleCycles.globalDeformationCover I).f (AffineChartBase.BundleCycles.openAffineSiteImage i U)) |
| 60 | (Global.Deformation.BundleCycles.globalDeformationProjection I)).trans |
| 61 | ((congrArg (fun k => a ≫ k) (Global.PuncturedLaurentChart.BundleCycles.globalDeformationChart_toBase I (AffineChartBase.BundleCycles.openAffineSiteImage i U))).trans |
| 62 | ((Category.assoc a b (AffineChartBase.BundleCycles.openAffineSiteImage i U).2.fromSpec).symm.trans |
| 63 | ((congrArg (fun k => k ≫ (AffineChartBase.BundleCycles.openAffineSiteImage i U).2.fromSpec) |
| 64 | (openDeformationChart_baseSquare i I U)).trans |
| 65 | ((Category.assoc c (Spec.map (i.appIso U.1).hom) (AffineChartBase.BundleCycles.openAffineSiteImage i U).2.fromSpec).trans |
| 66 | (congrArg (fun k => c ≫ k) (AffineChartBase.BundleCycles.openAffineSiteImage_fromSpec i U)))))) |
| 67 | |
| 68 | theorem openDeformationChart_opensRange : |
| 69 | (openDeformationChart i I U).opensRange = |
| 70 | Global.Deformation.BundleCycles.globalDeformationProjection I ⁻¹ᵁ (i ''ᵁ U.1) := by |
| 71 | exact (@Scheme.Hom.opensRange_comp_of_isIso _ _ _ |
| 72 | (Spec.map (CommRingCat.ofHom (DeformationDiagram.BundleCycles.openDeformationRingMap i I U))) |
| 73 | ((Global.Deformation.BundleCycles.globalDeformationCover I).f (AffineChartBase.BundleCycles.openAffineSiteImage i U)) |
| 74 | (openDeformationChartMap_isIso i I U) ((Global.Deformation.BundleCycles.globalDeformationCover I).map_prop _)).trans |
| 75 | (Global.DeformationProperties.BundleCycles.globalDeformationProjection_preimage I (AffineChartBase.BundleCycles.openAffineSiteImage i U)).symm |
| 76 | |
| 77 | end |
| 78 | |
| 79 | section |
| 80 | |
| 81 | /-! Deformation along an actual open immersion is the cartesian restriction of the original deformation. -/ |
| 82 | |
| 83 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 84 | open _root_.AlgebraicGeometry.Scheme.AffineZariskiSite |
| 85 | |
| 86 | variable {X Y : Scheme.{0}} (i : X ⟶ Y) [IsOpenImmersion i] (I : Y.IdealSheafData) |
| 87 | |
| 88 | theorem openDeformationChart_isPullback (U : X.AffineZariskiSite) : |
| 89 | IsPullback ((Global.Deformation.BundleCycles.deformationGlueData (I.comap i)).natTrans.app U) |
| 90 | (openDeformationChart i I U) (U.1.ι ≫ i) (Global.Deformation.BundleCycles.globalDeformationProjection I) := by |
| 91 | apply @IsOpenImmersion.isPullback _ _ _ _ |
| 92 | ((Global.Deformation.BundleCycles.deformationGlueData (I.comap i)).natTrans.app U) |
| 93 | (openDeformationChart i I U) (U.1.ι ≫ i) (Global.Deformation.BundleCycles.globalDeformationProjection I) |
| 94 | (openDeformationChart_open i I U) (@IsOpenImmersion.comp _ _ _ U.1.ι i inferInstance inferInstance) |
| 95 | · exact (openDeformationChart_toBase i I U).trans (Category.assoc _ _ _).symm |
| 96 | · have h := (Scheme.Hom.opensRange_comp U.1.ι i).trans |
| 97 | (congrArg (fun V => i ''ᵁ V) U.1.opensRange_ι) |
| 98 | exact (congrArg (fun V => Global.Deformation.BundleCycles.globalDeformationProjection I ⁻¹ᵁ V) h).trans |
| 99 | (openDeformationChart_opensRange i I U).symm |
| 100 | |
| 101 | theorem globalOpenDeformationMap_isPullback : |
| 102 | IsPullback (Global.Deformation.BundleCycles.globalDeformationProjection (I.comap i)) (Global.OpenDeformationMap.BundleCycles.globalOpenDeformationMap i I) |
| 103 | i (Global.Deformation.BundleCycles.globalDeformationProjection I) := by |
| 104 | apply QuotientFiber.BundleCycles.isPullback_of_cover_squares (Global.Deformation.BundleCycles.globalDeformationProjection (I.comap i)) |
| 105 | (Global.OpenDeformationMap.BundleCycles.globalOpenDeformationMap i I) i (Global.Deformation.BundleCycles.globalDeformationProjection I) (directedCover X) |
| 106 | (Global.Deformation.BundleCycles.globalDeformationCover (I.comap i)).X (Global.Deformation.BundleCycles.globalDeformationCover (I.comap i)).f |
| 107 | (fun U => (Global.Deformation.BundleCycles.deformationGlueData (I.comap i)).natTrans.app U) |
| 108 | (Global.Deformation.BundleCycles.globalDeformation_chart_isPullback (I.comap i)) |
| 109 | intro U |
| 110 | have h := openDeformationChart_isPullback i I U |
| 111 | have he := Global.OpenDeformationMap.BundleCycles.globalOpenDeformationMap_on_chart i I U |
| 112 | exact (congrArg (fun b : (Global.Deformation.BundleCycles.globalDeformationCover (I.comap i)).X U ⟶ Global.Deformation.BundleCycles.globalDeformation I => |
| 113 | IsPullback ((Global.Deformation.BundleCycles.deformationGlueData (I.comap i)).natTrans.app U) b |
| 114 | (U.1.ι ≫ i) (Global.Deformation.BundleCycles.globalDeformationProjection I)) he).mpr h |
| 115 | |
| 116 | instance globalOpenDeformationMap_open : IsOpenImmersion (Global.OpenDeformationMap.BundleCycles.globalOpenDeformationMap i I) := |
| 117 | MorphismProperty.of_isPullback (globalOpenDeformationMap_isPullback i I) inferInstance |
| 118 | |
| 119 | theorem globalOpenDeformationMap_toBase : |
| 120 | Global.OpenDeformationMap.BundleCycles.globalOpenDeformationMap i I ≫ Global.Deformation.BundleCycles.globalDeformationProjection I = |
| 121 | Global.Deformation.BundleCycles.globalDeformationProjection (I.comap i) ≫ i := |
| 122 | (globalOpenDeformationMap_isPullback i I).w.symm |
| 123 | |
| 124 | theorem globalOpenDeformationMap_range : |
| 125 | Set.range (Global.OpenDeformationMap.BundleCycles.globalOpenDeformationMap i I) = |
| 126 | Global.Deformation.BundleCycles.globalDeformationProjection I ⁻¹' Set.range i := by |
| 127 | have h := Scheme.image_preimage_eq_of_isPullback (globalOpenDeformationMap_isPullback i I) Set.univ |
| 128 | simpa only [Set.preimage_univ, Set.image_univ] using h |
| 129 | |
| 130 | end |
| 131 | |
| 132 | /-! The actual global deformation map of an open immersion preserves the parameter morphism and its global section. -/ |
| 133 | |
| 134 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 135 | |
| 136 | variable {X Y : Scheme.{0}} (i : X ⟶ Y) [IsOpenImmersion i] (I : Y.IdealSheafData) |
| 137 | |
| 138 | theorem openDeformationChart_parameter (U : X.AffineZariskiSite) : |
| 139 | openDeformationChart i I U ≫ Deformation.Parameter.BundleCycles.globalDeformationParameter I = |
| 140 | Spec.map (CommRingCat.ofHom (Deformation.Parameter.BundleCycles.deformationParameterRingMap ((I.comap i).ideal U))) := by |
| 141 | let a := Spec.map (CommRingCat.ofHom (DeformationDiagram.BundleCycles.openDeformationRingMap i I U)) |
| 142 | have hr : CommRingCat.ofHom (Deformation.Parameter.BundleCycles.deformationParameterRingMap (I.ideal (AffineChartBase.BundleCycles.openAffineSiteImage i U))) ≫ |
| 143 | CommRingCat.ofHom (DeformationDiagram.BundleCycles.openDeformationRingMap i I U) = |
| 144 | CommRingCat.ofHom (Deformation.Parameter.BundleCycles.deformationParameterRingMap ((I.comap i).ideal U)) := by |
| 145 | apply CommRingCat.hom_ext |
| 146 | exact Deformation.Parameter.BundleCycles.deformationParameterRingMap_natural _ _ _ |
| 147 | (Ideal.map_le_iff_le_comap.mp (AffineChartBase.BundleCycles.openAffineSiteImage_ideal i I U).symm.le) |
| 148 | exact (Category.assoc a ((Global.Deformation.BundleCycles.globalDeformationCover I).f (AffineChartBase.BundleCycles.openAffineSiteImage i U)) |
| 149 | (Deformation.Parameter.BundleCycles.globalDeformationParameter I)).trans |
| 150 | ((congrArg (fun k => a ≫ k) (Deformation.Parameter.BundleCycles.globalDeformationParameter_on_chart I (AffineChartBase.BundleCycles.openAffineSiteImage i U))).trans |
| 151 | ((Spec.map_comp _ _).symm.trans (congrArg Spec.map hr))) |
| 152 | |
| 153 | theorem globalOpenDeformationMap_parameter : |
| 154 | Global.OpenDeformationMap.BundleCycles.globalOpenDeformationMap i I ≫ Deformation.Parameter.BundleCycles.globalDeformationParameter I = |
| 155 | Deformation.Parameter.BundleCycles.globalDeformationParameter (I.comap i) := by |
| 156 | apply (Global.Deformation.BundleCycles.globalDeformationCover (I.comap i)).hom_ext |
| 157 | intro U |
| 158 | exact (Category.assoc _ _ _).symm.trans |
| 159 | ((congrArg (fun k => k ≫ Deformation.Parameter.BundleCycles.globalDeformationParameter I) |
| 160 | (Global.OpenDeformationMap.BundleCycles.globalOpenDeformationMap_on_chart i I U)).trans |
| 161 | ((openDeformationChart_parameter i I U).trans |
| 162 | (Deformation.Parameter.BundleCycles.globalDeformationParameter_on_chart (I.comap i) U).symm)) |
| 163 | |
| 164 | theorem globalOpenDeformationMap_parameterSection : |
| 165 | (Global.OpenDeformationMap.BundleCycles.globalOpenDeformationMap i I).appTop (Global.Specialization.BundleCycles.globalDeformationParameterSection I) = |
| 166 | Global.Specialization.BundleCycles.globalDeformationParameterSection (I.comap i) := |
| 167 | congrArg (fun k => k.appTop Global.Specialization.BundleCycles.parameterLineSection) (globalOpenDeformationMap_parameter i I) |
| 168 | |
| 169 | end |
| 170 | |
| 171 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Open.DeformationTo.BundleCycles |