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.ArithmeticGroups.Lattices.MatrixDerivation |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Compact.RationalForm |
| 3 | |
| 4 | /-! # Congruence Polynomial -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.CongruencePolynomial.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Polynomial coordinates and infinitesimal derivatives of the |
| 11 | congruence action on bilinear forms. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open _root_.Matrix _root_.MvPolynomial |
| 15 | |
| 16 | def congruencePolynomial {k : Type} [Field k] {n : ℕ} |
| 17 | (Q : Matrix (Fin n) (Fin n) k) (i j : Fin n) : Algebraic.CoordinatePolynomial n k := |
| 18 | ∑ b, (∑ a, X (a, i) * C (Q a b)) * X (b, j) |
| 19 | |
| 20 | theorem evaluate_congruencePolynomial |
| 21 | {k K : Type} [Field k] [Field K] {n : ℕ} |
| 22 | (v : k →+* K) (g : Algebraic.SL n K) (Q : Matrix (Fin n) (Fin n) k) (i j : Fin n) : |
| 23 | Algebraic.evaluateMatrix v g (congruencePolynomial Q i j) = |
| 24 | ((g : Matrix (Fin n) (Fin n) K).transpose * Q.map v * |
| 25 | (g : Matrix (Fin n) (Fin n) K)) i j := by |
| 26 | simp [congruencePolynomial, Algebraic.evaluateMatrix, Matrix.mul_apply] |
| 27 | |
| 28 | theorem evaluate_infinitesimal_coordinate_matrix_product |
| 29 | {k K : Type} [Field k] [Field K] {n : ℕ} |
| 30 | (v : k →+* K) (g : Algebraic.SL n K) (A : Matrix (Fin n) (Fin n) k) (i j : Fin n) : |
| 31 | Algebraic.evaluateMatrix v g (Infinitesimal.Action.Construction.rightInfinitesimal A (X (i, j))) = |
| 32 | ((g : Matrix (Fin n) (Fin n) K) * A.map v) i j := by |
| 33 | simp [Infinitesimal.Action.Construction.rightInfinitesimal_X, Algebraic.evaluateMatrix, Matrix.mul_apply] |
| 34 | |
| 35 | theorem derivative_congruencePolynomial_evaluate |
| 36 | {k K : Type} [Field k] [Field K] {n : ℕ} |
| 37 | (v : k →+* K) (g : Algebraic.SL n K) (A Q : Matrix (Fin n) (Fin n) k) (i j : Fin n) : |
| 38 | Algebraic.evaluateMatrix v g (Infinitesimal.Action.Construction.rightInfinitesimal A (congruencePolynomial Q i j)) = |
| 39 | (((g : Matrix (Fin n) (Fin n) K) * A.map v).transpose * Q.map v * |
| 40 | (g : Matrix (Fin n) (Fin n) K) + |
| 41 | (g : Matrix (Fin n) (Fin n) K).transpose * Q.map v * |
| 42 | ((g : Matrix (Fin n) (Fin n) K) * A.map v)) i j := by |
| 43 | unfold congruencePolynomial |
| 44 | simp only [map_sum, Derivation.leibniz, smul_eq_mul, map_add, map_mul, |
| 45 | evaluate_infinitesimal_coordinate_matrix_product, Infinitesimal.Action.Construction.rightInfinitesimal_C, mul_zero, zero_add] |
| 46 | have hC (c : k) : Algebraic.evaluateMatrix v g (C c) = v c := by simp [Algebraic.evaluateMatrix] |
| 47 | have hX (a b : Fin n) : Algebraic.evaluateMatrix v g (X (a, b)) = g a b := by simp [Algebraic.evaluateMatrix] |
| 48 | simp only [hC, hX, Matrix.add_apply, Matrix.mul_apply, Matrix.transpose_apply, |
| 49 | Matrix.map_apply, Finset.sum_add_distrib] |
| 50 | rw [add_comm] |
| 51 | congr 1 |
| 52 | apply Finset.sum_congr rfl |
| 53 | intro b _ |
| 54 | rw [mul_comm] |
| 55 | congr 1 |
| 56 | apply Finset.sum_congr rfl |
| 57 | intro a _ |
| 58 | ring |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.ArithmeticGroups.Lattices.CongruencePolynomial.Construction |