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.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Local.Reduction |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RingCommutators |
| 3 | |
| 4 | /-! # Perfect -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Local.Perfect.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Elementary generation and perfectness of SL3 over a local ring, |
| 11 | proved by unit-pivot row reduction in that same ring. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix |
| 14 | open _root_.Matrix _root_.Matrix.SpecialLinearGroup |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Local.Pivots.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Local.Reduction.CM |
| 16 | |
| 17 | variable {R : Type*} [CommRing R] |
| 18 | |
| 19 | theorem upper_word (g : SpecialLinearGroup (Fin 3) R) |
| 20 | (h00 : g.val 0 0 = 1) (h11 : g.val 1 1 = 1) (h22 : g.val 2 2 = 1) |
| 21 | (h10 : g.val 1 0 = 0) (h20 : g.val 2 0 = 0) (h21 : g.val 2 1 = 0) : |
| 22 | g = transvection (show (0 : Fin 3) ≠ 1 by decide) (g.val 0 1) * |
| 23 | transvection (show (0 : Fin 3) ≠ 2 by decide) (g.val 0 2 - g.val 0 1 * g.val 1 2) * |
| 24 | transvection (show (1 : Fin 3) ≠ 2 by decide) (g.val 1 2) := by |
| 25 | apply Subtype.ext |
| 26 | ext r c |
| 27 | fin_cases r <;> fin_cases c <;> |
| 28 | simp_all [mul_assoc, Pivots.CM.row_add, transvection_coe, Matrix.single] |
| 29 | |
| 30 | variable [IsLocalRing R] |
| 31 | |
| 32 | theorem subgroup_eq_top (S : Subgroup (SpecialLinearGroup (Fin 3) R)) |
| 33 | (hS : ∀ (i j : Fin 3) (hij : i ≠ j) (a : R), SpecialLinearGroup.transvection hij a ∈ S) : S = ⊤ := by |
| 34 | apply top_unique |
| 35 | intro g _ |
| 36 | obtain ⟨A, hA, h00, h10, h20, h11, h21⟩ := Reduction.CM.first_two_columns S hS g |
| 37 | have h22 : (A * g).val 2 2 = 1 := by |
| 38 | have hdet := (A * g).property |
| 39 | rw [Matrix.det_fin_three] at hdet |
| 40 | simpa only [h00, h10, h20, h11, h21, one_mul, mul_one, mul_zero, zero_mul, |
| 41 | add_zero, zero_add, sub_zero] using hdet |
| 42 | have hB : A * g ∈ S := by |
| 43 | rw [upper_word (A * g) h00 h11 h22 h10 h20 h21] |
| 44 | exact S.mul_mem (S.mul_mem (hS _ _ _ _) (hS _ _ _ _)) (hS _ _ _ _) |
| 45 | have h := S.mul_mem (S.inv_mem hA) hB |
| 46 | simpa only [inv_mul_cancel_left] using h |
| 47 | |
| 48 | theorem commutator_eq_top : commutator (SpecialLinearGroup (Fin 3) R) = ⊤ := |
| 49 | subgroup_eq_top _ (RingCommutators.CM.elementary_mem_commutator) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Local.Perfect.CM |