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.AlmostSimpleHull |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.HullCentralizer |
| 3 | import OAI.NumberTheory.Quaternion.Arithmetic.ConnectedAdjointIdeals |
| 4 | |
| 5 | /-! # Almost Simple Lie Ideals -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.AlmostSimpleLieIdeals |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A connected almost-simple algebraic group with semisimple Lie |
| 12 | algebra has no nonzero proper Lie ideal. A complementary ideal would |
| 13 | centralize the algebraic hull and hence the whole Lie algebra. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | open Set |
| 17 | |
| 18 | attribute [local instance] LieRing.ofAssociativeRing |
| 19 | |
| 20 | variable {k : Type} [Field k] [CharZero k] [IsAlgClosed k] {n : ℕ} |
| 21 | variable (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup k n) |
| 22 | |
| 23 | local instance almostSimpleLieRationalTopology : TopologicalSpace G.RationalPoints := ArithmeticGroups.Lattices.RationalZariski.Construction.rationalZariskiTopology G |
| 24 | |
| 25 | theorem almostSimple_infinitesimal_ideal_eq_bot_or_top |
| 26 | [PreconnectedSpace G.RationalPoints] |
| 27 | [LieAlgebra.IsSemisimple k (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G)] |
| 28 | (hsimple : ∀ N : Subgroup G.RationalPoints, N.Normal → IsClosed (N : Set G.RationalPoints) → |
| 29 | IsConnected (N : Set G.RationalPoints) → N = ⊥ ∨ N = ⊤) |
| 30 | (I : LieIdeal k (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G)) : I = ⊥ ∨ I = ⊤ := by |
| 31 | by_cases hI0 : I = ⊥ |
| 32 | · exact Or.inl hI0 |
| 33 | right |
| 34 | by_contra hI1 |
| 35 | have hIc : Iᶜ ≠ ⊥ := by simpa only [ne_eq, compl_eq_bot] using hI1 |
| 36 | obtain ⟨X, hXI, hX0⟩ : ∃ X ∈ I, X ≠ 0 := by |
| 37 | have h : ¬ ∀ X, X ∈ I → X = 0 := fun h => hI0 ((LieSubmodule.eq_bot_iff I).mpr h) |
| 38 | push Not at h |
| 39 | exact h |
| 40 | obtain ⟨Y, hYI, hY0⟩ : ∃ Y ∈ Iᶜ, Y ≠ 0 := by |
| 41 | have h : ¬ ∀ Y, Y ∈ Iᶜ → Y = 0 := fun h => hIc ((LieSubmodule.eq_bot_iff Iᶜ).mpr h) |
| 42 | push Not at h |
| 43 | exact h |
| 44 | let S := ConnectedAdjointIdeals.matrixIdealSubspace G I |
| 45 | have hS : (S : Set (Matrix (Fin n) (Fin n) k)) ⊆ ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G := by |
| 46 | rintro _ ⟨Z, _, rfl⟩ |
| 47 | exact Z.property |
| 48 | have hconj : ∀ g : G.RationalPoints, ∀ A ∈ S, |
| 49 | (g.val : Matrix (Fin n) (Fin n) k) * A * |
| 50 | ((g.val⁻¹ : ArithmeticGroups.Lattices.Algebraic.SL n k) : Matrix (Fin n) (Fin n) k) ∈ S := by |
| 51 | intro g A hA |
| 52 | obtain ⟨Z, hZI, rfl⟩ := hA |
| 53 | exact ⟨ArithmeticGroups.Lattices.ExponentialNormal.Construction.infinitesimalAdjoint G g Z, ConnectedAdjointIdeals.connected_adjoint_preserves_ideal G I g hZI, |
| 54 | ArithmeticGroups.Lattices.ExponentialNormal.Construction.infinitesimalAdjoint_apply G g Z⟩ |
| 55 | have hSne : ∃ A ∈ (S : Set (Matrix (Fin n) (Fin n) k)), A ≠ 0 := |
| 56 | ⟨X.val, (ConnectedAdjointIdeals.mem_matrixIdealSubspace G I X).mpr hXI, fun h => hX0 (Subtype.ext h)⟩ |
| 57 | have htop := AlmostSimpleHull.differentialHull_eq_top_of_almostSimple G hsimple S hS hconj hSne |
| 58 | have hIJ (Z T : ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G) (hZ : Z ∈ I) (hT : T ∈ Iᶜ) : ⁅Z, T⁆ = 0 := by |
| 59 | have hlie : ⁅Z, T⁆ ∈ I ⊓ Iᶜ := |
| 60 | ⟨lie_mem_left k (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G) I Z T hZ, (Iᶜ).lie_mem hT⟩ |
| 61 | rwa [inf_compl_eq_bot, LieSubmodule.mem_bot] at hlie |
| 62 | have hSY : ∀ A ∈ S, A * Y.val = Y.val * A := by |
| 63 | rintro A ⟨Z, hZI, rfl⟩ |
| 64 | exact sub_eq_zero.mp (congrArg Subtype.val (hIJ Z Y hZI hYI)) |
| 65 | have hGY : ∀ g : G.RationalPoints, |
| 66 | (g.val : Matrix (Fin n) (Fin n) k) * Y.val = Y.val * (g.val : Matrix (Fin n) (Fin n) k) := by |
| 67 | intro g |
| 68 | apply HullCentralizer.differentialHull_commutes G S Y.val hSY g |
| 69 | rw [htop] |
| 70 | trivial |
| 71 | have hcenter : Y ∈ LieAlgebra.center k (ArithmeticGroups.Lattices.Infinitesimal.Action.Construction.infinitesimalStabilizer G) := by |
| 72 | intro Z |
| 73 | apply Subtype.ext |
| 74 | exact sub_eq_zero.mpr (HullCentralizer.group_commutes_implies_infinitesimal_commutes G Y.val hGY Z.property) |
| 75 | rw [LieAlgebra.center_eq_bot, LieSubmodule.mem_bot] at hcenter |
| 76 | exact hY0 hcenter |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.Quaternion.Arithmetic.AlmostSimpleLieIdeals |