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 | /-! # Ring Commutators -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RingCommutators.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Elementary SL3 matrices are commutators over every commutative |
| 10 | ring. In particular the identity does not require division in the |
| 11 | coefficient ring of an integral local subgroup. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix commutatorElement |
| 14 | open _root_.Matrix _root_.Matrix.SpecialLinearGroup |
| 15 | |
| 16 | variable {R : Type*} [CommRing R] |
| 17 | |
| 18 | theorem single_product (i j k l : Fin 3) (a b : R) : |
| 19 | single i j a * single k l b = if j = k then single i l (a * b) else 0 := by |
| 20 | by_cases h : j = k |
| 21 | · subst k |
| 22 | simp only [ite_true, single_mul_single_same] |
| 23 | · rw [ite_eq_right h] |
| 24 | exact Matrix.single_mul_single_of_ne (c := a) i j k h b |
| 25 | |
| 26 | theorem elementary_commutator {i j k : Fin 3} |
| 27 | (hij : i ≠ j) (hik : i ≠ k) (hkj : k ≠ j) (a : R) : |
| 28 | transvection hij a = ⁅transvection hik a, transvection hkj (1 : R)⁆ := by |
| 29 | rw [commutatorElement_def, transvection_inv, transvection_inv] |
| 30 | apply Subtype.ext |
| 31 | change 1 + single i j a = |
| 32 | (1 + single i k a) * (1 + single k j 1) * (1 + single i k (-a)) * (1 + single k j (-1)) |
| 33 | simp only [mul_add, add_mul, mul_one, one_mul] |
| 34 | simp only [single_product, hik.symm, hij.symm, hkj.symm, ite_false, ite_true, |
| 35 | mul_one, one_mul, mul_neg, neg_neg, zero_mul, add_zero] |
| 36 | rw [← Matrix.single_neg, ← Matrix.single_neg, ← Matrix.single_neg] |
| 37 | abel |
| 38 | |
| 39 | theorem elementary_mem_commutator (i j : Fin 3) (hij : i ≠ j) (a : R) : |
| 40 | transvection hij a ∈ commutator (SpecialLinearGroup (Fin 3) R) := by |
| 41 | obtain ⟨k, hik, hkj⟩ : ∃ k : Fin 3, i ≠ k ∧ k ≠ j := by |
| 42 | fin_cases i <;> fin_cases j <;> decide |
| 43 | rw [elementary_commutator hij hik hkj a] |
| 44 | exact Subgroup.commutator_mem_commutator (Subgroup.mem_top _) (Subgroup.mem_top _) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RingCommutators.CM |