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.Quaternion.Arithmetic.CentralizerPolynomials |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.DifferentialHullGroup |
| 3 | |
| 4 | /-! # Hull Centralizer -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.HullCentralizer |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every element of the algebraic hull commutes with any matrix that |
| 11 | commutes with all of its generating infinitesimal directions. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open OAI.NumberTheory.ArithmeticGroups.Lattices.DifferentialHullGroup.Construction _root_.MvPolynomial Set |
| 15 | |
| 16 | variable {k : Type} [Field k] {n : ℕ} |
| 17 | |
| 18 | theorem evaluate_centralizerMatrixPolynomial (g : ArithmeticGroups.Lattices.Algebraic.SL n k) |
| 19 | (B : Matrix (Fin n) (Fin n) k) (i j : Fin n) : |
| 20 | ArithmeticGroups.Lattices.Algebraic.evaluateMatrix (RingHom.id k) g (CentralizerPolynomials.centralizerMatrixPolynomial B i j) = |
| 21 | ((g : Matrix (Fin n) (Fin n) k) * B - B * (g : Matrix (Fin n) (Fin n) k)) i j := by |
| 22 | change ArithmeticGroups.Lattices.Algebraic.evaluateMatrix (RingHom.id k) g |
| 23 | ((∑ l, X (i, l) * C (B l j)) - (∑ l, C (B i l) * X (l, j))) = _ |
| 24 | simp [Matrix.mul_apply, ArithmeticGroups.Lattices.Algebraic.evaluateMatrix] |
| 25 | |
| 26 | theorem centralizer_polynomial_mem_core |
| 27 | (S : Set (Matrix (Fin n) (Fin n) k)) (B : Matrix (Fin n) (Fin n) k) |
| 28 | (hB : ∀ A ∈ S, A * B = B * A) (i j : Fin n) : |
| 29 | CentralizerPolynomials.centralizerMatrixPolynomial B i j ∈ ArithmeticGroups.Lattices.MatrixDifferential.Construction.matrixDifferentialCore S := by |
| 30 | let P : Set (ArithmeticGroups.Lattices.Algebraic.CoordinatePolynomial n k) := range |
| 31 | (fun ij : Fin n × Fin n => CentralizerPolynomials.centralizerMatrixPolynomial B ij.1 ij.2) |
| 32 | have hle : Ideal.span P ≤ ArithmeticGroups.Lattices.MatrixDifferential.Construction.matrixDifferentialCore S := by |
| 33 | apply DifferentialGenerators.span_le_differentialCore_of_generators |
| 34 | · rintro p ⟨⟨a, b⟩, rfl⟩ |
| 35 | change ArithmeticGroups.Lattices.Algebraic.evaluateMatrix (RingHom.id k) (1 : ArithmeticGroups.Lattices.Algebraic.SL n k) |
| 36 | (CentralizerPolynomials.centralizerMatrixPolynomial B a b) = 0 |
| 37 | rw [evaluate_centralizerMatrixPolynomial] |
| 38 | simp only [Matrix.SpecialLinearGroup.coe_one, Matrix.one_mul, Matrix.mul_one, |
| 39 | sub_self, Matrix.zero_apply] |
| 40 | · rintro D ⟨A, hA, rfl⟩ p ⟨⟨a, b⟩, rfl⟩ |
| 41 | have he := congrArg (fun M : Matrix (Fin n) (Fin n) (ArithmeticGroups.Lattices.Algebraic.CoordinatePolynomial n k) => M a b) |
| 42 | (CentralizerPolynomials.rightInfinitesimal_centralizerMatrixPolynomial A B (hB A hA)) |
| 43 | change ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.rightInfinitesimal A (CentralizerPolynomials.centralizerMatrixPolynomial B a b) = |
| 44 | ∑ l, CentralizerPolynomials.centralizerMatrixPolynomial B a l * C (A l b) at he |
| 45 | rw [he] |
| 46 | apply Ideal.sum_mem |
| 47 | intro l _ |
| 48 | exact Ideal.mul_mem_right _ _ (Ideal.subset_span ⟨(a, l), rfl⟩) |
| 49 | exact hle (Ideal.subset_span ⟨(i, j), rfl⟩) |
| 50 | |
| 51 | theorem differentialHull_commutes |
| 52 | (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup k n) (S : Set (Matrix (Fin n) (Fin n) k)) |
| 53 | (B : Matrix (Fin n) (Fin n) k) (hB : ∀ A ∈ S, A * B = B * A) |
| 54 | (g : G.RationalPoints) (hg : g ∈ ArithmeticGroups.Lattices.DifferentialHullGroup.Construction.differentialHullSubgroup G S) : |
| 55 | (g.val : Matrix (Fin n) (Fin n) k) * B = B * (g.val : Matrix (Fin n) (Fin n) k) := by |
| 56 | apply sub_eq_zero.mp |
| 57 | ext i j |
| 58 | have he := hg (CentralizerPolynomials.centralizerMatrixPolynomial B i j) (centralizer_polynomial_mem_core S B hB i j) |
| 59 | rwa [evaluate_centralizerMatrixPolynomial] at he |
| 60 | |
| 61 | theorem evaluate_infinitesimal_centralizer_at_one |
| 62 | (A B : Matrix (Fin n) (Fin n) k) (i j : Fin n) : |
| 63 | ArithmeticGroups.Lattices.Algebraic.evaluateMatrix (RingHom.id k) (1 : ArithmeticGroups.Lattices.Algebraic.SL n k) |
| 64 | (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.rightInfinitesimal A (CentralizerPolynomials.centralizerMatrixPolynomial B i j)) = (A * B - B * A) i j := by |
| 65 | change ArithmeticGroups.Lattices.Algebraic.evaluateMatrix (RingHom.id k) (1 : ArithmeticGroups.Lattices.Algebraic.SL n k) |
| 66 | (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.rightInfinitesimal A ((∑ l, X (i, l) * C (B l j)) - (∑ l, C (B i l) * X (l, j)))) = _ |
| 67 | simp only [map_sub, map_sum, Derivation.leibniz, ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.rightInfinitesimal_C, smul_eq_mul, |
| 68 | mul_zero, zero_add, add_zero, map_mul, ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.evaluate_rightInfinitesimal_X] |
| 69 | simp [ArithmeticGroups.Lattices.Algebraic.evaluateMatrix, Matrix.mul_apply, mul_comm] |
| 70 | |
| 71 | theorem group_commutes_implies_infinitesimal_commutes [IsAlgClosed k] |
| 72 | (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup k n) (B : Matrix (Fin n) (Fin n) k) |
| 73 | (hB : ∀ g : G.RationalPoints, |
| 74 | (g.val : Matrix (Fin n) (Fin n) k) * B = B * (g.val : Matrix (Fin n) (Fin n) k)) |
| 75 | {A : Matrix (Fin n) (Fin n) k} (hA : A ∈ ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G) : A * B = B * A := by |
| 76 | apply sub_eq_zero.mp |
| 77 | ext i j |
| 78 | have hp : CentralizerPolynomials.centralizerMatrixPolynomial B i j ∈ ArithmeticGroups.Lattices.VanishingIdeal.Construction.coordinateVanishingIdeal G := by |
| 79 | apply (ArithmeticGroups.Lattices.BaseChange.Construction.mem_vanishingIdeal_iff_rational_of_algClosed G _).mpr |
| 80 | intro g |
| 81 | rw [evaluate_centralizerMatrixPolynomial, hB g, sub_self] |
| 82 | rfl |
| 83 | have hd := (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.mem_infinitesimalStabilizer G A).mp hA _ hp |
| 84 | have he := hd k (RingHom.id k) (1 : G.RationalPoints) |
| 85 | change ArithmeticGroups.Lattices.Algebraic.evaluateMatrix (RingHom.id k) (1 : ArithmeticGroups.Lattices.Algebraic.SL n k) |
| 86 | (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.rightInfinitesimal A (CentralizerPolynomials.centralizerMatrixPolynomial B i j)) = 0 at he |
| 87 | rwa [evaluate_infinitesimal_centralizer_at_one] at he |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.NumberTheory.Quaternion.Arithmetic.HullCentralizer |