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.Determinant.Basic |
| 2 | import Mathlib.Tactic.Ring |
| 3 | |
| 4 | /-! # Reflection Matrix -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ReflectionMatrix |
| 7 | |
| 8 | /-! Determinants of the actual rank-three reflection matrices. |
| 9 | Two normalized rank-one reflections have determinant one. -/ |
| 10 | |
| 11 | variable {k : Type*} [CommRing k] |
| 12 | |
| 13 | def rankThreeReflectionMatrix (v w : Fin 3 → k) : Matrix (Fin 3) (Fin 3) k := |
| 14 | 1 - (2 : k) • Matrix.of (fun i j => v i * w j) |
| 15 | |
| 16 | theorem rankThreeReflectionMatrix_det (v w : Fin 3 → k) |
| 17 | (h : ∑ i, v i * w i = 1) : (rankThreeReflectionMatrix v w).det = -1 := by |
| 18 | have hd : (rankThreeReflectionMatrix v w).det = |
| 19 | 1 - 2 * (v 0 * w 0 + v 1 * w 1 + v 2 * w 2) := by |
| 20 | simp [rankThreeReflectionMatrix, Matrix.det_fin_three] |
| 21 | ring |
| 22 | have hs : v 0 * w 0 + v 1 * w 1 + v 2 * w 2 = 1 := by |
| 23 | simpa [Fin.sum_univ_succ, add_assoc] using h |
| 24 | rw [hd, hs] |
| 25 | ring |
| 26 | |
| 27 | theorem rankThreeReflectionMatrix_mul_det |
| 28 | (v w a b : Fin 3 → k) |
| 29 | (hvw : ∑ i, v i * w i = 1) (hab : ∑ i, a i * b i = 1) : |
| 30 | (rankThreeReflectionMatrix v w * rankThreeReflectionMatrix a b).det = 1 := by |
| 31 | rw [Matrix.det_mul, rankThreeReflectionMatrix_det v w hvw, |
| 32 | rankThreeReflectionMatrix_det a b hab] |
| 33 | ring |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ReflectionMatrix |