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.TorsionCoordinateMaps |
| 2 | import Mathlib.Algebra.BigOperators.Pi |
| 3 | |
| 4 | /-! # Torsion Generators -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.TorsionGenerators.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The standard torsion coordinates are generated by their coordinate |
| 11 | unit vectors. Homomorphisms are therefore determined by the images of |
| 12 | the generators used in the actual lifting construction. -/ |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.TorsionCoordinateMaps.CM.Criterion |
| 15 | |
| 16 | def generator (q n g : ℕ) (i : Fin g) : TorsionCoordinateMaps.CM.Criterion.coordinates q n g := |
| 17 | Multiplicative.ofAdd (Pi.single i (1 : ZMod (q ^ n))) |
| 18 | |
| 19 | theorem decomposition (q n g : ℕ) (hq : q ≠ 0) (x : TorsionCoordinateMaps.CM.Criterion.coordinates q n g) : |
| 20 | x = ∏ i, generator q n g i ^ (x.toAdd i).val := by |
| 21 | let : NeZero (q ^ n) := ⟨pow_ne_zero n hq⟩ |
| 22 | have hcoef (i : Fin g) : (x.toAdd i).val • (1 : ZMod (q ^ n)) = x.toAdd i := by |
| 23 | rw [nsmul_eq_mul, mul_one] |
| 24 | exact ZMod.natCast_zmod_val _ |
| 25 | have hvec (i : Fin g) : |
| 26 | (x.toAdd i).val • (Pi.single i (1 : ZMod (q ^ n)) : Fin g → ZMod (q ^ n)) = |
| 27 | Pi.single i (x.toAdd i) := by |
| 28 | funext j |
| 29 | by_cases hji : j = i |
| 30 | · subst j |
| 31 | simpa only [Pi.smul_apply, Pi.single_eq_same] using hcoef i |
| 32 | · simp only [Pi.smul_apply, Pi.single_eq_of_ne hji, smul_zero] |
| 33 | apply Multiplicative.toAdd.injective |
| 34 | rw [toAdd_prod] |
| 35 | calc |
| 36 | x.toAdd = ∑ i, Pi.single i (x.toAdd i) := (Finset.univ_sum_single x.toAdd).symm |
| 37 | _ = _ := by |
| 38 | apply Finset.sum_congr rfl |
| 39 | intro i _ |
| 40 | rw [toAdd_pow] |
| 41 | exact (hvec i).symm |
| 42 | |
| 43 | theorem hom_ext {A : Type*} [CommGroup A] (q n g : ℕ) (hq : q ≠ 0) |
| 44 | (f h : TorsionCoordinateMaps.CM.Criterion.coordinates q n g →* A) |
| 45 | (hgen : ∀ i, f (generator q n g i) = h (generator q n g i)) : f = h := by |
| 46 | apply MonoidHom.ext |
| 47 | intro x |
| 48 | rw [decomposition q n g hq x, map_prod, map_prod] |
| 49 | apply Finset.prod_congr rfl |
| 50 | intro i _ |
| 51 | rw [map_pow, map_pow, hgen i] |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.TorsionGenerators.CM |