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.NumberTheory.PadicHodge.GeometricComparison.Linear |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Pi |
| 3 | |
| 4 | /-! # Tensor Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.TensorCoordinates.CoefficientCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A coefficient basis identifies scalar extension with a finite product naturally. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | variable {K L I V W : Type*} [Field K] [Field L] [Algebra K L] |
| 15 | [Fintype I] [DecidableEq I] |
| 16 | [AddCommGroup V] [Module K V] [AddCommGroup W] [Module K W] |
| 17 | |
| 18 | def equiv (b : Module.Basis I K L) : (L ⊗[K] V) ≃ₗ[K] (I → V) := |
| 19 | (TensorProduct.comm K L V).trans |
| 20 | ((TensorProduct.congr (LinearEquiv.refl K V) b.equivFun).trans |
| 21 | (TensorProduct.piScalarRight K K V I)) |
| 22 | |
| 23 | theorem equiv_tmul (b : Module.Basis I K L) (l : L) (v : V) : |
| 24 | equiv b (l ⊗ₜ[K] v) = fun i => b.equivFun l i • v := by |
| 25 | simp [equiv] |
| 26 | |
| 27 | theorem naturality (b : Module.Basis I K L) (f : V →ₗ[K] W) (x : L ⊗[K] V) : |
| 28 | equiv b (f.baseChange L x) = fun i => f (equiv b x i) := by |
| 29 | induction x using TensorProduct.inductionOn with |
| 30 | | tmul l v => simp [equiv_tmul] |
| 31 | | add x y hx hy => ext i; simp [map_add, hx, hy] |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.NumberTheory.PadicHodge.GeometricComparison.TensorCoordinates.CoefficientCoordinates |