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.Ideal.Colon |
| 3 | import Mathlib.RingTheory.Noetherian.Basic |
| 4 | |
| 5 | /-! # Colon Localization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Ideal.ColonLocalization.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Localization of ideal quotients by finitely generated ideals. -/ |
| 12 | |
| 13 | variable {R S : Type*} [CommRing R] [CommRing S] [Algebra R S] |
| 14 | (M : Submonoid R) [IsLocalization M S] |
| 15 | |
| 16 | include M |
| 17 | |
| 18 | /-- Localization commutes with an ideal quotient by one element, without |
| 19 | assuming that the element is regular or divides the ideal. -/ |
| 20 | theorem localization_map_colon_singleton (J : Ideal R) (c : R) : |
| 21 | (J.colon {c}).map (algebraMap R S) = |
| 22 | (J.map (algebraMap R S)).colon {algebraMap R S c} := by |
| 23 | ext x |
| 24 | obtain ⟨a, t, rfl⟩ := IsLocalization.exists_mk'_eq M x |
| 25 | rw [IsLocalization.mk'_mem_iff, IsLocalization.mk'_mem_iff, |
| 26 | IsLocalization.algebraMap_mem_map_algebraMap_iff M S, |
| 27 | Submodule.mem_colon_singleton, smul_eq_mul, ← map_mul, |
| 28 | IsLocalization.algebraMap_mem_map_algebraMap_iff M S] |
| 29 | simp only [Submodule.mem_colon_singleton, smul_eq_mul, mul_assoc] |
| 30 | |
| 31 | /-- Localization commutes with an ideal quotient by a finite family. -/ |
| 32 | theorem localization_map_colon_finite (J : Ideal R) (s : Set R) (hs : s.Finite) : |
| 33 | (J.colon s).map (algebraMap R S) = |
| 34 | (J.map (algebraMap R S)).colon ((algebraMap R S) '' s) := by |
| 35 | classical |
| 36 | induction s, hs using Set.Finite.induction_on with |
| 37 | | empty => simp only [Submodule.colon_empty, Set.image_empty, Ideal.map_top] |
| 38 | | @insert c s hc hs ih => |
| 39 | rw [Set.insert_eq, Submodule.colon_union, IsLocalization.map_inf M S, |
| 40 | Set.image_union, Set.image_singleton, Submodule.colon_union, |
| 41 | localization_map_colon_singleton M J c, ih] |
| 42 | |
| 43 | /-- The ideal quotient of a coherent ideal by a finitely generated ideal |
| 44 | commutes with the actual localization map. -/ |
| 45 | theorem localization_map_colon_fg (J K : Ideal R) (hK : K.FG) : |
| 46 | (J.colon (K : Set R)).map (algebraMap R S) = |
| 47 | (J.map (algebraMap R S)).colon (K.map (algebraMap R S) : Set S) := by |
| 48 | obtain ⟨s, rfl⟩ := hK |
| 49 | rw [Ideal.map_span, Ideal.colon_span, Ideal.colon_span] |
| 50 | exact localization_map_colon_finite M J (s : Set R) s.finite_toSet |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.Resolution.Blowups.Ideal.ColonLocalization.Construction |