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.IntersectionTheory.ProjectionFormula.Normalization.Charts |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.LocalizationStalks |
| 3 | |
| 4 | /-! # Localization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.Localization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Normalizing the local ring of an affine chart is obtained by localizing |
| 11 | the chart's integral closure in the same function field. The ring map is |
| 12 | the literal inclusion of integral elements, with all scalar maps fixed. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | section Algebra |
| 17 | |
| 18 | variable (B R K : Type*) [CommRing B] [CommRing R] [Field K] |
| 19 | [Algebra B R] [Algebra B K] [Algebra R K] [IsScalarTower B R K] |
| 20 | |
| 21 | def closureInclusion : integralClosure B K →ₐ[B] integralClosure R K := by |
| 22 | have h : integralClosure B K ≤ (integralClosure R K).restrictScalars B := |
| 23 | fun _ hx => hx.tower_top |
| 24 | exact Subalgebra.inclusion h |
| 25 | |
| 26 | abbrev closureAlgebra : Algebra (integralClosure B K) (integralClosure R K) := |
| 27 | (closureInclusion B R K).toRingHom.toAlgebra |
| 28 | |
| 29 | theorem closure_isLocalization (M : Submonoid B) [IsLocalization M R] : |
| 30 | letI := closureAlgebra B R K |
| 31 | IsLocalization (Algebra.algebraMapSubmonoid (integralClosure B K) M) |
| 32 | (integralClosure R K) := by |
| 33 | let := closureAlgebra B R K |
| 34 | let : IsScalarTower B (integralClosure B K) (integralClosure R K) := |
| 35 | IsScalarTower.of_algHom (closureInclusion B R K) |
| 36 | let : IsScalarTower (integralClosure B K) (integralClosure R K) K := |
| 37 | IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 38 | let : IsLocalization (Algebra.algebraMapSubmonoid K M) K := |
| 39 | IsLocalization.of_le_isUnit (fun x hx => by |
| 40 | obtain ⟨m, hm, rfl⟩ := hx |
| 41 | have h := (IsLocalization.map_units R (⟨m, hm⟩ : M)).map (algebraMap R K) |
| 42 | change IsUnit (algebraMap B K m) |
| 43 | simpa only [← IsScalarTower.algebraMap_apply] using h) |
| 44 | exact IsLocalization.integralClosure M |
| 45 | |
| 46 | end Algebra |
| 47 | |
| 48 | universe u |
| 49 | |
| 50 | variable (X : Scheme.{u}) [IsIntegral X] |
| 51 | (U : X.Opens) (hU : IsAffineOpen U) [Nonempty U] (x : U) |
| 52 | |
| 53 | /-- The actual integral-closure map from an affine normalization chart |
| 54 | to the normalization of one of the original scheme's stalks. -/ |
| 55 | def normalizationStalkInclusion : |
| 56 | integralClosure Γ(X, U) X.functionField →ₐ[Γ(X, U)] |
| 57 | integralClosure (X.presheaf.stalk x) X.functionField := by |
| 58 | let := TopCat.Presheaf.algebra_section_stalk X.presheaf x |
| 59 | let := functionField_isScalarTower X U x |
| 60 | exact closureInclusion Γ(X, U) (X.presheaf.stalk x) X.functionField |
| 61 | |
| 62 | theorem normalizationStalk_isLocalization : |
| 63 | letI := (normalizationStalkInclusion X U x).toRingHom.toAlgebra |
| 64 | IsLocalization |
| 65 | (Algebra.algebraMapSubmonoid (integralClosure Γ(X, U) X.functionField) |
| 66 | (hU.primeIdealOf x).asIdeal.primeCompl) |
| 67 | (integralClosure (X.presheaf.stalk x) X.functionField) := by |
| 68 | let := TopCat.Presheaf.algebra_section_stalk X.presheaf x |
| 69 | let := functionField_isScalarTower X U x |
| 70 | let := hU.isLocalization_stalk x |
| 71 | exact closure_isLocalization Γ(X, U) (X.presheaf.stalk x) X.functionField |
| 72 | (hU.primeIdealOf x).asIdeal.primeCompl |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.Localization |