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.SurjectiveLocalRingMap |
| 2 | import Mathlib.RingTheory.Localization.Ideal |
| 3 | |
| 4 | /-! # Localized Surjection Kernel -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.LocalizedSurjectionKernel.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The kernel of the native localized map of a surjection is the |
| 11 | localization of its original kernel, proved directly with fractions. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | universe u v |
| 17 | variable {R : Type u} {S : Type v} [CommRing R] [CommRing S] |
| 18 | |
| 19 | theorem localRingHom_kernel (f : R →+* S) (hf : Function.Surjective f) (q : PrimeSpectrum S) : |
| 20 | RingHom.ker (Localization.localRingHom (q.asIdeal.comap f) q.asIdeal f rfl) = |
| 21 | (RingHom.ker f).map (algebraMap R (Localization.AtPrime (q.asIdeal.comap f))) := by |
| 22 | ext z |
| 23 | obtain ⟨r, t, rfl⟩ := IsLocalization.exists_mk'_eq (q.asIdeal.comap f).primeCompl z |
| 24 | change Localization.localRingHom (q.asIdeal.comap f) q.asIdeal f rfl |
| 25 | (IsLocalization.mk' (Localization.AtPrime (q.asIdeal.comap f)) r t) = 0 ↔ _ |
| 26 | rw [Localization.localRingHom_mk', IsLocalization.mk'_eq_zero_iff, |
| 27 | IsLocalization.mk'_mem_map_algebraMap_iff (q.asIdeal.comap f).primeCompl] |
| 28 | constructor |
| 29 | · rintro ⟨s, hs⟩ |
| 30 | obtain ⟨a, ha⟩ := hf s.val |
| 31 | refine ⟨a, ?_, ?_⟩ |
| 32 | · change f a ∉ q.asIdeal |
| 33 | exact (congrArg (fun b : S => b ∉ q.asIdeal) ha).mpr s.property |
| 34 | · change f (a * r) = 0 |
| 35 | rw [map_mul, ha] |
| 36 | exact hs |
| 37 | · rintro ⟨a, ha, hz⟩ |
| 38 | refine ⟨⟨f a, ha⟩, ?_⟩ |
| 39 | change f (a * r) = 0 at hz |
| 40 | exact (map_mul f a r).symm.trans hz |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.CycleClass.Thom.LocalizedSurjectionKernel.Constructions |