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.DeformationProperties |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.Specialization |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.DivisorRestriction |
| 4 | |
| 5 | /-! # Specialization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Global.Specialization.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # LineBundleCycles: global specialization of an integral scheme |
| 13 | |
| 14 | The actual global parameter gives a finite effective divisor on the integral |
| 15 | Noetherian deformation. Its entire support lies on the scheme-theoretic zero |
| 16 | fiber, so that divisor defines a finite cycle on the glued normal cone. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.Order |
| 20 | open _root_.AlgebraicGeometry.Scheme.AffineZariskiSite |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | /-- The coordinate section on the parameter line. -/ |
| 25 | def parameterLineSection : Γ(Deformation.Parameter.BundleCycles.deformationParameterLine.{u}, ⊤) := |
| 26 | (Scheme.ΓSpecIso (CommRingCat.of (Polynomial (ULift.{u} ℤ)))).inv Polynomial.X |
| 27 | |
| 28 | /-- Parameter zero is exactly the vanishing locus of the coordinate section. -/ |
| 29 | theorem parameterZeroInclusion_range : |
| 30 | Set.range QuotientFiber.BundleCycles.parameterZeroInclusion.{u} = |
| 31 | (Deformation.Parameter.BundleCycles.deformationParameterLine.basicOpen parameterLineSection : Set Deformation.Parameter.BundleCycles.deformationParameterLine)ᶜ := by |
| 32 | let A : CommRingCat := .of (Polynomial (ULift.{u} ℤ)) |
| 33 | let B : CommRingCat := .of (Polynomial (ULift.{u} ℤ) ⧸ QuotientFiber.BundleCycles.parameterZeroIdeal) |
| 34 | let g : A ⟶ B := CommRingCat.ofHom (Ideal.Quotient.mk QuotientFiber.BundleCycles.parameterZeroIdeal) |
| 35 | have hsurj : Function.Surjective g := Ideal.Quotient.mk_surjective |
| 36 | have hker : RingHom.ker g.hom = QuotientFiber.BundleCycles.parameterZeroIdeal := Ideal.mk_ker |
| 37 | change Set.range (PrimeSpectrum.comap g.hom) = _ |
| 38 | rw [range_comap_of_surjective _ _ hsurj, hker] |
| 39 | change PrimeSpectrum.zeroLocus QuotientFiber.BundleCycles.parameterZeroIdeal = |
| 40 | ((Spec A).basicOpen ((Scheme.ΓSpecIso A).inv Polynomial.X) : Set (Spec A))ᶜ |
| 41 | rw [basicOpen_eq_of_affine] |
| 42 | ext x |
| 43 | simp only [PrimeSpectrum.mem_zeroLocus, SetLike.coe_subset_coe] |
| 44 | change Ideal.span {Polynomial.X} ≤ x.asIdeal ↔ ¬Polynomial.X ∉ x.asIdeal |
| 45 | exact (Ideal.span_singleton_le_iff_mem (I := x.asIdeal)).trans not_not.symm |
| 46 | |
| 47 | variable {X : Scheme.{u}} (I : X.IdealSheafData) |
| 48 | |
| 49 | /-- The actual global regular parameter section. -/ |
| 50 | def globalDeformationParameterSection : Γ(Deformation.BundleCycles.globalDeformation I, ⊤) := |
| 51 | (Deformation.Parameter.BundleCycles.globalDeformationParameter I).appTop parameterLineSection |
| 52 | |
| 53 | /-- Restricting the global section gives the original affine Laurent parameter. -/ |
| 54 | theorem globalDeformationParameterSection_on_chart (U : X.AffineZariskiSite) : |
| 55 | ((Deformation.BundleCycles.globalDeformationCover I).f U).appTop (globalDeformationParameterSection I) = |
| 56 | Affine.Specialization.BundleCycles.affineDeformationParameterSection (I.ideal U) := by |
| 57 | let a : CommRingCat.of (Polynomial (ULift.{u} ℤ)) ⟶ |
| 58 | CommRingCat.of (Deformation.Iff.BundleCycles.deformationAlgebra (I.ideal U)) := |
| 59 | CommRingCat.ofHom (Deformation.Parameter.BundleCycles.deformationParameterRingMap (I.ideal U)) |
| 60 | have h := congrArg (fun k => k.appTop parameterLineSection) |
| 61 | (Deformation.Parameter.BundleCycles.globalDeformationParameter_on_chart I U) |
| 62 | have he := ConcreteCategory.congr_hom (Scheme.ΓSpecIso_inv_naturality a) Polynomial.X |
| 63 | change (Scheme.ΓSpecIso (CommRingCat.of (Deformation.Iff.BundleCycles.deformationAlgebra (I.ideal U)))).inv |
| 64 | (Deformation.Parameter.BundleCycles.deformationParameterRingMap (I.ideal U) Polynomial.X) = |
| 65 | (Spec.map a).appTop parameterLineSection at he |
| 66 | rw [Deformation.Parameter.BundleCycles.deformationParameterRingMap_X] at he |
| 67 | exact h.trans he.symm |
| 68 | |
| 69 | /-- The global closed-fiber embedding has exactly the vanishing locus of t as its range. -/ |
| 70 | theorem globalSpecialFiberMap_range : |
| 71 | Set.range (SpecialFiber.BundleCycles.globalSpecialFiberMap I) = |
| 72 | ((Deformation.BundleCycles.globalDeformation I).basicOpen (globalDeformationParameterSection I) : |
| 73 | Set (Deformation.BundleCycles.globalDeformation I))ᶜ := by |
| 74 | have h := Scheme.image_preimage_eq_of_isPullback (QuotientFiber.BundleCycles.globalSpecialFiber_isPullback I).flip Set.univ |
| 75 | simp only [Set.preimage_univ, Set.image_univ] at h |
| 76 | change Set.range (SpecialFiber.BundleCycles.globalSpecialFiberMap I) = |
| 77 | Deformation.Parameter.BundleCycles.globalDeformationParameter I ⁻¹' Set.range QuotientFiber.BundleCycles.parameterZeroInclusion at h |
| 78 | rw [parameterZeroInclusion_range, Set.preimage_compl] at h |
| 79 | have hb := Scheme.preimage_basicOpen_top (Deformation.Parameter.BundleCycles.globalDeformationParameter I) parameterLineSection |
| 80 | exact h.trans (congrArg (fun U : (Deformation.BundleCycles.globalDeformation I).Opens => (U : Set (Deformation.BundleCycles.globalDeformation I))ᶜ) hb) |
| 81 | |
| 82 | /-- The canonical affine normal-cone chart as a morphism into the global cone. -/ |
| 83 | def globalNormalConeChartMap (U : X.AffineZariskiSite) : |
| 84 | Normal.Cone.BundleCycles.affineNormalCone (I.ideal U) ⟶ SpecialFiber.BundleCycles.globalSpecialFiber I := |
| 85 | (SpecialFiber.BundleCycles.globalSpecialFiberNormalConeChart I U).hom ≫ (SpecialFiber.BundleCycles.globalSpecialFiberCover I).f U |
| 86 | |
| 87 | theorem globalNormalConeChartMap_toDeformation (U : X.AffineZariskiSite) : |
| 88 | globalNormalConeChartMap I U ≫ SpecialFiber.BundleCycles.globalSpecialFiberMap I = |
| 89 | Affine.Specialization.BundleCycles.normalConeFiberInclusion (I.ideal U) ≫ (Deformation.BundleCycles.globalDeformationCover I).f U := by |
| 90 | let a : CommRingCat.of (Deformation.Iff.BundleCycles.deformationAlgebra (I.ideal U)) ⟶ |
| 91 | CommRingCat.of (SpecialFiber.BundleCycles.DeformationSpecialRing (I.ideal U)) := |
| 92 | CommRingCat.ofHom (Ideal.Quotient.mk (Deformation.Iff.BundleCycles.deformationSpecialIdeal (I.ideal U))) |
| 93 | let b : CommRingCat.of (SpecialFiber.BundleCycles.DeformationSpecialRing (I.ideal U)) ⟶ |
| 94 | CommRingCat.of (Normal.Cone.BundleCycles.NormalConeRing (I.ideal U)) := |
| 95 | CommRingCat.ofHom (SpecialFiber.BundleCycles.normalConeSpecialFiberEquiv (I.ideal U)).symm.toRingHom |
| 96 | have h : (SpecialFiber.BundleCycles.globalSpecialFiberNormalConeChart I U).hom ≫ Spec.map a = |
| 97 | Affine.Specialization.BundleCycles.normalConeFiberInclusion (I.ideal U) := (Spec.map_comp a b).symm |
| 98 | exact (Category.assoc _ _ _).trans |
| 99 | ((congrArg (fun k => (SpecialFiber.BundleCycles.globalSpecialFiberNormalConeChart I U).hom ≫ k) |
| 100 | (SpecialFiber.BundleCycles.globalSpecialFiberMap_on_chart I U)).trans |
| 101 | ((Category.assoc _ _ _).symm.trans |
| 102 | (congrArg (fun k => k ≫ (Deformation.BundleCycles.globalDeformationCover I).f U) h))) |
| 103 | |
| 104 | variable [IsIntegral X] |
| 105 | |
| 106 | /-- The global parameter is nonzero, as can be checked on any nonempty affine chart. -/ |
| 107 | theorem globalDeformationParameterSection_ne_zero : globalDeformationParameterSection I ≠ 0 := by |
| 108 | let x : X := Classical.choice inferInstance |
| 109 | let U : X.AffineZariskiSite := (directedCover X).idx x |
| 110 | obtain ⟨y, _⟩ := (directedCover X).covers x |
| 111 | have : Nonempty U.1 := ⟨y⟩ |
| 112 | have : IsDomain Γ(X, U.1) := inferInstance |
| 113 | intro hz |
| 114 | have h := congrArg ((Deformation.BundleCycles.globalDeformationCover I).f U).appTop hz |
| 115 | rw [globalDeformationParameterSection_on_chart I U] at h |
| 116 | exact Affine.Specialization.BundleCycles.affineDeformationParameterSection_ne_zero (I.ideal U) |
| 117 | (h.trans (map_zero ((Deformation.BundleCycles.globalDeformationCover I).f U).appTop.hom)) |
| 118 | |
| 119 | variable [AlgebraicGeometry.IsNoetherian X] |
| 120 | |
| 121 | /-- The finite effective divisor of t on the actual global deformation. -/ |
| 122 | def globalDeformationParameterDivisor : Deformation.BundleCycles.globalDeformation I →₀ ℤ := |
| 123 | RegularDivisor.BundleCycles.regularFunctionDivisor (Deformation.BundleCycles.globalDeformation I) (globalDeformationParameterSection I) |
| 124 | |
| 125 | theorem globalDeformationParameterDivisor_nonnegative (x : Deformation.BundleCycles.globalDeformation I) : |
| 126 | 0 ≤ globalDeformationParameterDivisor I x := |
| 127 | RegularDivisor.BundleCycles.regularFunctionDivisor_nonnegative _ _ (globalDeformationParameterSection_ne_zero I) x |
| 128 | |
| 129 | theorem globalDeformationParameterDivisor_support : |
| 130 | ((globalDeformationParameterDivisor I).support : Set (Deformation.BundleCycles.globalDeformation I)) ⊆ |
| 131 | Set.range (SpecialFiber.BundleCycles.globalSpecialFiberMap I) := by |
| 132 | rw [globalSpecialFiberMap_range] |
| 133 | exact RegularDivisor.BundleCycles.regularFunctionDivisor_support_subset _ _ |
| 134 | |
| 135 | /-- The point embedding of the globally glued normal cone. -/ |
| 136 | def globalSpecialFiberPointEmbedding : SpecialFiber.BundleCycles.globalSpecialFiber I ↪ Deformation.BundleCycles.globalDeformation I := |
| 137 | ⟨SpecialFiber.BundleCycles.globalSpecialFiberMap I, (SpecialFiber.BundleCycles.globalSpecialFiberMap I).isClosedEmbedding.injective⟩ |
| 138 | |
| 139 | /-- The entire parameter divisor, transported to the actual global normal cone. -/ |
| 140 | def globalSpecializationCycle : SpecialFiber.BundleCycles.globalSpecialFiber I →₀ ℤ := |
| 141 | Finsupp.comapDomain (globalSpecialFiberPointEmbedding I) (globalDeformationParameterDivisor I) |
| 142 | (globalSpecialFiberPointEmbedding I).injective.injOn |
| 143 | |
| 144 | @[simp] |
| 145 | theorem globalSpecializationCycle_apply (x : SpecialFiber.BundleCycles.globalSpecialFiber I) : |
| 146 | globalSpecializationCycle I x = globalDeformationParameterDivisor I (SpecialFiber.BundleCycles.globalSpecialFiberMap I x) := rfl |
| 147 | |
| 148 | /-- Pushing the specialization cycle back recovers every coefficient of the divisor of t. -/ |
| 149 | theorem globalSpecializationCycle_push : |
| 150 | Finsupp.embDomain (globalSpecialFiberPointEmbedding I) (globalSpecializationCycle I) = |
| 151 | globalDeformationParameterDivisor I := |
| 152 | Finsupp.embDomain_comapDomain (globalDeformationParameterDivisor_support I) |
| 153 | |
| 154 | theorem globalSpecializationCycle_nonnegative (x : SpecialFiber.BundleCycles.globalSpecialFiber I) : |
| 155 | 0 ≤ globalSpecializationCycle I x := globalDeformationParameterDivisor_nonnegative I _ |
| 156 | |
| 157 | /-- The global multiplicity is the actual length of the local quotient by t. -/ |
| 158 | theorem globalSpecializationCycle_coeff_length (x : SpecialFiber.BundleCycles.globalSpecialFiber I) |
| 159 | (hx : coheight (SpecialFiber.BundleCycles.globalSpecialFiberMap I x) = 1) : |
| 160 | globalSpecializationCycle I x = |
| 161 | ((Module.length ((Deformation.BundleCycles.globalDeformation I).presheaf.stalk (SpecialFiber.BundleCycles.globalSpecialFiberMap I x)) |
| 162 | (((Deformation.BundleCycles.globalDeformation I).presheaf.stalk (SpecialFiber.BundleCycles.globalSpecialFiberMap I x)) ⧸ |
| 163 | Ideal.span {(Deformation.BundleCycles.globalDeformation I).presheaf.germ ⊤ (SpecialFiber.BundleCycles.globalSpecialFiberMap I x) |
| 164 | (by trivial) (globalDeformationParameterSection I)})).toNat : ℤ) := |
| 165 | RegularDivisor.BundleCycles.regularFunctionDivisor_coeff_length _ _ (globalDeformationParameterSection_ne_zero I) _ hx |
| 166 | |
| 167 | /-- The global parameter divisor restricts to the affine divisor with the same local lengths. -/ |
| 168 | theorem globalDeformationParameterDivisor_on_chart (U : X.AffineZariskiSite) [Nonempty U.1] |
| 169 | (x : (Deformation.BundleCycles.globalDeformationCover I).X U) : |
| 170 | globalDeformationParameterDivisor I ((Deformation.BundleCycles.globalDeformationCover I).f U x) = |
| 171 | Affine.Specialization.BundleCycles.affineDeformationParameterDivisor (I.ideal U) x := by |
| 172 | have : IsDomain Γ(X, U.1) := inferInstance |
| 173 | have : IsNoetherianRing Γ(X, U.1) := IsLocallyNoetherian.component_noetherian U |
| 174 | have : IsIntegral ((Deformation.BundleCycles.globalDeformationCover I).X U) := |
| 175 | inferInstanceAs (IsIntegral (Spec (CommRingCat.of (Deformation.Iff.BundleCycles.deformationAlgebra (I.ideal U))))) |
| 176 | have : AlgebraicGeometry.IsNoetherian ((Deformation.BundleCycles.globalDeformationCover I).X U) := |
| 177 | inferInstanceAs (AlgebraicGeometry.IsNoetherian |
| 178 | (Spec (CommRingCat.of (Deformation.Iff.BundleCycles.deformationAlgebra (I.ideal U))))) |
| 179 | have h := DivisorRestriction.BundleCycles.regularFunctionDivisor_openImmersion ((Deformation.BundleCycles.globalDeformationCover I).f U) |
| 180 | (globalDeformationParameterSection I) (globalDeformationParameterSection_ne_zero I) x |
| 181 | rw [globalDeformationParameterSection_on_chart I U] at h |
| 182 | exact h.symm |
| 183 | |
| 184 | /-- The global specialization agrees with every actual affine normal-cone specialization. -/ |
| 185 | theorem globalSpecializationCycle_on_chart (U : X.AffineZariskiSite) [Nonempty U.1] |
| 186 | (x : Normal.Cone.BundleCycles.affineNormalCone (I.ideal U)) : |
| 187 | globalSpecializationCycle I (globalNormalConeChartMap I U x) = |
| 188 | Affine.Specialization.BundleCycles.affineSpecializationCycle (I.ideal U) x := by |
| 189 | have : IsDomain Γ(X, U.1) := inferInstance |
| 190 | have : IsNoetherianRing Γ(X, U.1) := IsLocallyNoetherian.component_noetherian U |
| 191 | have h := congrArg (fun k => k x) (globalNormalConeChartMap_toDeformation I U) |
| 192 | change SpecialFiber.BundleCycles.globalSpecialFiberMap I (globalNormalConeChartMap I U x) = |
| 193 | (Deformation.BundleCycles.globalDeformationCover I).f U (Affine.Specialization.BundleCycles.normalConeFiberInclusion (I.ideal U) x) at h |
| 194 | rw [globalSpecializationCycle_apply, h] |
| 195 | exact globalDeformationParameterDivisor_on_chart I U (Affine.Specialization.BundleCycles.normalConeFiberInclusion (I.ideal U) x) |
| 196 | |
| 197 | end |
| 198 | |
| 199 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Global.Specialization.BundleCycles |