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.Away.Basic |
| 2 | import Mathlib.RingTheory.Ideal.Maps |
| 3 | |
| 4 | /-! # Principal Open Ideal Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.PrincipalOpenIdealComparison.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Combining ideal comparisons on principal opens without finiteness assumptions. -/ |
| 11 | |
| 12 | variable {R S : Type*} [CommRing R] [CommRing S] |
| 13 | |
| 14 | theorem ideal_map_le_of_principal_localization (J K : Ideal R) (s : R) |
| 15 | (φ : R →+* S) (hs : IsUnit (φ s)) |
| 16 | (h : J.map (algebraMap R (Localization.Away s)) ≤ |
| 17 | K.map (algebraMap R (Localization.Away s))) : J.map φ ≤ K.map φ := by |
| 18 | let ψ : Localization.Away s →+* S := IsLocalization.Away.lift s hs |
| 19 | have he : ψ.comp (algebraMap R (Localization.Away s)) = φ := |
| 20 | IsLocalization.Away.lift_comp s hs |
| 21 | have hm := Ideal.map_mono (f := ψ) h |
| 22 | rw [Ideal.map_map, Ideal.map_map, he] at hm |
| 23 | exact hm |
| 24 | |
| 25 | /-- Opposite ideal comparisons on two neighborhoods give equality on their |
| 26 | intersection, which is still a principal open containing the chosen prime. -/ |
| 27 | theorem exists_common_principal_ideal_equality (J K q : Ideal R) [q.IsPrime] |
| 28 | (hJK : ∃ s : R, s ∉ q ∧ J.map (algebraMap R (Localization.Away s)) ≤ |
| 29 | K.map (algebraMap R (Localization.Away s))) |
| 30 | (hKJ : ∃ s : R, s ∉ q ∧ K.map (algebraMap R (Localization.Away s)) ≤ |
| 31 | J.map (algebraMap R (Localization.Away s))) : |
| 32 | ∃ s : R, s ∉ q ∧ J.map (algebraMap R (Localization.Away s)) = |
| 33 | K.map (algebraMap R (Localization.Away s)) := by |
| 34 | obtain ⟨u, hu, hJK⟩ := hJK |
| 35 | obtain ⟨v, hv, hKJ⟩ := hKJ |
| 36 | let φ := algebraMap R (Localization.Away (u * v)) |
| 37 | have hunit : IsUnit (φ u * φ v) := by |
| 38 | rw [← map_mul] |
| 39 | exact IsLocalization.Away.algebraMap_isUnit (u * v) |
| 40 | have hunitu := isUnit_of_mul_isUnit_left hunit |
| 41 | have hunitv := isUnit_of_mul_isUnit_right hunit |
| 42 | refine ⟨u * v, q.primeCompl.mul_mem hu hv, le_antisymm ?_ ?_⟩ |
| 43 | · exact ideal_map_le_of_principal_localization J K u φ hunitu hJK |
| 44 | · exact ideal_map_le_of_principal_localization K J v φ hunitv hKJ |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.Resolution.Blowups.PrincipalOpenIdealComparison.Construction |