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.HilbertScheme.Presentations.ResidueFieldDetection |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Basic |
| 3 | |
| 4 | /-! # Finite Module Field Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.FiniteModuleFieldDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A module finite over an algebra vanishes if all field-valued base changes of the ground ring vanish. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem finiteAlgebraModule_subsingleton_of_fieldTensors |
| 17 | (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 18 | (M : Type u) [AddCommGroup M] [Module S M] [Module R M] [IsScalarTower R S M] |
| 19 | [Module.Finite S M] |
| 20 | (h : ∀ (K : Type u) [Field K] [Algebra R K], Subsingleton (K ⊗[R] M)) : Subsingleton M := by |
| 21 | apply HilbertScheme.Presentations.ResidueFieldDetection.finiteModule_subsingleton_of_residueFields S M |
| 22 | intro p |
| 23 | let K := p.asIdeal.ResidueField |
| 24 | have : IsScalarTower R S K := inferInstance |
| 25 | have : Subsingleton (K ⊗[R] M) := h K |
| 26 | exact (TensorProduct.mapOfCompatibleSMul_surjective S R R K M).subsingleton |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.FiniteModuleFieldDetection |