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.PELModuli.CMPoints.Arithmetic |
| 2 | import OAI.RepresentationTheory.Hecke.OrdinaryCharacterDiagonalizableTangents |
| 3 | |
| 4 | /-! # Block Characters -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Hecke.BlockCharacters.OrdinaryCharacterIntrinsic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The coefficient character of a split level-one block and a nonzero |
| 11 | additive character of its literal finite label group. -/ |
| 12 | |
| 13 | variable {k : Type} [Field k] {q : ℕ} [CharP k q] |
| 14 | |
| 15 | def blockResidueCast : ZMod (q ^ 1) →+* k := ZMod.castHom (by simp) k |
| 16 | |
| 17 | def blockTangentCharacter {d : ℕ} (v : Fin d) : |
| 18 | Additive (ULift (Multiplicative (Fin d → ZMod (q ^ 1)))) →+ k where |
| 19 | toFun a := blockResidueCast (a.toMul.down.toAdd v) |
| 20 | map_zero' := map_zero blockResidueCast |
| 21 | map_add' a b := map_add blockResidueCast (a.toMul.down.toAdd v) (b.toMul.down.toAdd v) |
| 22 | |
| 23 | theorem blockTangentCharacter_ne_zero {d : ℕ} (v : Fin d) : |
| 24 | blockTangentCharacter (k := k) (q := q) v ≠ 0 := by |
| 25 | intro h |
| 26 | have he := congrArg (fun f : |
| 27 | Additive (ULift (Multiplicative (Fin d → ZMod (q ^ 1)))) →+ k => |
| 28 | f (Additive.ofMul (ULift.up (Multiplicative.ofAdd (fun _ => 1))))) h |
| 29 | change blockResidueCast (1 : ZMod (q ^ 1)) = 0 at he |
| 30 | exact one_ne_zero ((map_one blockResidueCast).symm.trans he) |
| 31 | |
| 32 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 33 | [Field K] [NumberField K] {κ : K →+* ℂ} [Fact q.Prime] |
| 34 | (j : AlgebraicGeometry.PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) (τ : Gal(E/ℚ)) |
| 35 | |
| 36 | def blockLieCharacter : NumberField.RingOfIntegers E →+* k := |
| 37 | blockResidueCast.comp (j.residueCharacter iota τ 1) |
| 38 | |
| 39 | theorem blockLieCharacter_nat (a : NumberField.RingOfIntegers E) : |
| 40 | blockLieCharacter (k := k) j iota τ a = |
| 41 | ((j.residueCharacter iota τ 1 a).val : k) := by |
| 42 | let z := j.residueCharacter iota τ 1 a |
| 43 | exact ((map_natCast (blockResidueCast (k := k) (q := q)) z.val).symm.trans |
| 44 | (congrArg (blockResidueCast (k := k) (q := q)) (ZMod.natCast_zmod_val z))).symm |
| 45 | |
| 46 | theorem blockLieCharacter_projector (hsplit : j.HasSplitCoordinates iota) : |
| 47 | blockLieCharacter (k := k) j iota τ (j.projector iota hsplit 1 τ) = 1 := by |
| 48 | classical |
| 49 | have hc : j.residueCharacter iota τ 1 (j.projector iota hsplit 1 τ) = 1 := by |
| 50 | have h := congrFun (j.projector_coordinates iota hsplit 1 τ) τ |
| 51 | exact h.trans (Pi.single_eq_same _ _) |
| 52 | exact (congrArg (blockResidueCast (k := k) (q := q)) hc).trans (map_one _) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.RepresentationTheory.Hecke.BlockCharacters.OrdinaryCharacterIntrinsic |