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.SymmetricCongruenceDiagonal |
| 2 | import OAI.RepresentationTheory.Weil.Local.TransposeSubstitution |
| 3 | |
| 4 | /-! # Quadratic Diagonal Data -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.QuadraticDiagonalData.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Quadratic identities and inverse matrices for a chosen congruence diagonalization. -/ |
| 11 | |
| 12 | open _root_.Matrix |
| 13 | |
| 14 | variable {k : Type} [Field k] {n : ℕ} |
| 15 | |
| 16 | theorem congruence_diagonal_inverse (M A : FunctionsMetaplectic.Construction.GeneralLinear k n) (a : Fin n → kˣ) |
| 17 | (h : A.val.transpose * M.val * A.val = diagonal (fun i => (a i).val)) : |
| 18 | M⁻¹.val = A.val * diagonal (fun i => (a i).val⁻¹) * A.val.transpose := by |
| 19 | have he : TransposeSubstitution.Construction.transposeGeneralLinear A * M * A = DiagonalAlgebra.Construction.diagonalGeneralLinear a := Units.ext h |
| 20 | have hi : M⁻¹ = A * (DiagonalAlgebra.Construction.diagonalGeneralLinear a)⁻¹ * TransposeSubstitution.Construction.transposeGeneralLinear A := by |
| 21 | rw [← he] |
| 22 | group |
| 23 | have hv := congrArg Units.val hi |
| 24 | rw [DiagonalAlgebra.Construction.diagonalGeneralLinear_inv] at hv |
| 25 | simpa only [Units.val_mul, DiagonalAlgebra.Construction.diagonalGeneralLinear, TransposeSubstitution.Construction.transposeGeneralLinear, Units.val_inv_eq_inv_val] using hv |
| 26 | |
| 27 | theorem quadratic_diagonal_inverse_coordinates (M A : FunctionsMetaplectic.Construction.GeneralLinear k n) (a : Fin n → kˣ) |
| 28 | (h : A.val.transpose * M.val * A.val = diagonal (fun i => (a i).val)) (x : FunctionsMetaplectic.Construction.Position k n) : |
| 29 | FunctionsMetaplectic.Construction.quadratic (diagonal fun i => (a i).val) (A⁻¹.val *ᵥ x) = FunctionsMetaplectic.Construction.quadratic M.val x := by |
| 30 | rw [← h, TransposeSubstitution.Construction.quadratic_matrix_congruence, Matrix.mulVec_mulVec, ← Units.val_mul, |
| 31 | mul_inv_cancel, Units.val_one, one_mulVec] |
| 32 | |
| 33 | theorem quadratic_inverse_diagonal_coordinates (M A : FunctionsMetaplectic.Construction.GeneralLinear k n) (a : Fin n → kˣ) |
| 34 | (h : A.val.transpose * M.val * A.val = diagonal (fun i => (a i).val)) (x : FunctionsMetaplectic.Construction.Position k n) : |
| 35 | FunctionsMetaplectic.Construction.quadratic (diagonal fun i => (a i).val⁻¹) (A.val.transpose *ᵥ x) = FunctionsMetaplectic.Construction.quadratic M⁻¹.val x := by |
| 36 | rw [congruence_diagonal_inverse M A a h, ← TransposeSubstitution.Construction.quadratic_matrix_congruence, Matrix.transpose_transpose] |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.RepresentationTheory.Weil.Local.QuadraticDiagonalData.Construction |