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.Quaternion.Arithmetic.TangentBracket |
| 2 | import Mathlib.LinearAlgebra.Matrix.ToLin |
| 3 | |
| 4 | /-! # Matrix Scalar Restriction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.MatrixScalarRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatibility between entrywise matrix scalar action and scalar |
| 11 | restriction through the coefficient field. -/ |
| 12 | |
| 13 | variable {K A : Type*} [NormedField K] [Ring A] {d : ℕ} |
| 14 | [Algebra (TangentBracket.closedPrimeSubfield K) A] |
| 15 | |
| 16 | def matrixAlgHom_primeRestriction |
| 17 | (f : A →ₐ[TangentBracket.closedPrimeSubfield K] Matrix (Fin d) (Fin d) K) : |
| 18 | letI : Algebra (TangentBracket.closedPrimeSubfield K) (Matrix (Fin d) (Fin d) K) := |
| 19 | Algebra.ofSubsemiring (TangentBracket.closedPrimeSubfield K) |
| 20 | A →ₐ[TangentBracket.closedPrimeSubfield K] Matrix (Fin d) (Fin d) K := |
| 21 | { f.toRingHom with commutes' := f.commutes } |
| 22 | |
| 23 | theorem matrixAlgHom_primeRestriction_apply |
| 24 | (f : A →ₐ[TangentBracket.closedPrimeSubfield K] Matrix (Fin d) (Fin d) K) (a : A) : |
| 25 | matrixAlgHom_primeRestriction f a = f a := rfl |
| 26 | |
| 27 | theorem matrixAlgHom_primeRestriction_isClosedEmbedding [TopologicalSpace A] |
| 28 | (f : A →ₐ[TangentBracket.closedPrimeSubfield K] Matrix (Fin d) (Fin d) K) |
| 29 | (hf : Topology.IsClosedEmbedding f) : |
| 30 | Topology.IsClosedEmbedding (matrixAlgHom_primeRestriction f) := hf |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.NumberTheory.Quaternion.Arithmetic.MatrixScalarRestriction |