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.AbelianModuli.HilbertConstruction.Finite.CharacterBasis |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Pi |
| 4 | |
| 5 | /-! # Character Algebra Basis -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CharacterAlgebraBasis |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The character basis persists over every algebra of the coefficient field, including rings with zero divisors. -/ |
| 12 | universe u v w |
| 13 | variable (K : Type u) [Field K] (G : Type v) [CommGroup G] [Fintype G] |
| 14 | [HasEnoughRootsOfUnity K (Monoid.exponent G)] |
| 15 | (R : Type w) [CommRing R] [Algebra K R] |
| 16 | |
| 17 | def finiteAbelianCharacterAlgebraBasis : Module.Basis (G →* Kˣ) R (G → R) := by |
| 18 | classical |
| 19 | exact ((Finite.CharacterBasis.finiteAbelianCharacterBasis K G).baseChange R).map (TensorProduct.piScalarRight K R R G) |
| 20 | |
| 21 | @[simp] |
| 22 | theorem finiteAbelianCharacterAlgebraBasis_apply (χ : G →* Kˣ) (g : G) : |
| 23 | finiteAbelianCharacterAlgebraBasis K G R χ g = algebraMap K R (χ g : K) := by |
| 24 | classical |
| 25 | simp only [finiteAbelianCharacterAlgebraBasis, Module.Basis.map_apply, Module.Basis.baseChange_apply, |
| 26 | TensorProduct.piScalarRight_apply, TensorProduct.piScalarRightHom_tmul, |
| 27 | Finite.CharacterBasis.finiteAbelianCharacterBasis_apply, Algebra.smul_def, mul_one] |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CharacterAlgebraBasis |