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.DiagonalAlgebra |
| 2 | |
| 3 | /-! # Quadratic Norm Reflection -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.Local.QuadraticNormReflection.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A symmetric change of two coordinates scales x²+y² by a nonzero quadratic norm. -/ |
| 10 | |
| 11 | open _root_.Matrix |
| 12 | |
| 13 | variable {k : Type} [Field k] |
| 14 | |
| 15 | def quadraticNormReflection (s t : k) : Matrix (Fin 2) (Fin 2) k := !![s, t; t, -s] |
| 16 | |
| 17 | theorem quadraticNormReflection_isSymm (s t : k) : (quadraticNormReflection s t).IsSymm := by |
| 18 | ext i j |
| 19 | fin_cases i <;> fin_cases j <;> rfl |
| 20 | |
| 21 | theorem quadraticNormReflection_square (s t : k) : |
| 22 | quadraticNormReflection s t * quadraticNormReflection s t = (s ^ 2 + t ^ 2) • 1 := by |
| 23 | ext i j |
| 24 | fin_cases i <;> fin_cases j <;> |
| 25 | simp [quadraticNormReflection, Matrix.mul_apply, Fin.sum_univ_two] <;> ring |
| 26 | |
| 27 | def quadraticNormGeneralLinear (s t : k) (h : s ^ 2 + t ^ 2 ≠ 0) : FunctionsMetaplectic.Construction.GeneralLinear k 2 where |
| 28 | val := quadraticNormReflection s t |
| 29 | inv := (s ^ 2 + t ^ 2)⁻¹ • quadraticNormReflection s t |
| 30 | val_inv := by |
| 31 | rw [mul_smul_comm, quadraticNormReflection_square, smul_smul, inv_mul_cancel₀ h, one_smul] |
| 32 | inv_val := by |
| 33 | rw [smul_mul_assoc, quadraticNormReflection_square, smul_smul, inv_mul_cancel₀ h, one_smul] |
| 34 | |
| 35 | theorem quadratic_pair_constant (c : k) (x : FunctionsMetaplectic.Construction.Position k 2) : |
| 36 | FunctionsMetaplectic.Construction.quadratic (diagonal fun _ : Fin 2 => c) x = c * (x 0 ^ 2 + x 1 ^ 2) / 2 := by |
| 37 | rw [RealDiagonalFresnel.Construction.quadratic_diagonal] |
| 38 | simp only [Fin.sum_univ_two] |
| 39 | ring |
| 40 | |
| 41 | theorem quadratic_normReflection (s t c : k) (x : FunctionsMetaplectic.Construction.Position k 2) : |
| 42 | FunctionsMetaplectic.Construction.quadratic (diagonal fun _ : Fin 2 => c) (quadraticNormReflection s t *ᵥ x) = |
| 43 | FunctionsMetaplectic.Construction.quadratic (diagonal fun _ : Fin 2 => c * (s ^ 2 + t ^ 2)) x := by |
| 44 | rw [quadratic_pair_constant, quadratic_pair_constant] |
| 45 | simp [quadraticNormReflection, Matrix.mulVec, dotProduct, Fin.sum_univ_two] |
| 46 | ring |
| 47 | |
| 48 | theorem quadratic_normGeneralLinear_inverse (s t c : k) (h : s ^ 2 + t ^ 2 ≠ 0) |
| 49 | (x : FunctionsMetaplectic.Construction.Position k 2) : |
| 50 | FunctionsMetaplectic.Construction.quadratic (diagonal fun _ : Fin 2 => c) ((quadraticNormGeneralLinear s t h)⁻¹.val *ᵥ x) = |
| 51 | FunctionsMetaplectic.Construction.quadratic (diagonal fun _ : Fin 2 => c / (s ^ 2 + t ^ 2)) x := by |
| 52 | rw [quadratic_pair_constant, quadratic_pair_constant] |
| 53 | change c * (((((s ^ 2 + t ^ 2)⁻¹ • quadraticNormReflection s t) *ᵥ x) 0) ^ 2 + |
| 54 | ((((s ^ 2 + t ^ 2)⁻¹ • quadraticNormReflection s t) *ᵥ x) 1) ^ 2) / 2 = _ |
| 55 | simp [quadraticNormReflection, Matrix.mulVec, dotProduct, Fin.sum_univ_two] |
| 56 | field_simp |
| 57 | ring |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.RepresentationTheory.Weil.Local.QuadraticNormReflection.Construction |