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 | |
| 3 | /-! # Prime Power Coordinates -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PrimePowerCoordinates.CM |
| 6 | |
| 7 | /-! The first torsion subgroup of a power-level cyclic coordinate |
| 8 | consists exactly of the top-power multiples of first-level residues. -/ |
| 9 | |
| 10 | theorem first_torsion_value_divisible (q n : ℕ) (hq : 0 < q) |
| 11 | (x : ZMod (q ^ (n + 1))) (hx : q • x = 0) : q ^ n ∣ x.val := by |
| 12 | let : NeZero (q ^ (n + 1)) := ⟨pow_ne_zero _ hq.ne'⟩ |
| 13 | have hz : ((q * x.val : ℕ) : ZMod (q ^ (n + 1))) = 0 := by |
| 14 | simpa only [Nat.cast_mul, ZMod.natCast_zmod_val, nsmul_eq_mul] using hx |
| 15 | have hd := (ZMod.natCast_eq_zero_iff (q * x.val) (q ^ (n + 1))).mp hz |
| 16 | exact (Nat.mul_dvd_mul_iff_left hq).mp |
| 17 | ((congrArg (fun d : ℕ => d ∣ q * x.val) (pow_succ' q n)).mp hd) |
| 18 | |
| 19 | theorem first_torsion_coordinates (q n : ℕ) (hq : 0 < q) |
| 20 | (x : ZMod (q ^ (n + 1))) (hx : q • x = 0) : |
| 21 | ∃ r : Fin q, x = (q ^ n : ZMod (q ^ (n + 1))) * (r.val : ZMod (q ^ (n + 1))) := by |
| 22 | let : NeZero (q ^ (n + 1)) := ⟨pow_ne_zero _ hq.ne'⟩ |
| 23 | have hd := first_torsion_value_divisible q n hq x hx |
| 24 | have hr : x.val / q ^ n < q := by |
| 25 | apply (Nat.div_lt_iff_lt_mul (pow_pos hq n)).mpr |
| 26 | simpa only [← pow_succ'] using x.val_lt |
| 27 | refine ⟨⟨x.val / q ^ n, hr⟩, ?_⟩ |
| 28 | calc |
| 29 | x = (x.val : ZMod (q ^ (n + 1))) := x.natCast_zmod_val.symm |
| 30 | _ = ((q ^ n * (x.val / q ^ n) : ℕ) : ZMod (q ^ (n + 1))) := |
| 31 | congrArg (fun t : ℕ => (t : ZMod (q ^ (n + 1)))) (Nat.mul_div_cancel' hd).symm |
| 32 | _ = _ := by rw [Nat.cast_mul, Nat.cast_pow] |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PrimePowerCoordinates.CM |