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.ProjectorRangeFree |
| 2 | import Mathlib.NumberTheory.Padics.RingHoms |
| 3 | import Mathlib.RingTheory.LocalRing.RingHom.Basic |
| 4 | |
| 5 | /-! # Prime Power Projectors -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PrimePowerProjectors.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Coefficient projectors on standard q-power torsion coordinates have |
| 12 | finite free ranges over the actual residue ring Z/q^n. -/ |
| 13 | |
| 14 | variable (q : ℕ) [Fact q.Prime] |
| 15 | |
| 16 | theorem residue_isLocalRing (n : ℕ) : IsLocalRing (ZMod (q ^ (n + 1))) := by |
| 17 | let : Fact (1 < q ^ (n + 1)) := ⟨one_lt_pow' (Fact.out : q.Prime).one_lt (Nat.succ_ne_zero n)⟩ |
| 18 | exact IsLocalRing.of_surjective (PadicInt.toZModPow (p := q) (n + 1)) |
| 19 | (ZMod.ringHom_surjective _) |
| 20 | |
| 21 | theorem projector_range_free (n g : ℕ) |
| 22 | (p : Module.End (ZMod (q ^ (n + 1))) (Fin g → ZMod (q ^ (n + 1)))) |
| 23 | (hp : p * p = p) : Module.Free (ZMod (q ^ (n + 1))) p.range := by |
| 24 | let : IsLocalRing (ZMod (q ^ (n + 1))) := residue_isLocalRing q n |
| 25 | exact ProjectorRangeFree.CM.range_free p hp |
| 26 | |
| 27 | end |
| 28 | |
| 29 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PrimePowerProjectors.CM |