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.MatrixDifferential |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.DifferentialHullGroup |
| 3 | |
| 4 | /-! # Differential Hull Invariant -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.DifferentialHullInvariant.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The algebraic hull preserves every vector subspace preserved by the |
| 11 | original matrix directions. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | theorem invariant_functionalPolynomial_mem_core |
| 16 | {k : Type} [Field k] {n : ℕ} (S : Set (Matrix (Fin n) (Fin n) k)) |
| 17 | (W : Submodule k (Fin n → k)) |
| 18 | (hW : ∀ A ∈ S, ∀ w ∈ W, A.mulVec w ∈ W) |
| 19 | (φ : Module.Dual k (Fin n → k)) (hφ : φ ∈ W.dualAnnihilator) |
| 20 | {w : Fin n → k} (hw : w ∈ W) : |
| 21 | MatrixDifferential.Construction.matrixFunctionalPolynomial φ w ∈ MatrixDifferential.Construction.matrixDifferentialCore S := by |
| 22 | apply Ideal.mem_iInf.mpr |
| 23 | intro m |
| 24 | induction m generalizing w with |
| 25 | | zero => |
| 26 | change Algebraic.evaluateMatrix (RingHom.id k) (1 : Algebraic.SL n k) (MatrixDifferential.Construction.matrixFunctionalPolynomial φ w) = 0 |
| 27 | rw [MatrixDifferential.Construction.evaluate_matrixFunctionalPolynomial] |
| 28 | change φ ((1 : Matrix (Fin n) (Fin n) k).mulVec w) = 0 |
| 29 | rw [Matrix.one_mulVec] |
| 30 | exact (Submodule.mem_dualAnnihilator _).mp hφ w hw |
| 31 | | succ m ih => |
| 32 | refine ⟨ih hw, ?_⟩ |
| 33 | rintro D ⟨A, hA, rfl⟩ |
| 34 | rw [MatrixDifferential.Construction.derivative_matrixFunctionalPolynomial] |
| 35 | exact ih (hW A hA w hw) |
| 36 | |
| 37 | theorem differentialHull_preserves_subspace |
| 38 | {k : Type} [Field k] {n : ℕ} (G : Algebraic.MatrixAlgebraicGroup k n) |
| 39 | (S : Set (Matrix (Fin n) (Fin n) k)) (W : Submodule k (Fin n → k)) |
| 40 | (hW : ∀ A ∈ S, ∀ w ∈ W, A.mulVec w ∈ W) |
| 41 | (g : DifferentialHullGroup.Construction.differentialHullSubgroup G S) {w : Fin n → k} (hw : w ∈ W) : |
| 42 | (g.val.val : Matrix (Fin n) (Fin n) k).mulVec w ∈ W := by |
| 43 | apply (Subspace.forall_mem_dualAnnihilator_apply_eq_zero_iff W _).mp |
| 44 | intro φ hφ |
| 45 | have hp := invariant_functionalPolynomial_mem_core S W hW φ hφ hw |
| 46 | have he := g.property (MatrixDifferential.Construction.matrixFunctionalPolynomial φ w) hp |
| 47 | rwa [MatrixDifferential.Construction.evaluate_matrixFunctionalPolynomial] at he |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.ArithmeticGroups.Lattices.DifferentialHullInvariant.Construction |