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 Mathlib.RingTheory.Kaehler.Basic |
| 2 | import Mathlib.RingTheory.Localization.FractionRing |
| 3 | |
| 4 | /-! # Localization Differential -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.LocalizationDifferential.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Extending a zero differential from a coordinate ring to its fraction field. -/ |
| 11 | |
| 12 | theorem differential_algebraMap_fractionField_eq_zero |
| 13 | (k R K L : Type*) [CommRing k] [CommRing R] [Field K] [Field L] |
| 14 | [Algebra k R] [Algebra R K] [IsFractionRing R K] |
| 15 | [Algebra k K] [IsScalarTower k R K] |
| 16 | [Algebra K L] [Algebra R L] [IsScalarTower R K L] |
| 17 | [Algebra k L] [IsScalarTower k R L] [IsScalarTower k K L] |
| 18 | (h : ∀ r : R, KaehlerDifferential.D k L (algebraMap R L r) = 0) |
| 19 | (x : K) : KaehlerDifferential.D k L (algebraMap K L x) = 0 := by |
| 20 | obtain ⟨⟨r, s⟩, he⟩ := IsLocalization.surj (nonZeroDivisors R) x |
| 21 | have hd := congrArg (fun z : K => KaehlerDifferential.D k L (algebraMap K L z)) he |
| 22 | rw [map_mul, Derivation.leibniz, ← IsScalarTower.algebraMap_apply R K L, |
| 23 | ← IsScalarTower.algebraMap_apply R K L, h, h, smul_zero, zero_add] at hd |
| 24 | have hu : IsUnit (algebraMap R L s) := by |
| 25 | rw [IsScalarTower.algebraMap_apply R K L] |
| 26 | exact (IsLocalization.map_units K s).map (algebraMap K L) |
| 27 | exact hu.smul_eq_zero.mp hd |
| 28 | |
| 29 | /-- The induced map of differential modules vanishes once it vanishes |
| 30 | on the source coordinate ring. -/ |
| 31 | theorem map_kaehler_fractionField_eq_zero |
| 32 | (k R K L : Type*) [CommRing k] [CommRing R] [Field K] [Field L] |
| 33 | [Algebra k R] [Algebra R K] [IsFractionRing R K] |
| 34 | [Algebra k K] [IsScalarTower k R K] |
| 35 | [Algebra K L] [Algebra R L] [IsScalarTower R K L] |
| 36 | [Algebra k L] [IsScalarTower k R L] [IsScalarTower k K L] |
| 37 | (h : ∀ r : R, KaehlerDifferential.D k L (algebraMap R L r) = 0) : |
| 38 | KaehlerDifferential.map k k K L = 0 := by |
| 39 | apply Derivation.liftKaehlerDifferential_unique |
| 40 | ext x |
| 41 | change KaehlerDifferential.map k k K L (KaehlerDifferential.D k K x) = 0 |
| 42 | rw [KaehlerDifferential.map_D] |
| 43 | exact differential_algebraMap_fractionField_eq_zero k R K L h x |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.LocalizationDifferential.Construction |