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.AlgebraicGeometry.AbelianScheme.TateComparison.Add |
| 2 | import Mathlib.GroupTheory.Sylow |
| 3 | |
| 4 | /-! # Primary Torsion Card -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.PrimaryTorsionCard |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The full prime-primary subgroup of a finite abelian group has the |
| 11 | prime-primary part of its cardinality. -/ |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Add |
| 14 | |
| 15 | variable (p : ℕ) [Fact p.Prime] (G : Type*) [AddCommGroup G] [Finite G] |
| 16 | |
| 17 | theorem card_torsion : |
| 18 | Nat.card (AlgebraicGeometry.AbelianScheme.TateComparison.Add.Tate.torsion p G ((Nat.card G).factorization p)) = |
| 19 | p ^ (Nat.card G).factorization p := by |
| 20 | let N := (AlgebraicGeometry.AbelianScheme.TateComparison.Add.Tate.torsion p G ((Nat.card G).factorization p)).toSubgroup |
| 21 | let P : Sylow p (Multiplicative G) := Classical.arbitrary _ |
| 22 | have hN : IsPGroup p N := by |
| 23 | intro x |
| 24 | refine ⟨(Nat.card G).factorization p, Subtype.ext ?_⟩ |
| 25 | exact x.property |
| 26 | have hNP : N ≤ P := hN.le_sylow_of_normal P |
| 27 | have hPN : (P : Subgroup (Multiplicative G)) ≤ N := by |
| 28 | intro x hx |
| 29 | have he := congrArg Subtype.val (pow_card_eq_one' (x := (⟨x, hx⟩ : P))) |
| 30 | change x ^ Nat.card (P : Subgroup (Multiplicative G)) = 1 at he |
| 31 | rw [P.card_eq_multiplicity] at he |
| 32 | exact he |
| 33 | have he : N = (P : Subgroup (Multiplicative G)) := le_antisymm hNP hPN |
| 34 | have hc : Nat.card N = Nat.card P := congrArg (fun S : Subgroup (Multiplicative G) => |
| 35 | Nat.card S) he |
| 36 | exact hc.trans P.card_eq_multiplicity |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.PrimaryTorsionCard |