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.AbelianModuli.HilbertConstruction.Finite.CharacterBasis |
| 2 | |
| 3 | /-! # Tame Characters -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TameCharacters |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Algebraically closed fields supply the character basis when the finite group order is invertible, including the exact ordered full-level group. -/ |
| 10 | universe u v |
| 11 | variable (K : Type u) [Field K] [IsAlgClosed K] (G : Type v) [CommGroup G] [Fintype G] |
| 12 | |
| 13 | theorem tameFiniteAbelian_hasEnoughRoots (hG : (Fintype.card G : K) ≠ 0) : |
| 14 | HasEnoughRootsOfUnity K (Monoid.exponent G) := by |
| 15 | have : NeZero (Monoid.exponent G : K) := ⟨by |
| 16 | intro he |
| 17 | obtain ⟨m, hm⟩ := Group.exponent_dvd_card (G := G) |
| 18 | apply hG |
| 19 | rw [hm, Nat.cast_mul, he, zero_mul]⟩ |
| 20 | infer_instance |
| 21 | |
| 22 | def tameFiniteAbelianCharacterBasis (hG : (Fintype.card G : K) ≠ 0) : |
| 23 | Module.Basis (G →* Kˣ) K (G → K) := by |
| 24 | have := tameFiniteAbelian_hasEnoughRoots K G hG |
| 25 | exact Finite.CharacterBasis.finiteAbelianCharacterBasis K G |
| 26 | |
| 27 | @[simp] |
| 28 | theorem tameFiniteAbelianCharacterBasis_apply (hG : (Fintype.card G : K) ≠ 0) |
| 29 | (χ : G →* Kˣ) (g : G) : tameFiniteAbelianCharacterBasis K G hG χ g = (χ g : K) := by |
| 30 | have := tameFiniteAbelian_hasEnoughRoots K G hG |
| 31 | exact Finite.CharacterBasis.finiteAbelianCharacterBasis_apply K G χ g |
| 32 | |
| 33 | variable (g N : ℕ) [NeZero N] |
| 34 | |
| 35 | omit [IsAlgClosed K] in |
| 36 | theorem fullLevelCharacter_order_nonzero (hN : (N : K) ≠ 0) : |
| 37 | (Fintype.card (ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N))) : K) ≠ 0 := by |
| 38 | simpa only [Fintype.card_ulift, Fintype.card_multiplicative, Fintype.card_fun, |
| 39 | ZMod.card, Fintype.card_fin, Nat.cast_pow] using pow_ne_zero (2 * g) hN |
| 40 | |
| 41 | def fullLevelCharacterBasis (hN : (N : K) ≠ 0) : |
| 42 | Module.Basis ((ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N))) →* Kˣ) K |
| 43 | ((ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N))) → K) := |
| 44 | tameFiniteAbelianCharacterBasis K _ (fullLevelCharacter_order_nonzero K g N hN) |
| 45 | |
| 46 | theorem fullLevelCharacter_card (hN : (N : K) ≠ 0) : |
| 47 | Nat.card ((ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N))) →* Kˣ) = N ^ (2 * g) := by |
| 48 | have := tameFiniteAbelian_hasEnoughRoots K _ (fullLevelCharacter_order_nonzero K g N hN) |
| 49 | simpa only [Nat.card_eq_fintype_card, Fintype.card_ulift, Fintype.card_multiplicative, |
| 50 | Fintype.card_fun, ZMod.card, Fintype.card_fin] using |
| 51 | CommGroup.card_monoidHom_of_hasEnoughRootsOfUnity |
| 52 | (ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N))) K |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TameCharacters |