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.RepresentationTheory.Weil.Local.FourierNormalForm |
| 2 | import OAI.RepresentationTheory.Weil.Local.TransposeSubstitution |
| 3 | |
| 4 | /-! # Symmetric Matrix Operations -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.SymmetricMatrixOperations.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Symmetric matrix operations for Fourier normal form products. -/ |
| 11 | |
| 12 | open _root_.Matrix |
| 13 | |
| 14 | variable {k : Type} [Field k] {n : ℕ} |
| 15 | |
| 16 | def symmetricAdd (P Q : FunctionsMetaplectic.Construction.SymmetricMatrix k n) : FunctionsMetaplectic.Construction.SymmetricMatrix k n := |
| 17 | ⟨P.val + Q.val, P.property.add Q.property⟩ |
| 18 | |
| 19 | def symmetricCongruence (A : Matrix (Fin n) (Fin n) k) (P : FunctionsMetaplectic.Construction.SymmetricMatrix k n) : |
| 20 | FunctionsMetaplectic.Construction.SymmetricMatrix k n := |
| 21 | ⟨A.transpose * P.val * A, by |
| 22 | change (A.transpose * P.val * A).transpose = A.transpose * P.val * A |
| 23 | rw [transpose_mul, transpose_mul, transpose_transpose, P.property.eq, Matrix.mul_assoc]⟩ |
| 24 | |
| 25 | def symmetricNegativeInverse (M : FunctionsMetaplectic.Construction.GeneralLinear k n) (hM : M.val.IsSymm) : |
| 26 | FunctionsMetaplectic.Construction.SymmetricMatrix k n := |
| 27 | ⟨-M⁻¹.val, by simpa only [Matrix.coe_units_inv] using hM.inv.neg⟩ |
| 28 | |
| 29 | theorem quadraticSymplectic_add (P Q : FunctionsMetaplectic.Construction.SymmetricMatrix k n) : |
| 30 | Generators.Construction.quadraticSymplectic P * Generators.Construction.quadraticSymplectic Q = Generators.Construction.quadraticSymplectic (symmetricAdd P Q) := by |
| 31 | apply Subtype.ext |
| 32 | change Matrix.fromBlocks 1 0 P.val 1 * Matrix.fromBlocks 1 0 Q.val 1 = |
| 33 | Matrix.fromBlocks 1 0 (P.val + Q.val) 1 |
| 34 | simp [Matrix.fromBlocks_multiply] |
| 35 | |
| 36 | theorem quadraticSymplectic_levi_congruence (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (P : FunctionsMetaplectic.Construction.SymmetricMatrix k n) : |
| 37 | Generators.Construction.quadraticSymplectic P * Generators.Construction.leviSymplectic A = |
| 38 | Generators.Construction.leviSymplectic A * Generators.Construction.quadraticSymplectic (symmetricCongruence A.val P) := by |
| 39 | apply Subtype.ext |
| 40 | change Matrix.fromBlocks 1 0 P.val 1 * Matrix.fromBlocks A.val 0 0 A⁻¹.val.transpose = |
| 41 | Matrix.fromBlocks A.val 0 0 A⁻¹.val.transpose * Matrix.fromBlocks 1 0 (A.val.transpose * P.val * A.val) 1 |
| 42 | have hc : A⁻¹.val.transpose * A.val.transpose = 1 := by |
| 43 | rw [← transpose_mul, ← Units.val_mul, mul_inv_cancel, Units.val_one, transpose_one] |
| 44 | simp only [Matrix.fromBlocks_multiply, one_mul, mul_one, zero_mul, mul_zero, zero_add, add_zero] |
| 45 | rw [← Matrix.mul_assoc A⁻¹.val.transpose, ← Matrix.mul_assoc A⁻¹.val.transpose, hc, one_mul] |
| 46 | |
| 47 | theorem levi_quadraticSymplectic_congruence (A : FunctionsMetaplectic.Construction.GeneralLinear k n) (P : FunctionsMetaplectic.Construction.SymmetricMatrix k n) : |
| 48 | Generators.Construction.leviSymplectic A * Generators.Construction.quadraticSymplectic P = |
| 49 | Generators.Construction.quadraticSymplectic (symmetricCongruence A⁻¹.val P) * Generators.Construction.leviSymplectic A := by |
| 50 | apply Subtype.ext |
| 51 | change Matrix.fromBlocks A.val 0 0 A⁻¹.val.transpose * Matrix.fromBlocks 1 0 P.val 1 = |
| 52 | Matrix.fromBlocks 1 0 (A⁻¹.val.transpose * P.val * A⁻¹.val) 1 * Matrix.fromBlocks A.val 0 0 A⁻¹.val.transpose |
| 53 | simp only [Matrix.fromBlocks_multiply, one_mul, mul_one, zero_mul, mul_zero, zero_add, add_zero] |
| 54 | rw [Matrix.mul_assoc, Matrix.mul_assoc, ← Units.val_mul, inv_mul_cancel, Units.val_one, mul_one] |
| 55 | |
| 56 | theorem weyl_levi_transpose (A : FunctionsMetaplectic.Construction.GeneralLinear k n) : |
| 57 | Generators.Construction.weylSymplectic k n * Generators.Construction.leviSymplectic A = |
| 58 | Generators.Construction.leviSymplectic (TransposeSubstitution.Construction.transposeGeneralLinear A)⁻¹ * Generators.Construction.weylSymplectic k n := by |
| 59 | apply Subtype.ext |
| 60 | change Matrix.fromBlocks 0 1 (-1) 0 * Matrix.fromBlocks A.val 0 0 A⁻¹.val.transpose = |
| 61 | Matrix.fromBlocks A⁻¹.val.transpose 0 0 (A.val.transpose).transpose * Matrix.fromBlocks 0 1 (-1) 0 |
| 62 | simp [Matrix.fromBlocks_multiply] |
| 63 | |
| 64 | theorem weyl_quadratic_weyl (M : FunctionsMetaplectic.Construction.GeneralLinear k n) (hM : M.val.IsSymm) : |
| 65 | Generators.Construction.weylSymplectic k n * Generators.Construction.quadraticSymplectic ⟨M.val, hM⟩ * Generators.Construction.weylSymplectic k n = |
| 66 | FourierNormalForm.Construction.fourierNormalForm (symmetricNegativeInverse M hM) M (symmetricNegativeInverse M hM) := by |
| 67 | apply Subtype.ext |
| 68 | rw [FourierNormalForm.Construction.fourierNormalForm_matrix] |
| 69 | change Matrix.fromBlocks 0 1 (-1) 0 * Matrix.fromBlocks 1 0 M.val 1 * Matrix.fromBlocks 0 1 (-1) 0 = |
| 70 | Matrix.fromBlocks (M.val * (-M⁻¹.val)) M.val |
| 71 | ((-M⁻¹.val) * M.val * (-M⁻¹.val) - M⁻¹.val.transpose) ((-M⁻¹.val) * M.val) |
| 72 | simp [Matrix.fromBlocks_multiply, hM.inv.eq] |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.RepresentationTheory.Weil.Local.SymmetricMatrixOperations.Construction |