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.Localization.Ideal |
| 2 | import Mathlib.RingTheory.Localization.Away.Basic |
| 3 | |
| 4 | /-! # Section Kernel -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionKernel |
| 7 | |
| 8 | /-! A principal localization turns an annihilator of the quotient |
| 9 | section kernel into the literal equality of the localized ideals. -/ |
| 10 | |
| 11 | universe u v w |
| 12 | variable {A : Type u} [CommRing A] {S : Type v} [CommRing S] [Algebra A S] |
| 13 | {R : Type w} [CommRing R] (s : A) [IsLocalization.Away s S] |
| 14 | (ε : A →+* R) (η : S →+* R) (hη : η.comp (algebraMap A S) = ε) |
| 15 | (I : Ideal A) (hI : I ≤ RingHom.ker ε) |
| 16 | (hs : ∀ x, ε x = 0 → s * x ∈ I) |
| 17 | |
| 18 | include hI hs in |
| 19 | theorem map_kernel : (RingHom.ker ε).map (algebraMap A S) = I.map (algebraMap A S) := by |
| 20 | apply le_antisymm |
| 21 | · rw [Ideal.map_le_iff_le_comap] |
| 22 | intro x hx |
| 23 | change algebraMap A S x ∈ I.map (algebraMap A S) |
| 24 | have h := Ideal.mem_map_of_mem (algebraMap A S) (hs x hx) |
| 25 | rw [map_mul] at h |
| 26 | exact ((I.map (algebraMap A S)).unit_mul_mem_iff_mem |
| 27 | (IsLocalization.Away.algebraMap_isUnit s)).mp h |
| 28 | · exact Ideal.map_mono hI |
| 29 | |
| 30 | include hη hI hs in |
| 31 | theorem kernel : RingHom.ker η = I.map (algebraMap A S) := by |
| 32 | have h : (RingHom.ker η).under A = RingHom.ker ε := by |
| 33 | change (RingHom.ker η).comap (algebraMap A S) = RingHom.ker ε |
| 34 | rw [RingHom.comap_ker, hη] |
| 35 | calc |
| 36 | RingHom.ker η = ((RingHom.ker η).under A).map (algebraMap A S) := |
| 37 | (IsLocalization.map_under (Submonoid.powers s) S (RingHom.ker η)).symm |
| 38 | _ = (RingHom.ker ε).map (algebraMap A S) := congrArg (Ideal.map (algebraMap A S)) h |
| 39 | _ = I.map (algebraMap A S) := map_kernel s ε I hI hs |
| 40 | |
| 41 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionKernel |