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