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.NormalizationStalkMap |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.ResidueDegree |
| 3 | |
| 4 | /-! # Normalization Fiber -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.NormalizationFiber.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The normalized-stalk spectrum covers the entire normalization fiber |
| 11 | over the chosen original point, and its map is injective. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.Scheme |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (X : Scheme.{u}) [IsIntegral X] |
| 20 | (U : X.Opens) (hU : IsAffineOpen U) [Nonempty U] (x : U) |
| 21 | |
| 22 | theorem normalizationStalkMap_residueDegree |
| 23 | (y : Spec (.of (integralClosure (X.presheaf.stalk x) X.functionField))) : |
| 24 | (NormalizationStalkMap.BundleCycles.normalizationStalkMap X U hU x).residueDegree y = 1 := by |
| 25 | let := NormalizationStalkMap.BundleCycles.normalizationStalkMap_stalkMap_isIso X U hU x y |
| 26 | exact IntersectionTheory.ProjectionFormula.Stalk.ResidueDegree.residueDegree_of_isIso_stalkMap _ _ |
| 27 | |
| 28 | theorem normalizationStalkMap_covers_fiber (y : IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalization X) |
| 29 | (hy : IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalizationMap X y = x) : y ∈ Set.range (NormalizationStalkMap.BundleCycles.normalizationStalkMap X U hU x) := by |
| 30 | let B := integralClosure Γ(X, U) X.functionField |
| 31 | let D := integralClosure (X.presheaf.stalk x) X.functionField |
| 32 | let := (Integral.ClosureLocalization.BundleCycles.normalizationStalkInclusion X U x).toRingHom.toAlgebra |
| 33 | let M := Algebra.algebraMapSubmonoid B (hU.primeIdealOf x).asIdeal.primeCompl |
| 34 | let : IsLocalization M D := Integral.ClosureLocalization.BundleCycles.normalizationStalk_isLocalization X U hU x |
| 35 | have hyU : y ∈ IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalizationMap X ⁻¹ᵁ U := by |
| 36 | change IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalizationMap X y ∈ U |
| 37 | rw [hy] |
| 38 | exact x.property |
| 39 | change y ∈ (IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalizationMap X ⁻¹ᵁ U : Set (IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalization X)) at hyU |
| 40 | rw [← NormalizationCharts.BundleCycles.normalizationChartMap_range X U hU] at hyU |
| 41 | obtain ⟨q, hq⟩ := hyU |
| 42 | have hp : (Spec.map (CommRingCat.ofHom (algebraMap Γ(X, U) B))) q = hU.primeIdealOf x := by |
| 43 | apply hU.fromSpec.isOpenEmbedding.injective |
| 44 | have hc := congrArg (fun i : Spec (.of B) ⟶ X => i q) |
| 45 | (NormalizationCharts.BundleCycles.normalizationChartMap_comp X U hU) |
| 46 | change IntersectionTheory.ProjectionFormula.Normalization.Scheme.normalizationMap X (NormalizationCharts.BundleCycles.normalizationChartMap X U hU q) = |
| 47 | hU.fromSpec ((Spec.map (CommRingCat.ofHom (algebraMap Γ(X, U) B))) q) at hc |
| 48 | rw [← hc, hq, hy, hU.fromSpec_primeIdealOf] |
| 49 | have hdisj : Disjoint (M : Set B) (q.asIdeal : Set B) := by |
| 50 | rw [Set.disjoint_left] |
| 51 | intro z hzM hzq |
| 52 | obtain ⟨a, ha, rfl⟩ := hzM |
| 53 | apply ha |
| 54 | have he := congrArg PrimeSpectrum.asIdeal hp |
| 55 | change Ideal.comap (algebraMap Γ(X, U) B) q.asIdeal = (hU.primeIdealOf x).asIdeal at he |
| 56 | rw [← he] |
| 57 | exact hzq |
| 58 | have hqrange : q ∈ Set.range (PrimeSpectrum.comap (algebraMap B D)) := by |
| 59 | rw [PrimeSpectrum.localization_comap_range D M] |
| 60 | exact hdisj |
| 61 | obtain ⟨z, hz⟩ := hqrange |
| 62 | refine ⟨z, ?_⟩ |
| 63 | change NormalizationCharts.BundleCycles.normalizationChartMap X U hU ((Spec.map (CommRingCat.ofHom (algebraMap B D))) z) = y |
| 64 | exact (congrArg (NormalizationCharts.BundleCycles.normalizationChartMap X U hU) hz).trans hq |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.Divisors.LineBundles.NormalizationFiber.BundleCycles |