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.MatrixDerivation |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.ConjugationCoordinatePolynomial |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Infinitesimal.TangentExtension |
| 4 | |
| 5 | /-! # Connected Lie Centralizer -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.ConnectedLieCentralizer.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! For a connected characteristic-zero algebraic matrix group, a |
| 12 | matrix commuting with its Lie algebra commutes with the group. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | theorem conjugation_constant_of_infinitesimal_algClosed |
| 17 | {k : Type} [Field k] [CharZero k] [IsAlgClosed k] {n : ℕ} |
| 18 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) |
| 19 | (C : Matrix (Fin n) (Fin n) k) |
| 20 | (hC : ∀ A ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G, A * C = C * A) |
| 21 | (i j : Fin n) : |
| 22 | ConjugationCoordinatePolynomial.Construction.matrixConjugationPolynomial C i j - MvPolynomial.C (C i j) ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G := by |
| 23 | let : (VanishingIdeal.Construction.coordinateVanishingIdeal G).IsPrime := GeometricIrreducibility.Construction.coordinateVanishingIdeal_isPrime G hG |
| 24 | let K := GenericPoint.Construction.MatrixFunctionField G |
| 25 | let : Algebra k K := (GenericPoint.Construction.genericBaseEmbedding G).toAlgebra |
| 26 | let : Module k K := Algebra.toModule |
| 27 | let g : (BaseChange.Construction.matrixGroupBaseChange G (algebraMap k K)).RationalPoints := |
| 28 | ⟨GenericPoint.Construction.genericSL G, by |
| 29 | change GenericPoint.Construction.genericSL G ∈ G.subgroup K ((RingHom.id K).comp (GenericPoint.Construction.genericBaseEmbedding G)) |
| 30 | rw [RingHom.id_comp] |
| 31 | exact GenericPoint.Construction.genericSL_mem G⟩ |
| 32 | let p := ConjugationCoordinatePolynomial.Construction.matrixConjugationPolynomial C i j |
| 33 | have hz (D : Derivation k K K) : D (GenericPoint.Construction.genericCoordinateHom G p) = 0 := by |
| 34 | have hcomm := Infinitesimal.TangentExtension.Construction.infinitesimal_commuting_baseChange (K := K) G hG C hC |
| 35 | (MatrixDerivation.Construction.logarithmicMatrixDerivative_mem G hG D g) |
| 36 | have hD := MatrixDerivation.Construction.matrix_derivation_conjugation_zero D g.val C hcomm |
| 37 | have he := congrArg (fun M => M i j) hD |
| 38 | change D (((GenericPoint.Construction.genericSL G : Matrix (Fin n) (Fin n) K) * C.map (algebraMap k K) * |
| 39 | ((GenericPoint.Construction.genericSL G)⁻¹ : Algebraic.SL n K)) i j) = 0 at he |
| 40 | rw [← GenericPoint.Construction.evaluate_genericSL] |
| 41 | change D (Algebraic.evaluateMatrix (algebraMap k K) (GenericPoint.Construction.genericSL G) (ConjugationCoordinatePolynomial.Construction.matrixConjugationPolynomial C i j)) = 0 |
| 42 | rw [ConjugationCoordinatePolynomial.Construction.evaluate_matrixConjugationPolynomial_entry] |
| 43 | exact he |
| 44 | obtain ⟨c, hc⟩ := DifferentialConstants.Construction.constant_of_all_derivations_zero (k := k) (K := K) |
| 45 | (GenericPoint.Construction.genericCoordinateHom G p) hz |
| 46 | have hp : p - MvPolynomial.C c ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G := by |
| 47 | apply (GenericPoint.Construction.genericCoordinateHom_eq_zero_iff G _).mp |
| 48 | rw [map_sub] |
| 49 | exact sub_eq_zero.mpr hc.symm |
| 50 | have h1 := hp k (RingHom.id k) (1 : G.RationalPoints) |
| 51 | change Algebraic.evaluateMatrix (RingHom.id k) (1 : Algebraic.SL n k) (p - MvPolynomial.C c) = 0 at h1 |
| 52 | rw [map_sub] at h1 |
| 53 | have hp1 : Algebraic.evaluateMatrix (RingHom.id k) (1 : Algebraic.SL n k) p = C i j := by |
| 54 | rw [show p = ConjugationCoordinatePolynomial.Construction.matrixConjugationPolynomial C i j from rfl, |
| 55 | ConjugationCoordinatePolynomial.Construction.evaluate_matrixConjugationPolynomial_entry] |
| 56 | simp only [Matrix.SpecialLinearGroup.coe_one, inv_one, Matrix.map_apply, |
| 57 | Matrix.one_mul, Matrix.mul_one, RingHom.id_apply] |
| 58 | have hc1 : Algebraic.evaluateMatrix (RingHom.id k) (1 : Algebraic.SL n k) (MvPolynomial.C c) = c := by |
| 59 | simp [Algebraic.evaluateMatrix] |
| 60 | rw [hp1, hc1, sub_eq_zero] at h1 |
| 61 | exact h1 ▸ hp |
| 62 | |
| 63 | theorem conjugation_constant_of_infinitesimal |
| 64 | {k : Type} [Field k] [CharZero k] {n : ℕ} |
| 65 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) |
| 66 | (C : Matrix (Fin n) (Fin n) k) |
| 67 | (hC : ∀ A ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G, A * C = C * A) |
| 68 | (i j : Fin n) : |
| 69 | ConjugationCoordinatePolynomial.Construction.matrixConjugationPolynomial C i j - MvPolynomial.C (C i j) ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G := by |
| 70 | let K := AlgebraicClosure k |
| 71 | let H := BaseChange.Construction.matrixGroupBaseChange G (algebraMap k K) |
| 72 | have hCK : ∀ A ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer H, |
| 73 | A * C.map (algebraMap k K) = C.map (algebraMap k K) * A := |
| 74 | fun _ hA => Infinitesimal.TangentExtension.Construction.infinitesimal_commuting_baseChange G hG C hC hA |
| 75 | have hp := conjugation_constant_of_infinitesimal_algClosed H |
| 76 | (ConnectedBaseChange.Construction.geometrically_connected_baseChange G hG) (C.map (algebraMap k K)) hCK i j |
| 77 | rw [← GeometricIrreducibility.Construction.geometricVanishingIdeal_comap G, Ideal.mem_comap, ConnectedBaseChange.Construction.geometricVanishingIdeal_eq_baseChange_ideal] |
| 78 | have he : MvPolynomial.map (algebraMap k K) (ConjugationCoordinatePolynomial.Construction.matrixConjugationPolynomial C i j) = |
| 79 | ConjugationCoordinatePolynomial.Construction.matrixConjugationPolynomial (C.map (algebraMap k K)) i j := |
| 80 | congrArg (fun M => M i j) (ConjugationCoordinatePolynomial.Construction.matrixConjugationPolynomial_coefficient_map (algebraMap k K) C) |
| 81 | rw [map_sub, MvPolynomial.map_C, he] |
| 82 | exact hp |
| 83 | |
| 84 | theorem group_conjugation_eq_of_infinitesimal_commuting |
| 85 | {k K : Type} [Field k] [CharZero k] [Field K] {n : ℕ} |
| 86 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) |
| 87 | (C : Matrix (Fin n) (Fin n) k) |
| 88 | (hC : ∀ A ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G, A * C = C * A) |
| 89 | (ι : k →+* K) (g : G.Points ι) : |
| 90 | (g.val : Matrix (Fin n) (Fin n) K) * C.map ι * |
| 91 | ((g.val⁻¹ : Algebraic.SL n K) : Matrix (Fin n) (Fin n) K) = C.map ι := by |
| 92 | ext i j |
| 93 | have hp := conjugation_constant_of_infinitesimal G hG C hC i j K ι g |
| 94 | change Algebraic.evaluateMatrix ι g.val (ConjugationCoordinatePolynomial.Construction.matrixConjugationPolynomial C i j - MvPolynomial.C (C i j)) = 0 at hp |
| 95 | rw [map_sub, ConjugationCoordinatePolynomial.Construction.evaluate_matrixConjugationPolynomial_entry] at hp |
| 96 | have hc : Algebraic.evaluateMatrix ι g.val (MvPolynomial.C (C i j)) = ι (C i j) := by |
| 97 | simp [Algebraic.evaluateMatrix] |
| 98 | rw [hc, sub_eq_zero] at hp |
| 99 | exact hp |
| 100 | |
| 101 | theorem group_commutes_of_infinitesimal_commuting |
| 102 | {k K : Type} [Field k] [CharZero k] [Field K] {n : ℕ} |
| 103 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) |
| 104 | (C : Matrix (Fin n) (Fin n) k) |
| 105 | (hC : ∀ A ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G, A * C = C * A) |
| 106 | (ι : k →+* K) (g : G.Points ι) : |
| 107 | (g.val : Matrix (Fin n) (Fin n) K) * C.map ι = |
| 108 | C.map ι * (g.val : Matrix (Fin n) (Fin n) K) := by |
| 109 | have he := congrArg (fun M : Matrix (Fin n) (Fin n) K => |
| 110 | M * (g.val : Matrix (Fin n) (Fin n) K)) |
| 111 | (group_conjugation_eq_of_infinitesimal_commuting G hG C hC ι g) |
| 112 | simpa only [Matrix.mul_assoc, ← Matrix.SpecialLinearGroup.coe_mul, |
| 113 | inv_mul_cancel, Matrix.SpecialLinearGroup.coe_one, Matrix.mul_one] using he |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.NumberTheory.ArithmeticGroups.Lattices.ConnectedLieCentralizer.Construction |