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.AdjointClosed |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.LieIdealOrbit |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.ExponentialNormal |
| 4 | |
| 5 | /-! # Connected Adjoint Ideals -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.ConnectedAdjointIdeals |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On a connected algebraic group with semisimple Lie algebra, the |
| 12 | adjoint action fixes every Lie ideal: its finite orbit has closed fibers. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open OAI.NumberTheory.ArithmeticGroups.Lattices.ExponentialNormal.Construction Set |
| 16 | |
| 17 | attribute [local instance] LieRing.ofAssociativeRing |
| 18 | |
| 19 | variable {k : Type} [Field k] {n : ℕ} (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup k n) |
| 20 | |
| 21 | local instance connectedAdjointRationalTopology : TopologicalSpace G.RationalPoints := ArithmeticGroups.Lattices.RationalZariski.Construction.rationalZariskiTopology G |
| 22 | |
| 23 | def matrixIdealSubspace (I : LieIdeal k (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G)) : |
| 24 | Submodule k (Matrix (Fin n) (Fin n) k) := |
| 25 | I.toSubmodule.map (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G).toSubmodule.subtype |
| 26 | |
| 27 | theorem mem_matrixIdealSubspace (I : LieIdeal k (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G)) |
| 28 | (X : ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G) : X.val ∈ matrixIdealSubspace G I ↔ X ∈ I := by |
| 29 | constructor |
| 30 | · rintro ⟨Y, hY, he⟩ |
| 31 | exact Subtype.ext he ▸ hY |
| 32 | · intro hX |
| 33 | exact ⟨X, hX, rfl⟩ |
| 34 | |
| 35 | theorem rational_adjoint_ideal_mem_closed |
| 36 | (I : LieIdeal k (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G)) (X : ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G) : |
| 37 | IsClosed {g : G.RationalPoints | ArithmeticGroups.Lattices.ExponentialNormal.Construction.infinitesimalAdjoint G g X ∈ I} := by |
| 38 | have he : {g : G.RationalPoints | ArithmeticGroups.Lattices.ExponentialNormal.Construction.infinitesimalAdjoint G g X ∈ I} = |
| 39 | {g : G.RationalPoints | (g.val : Matrix (Fin n) (Fin n) k) * X.val * |
| 40 | ((g⁻¹).val : Matrix (Fin n) (Fin n) k) ∈ matrixIdealSubspace G I} := by |
| 41 | ext g |
| 42 | have hg := ArithmeticGroups.Lattices.ExponentialNormal.Construction.infinitesimalAdjoint_apply G g X |
| 43 | exact (mem_matrixIdealSubspace G I (ArithmeticGroups.Lattices.ExponentialNormal.Construction.infinitesimalAdjoint G g X)).symm.trans |
| 44 | (Iff.of_eq (congrArg (fun A => A ∈ matrixIdealSubspace G I) hg)) |
| 45 | rw [he] |
| 46 | exact AdjointClosed.rational_adjoint_subspace_closed G X.val (matrixIdealSubspace G I) |
| 47 | |
| 48 | theorem rational_adjoint_ideal_fiber_closed |
| 49 | (I J : LieIdeal k (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G)) : |
| 50 | IsClosed {g : G.RationalPoints | I.map (ArithmeticGroups.Lattices.ExponentialNormal.Construction.infinitesimalAdjoint G g).toLieHom = J} := by |
| 51 | have he : {g : G.RationalPoints | I.map (ArithmeticGroups.Lattices.ExponentialNormal.Construction.infinitesimalAdjoint G g).toLieHom = J} = |
| 52 | {g : G.RationalPoints | Module.finrank k I = Module.finrank k J} ∩ |
| 53 | ⋂ X : I, {g : G.RationalPoints | ArithmeticGroups.Lattices.ExponentialNormal.Construction.infinitesimalAdjoint G g X.val ∈ J} := by |
| 54 | ext g |
| 55 | simp only [mem_inter_iff, mem_iInter, mem_ofPred_eq, LieIdealOrbit.lieIdeal_image_eq_iff] |
| 56 | exact ⟨fun h => ⟨h.1, fun X => h.2 X.val X.property⟩, |
| 57 | fun h => ⟨h.1, fun X hX => h.2 ⟨X, hX⟩⟩⟩ |
| 58 | rw [he] |
| 59 | apply IsClosed.inter |
| 60 | · by_cases hd : Module.finrank k I = Module.finrank k J <;> simp [hd] |
| 61 | · exact isClosed_iInter (fun X => rational_adjoint_ideal_mem_closed G J X.val) |
| 62 | |
| 63 | theorem connected_adjoint_ideal_image_eq |
| 64 | [PreconnectedSpace G.RationalPoints] |
| 65 | [LieAlgebra.IsSemisimple k (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G)] |
| 66 | (I : LieIdeal k (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G)) (g : G.RationalPoints) : |
| 67 | I.map (ArithmeticGroups.Lattices.ExponentialNormal.Construction.infinitesimalAdjoint G g).toLieHom = I := by |
| 68 | let : Finite (LieIdeal k (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G)) := |
| 69 | FiniteLieIdeals.finite_lieIdeals_of_semisimple k (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G) |
| 70 | have hc := FiniteConnectedAction.finite_closed_fibers_constant |
| 71 | (fun h : G.RationalPoints => I.map (ArithmeticGroups.Lattices.ExponentialNormal.Construction.infinitesimalAdjoint G h).toLieHom) |
| 72 | (fun J => rational_adjoint_ideal_fiber_closed G I J) 1 g |
| 73 | have h1 : I.map (ArithmeticGroups.Lattices.ExponentialNormal.Construction.infinitesimalAdjoint G 1).toLieHom = I := by |
| 74 | apply (LieIdealOrbit.lieIdeal_image_eq_iff _ I I).mpr |
| 75 | refine ⟨rfl, ?_⟩ |
| 76 | intro X hX |
| 77 | have he : ArithmeticGroups.Lattices.ExponentialNormal.Construction.infinitesimalAdjoint G 1 X = X := by |
| 78 | apply Subtype.ext |
| 79 | rw [ArithmeticGroups.Lattices.ExponentialNormal.Construction.infinitesimalAdjoint_apply] |
| 80 | simp only [OneMemClass.coe_one, inv_one, Matrix.SpecialLinearGroup.coe_one, |
| 81 | Matrix.one_mul, Matrix.mul_one] |
| 82 | rwa [he] |
| 83 | exact hc.trans h1 |
| 84 | |
| 85 | theorem connected_adjoint_preserves_ideal |
| 86 | [PreconnectedSpace G.RationalPoints] |
| 87 | [LieAlgebra.IsSemisimple k (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G)] |
| 88 | (I : LieIdeal k (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G)) (g : G.RationalPoints) |
| 89 | {X : ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G} (hX : X ∈ I) : ArithmeticGroups.Lattices.ExponentialNormal.Construction.infinitesimalAdjoint G g X ∈ I := by |
| 90 | rw [← connected_adjoint_ideal_image_eq G I g] |
| 91 | exact LieIdeal.mem_map hX |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.NumberTheory.Quaternion.Arithmetic.ConnectedAdjointIdeals |