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 | import Mathlib.RingTheory.Finiteness.Basic |
| 4 | |
| 5 | /-! # Ideal Localization Zero -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.IdealLocalizationZero |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A finitely generated ideal which vanishes in a localization already |
| 12 | vanishes after inverting a single member of the multiplicative set. -/ |
| 13 | |
| 14 | open scoped BigOperators |
| 15 | |
| 16 | universe u v |
| 17 | variable {R : Type u} [CommRing R] |
| 18 | |
| 19 | theorem finite_ideal_localization_zero (U : Submonoid R) |
| 20 | (S : Type v) [CommRing S] [Algebra R S] [IsLocalization U S] |
| 21 | (I : Ideal R) (hI : I.FG) (hz : I.map (algebraMap R S) = ⊥) : |
| 22 | ∃ s : U, I.map (algebraMap R (Localization.Away s.val)) = ⊥ := by |
| 23 | classical |
| 24 | obtain ⟨G, hG⟩ := hI |
| 25 | have hg (x : G) : ∃ s : U, s.val * x.val = 0 := by |
| 26 | have hx : algebraMap R S x.val = 0 := |
| 27 | (Ideal.map_eq_bot_iff_le_ker _).mp hz (hG ▸ Ideal.subset_span x.property) |
| 28 | obtain ⟨s, hs⟩ := (IsLocalization.eq_iff_exists U S).mp (hx.trans (map_zero _).symm) |
| 29 | exact ⟨s, by simpa only [mul_zero] using hs⟩ |
| 30 | choose d hd using hg |
| 31 | let s : U := ∏ x : G, d x |
| 32 | refine ⟨s, (Ideal.map_eq_bot_iff_le_ker _).mpr ?_⟩ |
| 33 | rw [← hG] |
| 34 | apply Ideal.span_le.mpr |
| 35 | intro x hx |
| 36 | have hdiv : (d ⟨x, hx⟩).val ∣ s.val := by |
| 37 | change (d ⟨x, hx⟩).val ∣ (∏ y : G, d y : U).val |
| 38 | rw [Submonoid.coe_finsetProd] |
| 39 | exact Finset.dvd_prod_of_mem (fun y : G => (d y).val) (Finset.mem_univ (⟨x, hx⟩ : G)) |
| 40 | obtain ⟨a, ha⟩ := hdiv |
| 41 | have hsx : s.val * x = 0 := by |
| 42 | rw [ha, mul_right_comm, hd ⟨x, hx⟩, zero_mul] |
| 43 | change algebraMap R (Localization.Away s.val) x = 0 |
| 44 | apply (IsLocalization.Away.algebraMap_isUnit s.val).mul_right_injective |
| 45 | dsimp only |
| 46 | rw [mul_zero, ← map_mul, hsx, map_zero] |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.IdealLocalizationZero |