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.HodgeConjecture.HeckeCycles.TorsionGenerators |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OrdinaryBlocks |
| 3 | |
| 4 | /-! # Block Tangent Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.BlockTangentCoordinates.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Linear coordinates for additive characters of the literal standard |
| 11 | q-power block labels, obtained by evaluating the coordinate generators. -/ |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.TorsionCoordinateMaps.CM.Criterion |
| 14 | |
| 15 | variable (k : Type) [Field k] (q n d : ℕ) [Fact q.Prime] [CharP k q] |
| 16 | |
| 17 | def residueCast : ZMod (q ^ (n + 1)) →+* k := |
| 18 | ZMod.castHom (dvd_pow_self q (Nat.succ_ne_zero n)) k |
| 19 | |
| 20 | def label (i : Fin d) : Additive (AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.OrdinaryBlockLabels.{0} q (n + 1) d) := |
| 21 | Additive.ofMul (ULift.up (TorsionGenerators.CM.generator q (n + 1) d i)) |
| 22 | |
| 23 | def evaluation : (Additive (AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.OrdinaryBlockLabels.{0} q (n + 1) d) →+ k) →ₗ[k] (Fin d → k) where |
| 24 | toFun f i := f (label q n d i) |
| 25 | map_add' _ _ := rfl |
| 26 | map_smul' _ _ := rfl |
| 27 | |
| 28 | def character (c : Fin d → k) : Additive (AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.OrdinaryBlockLabels.{0} q (n + 1) d) →+ k where |
| 29 | toFun x := ∑ i, residueCast k q n (x.toMul.down.toAdd i) * c i |
| 30 | map_zero' := by simp |
| 31 | map_add' x y := by |
| 32 | change (∑ i, residueCast k q n (x.toMul.down.toAdd i + y.toMul.down.toAdd i) * c i) = _ |
| 33 | simp only [map_add, add_mul, Finset.sum_add_distrib] |
| 34 | |
| 35 | omit [Fact q.Prime] in |
| 36 | theorem evaluation_character (c : Fin d → k) : evaluation k q n d (character k q n d c) = c := by |
| 37 | classical |
| 38 | funext i |
| 39 | simp [evaluation, character, label, TorsionGenerators.CM.generator, Pi.single_apply] |
| 40 | |
| 41 | def asGroupHom (f : Additive (AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.OrdinaryBlockLabels.{0} q (n + 1) d) →+ k) : |
| 42 | TorsionCoordinateMaps.CM.Criterion.coordinates q (n + 1) d →* Multiplicative k where |
| 43 | toFun x := Multiplicative.ofAdd (f (Additive.ofMul (ULift.up x))) |
| 44 | map_one' := congrArg Multiplicative.ofAdd (map_zero f) |
| 45 | map_mul' x y := congrArg Multiplicative.ofAdd |
| 46 | (map_add f (Additive.ofMul (ULift.up x)) (Additive.ofMul (ULift.up y))) |
| 47 | |
| 48 | omit [CharP k q] in |
| 49 | theorem evaluation_injective : Function.Injective (evaluation k q n d) := by |
| 50 | intro f h he |
| 51 | have hm := TorsionGenerators.CM.hom_ext q (n + 1) d (Fact.out : q.Prime).ne_zero |
| 52 | (asGroupHom k q n d f) (asGroupHom k q n d h) |
| 53 | (fun i => congrArg Multiplicative.ofAdd (congrFun he i)) |
| 54 | apply AddMonoidHom.ext |
| 55 | intro x |
| 56 | exact congrArg (fun a : TorsionCoordinateMaps.CM.Criterion.coordinates q (n + 1) d →* Multiplicative k => |
| 57 | (a x.toMul.down).toAdd) hm |
| 58 | |
| 59 | def characterEquiv : (Additive (AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.OrdinaryBlockLabels.{0} q (n + 1) d) →+ k) ≃ₗ[k] (Fin d → k) := |
| 60 | LinearEquiv.ofBijective (evaluation k q n d) |
| 61 | ⟨evaluation_injective k q n d, fun c => ⟨character k q n d c, evaluation_character k q n d c⟩⟩ |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.BlockTangentCoordinates.CM |