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.SupportDeformation |
| 2 | |
| 3 | /-! # Projection -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Support.Projection.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # LineBundleCycles: projection of the support deformation to the actual closed scheme |
| 11 | |
| 12 | The quotient coefficient spectra are the standard affine charts of the |
| 13 | closed subscheme. Their constant maps glue to a projection from its |
| 14 | deformation, and evaluation at one proves this projection surjective. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | open _root_.AlgebraicGeometry.Scheme.AffineZariskiSite |
| 19 | |
| 20 | universe u |
| 21 | variable {X : Scheme.{u}} (I P : X.IdealSheafData) |
| 22 | |
| 23 | /-- The standard affine coefficient chart in the actual closed support scheme. -/ |
| 24 | def supportCoefficientChart (U : X.AffineZariskiSite) : |
| 25 | Spec ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)) ⟶ P.subscheme := P.subschemeCover.f U |
| 26 | |
| 27 | instance supportCoefficientChart_isOpenImmersion (U : X.AffineZariskiSite) : |
| 28 | IsOpenImmersion (supportCoefficientChart P U) := P.subschemeCover.openCover.map_prop U |
| 29 | |
| 30 | theorem supportCoefficientChart_range (U : X.AffineZariskiSite) : |
| 31 | (supportCoefficientChart P U).opensRange = P.subschemeι ⁻¹ᵁ U.1 := |
| 32 | P.opensRange_subschemeCover_map U |
| 33 | |
| 34 | /-- The constants map from a support deformation chart to its coefficient spectrum. -/ |
| 35 | def supportDeformationChartProjection (U : X.AffineZariskiSite) : |
| 36 | (Global.SupportDeformation.BundleCycles.globalSupportDeformationCover I P).X U ⟶ Spec ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)) := |
| 37 | Spec.map (CommRingCat.ofHom (algebraMap ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)) |
| 38 | (Deformation.Iff.BundleCycles.deformationAlgebra (CoefficientDiagram.BundleCycles.supportCenterIdeal P I U)))) |
| 39 | |
| 40 | /-- The chart projection regarded as a map to the whole closed support. -/ |
| 41 | def supportDeformationChartToSupport (U : X.AffineZariskiSite) : |
| 42 | (Global.SupportDeformation.BundleCycles.globalSupportDeformationCover I P).X U ⟶ P.subscheme := |
| 43 | supportDeformationChartProjection I P U ≫ supportCoefficientChart P U |
| 44 | |
| 45 | theorem supportDeformationChartToSupport_toBase (U : X.AffineZariskiSite) : |
| 46 | supportDeformationChartToSupport I P U ≫ P.subschemeι = |
| 47 | (Global.SupportDeformation.BundleCycles.supportDeformationGlueData I P).natTrans.app U ≫ U.1.ι := by |
| 48 | let a : Γ(X, U.1) ⟶ (CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U) := |
| 49 | CommRingCat.ofHom (Ideal.Quotient.mk (P.ideal U)) |
| 50 | let b : (CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U) ⟶ |
| 51 | (DeformationDiagram.BundleCycles.supportDeformationDiagram I P).obj (.op U) := |
| 52 | CommRingCat.ofHom (algebraMap ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)) |
| 53 | (Deformation.Iff.BundleCycles.deformationAlgebra (CoefficientDiagram.BundleCycles.supportCenterIdeal P I U))) |
| 54 | have hab : a ≫ b = (DeformationDiagram.BundleCycles.supportDeformationDiagramMap I P).app (.op U) := by |
| 55 | apply CommRingCat.hom_ext |
| 56 | apply RingHom.ext |
| 57 | intro r |
| 58 | exact (DeformationDiagram.BundleCycles.supportDeformationDiagramMap_apply I P U r).symm |
| 59 | have hP : supportCoefficientChart P U ≫ P.subschemeι = |
| 60 | (Spec.map a ≫ U.2.isoSpec.inv) ≫ U.1.ι := P.subschemeCover_map_subschemeι U |
| 61 | have hspec : Spec.map b ≫ Spec.map a = |
| 62 | Spec.map ((DeformationDiagram.BundleCycles.supportDeformationDiagramMap I P).app (.op U)) := |
| 63 | (Spec.map_comp a b).symm.trans (congrArg Spec.map hab) |
| 64 | change (Spec.map b ≫ supportCoefficientChart P U) ≫ P.subschemeι = |
| 65 | (Spec.map ((DeformationDiagram.BundleCycles.supportDeformationDiagramMap I P).app (.op U)) ≫ U.2.isoSpec.inv) ≫ U.1.ι |
| 66 | rw [Category.assoc, hP, ← Category.assoc, ← Category.assoc, hspec] |
| 67 | rfl |
| 68 | |
| 69 | /-- The chart maps to the support agree on every affine transition. -/ |
| 70 | def supportProjectionCocone : Cocone (Global.SupportDeformation.BundleCycles.supportDeformationGlueData I P).functor where |
| 71 | pt := P.subscheme |
| 72 | ι.app U := supportDeformationChartToSupport I P U |
| 73 | ι.naturality {U V} f := by |
| 74 | apply (cancel_mono P.subschemeι).mp |
| 75 | have h : (Global.SupportDeformation.BundleCycles.supportDeformationGlueData I P).functor.map f ≫ |
| 76 | ((Global.SupportDeformation.BundleCycles.supportDeformationGlueData I P).natTrans.app V ≫ V.1.ι) = |
| 77 | (Global.SupportDeformation.BundleCycles.supportDeformationGlueData I P).natTrans.app U ≫ U.1.ι := |
| 78 | (((Global.SupportDeformation.BundleCycles.supportDeformationGlueData I P).natTrans ≫ |
| 79 | (directedCover X).functorOfLocallyDirectedHomBase).naturality f).trans (Category.comp_id _) |
| 80 | exact (Category.assoc _ _ _).trans |
| 81 | ((congrArg (fun k => (Global.SupportDeformation.BundleCycles.supportDeformationGlueData I P).functor.map f ≫ k) |
| 82 | (supportDeformationChartToSupport_toBase I P V)).trans |
| 83 | (h.trans ((supportDeformationChartToSupport_toBase I P U).symm.trans |
| 84 | (congrArg (fun k => k ≫ P.subschemeι) |
| 85 | (Category.comp_id (supportDeformationChartToSupport I P U)).symm)))) |
| 86 | |
| 87 | /-- The actual structural projection to the closed support scheme. -/ |
| 88 | def globalSupportDeformationToSupport : Global.SupportDeformation.BundleCycles.globalSupportDeformation I P ⟶ P.subscheme := |
| 89 | colimit.desc _ (supportProjectionCocone I P) |
| 90 | |
| 91 | theorem globalSupportDeformationToSupport_on_chart (U : X.AffineZariskiSite) : |
| 92 | (Global.SupportDeformation.BundleCycles.globalSupportDeformationCover I P).f U ≫ globalSupportDeformationToSupport I P = |
| 93 | supportDeformationChartToSupport I P U := |
| 94 | colimit.ι_desc (supportProjectionCocone I P) U |
| 95 | |
| 96 | theorem globalSupportDeformationToSupport_toBase : |
| 97 | globalSupportDeformationToSupport I P ≫ P.subschemeι = Global.SupportDeformation.BundleCycles.globalSupportDeformationProjection I P := by |
| 98 | apply (Global.SupportDeformation.BundleCycles.globalSupportDeformationCover I P).hom_ext |
| 99 | intro U |
| 100 | exact (Category.assoc _ _ _).symm.trans |
| 101 | ((congrArg (fun k => k ≫ P.subschemeι) (globalSupportDeformationToSupport_on_chart I P U)).trans |
| 102 | ((supportDeformationChartToSupport_toBase I P U).trans |
| 103 | ((Global.SupportDeformation.BundleCycles.supportDeformationGlueData I P).ι_toBase U).symm)) |
| 104 | |
| 105 | /-- Evaluation at t = 1 on a support chart. -/ |
| 106 | def supportDeformationChartSection (U : X.AffineZariskiSite) : |
| 107 | Spec ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)) ⟶ (Global.SupportDeformation.BundleCycles.globalSupportDeformationCover I P).X U := |
| 108 | Spec.map (CommRingCat.ofHom (Global.DeformationProperties.BundleCycles.deformationAtOne (CoefficientDiagram.BundleCycles.supportCenterIdeal P I U))) |
| 109 | |
| 110 | theorem supportDeformationChartSection_projection (U : X.AffineZariskiSite) : |
| 111 | supportDeformationChartSection I P U ≫ supportDeformationChartProjection I P U = 𝟙 _ := by |
| 112 | let a : (CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U) ⟶ |
| 113 | (DeformationDiagram.BundleCycles.supportDeformationDiagram I P).obj (.op U) := |
| 114 | CommRingCat.ofHom (algebraMap ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)) |
| 115 | (Deformation.Iff.BundleCycles.deformationAlgebra (CoefficientDiagram.BundleCycles.supportCenterIdeal P I U))) |
| 116 | let b : (DeformationDiagram.BundleCycles.supportDeformationDiagram I P).obj (.op U) ⟶ |
| 117 | (CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U) := |
| 118 | CommRingCat.ofHom (Global.DeformationProperties.BundleCycles.deformationAtOne (CoefficientDiagram.BundleCycles.supportCenterIdeal P I U)) |
| 119 | have hab : a ≫ b = 𝟙 _ := CommRingCat.hom_ext (Global.DeformationProperties.BundleCycles.deformationAtOne_algebraMap (CoefficientDiagram.BundleCycles.supportCenterIdeal P I U)) |
| 120 | exact (Spec.map_comp a b).symm.trans ((congrArg Spec.map hab).trans (Spec.map_id _)) |
| 121 | |
| 122 | /-- Every point of the actual support has a point above it at t = 1. -/ |
| 123 | theorem globalSupportDeformationToSupport_surjective : |
| 124 | Function.Surjective (globalSupportDeformationToSupport I P) := by |
| 125 | intro x |
| 126 | obtain ⟨U, y, hy⟩ := P.subschemeCover.openCover.exists_eq x |
| 127 | let z := supportDeformationChartSection I P U y |
| 128 | refine ⟨(Global.SupportDeformation.BundleCycles.globalSupportDeformationCover I P).f U z, ?_⟩ |
| 129 | have h := congrArg (fun k => k z) (globalSupportDeformationToSupport_on_chart I P U) |
| 130 | have hs := congrArg (fun k => k y) (supportDeformationChartSection_projection I P U) |
| 131 | change supportDeformationChartProjection I P U z = y at hs |
| 132 | change globalSupportDeformationToSupport I P ((Global.SupportDeformation.BundleCycles.globalSupportDeformationCover I P).f U z) = |
| 133 | supportCoefficientChart P U (supportDeformationChartProjection I P U z) at h |
| 134 | exact h.trans ((congrArg (supportCoefficientChart P U) hs).trans hy) |
| 135 | |
| 136 | /-- The support's standard affine opens pull back to the expected deformation charts. -/ |
| 137 | theorem globalSupportDeformationToSupport_preimage (U : X.AffineZariskiSite) : |
| 138 | globalSupportDeformationToSupport I P ⁻¹ᵁ (supportCoefficientChart P U).opensRange = |
| 139 | ((Global.SupportDeformation.BundleCycles.globalSupportDeformationCover I P).f U).opensRange := by |
| 140 | rw [supportCoefficientChart_range, ← Scheme.Hom.comp_preimage, |
| 141 | globalSupportDeformationToSupport_toBase, Global.SupportDeformation.BundleCycles.globalSupportDeformationProjection_preimage] |
| 142 | |
| 143 | end |
| 144 | |
| 145 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Support.Projection.BundleCycles |