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.NormalizationCharts |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Integral.ClosureLocalization |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LocalizationRationalOrder |
| 4 | |
| 5 | /-! # Normalization Stalk Map -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.NormalizationStalkMap.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # LineBundleCycles: normalized local rings inside the actual global normalization |
| 13 | |
| 14 | The spectrum of the integral closure of a stalk maps into the global |
| 15 | normalization through an actual integral-closure chart. It lies over the |
| 16 | original stalk map, preserves local rings and codimensions, and induces |
| 17 | the actual generic-field comparison. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.Scheme |
| 23 | |
| 24 | universe u |
| 25 | variable (X : Scheme.{u}) [IsIntegral X] (U : X.Opens) (hU : IsAffineOpen U) [Nonempty U] (x : U) |
| 26 | |
| 27 | def normalizationStalkMap : |
| 28 | Spec (CommRingCat.of (integralClosure (X.presheaf.stalk x) X.functionField)) ⟶ IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalization X := |
| 29 | Spec.map (CommRingCat.ofHom (Integral.ClosureLocalization.BundleCycles.normalizationStalkInclusion X U x).toRingHom) ≫ NormalizationCharts.BundleCycles.normalizationChartMap X U hU |
| 30 | |
| 31 | theorem normalizationStalkMap_comp : |
| 32 | normalizationStalkMap X U hU x ≫ IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalizationMap X = |
| 33 | Spec.map (CommRingCat.ofHom (algebraMap (X.presheaf.stalk x) |
| 34 | (integralClosure (X.presheaf.stalk x) X.functionField))) ≫ X.fromSpecStalk x := by |
| 35 | rw [normalizationStalkMap, Category.assoc, NormalizationCharts.BundleCycles.normalizationChartMap_comp, |
| 36 | ← hU.fromSpecStalk_eq_fromSpecStalk x.property, IsAffineOpen.fromSpecStalk, |
| 37 | ← Category.assoc, ← Category.assoc, ← Spec.map_comp, ← Spec.map_comp] |
| 38 | congr 2 |
| 39 | ext a |
| 40 | exact (Scheme.algebraMap_germ_eq_germToFunctionField X x.property a).symm |
| 41 | |
| 42 | theorem normalizationStalkMap_stalkMap_isIso |
| 43 | (y : Spec (CommRingCat.of (integralClosure (X.presheaf.stalk x) X.functionField))) : |
| 44 | IsIso ((normalizationStalkMap X U hU x).stalkMap y) := by |
| 45 | let B := integralClosure Γ(X, U) X.functionField |
| 46 | let D := integralClosure (X.presheaf.stalk x) X.functionField |
| 47 | let := (Integral.ClosureLocalization.BundleCycles.normalizationStalkInclusion X U x).toRingHom.toAlgebra |
| 48 | let M := Algebra.algebraMapSubmonoid B (hU.primeIdealOf x).asIdeal.primeCompl |
| 49 | let : IsLocalization M D := Integral.ClosureLocalization.BundleCycles.normalizationStalk_isLocalization X U hU x |
| 50 | let l := Spec.map (CommRingCat.ofHom (algebraMap B D)) |
| 51 | let c := NormalizationCharts.BundleCycles.normalizationChartMap X U hU |
| 52 | have hl : IsIso (l.stalkMap y) := LocalizationStalks.BundleCycles.localizationStalkMap_isIso B D M y |
| 53 | have hc : IsIso (c.stalkMap (l y)) := inferInstance |
| 54 | let e := (@asIso _ _ _ _ (c.stalkMap (l y)) hc) ≪≫ (@asIso _ _ _ _ (l.stalkMap y) hl) |
| 55 | have he : e.hom = (l ≫ c).stalkMap y := (Scheme.Hom.stalkMap_comp l c y).symm |
| 56 | exact (congrArg (fun k => IsIso k) he).mp e.isIso_hom |
| 57 | |
| 58 | theorem normalizationStalkMap_coheight |
| 59 | (y : Spec (CommRingCat.of (integralClosure (X.presheaf.stalk x) X.functionField))) : |
| 60 | Order.coheight (normalizationStalkMap X U hU x y) = Order.coheight y := by |
| 61 | let B := integralClosure Γ(X, U) X.functionField |
| 62 | let D := integralClosure (X.presheaf.stalk x) X.functionField |
| 63 | let := (Integral.ClosureLocalization.BundleCycles.normalizationStalkInclusion X U x).toRingHom.toAlgebra |
| 64 | let M := Algebra.algebraMapSubmonoid B (hU.primeIdealOf x).asIdeal.primeCompl |
| 65 | let : IsLocalization M D := Integral.ClosureLocalization.BundleCycles.normalizationStalk_isLocalization X U hU x |
| 66 | change Order.coheight (NormalizationCharts.BundleCycles.normalizationChartMap X U hU ((Spec.map (CommRingCat.ofHom (algebraMap B D))) y)) = _ |
| 67 | rw [coheight_eq_of_isOpenImmersion] |
| 68 | exact LocalizationStalks.BundleCycles.localization_coheight B D M y |
| 69 | |
| 70 | theorem normalizationStalkMap_genericPoint : |
| 71 | normalizationStalkMap X U hU x |
| 72 | (genericPoint (Spec (CommRingCat.of (integralClosure (X.presheaf.stalk x) X.functionField)))) = |
| 73 | genericPoint (IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalization X) := by |
| 74 | let B := integralClosure Γ(X, U) X.functionField |
| 75 | let D := integralClosure (X.presheaf.stalk x) X.functionField |
| 76 | let := (Integral.ClosureLocalization.BundleCycles.normalizationStalkInclusion X U x).toRingHom.toAlgebra |
| 77 | let M := Algebra.algebraMapSubmonoid B (hU.primeIdealOf x).asIdeal.primeCompl |
| 78 | let : IsLocalization M D := Integral.ClosureLocalization.BundleCycles.normalizationStalk_isLocalization X U hU x |
| 79 | change NormalizationCharts.BundleCycles.normalizationChartMap X U hU |
| 80 | ((Spec.map (CommRingCat.ofHom (algebraMap B D))) (genericPoint (Spec (CommRingCat.of D)))) = _ |
| 81 | rw [LocalizationRationalOrder.BundleCycles.localization_genericPoint B D M, genericPoint_eq_of_isOpenImmersion] |
| 82 | |
| 83 | theorem normalizationStalkMap_injective : Function.Injective (normalizationStalkMap X U hU x) := by |
| 84 | let B := integralClosure Γ(X, U) X.functionField |
| 85 | let D := integralClosure (X.presheaf.stalk x) X.functionField |
| 86 | let := (Integral.ClosureLocalization.BundleCycles.normalizationStalkInclusion X U x).toRingHom.toAlgebra |
| 87 | let M := Algebra.algebraMapSubmonoid B (hU.primeIdealOf x).asIdeal.primeCompl |
| 88 | let : IsLocalization M D := Integral.ClosureLocalization.BundleCycles.normalizationStalk_isLocalization X U hU x |
| 89 | exact (NormalizationCharts.BundleCycles.normalizationChartMap X U hU).isOpenEmbedding.injective.comp |
| 90 | (PrimeSpectrum.localization_comap_injective D M) |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.Divisors.LineBundles.NormalizationStalkMap.BundleCycles |