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.LieTrace |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.DifferentialHullSolvable |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.InvariantMinorPolynomial |
| 4 | |
| 5 | /-! # Invariant Frame Minors -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.InvariantFrameMinors.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The top minors of a basis of an invariant subspace are fixed by a |
| 14 | connected semisimple matrix group. -/ |
| 15 | |
| 16 | open scoped Classical |
| 17 | |
| 18 | attribute [local instance] LieRing.ofAssociativeRing |
| 19 | |
| 20 | local instance invariantFrameLieRingModule {k : Type} [Field k] {n : ℕ} |
| 21 | (S : LieSubalgebra k (Matrix (Fin n) (Fin n) k)) : LieRingModule S (Fin n → k) := |
| 22 | LieRingModule.compLieHom (Fin n → k) (DifferentialHullSolvable.Construction.algebraicMatrixLieRepresentation S) |
| 23 | |
| 24 | local instance invariantFrameLieModule {k : Type} [Field k] {n : ℕ} |
| 25 | (S : LieSubalgebra k (Matrix (Fin n) (Fin n) k)) : LieModule k S (Fin n → k) := |
| 26 | LieModule.compLieHom (Fin n → k) (DifferentialHullSolvable.Construction.algebraicMatrixLieRepresentation S) |
| 27 | |
| 28 | def invariantFrameLieSubmodule {k : Type} [Field k] {n : ℕ} |
| 29 | (S : LieSubalgebra k (Matrix (Fin n) (Fin n) k)) |
| 30 | (W : Submodule k (Fin n → k)) |
| 31 | (hW : ∀ A ∈ S, ∀ w ∈ W, A.mulVec w ∈ W) : LieSubmodule k S (Fin n → k) where |
| 32 | toSubmodule := W |
| 33 | lie_mem := fun {A w} hw => hW A.val A.property w hw |
| 34 | |
| 35 | theorem invariant_basis_frame_trace_zero |
| 36 | {k : Type} [Field k] [CharZero k] {n r : ℕ} |
| 37 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) (hs : G.IsSemisimple) |
| 38 | (W : Submodule k (Fin n → k)) |
| 39 | (hW : ∀ A ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G, ∀ w ∈ W, A.mulVec w ∈ W) |
| 40 | (b : Module.Basis (Fin r) k W) (A : Matrix (Fin n) (Fin n) k) |
| 41 | (hA : A ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G) : |
| 42 | ∃ C : Matrix (Fin r) (Fin r) k, |
| 43 | A * Matrix.of (fun i j => (b j).val i) = Matrix.of (fun i j => (b j).val i) * C ∧ |
| 44 | C.trace = 0 := by |
| 45 | let N := invariantFrameLieSubmodule (Infinitesimal.Action.Construction.infinitesimalStabilizer G) W hW |
| 46 | let b' : Module.Basis (Fin r) k N := b |
| 47 | let ρ := LieModule.toEnd k (Infinitesimal.Action.Construction.infinitesimalStabilizer G) N |
| 48 | let T := ρ ⟨A, hA⟩ |
| 49 | refine ⟨LinearMap.toMatrix b' b' T, ?_, ?_⟩ |
| 50 | · ext i j : 1 |
| 51 | have he := congrArg (fun w : N => w.val i) (b'.sum_repr (T (b' j))) |
| 52 | change (∑ l, (b'.repr (T (b' j))) l • b l).val i = A.mulVec (b j).val i at he |
| 53 | simpa only [LinearMap.toMatrix_apply', Matrix.mul_apply, Matrix.of_apply, |
| 54 | Submodule.coe_sum, Finset.sum_apply, Submodule.coe_smul, Pi.smul_apply, |
| 55 | smul_eq_mul, mul_comm, Matrix.mulVec, dotProduct] using he.symm |
| 56 | · rw [← LinearMap.trace_eq_matrix_trace k b'] |
| 57 | exact LieTrace.Construction.perfectLie_trace_representation_zero (Infinitesimal.Perfect.Construction.infinitesimal_derived_eq_top G hG hs) ρ ⟨A, hA⟩ |
| 58 | |
| 59 | end |
| 60 | |
| 61 | /-! Evaluation of invariant frame minors over arbitrary extension fields. -/ |
| 62 | |
| 63 | open scoped Classical |
| 64 | open _root_.MvPolynomial |
| 65 | |
| 66 | theorem evaluate_frameMinorPolynomial |
| 67 | {k K : Type} [Field k] [Field K] {n r : ℕ} |
| 68 | (U : Matrix (Fin n) (Fin r) k) (rows : Fin r → Fin n) |
| 69 | (ι : k →+* K) (g : Algebraic.SL n K) : |
| 70 | Algebraic.evaluateMatrix ι g (InvariantMinorPolynomial.Construction.frameMinorPolynomial U rows) = |
| 71 | (((g : Matrix (Fin n) (Fin n) K) * U.map ι).submatrix rows id).det := by |
| 72 | rw [InvariantMinorPolynomial.Construction.frameMinorPolynomial, RingHom.map_det] |
| 73 | congr 1 |
| 74 | ext i j : 1 |
| 75 | simp [InvariantMinorPolynomial.Construction.polynomialColumnMatrix, MatrixDifferential.Construction.matrixVectorPolynomial, Algebraic.evaluateMatrix, Matrix.mul_apply] |
| 76 | |
| 77 | theorem group_preserves_invariant_basis_minors |
| 78 | {k K : Type} [Field k] [CharZero k] [Field K] {n r : ℕ} |
| 79 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) (hs : G.IsSemisimple) |
| 80 | (W : Submodule k (Fin n → k)) |
| 81 | (hW : ∀ A ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G, ∀ w ∈ W, A.mulVec w ∈ W) |
| 82 | (b : Module.Basis (Fin r) k W) (rows : Fin r → Fin n) |
| 83 | (ι : k →+* K) (g : G.Points ι) : |
| 84 | (((g.val : Matrix (Fin n) (Fin n) K) * |
| 85 | (Matrix.of (fun i j => (b j).val i)).map ι).submatrix rows id).det = |
| 86 | ι ((Matrix.of (fun i j => (b j).val i)).submatrix rows id).det := by |
| 87 | have h := InvariantMinorPolynomial.Construction.group_preserves_frame_minors G hG (Matrix.of (fun i j => (b j).val i)) |
| 88 | (fun A hA => invariant_basis_frame_trace_zero G hG hs W hW b A hA) rows ι g |
| 89 | rw [evaluate_frameMinorPolynomial, evaluate_frameMinorPolynomial] at h |
| 90 | simpa using h |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.NumberTheory.ArithmeticGroups.Lattices.InvariantFrameMinors.Construction |