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.DifferentialGenerators |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.MatrixDifferential |
| 3 | |
| 4 | /-! # Centralizer Polynomials -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.CentralizerPolynomials |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Polynomial centralizer equations and their infinitesimal derivatives. |
| 11 | Commuting Lie directions preserve the ideal of these equations. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open OAI.NumberTheory.ArithmeticGroups.Lattices.MatrixDifferential.Construction _root_.MvPolynomial |
| 15 | |
| 16 | theorem derivation_matrix_mul |
| 17 | {k A : Type*} [Field k] [CommRing A] [Algebra k A] {n : ℕ} |
| 18 | (D : Derivation k A A) (M N : Matrix (Fin n) (Fin n) A) : |
| 19 | (M * N).map D = M * N.map D + M.map D * N := by |
| 20 | ext i j |
| 21 | simp only [Matrix.map_apply, Matrix.mul_apply, Matrix.add_apply, map_sum, |
| 22 | Derivation.leibniz, smul_eq_mul, Finset.sum_add_distrib] |
| 23 | congr 1 |
| 24 | apply Finset.sum_congr rfl |
| 25 | intro a _ |
| 26 | exact mul_comm _ _ |
| 27 | |
| 28 | variable {k : Type} [Field k] {n : ℕ} |
| 29 | |
| 30 | def centralizerMatrixPolynomial (B : Matrix (Fin n) (Fin n) k) : |
| 31 | Matrix (Fin n) (Fin n) (ArithmeticGroups.Lattices.Algebraic.CoordinatePolynomial n k) := |
| 32 | let Xmat : Matrix (Fin n) (Fin n) (ArithmeticGroups.Lattices.Algebraic.CoordinatePolynomial n k) := fun i j => X (i, j) |
| 33 | Xmat * C.mapMatrix B - C.mapMatrix B * Xmat |
| 34 | |
| 35 | theorem rightInfinitesimal_centralizerMatrixPolynomial |
| 36 | (A B : Matrix (Fin n) (Fin n) k) (hAB : A * B = B * A) : |
| 37 | (centralizerMatrixPolynomial B).map (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.rightInfinitesimal A) = |
| 38 | centralizerMatrixPolynomial B * C.mapMatrix A := by |
| 39 | let Xmat : Matrix (Fin n) (Fin n) (ArithmeticGroups.Lattices.Algebraic.CoordinatePolynomial n k) := fun i j => X (i, j) |
| 40 | let CA : Matrix (Fin n) (Fin n) (ArithmeticGroups.Lattices.Algebraic.CoordinatePolynomial n k) := C.mapMatrix A |
| 41 | let CB : Matrix (Fin n) (Fin n) (ArithmeticGroups.Lattices.Algebraic.CoordinatePolynomial n k) := C.mapMatrix B |
| 42 | have hX : Xmat.map (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.rightInfinitesimal A) = Xmat * CA := by |
| 43 | apply Matrix.ext |
| 44 | intro i j |
| 45 | exact ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.rightInfinitesimal_X A i j |
| 46 | have hC : CB.map (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.rightInfinitesimal A) = 0 := by |
| 47 | apply Matrix.ext |
| 48 | intro i j |
| 49 | exact ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.rightInfinitesimal_C A (B i j) |
| 50 | have hcomm : CA * CB = CB * CA := by |
| 51 | change C.mapMatrix A * C.mapMatrix B = C.mapMatrix B * C.mapMatrix A |
| 52 | rw [← map_mul, ← map_mul, hAB] |
| 53 | have hsub (M N : Matrix (Fin n) (Fin n) (ArithmeticGroups.Lattices.Algebraic.CoordinatePolynomial n k)) : |
| 54 | (M - N).map (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.rightInfinitesimal A) = |
| 55 | M.map (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.rightInfinitesimal A) - N.map (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.rightInfinitesimal A) := by |
| 56 | apply Matrix.ext |
| 57 | intro i j |
| 58 | exact map_sub (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.rightInfinitesimal A) (M i j) (N i j) |
| 59 | change (Xmat * CB - CB * Xmat).map (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.rightInfinitesimal A) = (Xmat * CB - CB * Xmat) * CA |
| 60 | rw [hsub, derivation_matrix_mul, derivation_matrix_mul, hX, hC, |
| 61 | Matrix.mul_zero, Matrix.zero_mul, zero_add, add_zero, Matrix.sub_mul] |
| 62 | simp only [Matrix.mul_assoc, hcomm] |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.Quaternion.Arithmetic.CentralizerPolynomials |