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.Pivots |
| 2 | |
| 3 | /-! # Unit Operations -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.UnitOperations.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Unit row rotations and pair scalings as explicit products of |
| 10 | elementary SL3 matrices over the original coefficient ring. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Matrix |
| 13 | open _root_.Matrix _root_.Matrix.SpecialLinearGroup |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Local.Pivots.CM |
| 15 | |
| 16 | variable {R : Type*} [CommRing R] |
| 17 | |
| 18 | def rotation {i j : Fin 3} (hij : i ≠ j) (u : Rˣ) : SpecialLinearGroup (Fin 3) R := |
| 19 | transvection hij (u : R) * transvection hij.symm (-(u⁻¹ : Rˣ) : R) * transvection hij (u : R) |
| 20 | |
| 21 | theorem rotation_row_first {i j : Fin 3} (hij : i ≠ j) (u : Rˣ) |
| 22 | (g : SpecialLinearGroup (Fin 3) R) (c : Fin 3) : |
| 23 | (rotation hij u * g).val i c = (u : R) * g.val j c := by |
| 24 | have hunit : (u : R) * ((u⁻¹ : Rˣ) : R) = 1 := u.val_inv |
| 25 | simp only [rotation, mul_assoc, Local.Pivots.CM.row_add, ite_true, ite_eq_right hij, ite_eq_right hij.symm] |
| 26 | linear_combination -(g.val i c + (u : R) * g.val j c) * hunit |
| 27 | |
| 28 | theorem rotation_row_second {i j : Fin 3} (hij : i ≠ j) (u : Rˣ) |
| 29 | (g : SpecialLinearGroup (Fin 3) R) (c : Fin 3) : |
| 30 | (rotation hij u * g).val j c = -(u⁻¹ : Rˣ) * g.val i c := by |
| 31 | have hunit : ((u⁻¹ : Rˣ) : R) * (u : R) = 1 := u.inv_val |
| 32 | simp only [rotation, mul_assoc, Local.Pivots.CM.row_add, ite_true, ite_eq_right hij.symm, add_zero] |
| 33 | linear_combination -g.val j c * hunit |
| 34 | |
| 35 | theorem rotation_row_other {i j r : Fin 3} (hij : i ≠ j) (u : Rˣ) |
| 36 | (hri : r ≠ i) (hrj : r ≠ j) (g : SpecialLinearGroup (Fin 3) R) (c : Fin 3) : |
| 37 | (rotation hij u * g).val r c = g.val r c := by |
| 38 | simp only [rotation, mul_assoc, Local.Pivots.CM.row_add, ite_eq_right hri, ite_eq_right hrj, add_zero] |
| 39 | |
| 40 | def scaling {i j : Fin 3} (hij : i ≠ j) (u : Rˣ) : SpecialLinearGroup (Fin 3) R := |
| 41 | rotation hij u * rotation hij (-1) |
| 42 | |
| 43 | theorem scaling_row_first {i j : Fin 3} (hij : i ≠ j) (u : Rˣ) |
| 44 | (g : SpecialLinearGroup (Fin 3) R) (c : Fin 3) : |
| 45 | (scaling hij u * g).val i c = (u : R) * g.val i c := by |
| 46 | rw [scaling, mul_assoc, rotation_row_first, rotation_row_second] |
| 47 | simp |
| 48 | |
| 49 | theorem scaling_row_second {i j : Fin 3} (hij : i ≠ j) (u : Rˣ) |
| 50 | (g : SpecialLinearGroup (Fin 3) R) (c : Fin 3) : |
| 51 | (scaling hij u * g).val j c = (u⁻¹ : Rˣ) * g.val j c := by |
| 52 | rw [scaling, mul_assoc, rotation_row_second, rotation_row_first] |
| 53 | simp |
| 54 | |
| 55 | theorem scaling_row_other {i j r : Fin 3} (hij : i ≠ j) (u : Rˣ) |
| 56 | (hri : r ≠ i) (hrj : r ≠ j) (g : SpecialLinearGroup (Fin 3) R) (c : Fin 3) : |
| 57 | (scaling hij u * g).val r c = g.val r c := by |
| 58 | rw [scaling, mul_assoc, rotation_row_other hij u hri hrj, |
| 59 | rotation_row_other hij (-1) hri hrj] |
| 60 | |
| 61 | theorem rotation_mem (S : Subgroup (SpecialLinearGroup (Fin 3) R)) |
| 62 | (hS : ∀ (i j : Fin 3) (hij : i ≠ j) (a : R), SpecialLinearGroup.transvection hij a ∈ S) |
| 63 | {i j : Fin 3} (hij : i ≠ j) (u : Rˣ) : rotation hij u ∈ S := |
| 64 | S.mul_mem (S.mul_mem (hS _ _ _ _) (hS _ _ _ _)) (hS _ _ _ _) |
| 65 | |
| 66 | theorem scaling_mem (S : Subgroup (SpecialLinearGroup (Fin 3) R)) |
| 67 | (hS : ∀ (i j : Fin 3) (hij : i ≠ j) (a : R), SpecialLinearGroup.transvection hij a ∈ S) |
| 68 | {i j : Fin 3} (hij : i ≠ j) (u : Rˣ) : scaling hij u ∈ S := |
| 69 | S.mul_mem (rotation_mem S hS hij u) (rotation_mem S hS hij (-1)) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.UnitOperations.CM |