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.AbelianScheme.IsogenyQuotient.Padic |
| 2 | import Mathlib.LinearAlgebra.Quotient.Basic |
| 3 | |
| 4 | /-! # Padic Subgroups -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.PadicSubgroups.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Every additive subgroup of a module killed by q^h is automatically |
| 12 | stable under the q-adic integers. This removes a possible extra condition |
| 13 | when passing from finite subgroup choices to q-adic intermediate lattices. |
| 14 | -/ |
| 15 | |
| 16 | variable (q : ℕ) [Fact q.Prime] {V : Type*} |
| 17 | [AddCommGroup V] [Module ℤ_[q] V] |
| 18 | |
| 19 | theorem padic_smul_eq_residue_nsmul (h : ℕ) |
| 20 | (hkilled : ∀ x : V, (q : ℤ_[q]) ^ h • x = 0) (r : ℤ_[q]) (x : V) : |
| 21 | r • x = (PadicInt.toZModPow h r).val • x := by |
| 22 | have hres : r - ((PadicInt.toZModPow h r).val : ℤ_[q]) ∈ |
| 23 | Ideal.span {(q : ℤ_[q]) ^ h} := by |
| 24 | rw [← PadicInt.ker_toZModPow, RingHom.mem_ker, map_sub, map_natCast, |
| 25 | ZMod.natCast_zmod_val, sub_self] |
| 26 | obtain ⟨c, hc⟩ := Ideal.mem_span_singleton.mp hres |
| 27 | have hz : (r - ((PadicInt.toZModPow h r).val : ℤ_[q])) • x = 0 := by |
| 28 | rw [hc, mul_comm, mul_smul, hkilled, smul_zero] |
| 29 | simpa only [sub_smul, Nat.cast_smul_eq_nsmul, sub_eq_zero] using hz |
| 30 | |
| 31 | /-- Subgroups and q-adic submodules of a killed module are the same |
| 32 | choices, with unchanged elements and inclusions. -/ |
| 33 | def padicSubgroupOrderIso (h : ℕ) |
| 34 | (hkilled : ∀ x : V, (q : ℤ_[q]) ^ h • x = 0) : |
| 35 | AddSubgroup V ≃o Submodule ℤ_[q] V where |
| 36 | toFun H := |
| 37 | { H with |
| 38 | smul_mem' := by |
| 39 | intro r x hx |
| 40 | rw [padic_smul_eq_residue_nsmul q h hkilled] |
| 41 | exact H.nsmul_mem hx _ } |
| 42 | invFun := Submodule.toAddSubgroup |
| 43 | left_inv _ := rfl |
| 44 | right_inv _ := rfl |
| 45 | map_rel_iff' := Iff.rfl |
| 46 | |
| 47 | @[simp] theorem mem_padicSubgroupOrderIso (h : ℕ) |
| 48 | (hkilled : ∀ x : V, (q : ℤ_[q]) ^ h • x = 0) (H : AddSubgroup V) (x : V) : |
| 49 | x ∈ padicSubgroupOrderIso q h hkilled H ↔ x ∈ H := Iff.rfl |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.PadicSubgroups.Construction |