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.LieScalarSimplicity |
| 2 | import Mathlib.Order.CompactlyGenerated.Basic |
| 3 | import Mathlib.LinearAlgebra.FiniteDimensional.Basic |
| 4 | |
| 5 | /-! # Finite Lie Ideals -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.Quaternion.Arithmetic.FiniteLieIdeals |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A finite-dimensional semisimple Lie algebra has finitely many ideals. |
| 12 | Each ideal is determined by the simple factors it contains. This supports |
| 13 | the connected algebraic group's action on its Lie ideals. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | open Set |
| 17 | |
| 18 | theorem finite_lieIdeals_of_semisimple |
| 19 | (K L : Type*) [Field K] [LieRing L] [LieAlgebra K L] |
| 20 | [FiniteDimensional K L] [LieAlgebra.IsSemisimple K L] : Finite (LieIdeal K L) := by |
| 21 | let S : Set (LieIdeal K L) := {I | IsAtom I} |
| 22 | have hS : S.Finite := WellFoundedGT.finite_of_sSupIndep |
| 23 | (LieAlgebra.IsSemisimple.sSupIndep_isAtom (R := K) (L := L)) |
| 24 | let : Finite S := hS.to_subtype |
| 25 | let : IsAtomistic (LieIdeal K L) := |
| 26 | (LieAlgebra.IsSemisimple.booleanGenerators K L).isAtomistic_of_sSup_eq_top |
| 27 | LieAlgebra.IsSemisimple.sSup_atoms_eq_top |
| 28 | let f : LieIdeal K L → Set S := fun I => {J | J.val ≤ I} |
| 29 | apply Finite.of_injective f |
| 30 | intro I J hIJ |
| 31 | have he : {a : LieIdeal K L | IsAtom a ∧ a ≤ I} = {a | IsAtom a ∧ a ≤ J} := by |
| 32 | ext a |
| 33 | constructor |
| 34 | · rintro ⟨ha, hle⟩ |
| 35 | refine ⟨ha, ?_⟩ |
| 36 | have hm : (⟨a, ha⟩ : S) ∈ f I := hle |
| 37 | rwa [hIJ] at hm |
| 38 | · rintro ⟨ha, hle⟩ |
| 39 | refine ⟨ha, ?_⟩ |
| 40 | have hm : (⟨a, ha⟩ : S) ∈ f J := hle |
| 41 | rwa [← hIJ] at hm |
| 42 | calc |
| 43 | I = sSup {a : LieIdeal K L | IsAtom a ∧ a ≤ I} := (sSup_atoms_le_eq I).symm |
| 44 | _ = sSup {a : LieIdeal K L | IsAtom a ∧ a ≤ J} := congrArg sSup he |
| 45 | _ = J := sSup_atoms_le_eq J |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.Quaternion.Arithmetic.FiniteLieIdeals |