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 Mathlib |
| 2 | |
| 3 | /-! # Special Linear Squares -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.SpecialLinearSquares.Local |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! SL3 over a characteristic-zero field is generated by squares. This |
| 10 | removes the sign ambiguity when comparing homomorphic finite-cover lifts. -/ |
| 11 | |
| 12 | open _root_.Matrix |
| 13 | open scoped Classical |
| 14 | |
| 15 | variable {k : Type} [Field k] [CharZero k] |
| 16 | |
| 17 | omit [CharZero k] in |
| 18 | theorem diag2n_transvection_decomposition {ι : Type*} [Fintype ι] [DecidableEq ι] |
| 19 | (i j : ι) (hij : i ≠ j) (a : k) (ha : a ≠ 0) : |
| 20 | SpecialLinearGroup.diag2n hij a ha = |
| 21 | SpecialLinearGroup.transvection hij a * |
| 22 | SpecialLinearGroup.transvection hij.symm (-a⁻¹) * |
| 23 | SpecialLinearGroup.transvection hij a * |
| 24 | SpecialLinearGroup.transvection hij (-1) * |
| 25 | SpecialLinearGroup.transvection hij.symm 1 * |
| 26 | SpecialLinearGroup.transvection hij (-1) := by |
| 27 | apply Subtype.ext |
| 28 | change diagonal (fun t => if t = i then a else if t = j then a⁻¹ else 1) = |
| 29 | (1 + single i j a) * (1 + single j i (-a⁻¹)) * (1 + single i j a) * |
| 30 | (1 + single i j (-1)) * (1 + single j i 1) * (1 + single i j (-1)) |
| 31 | simp only [mul_add, add_mul, mul_one, one_mul, Matrix.single_mul_single_same] |
| 32 | ext r s |
| 33 | by_cases hri : r = i <;> by_cases hrj : r = j <;> |
| 34 | by_cases hsi : s = i <;> by_cases hsj : s = j <;> |
| 35 | simp_all [Matrix.diagonal_apply, Matrix.add_apply, Matrix.one_apply, Matrix.single_apply, eq_comm] |
| 36 | |
| 37 | theorem specialLinear_generated_by_squares {ι : Type*} [Fintype ι] [DecidableEq ι] [Nontrivial ι] |
| 38 | (H : Subgroup (SpecialLinearGroup ι k)) |
| 39 | (hH : ∀ g : SpecialLinearGroup ι k, g ^ 2 ∈ H) : H = ⊤ := by |
| 40 | have ht (i j : ι) (hij : i ≠ j) (a : k) : SpecialLinearGroup.transvection hij a ∈ H := by |
| 41 | have h := hH (SpecialLinearGroup.transvection hij (a / 2)) |
| 42 | rw [pow_two, ← SpecialLinearGroup.transvection_add] at h |
| 43 | have he : a / 2 + a / 2 = a := by ring |
| 44 | rwa [he] at h |
| 45 | apply top_unique |
| 46 | intro g _ |
| 47 | apply SpecialLinearGroup.diagonal_transvection_induction' (fun g => g ∈ H) g |
| 48 | · intro i j hij a ha |
| 49 | rw [diag2n_transvection_decomposition i j hij a ha] |
| 50 | exact H.mul_mem (H.mul_mem (H.mul_mem (H.mul_mem (H.mul_mem |
| 51 | (ht i j hij a) (ht j i hij.symm (-a⁻¹))) (ht i j hij a)) |
| 52 | (ht i j hij (-1))) (ht j i hij.symm 1)) (ht i j hij (-1)) |
| 53 | · exact ht |
| 54 | · exact fun _ _ => H.mul_mem |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.SpecialLinearSquares.Local |