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.LinearAlgebra.Matrix.NonsingularInverse |
| 2 | import Mathlib.LinearAlgebra.Matrix.ToLin |
| 3 | |
| 4 | /-! # Matrix Frame Basis -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.MatrixFrameBasis.LinearAlgebra |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The columns of a unit matrix give an actual basis over its coefficient ring. -/ |
| 11 | |
| 12 | variable {R ι : Type} [CommRing R] [Fintype ι] [DecidableEq ι] |
| 13 | |
| 14 | def basisOfUnitMatrix (A : Matrix ι ι R) (h : IsUnit A) : Module.Basis ι R (ι → R) := |
| 15 | (Pi.basisFun R ι).map (LinearEquiv.ofBijective A.mulVecLin |
| 16 | ⟨Matrix.mulVec_injective_of_isUnit h, Matrix.mulVec_surjective_iff_isUnit.mpr h⟩) |
| 17 | |
| 18 | theorem basisOfUnitMatrix_apply (A : Matrix ι ι R) (h : IsUnit A) (i j : ι) : |
| 19 | basisOfUnitMatrix A h j i = A i j := by |
| 20 | change (A.mulVecLin (Pi.basisFun R ι j)) i = A i j |
| 21 | simp only [Pi.basisFun_apply, Matrix.mulVecLin_apply, Matrix.mulVec_single_one, Matrix.col_apply] |
| 22 | |
| 23 | end |
| 24 | |
| 25 | end OAI.AlgebraicGeometry.Comparison.Betti.MatrixFrameBasis.LinearAlgebra |