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.TateComparison.KernelCardinalityCard |
| 2 | import Mathlib.GroupTheory.PGroup |
| 3 | |
| 4 | /-! # Polarized Kernel Groups -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PolarizedKernelGroups.KernelCardinality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A polarization diagram with equal finite polarization kernels forces |
| 11 | the isogeny kernel to be primary at the multiplier prime. Coprimality of |
| 12 | the polarization degree then gives the exact multiplier annihilator. -/ |
| 13 | |
| 14 | variable {A B A' B' : Type*} [CommGroup A] [CommGroup B] |
| 15 | [CommGroup A'] [CommGroup B'] |
| 16 | |
| 17 | theorem polarized_card_kernel |
| 18 | (f : A →* B) (p : A →* A') (r : B →* B') (d : B' →* A') |
| 19 | (n : A →* A) (hf : Function.Surjective f) (hr : Function.Surjective r) |
| 20 | (hn : Function.Surjective n) [Finite p.ker] |
| 21 | (hcard : Nat.card p.ker = Nat.card r.ker) |
| 22 | (hdiag : (d.comp r).comp f = p.comp n) : |
| 23 | Nat.card f.ker * Nat.card d.ker = Nat.card n.ker := by |
| 24 | have h₁ := KernelCardinalityCard.KernelCardinality.card_comp_kernel f (d.comp r) hf |
| 25 | have h₂ := KernelCardinalityCard.KernelCardinality.card_comp_kernel r d hr |
| 26 | have h₃ := KernelCardinalityCard.KernelCardinality.card_comp_kernel n p hn |
| 27 | have h₄ := congrArg (fun z : A →* A' => Nat.card z.ker) hdiag |
| 28 | have he : (Nat.card f.ker * Nat.card d.ker) * Nat.card p.ker = |
| 29 | Nat.card n.ker * Nat.card p.ker := by |
| 30 | calc |
| 31 | _ = Nat.card f.ker * (Nat.card r.ker * Nat.card d.ker) := by rw [hcard]; ac_rfl |
| 32 | _ = Nat.card ((d.comp r).comp f).ker := (h₁.trans (congrArg (Nat.card f.ker * ·) h₂)).symm |
| 33 | _ = Nat.card (p.comp n).ker := h₄ |
| 34 | _ = _ := h₃ |
| 35 | exact Nat.eq_of_mul_eq_mul_right Nat.card_pos he |
| 36 | |
| 37 | variable (f : A →* B) (p : A →* A') (r : B →* B') (d : B' →* A') |
| 38 | (q m : ℕ) [Fact q.Prime] |
| 39 | (hf : Function.Surjective f) (hr : Function.Surjective r) |
| 40 | (hm : Function.Surjective (powMonoidHom (q ^ m) : A →* A)) |
| 41 | [Finite p.ker] [Finite (powMonoidHom (q ^ m) : A →* A).ker] |
| 42 | (hcard : Nat.card p.ker = Nat.card r.ker) |
| 43 | (hdiag : (d.comp r).comp f = p.comp (powMonoidHom (q ^ m))) |
| 44 | |
| 45 | include hf hr hm hcard hdiag |
| 46 | |
| 47 | theorem polarized_kernel_isPGroup : IsPGroup q f.ker := by |
| 48 | have hp : IsPGroup q (powMonoidHom (q ^ m) : A →* A).ker := by |
| 49 | intro x |
| 50 | exact ⟨m, Subtype.ext x.property⟩ |
| 51 | obtain ⟨n, hn⟩ := IsPGroup.iff_card.mp hp |
| 52 | apply IsPGroup.of_card_dvd_pow (n := n) |
| 53 | refine ⟨Nat.card d.ker, ?_⟩ |
| 54 | exact hn.symm.trans (polarized_card_kernel f p r d (powMonoidHom (q ^ m)) hf hr hm hcard hdiag).symm |
| 55 | |
| 56 | theorem polarized_kernel_killed |
| 57 | (hq : q.Coprime (Nat.card p.ker)) (x : A) (hx : f x = 1) : x ^ (q ^ m) = 1 := by |
| 58 | have hp : p (x ^ (q ^ m)) = 1 := by |
| 59 | have he := DFunLike.congr_fun hdiag x |
| 60 | simpa only [MonoidHom.comp_apply, powMonoidHom_apply, hx, map_one] using he.symm |
| 61 | let y : p.ker := ⟨x ^ (q ^ m), hp⟩ |
| 62 | have hy : (x ^ (q ^ m)) ^ Nat.card p.ker = 1 := |
| 63 | congrArg Subtype.val (pow_card_eq_one' (x := y)) |
| 64 | let z : f.ker := ⟨x, hx⟩ |
| 65 | have hG := polarized_kernel_isPGroup f p r d q m hf hr hm hcard hdiag |
| 66 | have hz : (hG.powEquiv hq) (z ^ (q ^ m)) = (hG.powEquiv hq) 1 := by |
| 67 | apply Subtype.ext |
| 68 | simpa only [IsPGroup.powEquiv_apply, Subgroup.coe_pow, Subgroup.coe_one, one_pow] using hy |
| 69 | exact congrArg Subtype.val ((hG.powEquiv hq).injective hz) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PolarizedKernelGroups.KernelCardinality |