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.DeterminantDerivative |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.ExponentialPolynomial |
| 3 | |
| 4 | /-! # Matrix Exponential Determinant -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.MatrixExponentialDeterminant.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The determinant of a matrix exponential is the exponential of its |
| 11 | trace, proved by differentiating along the exponential curve. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix.Norms.Operator |
| 14 | open NormedSpace |
| 15 | |
| 16 | variable {k : Type} [RCLike k] {n : ℕ} |
| 17 | |
| 18 | theorem matrix_exp_det_hasDerivAt (A : Matrix (Fin n) (Fin n) k) (t : k) : |
| 19 | HasDerivAt (fun s : k => (exp (s • A)).det) ((exp (t • A)).det * A.trace) t := by |
| 20 | have h := ExponentialPolynomial.Construction.exponentialPolynomial_hasDerivAt A (DeterminantDerivative.Construction.determinantPolynomial k n) t |
| 21 | unfold ExponentialPolynomial.Construction.exponentialPolynomial at h |
| 22 | simpa only [DeterminantDerivative.Construction.eval_determinantPolynomial, DeterminantDerivative.Construction.eval_rightInfinitesimal_determinantPolynomial] using h |
| 23 | |
| 24 | theorem matrix_exp_det_integratingFactor (A : Matrix (Fin n) (Fin n) k) (t : k) : |
| 25 | HasDerivAt (fun s : k => (exp (s • A)).det * exp (s * (-A.trace))) 0 t := by |
| 26 | have he := hasDerivAt_exp_smul_const (-A.trace) t |
| 27 | simp only [smul_eq_mul] at he |
| 28 | convert! (matrix_exp_det_hasDerivAt A t).mul he using 1 |
| 29 | ring |
| 30 | |
| 31 | theorem matrix_exp_det_smul (A : Matrix (Fin n) (Fin n) k) (t : k) : |
| 32 | (exp (t • A)).det = exp (t * A.trace) := by |
| 33 | have hc := is_const_of_deriv_eq_zero |
| 34 | (fun s => (matrix_exp_det_integratingFactor A s).differentiableAt) |
| 35 | (fun s => (matrix_exp_det_integratingFactor A s).deriv) t 0 |
| 36 | simp only [zero_smul, exp_zero, Matrix.det_one, zero_mul, one_mul, mul_neg] at hc |
| 37 | have he := congrArg (fun z : k => z * exp (t * A.trace)) hc |
| 38 | have hcancel : exp (-(t * A.trace)) * exp (t * A.trace) = 1 := by |
| 39 | rw [← NormedSpace.exp_add_of_commute (Commute.all _ _), neg_add_cancel, exp_zero] |
| 40 | simpa only [mul_assoc, hcancel, mul_one, one_mul, neg_zero, exp_zero] using he |
| 41 | |
| 42 | theorem matrix_exp_det (A : Matrix (Fin n) (Fin n) k) : (exp A).det = exp A.trace := by |
| 43 | simpa only [one_smul, one_mul] using matrix_exp_det_smul A 1 |
| 44 | |
| 45 | theorem matrix_exp_det_one_of_trace_zero {A : Matrix (Fin n) (Fin n) k} |
| 46 | (hA : A.trace = 0) : (exp A).det = 1 := by |
| 47 | rw [matrix_exp_det, hA, exp_zero] |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.ArithmeticGroups.Lattices.MatrixExponentialDeterminant.Construction |