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.ArithmeticGroups.Lattices.Infinitesimal.Action |
| 2 | |
| 3 | /-! # Left Translation -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.LeftTranslation.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Left translation of coordinate polynomials commutes with the |
| 10 | infinitesimal right action. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | open _root_.MvPolynomial |
| 14 | |
| 15 | def leftTranslate {k : Type} [Field k] {n : ℕ} |
| 16 | (g : Matrix (Fin n) (Fin n) k) : Algebraic.CoordinatePolynomial n k →ₐ[k] Algebraic.CoordinatePolynomial n k := |
| 17 | MvPolynomial.aeval (fun ij : Fin n × Fin n => ∑ l, C (g ij.1 l) * X (l, ij.2)) |
| 18 | |
| 19 | @[simp] theorem leftTranslate_X {k : Type} [Field k] {n : ℕ} |
| 20 | (g : Matrix (Fin n) (Fin n) k) (i j : Fin n) : |
| 21 | leftTranslate g (X (i, j)) = ∑ l, C (g i l) * X (l, j) := by simp [leftTranslate] |
| 22 | |
| 23 | @[simp] theorem leftTranslate_C {k : Type} [Field k] {n : ℕ} |
| 24 | (g : Matrix (Fin n) (Fin n) k) (c : k) : leftTranslate g (C c) = C c := by |
| 25 | simp [leftTranslate] |
| 26 | |
| 27 | theorem leftTranslate_evaluate {k K : Type} [Field k] [Field K] {n : ℕ} |
| 28 | (ι : k →+* K) (x : Algebraic.SL n K) (g : Algebraic.SL n k) (p : Algebraic.CoordinatePolynomial n k) : |
| 29 | Algebraic.evaluateMatrix ι x (leftTranslate (g : Matrix (Fin n) (Fin n) k) p) = |
| 30 | Algebraic.evaluateMatrix ι (Matrix.SpecialLinearGroup.map ι g * x) p := by |
| 31 | induction p using MvPolynomial.induction_on with |
| 32 | | C c => simp [Algebraic.evaluateMatrix] |
| 33 | | add p q hp hq => simp only [map_add, hp, hq] |
| 34 | | mul_X p ij hp => |
| 35 | rcases ij with ⟨i, j⟩ |
| 36 | simp only [map_mul] |
| 37 | rw [hp] |
| 38 | congr 1 |
| 39 | simp [Algebraic.evaluateMatrix, leftTranslate_X, Matrix.mul_apply] |
| 40 | |
| 41 | theorem leftTranslate_mem_vanishingIdeal {k : Type} [Field k] {n : ℕ} |
| 42 | (G : Algebraic.MatrixAlgebraicGroup k n) (g : Algebraic.SL n k) (hg : g ∈ G.subgroup k (RingHom.id k)) |
| 43 | (p : Algebraic.CoordinatePolynomial n k) (hp : p ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G) : |
| 44 | leftTranslate (g : Matrix (Fin n) (Fin n) k) p ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G := by |
| 45 | intro K _ ι x |
| 46 | rw [leftTranslate_evaluate] |
| 47 | have hm : Matrix.SpecialLinearGroup.map ι g ∈ G.subgroup K ι := by |
| 48 | have h : Matrix.SpecialLinearGroup.map ι g ∈ G.subgroup K (ι.comp (RingHom.id k)) := |
| 49 | (G.map (RingHom.id k) ι ⟨g, hg⟩).property |
| 50 | rwa [RingHom.comp_id] at h |
| 51 | exact hp K ι ⟨Matrix.SpecialLinearGroup.map ι g * x.val, (G.subgroup K ι).mul_mem hm x.property⟩ |
| 52 | |
| 53 | theorem rightInfinitesimal_C_mul {k : Type} [Field k] {n : ℕ} |
| 54 | (A : Matrix (Fin n) (Fin n) k) (c : k) (p : Algebraic.CoordinatePolynomial n k) : |
| 55 | Infinitesimal.Action.Construction.rightInfinitesimal A (C c * p) = C c * Infinitesimal.Action.Construction.rightInfinitesimal A p := by |
| 56 | rw [Derivation.leibniz, Infinitesimal.Action.Construction.rightInfinitesimal_C, smul_zero, add_zero, smul_eq_mul] |
| 57 | |
| 58 | theorem rightInfinitesimal_leftTranslate_X {k : Type} [Field k] {n : ℕ} |
| 59 | (g A : Matrix (Fin n) (Fin n) k) (i j : Fin n) : |
| 60 | Infinitesimal.Action.Construction.rightInfinitesimal A (leftTranslate g (X (i, j))) = |
| 61 | leftTranslate g (Infinitesimal.Action.Construction.rightInfinitesimal A (X (i, j))) := by |
| 62 | simp only [leftTranslate_X, Infinitesimal.Action.Construction.rightInfinitesimal_X, map_sum, rightInfinitesimal_C_mul, |
| 63 | map_mul, leftTranslate_C, Finset.mul_sum, Finset.sum_mul] |
| 64 | rw [Finset.sum_comm] |
| 65 | apply Finset.sum_congr rfl |
| 66 | intro l _ |
| 67 | apply Finset.sum_congr rfl |
| 68 | intro m _ |
| 69 | ring |
| 70 | |
| 71 | theorem rightInfinitesimal_leftTranslate {k : Type} [Field k] {n : ℕ} |
| 72 | (g A : Matrix (Fin n) (Fin n) k) (p : Algebraic.CoordinatePolynomial n k) : |
| 73 | Infinitesimal.Action.Construction.rightInfinitesimal A (leftTranslate g p) = leftTranslate g (Infinitesimal.Action.Construction.rightInfinitesimal A p) := by |
| 74 | induction p using MvPolynomial.induction_on with |
| 75 | | C c => simp |
| 76 | | add p q hp hq => simp only [map_add, hp, hq] |
| 77 | | mul_X p ij hp => |
| 78 | rcases ij with ⟨i, j⟩ |
| 79 | simp only [map_mul, Derivation.leibniz, smul_eq_mul, map_add, hp, |
| 80 | rightInfinitesimal_leftTranslate_X] |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.ArithmeticGroups.Lattices.LeftTranslation.Construction |