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.QuadraticDiagonalData |
| 2 | import OAI.RepresentationTheory.Weil.Local.QuadraticIntertwiner |
| 3 | |
| 4 | /-! # General Quadratic Algebra -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.GeneralQuadraticAlgebra.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Completing the square for a nonsingular symmetric matrix. -/ |
| 11 | |
| 12 | open _root_.Matrix |
| 13 | |
| 14 | theorem general_quadratic_complete_square |
| 15 | {k : Type} [Field k] [CharZero k] {n : ℕ} |
| 16 | (M : FunctionsMetaplectic.Construction.GeneralLinear k n) (hM : M.val.IsSymm) (x y : FunctionsMetaplectic.Construction.Position k n) : |
| 17 | FunctionsMetaplectic.Construction.quadratic M.val (y + M⁻¹.val *ᵥ x) - FunctionsMetaplectic.Construction.dot x (y + M⁻¹.val *ᵥ x) = |
| 18 | FunctionsMetaplectic.Construction.quadratic M.val y - FunctionsMetaplectic.Construction.quadratic M⁻¹.val x := by |
| 19 | have hcancel : M.val *ᵥ (M⁻¹.val *ᵥ x) = x := by |
| 20 | rw [mulVec_mulVec] |
| 21 | have h : M.val * M⁻¹.val = 1 := congrArg Units.val (mul_inv_cancel M) |
| 22 | rw [h, one_mulVec] |
| 23 | have hcross : FunctionsMetaplectic.Construction.dot (M⁻¹.val *ᵥ x) (M.val *ᵥ y) = FunctionsMetaplectic.Construction.dot y x := by |
| 24 | have h := Matrix.dotProduct_transpose_mulVec M.val (M⁻¹.val *ᵥ x) y |
| 25 | change (M⁻¹.val *ᵥ x) ⬝ᵥ M.val *ᵥ y = y ⬝ᵥ x |
| 26 | simpa only [hM.eq, hcancel] using h |
| 27 | rw [QuadraticIntertwiner.Construction.quadratic_eq_dot, QuadraticIntertwiner.Construction.quadratic_eq_dot, QuadraticIntertwiner.Construction.quadratic_eq_dot] |
| 28 | change ((y + M⁻¹.val *ᵥ x) ⬝ᵥ M.val *ᵥ (y + M⁻¹.val *ᵥ x)) / 2 - |
| 29 | x ⬝ᵥ (y + M⁻¹.val *ᵥ x) = (y ⬝ᵥ M.val *ᵥ y) / 2 - |
| 30 | (x ⬝ᵥ M⁻¹.val *ᵥ x) / 2 |
| 31 | simp only [mulVec_add, hcancel, add_dotProduct, dotProduct_add] |
| 32 | change (FunctionsMetaplectic.Construction.dot y (M.val *ᵥ y) + FunctionsMetaplectic.Construction.dot (M⁻¹.val *ᵥ x) (M.val *ᵥ y) + |
| 33 | (FunctionsMetaplectic.Construction.dot y x + FunctionsMetaplectic.Construction.dot (M⁻¹.val *ᵥ x) x)) / 2 - |
| 34 | (FunctionsMetaplectic.Construction.dot x y + FunctionsMetaplectic.Construction.dot x (M⁻¹.val *ᵥ x)) = _ |
| 35 | rw [hcross, FourierTools.Construction.dot_comm y x, FourierTools.Construction.dot_comm (M⁻¹.val *ᵥ x) x] |
| 36 | unfold FunctionsMetaplectic.Construction.dot dotProduct |
| 37 | ring |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.RepresentationTheory.Weil.Local.GeneralQuadraticAlgebra.Construction |