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.NumberTheory.Quaternion.Arithmetic.SplitMatrices |
| 2 | |
| 3 | /-! # Split Inverse -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.Quaternion.Arithmetic.SplitInverse |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Explicit coordinates of the inverse quaternion splitting map. -/ |
| 10 | |
| 11 | open scoped Classical _root_.Quaternion |
| 12 | open QuaternionAlgebra _root_.Matrix |
| 13 | |
| 14 | variable {K : Type*} [Field K] [CharZero K] |
| 15 | |
| 16 | def quaternionSplitInverse (a b x y : K) (M : Matrix (Fin 2) (Fin 2) K) : ℍ[K,a,b] := |
| 17 | ⟨(M 0 0 + M 1 1) / 2, (M 0 1 + a * M 1 0) / (2 * a), |
| 18 | (x * (M 0 0 - M 1 1) - y * (a * M 1 0 - M 0 1)) / (2 * b), |
| 19 | (x * (a * M 1 0 - M 0 1) - a * y * (M 0 0 - M 1 1)) / (2 * a * b)⟩ |
| 20 | |
| 21 | theorem quaternionSplitInverse_apply (a b x y : K) (ha : a ≠ 0) (hb : b ≠ 0) |
| 22 | (h : x ^ 2 - a * y ^ 2 = b) (q : ℍ[K,a,b]) : |
| 23 | quaternionSplitInverse a b x y (SplitMatrices.quaternionSplittingMap a b x y h q) = q := by |
| 24 | rw [SplitMatrices.quaternionSplittingMap_apply] |
| 25 | apply QuaternionAlgebra.ext |
| 26 | · change (q.re + q.imJ * x + q.imK * a * y + |
| 27 | (q.re - q.imJ * x - q.imK * a * y)) / 2 = q.re |
| 28 | field_simp |
| 29 | ring |
| 30 | · change (a * q.imI - a * q.imJ * y - a * q.imK * x + |
| 31 | a * (q.imI + q.imJ * y + q.imK * x)) / (2 * a) = q.imI |
| 32 | field_simp |
| 33 | ring |
| 34 | · change (x * ((q.re + q.imJ * x + q.imK * a * y) - |
| 35 | (q.re - q.imJ * x - q.imK * a * y)) - |
| 36 | y * (a * (q.imI + q.imJ * y + q.imK * x) - |
| 37 | (a * q.imI - a * q.imJ * y - a * q.imK * x))) / (2 * b) = q.imJ |
| 38 | apply (div_eq_iff (mul_ne_zero two_ne_zero hb)).mpr |
| 39 | linear_combination 2 * q.imJ * h |
| 40 | · change (x * (a * (q.imI + q.imJ * y + q.imK * x) - |
| 41 | (a * q.imI - a * q.imJ * y - a * q.imK * x)) - |
| 42 | a * y * ((q.re + q.imJ * x + q.imK * a * y) - |
| 43 | (q.re - q.imJ * x - q.imK * a * y))) / (2 * a * b) = q.imK |
| 44 | apply (div_eq_iff (mul_ne_zero (mul_ne_zero two_ne_zero ha) hb)).mpr |
| 45 | linear_combination 2 * a * q.imK * h |
| 46 | |
| 47 | theorem quaternionSplittingEquiv_symm_apply (a b x y : K) (ha : a ≠ 0) (hb : b ≠ 0) |
| 48 | (h : x ^ 2 - a * y ^ 2 = b) (M : Matrix (Fin 2) (Fin 2) K) : |
| 49 | (SplitMatrices.quaternionSplittingEquiv a b x y ha hb h).symm M = quaternionSplitInverse a b x y M := by |
| 50 | obtain ⟨q, rfl⟩ := (SplitMatrices.quaternionSplittingEquiv a b x y ha hb h).surjective M |
| 51 | rw [AlgEquiv.symm_apply_apply] |
| 52 | exact (quaternionSplitInverse_apply a b x y ha hb h q).symm |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.Quaternion.Arithmetic.SplitInverse |