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 Mathlib.GroupTheory.PGroup |
| 2 | import Mathlib.GroupTheory.Index |
| 3 | |
| 4 | /-! # Kernel Cardinality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.CentralAction.KernelCardinality.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A polarization relation controls the entire kernel of an isogeny. |
| 11 | The equal polarization-kernel factors cancel before any Tate comparison. -/ |
| 12 | |
| 13 | variable {G H I J : Type*} [Group G] [Group H] [Group I] [Group J] |
| 14 | |
| 15 | /-- Fibers of a surjective group homomorphism all have the size of its kernel. -/ |
| 16 | def kernelCompEquiv (f : G →* H) (hf : Function.Surjective f) (g : H →* I) : |
| 17 | (g.comp f).ker ≃ f.ker × g.ker where |
| 18 | toFun x := |
| 19 | (⟨x.val * (hf (f x.val)).choose⁻¹, by |
| 20 | change f (x.val * (hf (f x.val)).choose⁻¹) = 1 |
| 21 | rw [map_mul, map_inv, (hf (f x.val)).choose_spec, mul_inv_cancel]⟩, |
| 22 | ⟨f x.val, x.property⟩) |
| 23 | invFun y := ⟨y.1.val * (hf y.2.val).choose, by |
| 24 | change g (f (y.1.val * (hf y.2.val).choose)) = 1 |
| 25 | rw [map_mul, y.1.property, one_mul, (hf y.2.val).choose_spec] |
| 26 | exact y.2.property⟩ |
| 27 | left_inv x := by |
| 28 | apply Subtype.ext |
| 29 | exact inv_mul_cancel_right _ _ |
| 30 | right_inv y := by |
| 31 | have hy : f (y.1.val * (hf y.2.val).choose) = y.2.val := by |
| 32 | rw [map_mul, y.1.property, one_mul, (hf y.2.val).choose_spec] |
| 33 | apply Prod.ext |
| 34 | · apply Subtype.ext |
| 35 | change (y.1.val * (hf y.2.val).choose) * |
| 36 | (hf (f (y.1.val * (hf y.2.val).choose))).choose⁻¹ = y.1.val |
| 37 | rw [hy, mul_inv_cancel_right] |
| 38 | · exact Subtype.ext hy |
| 39 | |
| 40 | theorem kernel_comp_card (f : G →* H) (hf : Function.Surjective f) (g : H →* I) : |
| 41 | Nat.card (g.comp f).ker = Nat.card f.ker * Nat.card g.ker := |
| 42 | (Nat.card_congr (kernelCompEquiv f hf g)).trans (Nat.card_prod _ _) |
| 43 | |
| 44 | /-- If two finite polarization kernels have the same size, a polarization |
| 45 | relation with a p-primary multiplier forces the entire isogeny kernel to |
| 46 | be p-primary. No degree formula for the dual isogeny is needed. -/ |
| 47 | theorem kernel_isPGroup_of_polarization |
| 48 | (q : ℕ) (f : G →* H) (p : H →* I) (d : I →* J) |
| 49 | (a : G →* J) (m : J →* J) |
| 50 | (hf : Function.Surjective f) (ha : Function.Surjective a) |
| 51 | [Finite a.ker] [Finite m.ker] |
| 52 | (hcard : Nat.card a.ker = Nat.card p.ker) |
| 53 | (hpol : d.comp (p.comp f) = m.comp a) |
| 54 | (hm : IsPGroup q m.ker) : IsPGroup q f.ker := by |
| 55 | have hle : (p.comp f).ker ≤ (m.comp a).ker := by |
| 56 | intro x hx |
| 57 | change (m.comp a) x = 1 |
| 58 | rw [← hpol, MonoidHom.comp_apply, hx, map_one] |
| 59 | have hd := Subgroup.card_dvd_of_le hle |
| 60 | rw [kernel_comp_card f hf p, kernel_comp_card a ha m, ← hcard, |
| 61 | Nat.mul_comm (Nat.card f.ker)] at hd |
| 62 | have hcancel : Nat.card f.ker ∣ Nat.card m.ker := |
| 63 | (Nat.mul_dvd_mul_iff_left (Nat.card_pos (α := a.ker))).mp hd |
| 64 | obtain ⟨n, hn⟩ := hm.exists_card_dvd_pow |
| 65 | exact IsPGroup.of_card_dvd_pow (hcancel.trans hn) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianScheme.CentralAction.KernelCardinality.Construction |