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.AdjointPolynomials |
| 2 | import Mathlib.LinearAlgebra.Dual.Lemmas |
| 3 | |
| 4 | /-! # Adjoint Closed -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.AdjointClosed |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Membership of a conjugated matrix in a fixed linear subspace is a |
| 11 | Zariski-closed condition on the conjugating algebraic-group point. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open Set |
| 15 | |
| 16 | variable {k : Type} [Field k] {n : ℕ} (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup k n) |
| 17 | |
| 18 | local instance adjointClosedRationalTopology : TopologicalSpace G.RationalPoints := ArithmeticGroups.Lattices.RationalZariski.Construction.rationalZariskiTopology G |
| 19 | |
| 20 | theorem rational_adjoint_subspace_closed |
| 21 | (A : Matrix (Fin n) (Fin n) k) (W : Submodule k (Matrix (Fin n) (Fin n) k)) : |
| 22 | IsClosed {g : G.RationalPoints | |
| 23 | (g.val : Matrix (Fin n) (Fin n) k) * A * |
| 24 | ((g⁻¹).val : Matrix (Fin n) (Fin n) k) ∈ W} := by |
| 25 | have he : {g : G.RationalPoints | |
| 26 | (g.val : Matrix (Fin n) (Fin n) k) * A * |
| 27 | ((g⁻¹).val : Matrix (Fin n) (Fin n) k) ∈ W} = |
| 28 | ⋂ φ : W.dualAnnihilator, {g : G.RationalPoints | |
| 29 | ArithmeticGroups.Lattices.Algebraic.evaluateMatrix (RingHom.id k) g.val |
| 30 | (AdjointPolynomials.linearMatrixPolynomial φ.val (AdjointPolynomials.adjointMatrixPolynomial A)) = 0} := by |
| 31 | ext g |
| 32 | simp only [mem_iInter, mem_ofPred_eq, AdjointPolynomials.evaluate_linearMatrixPolynomial, |
| 33 | AdjointPolynomials.evaluate_adjointMatrixPolynomial] |
| 34 | rw [← Subspace.forall_mem_dualAnnihilator_apply_eq_zero_iff W] |
| 35 | exact ⟨fun h φ => h φ.val φ.property, fun h φ hφ => h ⟨φ, hφ⟩⟩ |
| 36 | rw [he] |
| 37 | exact isClosed_iInter (fun φ => ArithmeticGroups.Lattices.RationalZariski.Construction.rational_polynomial_zero_closed G _) |
| 38 | |
| 39 | theorem rational_inverse_continuous : Continuous (fun g : G.RationalPoints => g⁻¹) := by |
| 40 | let Xmat : Matrix (Fin n) (Fin n) (ArithmeticGroups.Lattices.Algebraic.CoordinatePolynomial n k) := |
| 41 | fun i j => MvPolynomial.X (i, j) |
| 42 | apply ArithmeticGroups.Lattices.RationalZariski.Construction.rational_polynomial_map_continuous G _ (fun ij => Xmat.adjugate ij.1 ij.2) |
| 43 | intro g i j |
| 44 | let e := ArithmeticGroups.Lattices.Algebraic.evaluateMatrix (RingHom.id k) g.val |
| 45 | have hX : e.mapMatrix Xmat = (g.val : Matrix (Fin n) (Fin n) k) := by |
| 46 | ext a b |
| 47 | change e (MvPolynomial.X (a, b)) = g.val a b |
| 48 | simp [e, ArithmeticGroups.Lattices.Algebraic.evaluateMatrix] |
| 49 | have he := e.map_adjugate Xmat |
| 50 | rw [hX] at he |
| 51 | have h := congrArg (fun M : Matrix (Fin n) (Fin n) k => M i j) |
| 52 | he |
| 53 | exact h.symm |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.NumberTheory.Quaternion.Arithmetic.AdjointClosed |