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.Algebra |
| 2 | import Mathlib.RingTheory.Ideal.Maps |
| 3 | |
| 4 | /-! # Surjective Localization Kernel -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.SurjectiveLocalizationKernel.BundleCycles |
| 7 | |
| 8 | /-! The kernel of the actual localized map of a surjective ring |
| 9 | homomorphism is the extension of the original kernel. -/ |
| 10 | |
| 11 | theorem surjectiveLocalization_kernel |
| 12 | {R S A B : Type*} [CommRing R] [CommRing S] [CommRing A] [CommRing B] |
| 13 | [Algebra R A] [Algebra S B] (p : Ideal R) [p.IsPrime] (q : Ideal S) [q.IsPrime] |
| 14 | [IsLocalization p.primeCompl A] [IsLocalization q.primeCompl B] |
| 15 | (g : R →+* S) (hg : Function.Surjective g) (hpq : q.comap g = p) |
| 16 | (φ : A →+* B) (hφ : φ.comp (algebraMap R A) = (algebraMap S B).comp g) : |
| 17 | RingHom.ker φ = (RingHom.ker g).map (algebraMap R A) := by |
| 18 | subst p |
| 19 | have hT : Submonoid.map g (q.comap g).primeCompl = q.primeCompl := |
| 20 | Ideal.map_primeCompl_comap_of_surjective g hg q |
| 21 | have hφ' : φ = IsLocalization.map B g (hT.symm ▸ (q.comap g).primeCompl.le_comap_map) := |
| 22 | IsLocalization.ringHom_ext (q.comap g).primeCompl (hφ.trans (IsLocalization.map_comp _).symm) |
| 23 | rw [hφ'] |
| 24 | exact IsLocalization.ker_map B g hT |
| 25 | |
| 26 | end OAI.AlgebraicGeometry.Divisors.LineBundles.SurjectiveLocalizationKernel.BundleCycles |