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.MatrixGroup |
| 2 | |
| 3 | /-! # Split Criterion -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.Quaternion.Arithmetic.SplitCriterion |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A nonzero quaternion of zero reduced norm gives a splitting |
| 10 | norm equation. Thus a quaternion algebra without a ground-field |
| 11 | splitting solution has anisotropic reduced norm. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Quaternion |
| 14 | open QuaternionAlgebra |
| 15 | |
| 16 | variable {K : Type} [Field K] [CharZero K] |
| 17 | |
| 18 | theorem binary_norm_of_square_coefficient (a b z : K) (ha : a ≠ 0) (hz : z ^ 2 = a) : |
| 19 | ∃ x y : K, x ^ 2 - a * y ^ 2 = b := by |
| 20 | have hz0 : z ≠ 0 := by |
| 21 | intro h |
| 22 | apply ha |
| 23 | simpa only [h, zero_pow (by decide : 2 ≠ 0)] using hz.symm |
| 24 | refine ⟨(b + 1) / 2, (b - 1) / (2 * z), ?_⟩ |
| 25 | rw [← hz] |
| 26 | field_simp |
| 27 | ring |
| 28 | |
| 29 | omit [CharZero K] in |
| 30 | theorem binary_norm_quotient (a r s t u : K) (hδ : t ^ 2 - a * u ^ 2 ≠ 0) : |
| 31 | ((r * t - a * s * u) / (t ^ 2 - a * u ^ 2)) ^ 2 - |
| 32 | a * ((s * t - r * u) / (t ^ 2 - a * u ^ 2)) ^ 2 = |
| 33 | (r ^ 2 - a * s ^ 2) / (t ^ 2 - a * u ^ 2) := by |
| 34 | field_simp |
| 35 | ring |
| 36 | |
| 37 | theorem quaternion_zero_norm_implies_splitting_equation (a b : K) (ha : a ≠ 0) |
| 38 | (q : ℍ[K,a,b]) (hq : q ≠ 0) (hn : Norm.quaternionNorm a b q = 0) : |
| 39 | ∃ x y : K, x ^ 2 - a * y ^ 2 = b := by |
| 40 | have he : q.re ^ 2 - a * q.imI ^ 2 = b * (q.imJ ^ 2 - a * q.imK ^ 2) := by |
| 41 | rw [Norm.quaternionNorm_formula] at hn |
| 42 | linear_combination hn |
| 43 | by_cases hδ : q.imJ ^ 2 - a * q.imK ^ 2 = 0 |
| 44 | · have hnum : q.re ^ 2 - a * q.imI ^ 2 = 0 := by rw [he, hδ, mul_zero] |
| 45 | by_cases hi : q.imI = 0 |
| 46 | · by_cases hk : q.imK = 0 |
| 47 | · have hr : q.re = 0 := by |
| 48 | have hsq : q.re ^ 2 = 0 := by simpa only [hi, zero_pow (by decide : 2 ≠ 0), mul_zero, sub_zero] using hnum |
| 49 | exact (sq_eq_zero_iff).mp hsq |
| 50 | have hj : q.imJ = 0 := by |
| 51 | have hsq : q.imJ ^ 2 = 0 := by simpa only [hk, zero_pow (by decide : 2 ≠ 0), mul_zero, sub_zero] using hδ |
| 52 | exact (sq_eq_zero_iff).mp hsq |
| 53 | exact (hq (QuaternionAlgebra.ext hr hi hj hk)).elim |
| 54 | · apply binary_norm_of_square_coefficient a b (q.imJ / q.imK) ha |
| 55 | apply (div_pow q.imJ q.imK 2).trans |
| 56 | apply (div_eq_iff (pow_ne_zero _ hk)).mpr |
| 57 | exact sub_eq_zero.mp hδ |
| 58 | · apply binary_norm_of_square_coefficient a b (q.re / q.imI) ha |
| 59 | apply (div_pow q.re q.imI 2).trans |
| 60 | apply (div_eq_iff (pow_ne_zero _ hi)).mpr |
| 61 | exact sub_eq_zero.mp hnum |
| 62 | · refine ⟨(q.re * q.imJ - a * q.imI * q.imK) / (q.imJ ^ 2 - a * q.imK ^ 2), |
| 63 | (q.imI * q.imJ - q.re * q.imK) / (q.imJ ^ 2 - a * q.imK ^ 2), ?_⟩ |
| 64 | rw [binary_norm_quotient a q.re q.imI q.imJ q.imK hδ] |
| 65 | exact (div_eq_iff hδ).mpr he |
| 66 | |
| 67 | theorem quaternion_norm_anisotropic_of_no_splitting_equation (a b : K) (ha : a ≠ 0) |
| 68 | (hs : ¬ ∃ x y : K, x ^ 2 - a * y ^ 2 = b) |
| 69 | (q : ℍ[K,a,b]) (hn : Norm.quaternionNorm a b q = 0) : q = 0 := by |
| 70 | by_contra hq |
| 71 | exact hs (quaternion_zero_norm_implies_splitting_equation a b ha q hq hn) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.Quaternion.Arithmetic.SplitCriterion |