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.LocalProperties.Submodule |
| 2 | import Mathlib.RingTheory.Localization.BaseChange |
| 3 | |
| 4 | /-! # Tensor Submodule Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Localized.TensorSubmoduleDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Submodules are detected by their tensor extensions to all local rings |
| 11 | at maximal ideals, without noetherianity or finite-generation hypotheses. -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | |
| 15 | universe u v |
| 16 | variable {R : Type u} [CommRing R] {M : Type v} [AddCommGroup M] [Module R M] |
| 17 | |
| 18 | theorem submodule_eq_of_localized_tensor (P Q : Submodule R M) |
| 19 | (h : ∀ p : Ideal R, ∀ _ : p.IsMaximal, |
| 20 | P.baseChange (Localization.AtPrime p) = Q.baseChange (Localization.AtPrime p)) : P = Q := by |
| 21 | apply Submodule.eq_of_localization_maximal |
| 22 | (fun p _ => Localization.AtPrime p) |
| 23 | (fun p _ => Localization.AtPrime p ⊗[R] M) |
| 24 | (fun p _ => TensorProduct.mk R (Localization.AtPrime p) M 1) |
| 25 | intro p hp |
| 26 | rw [Submodule.localized'_eq_span, Submodule.localized'_eq_span, |
| 27 | ← Submodule.map_coe, ← Submodule.map_coe, ← Submodule.baseChange_eq_span, |
| 28 | ← Submodule.baseChange_eq_span] |
| 29 | exact h p hp |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Localized.TensorSubmoduleDetection |