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.Index |
| 2 | import Lean.Util.CollectAxioms |
| 3 | |
| 4 | /-! # Kernel Cardinality Card -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.KernelCardinalityCard.KernelCardinality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact kernel cardinalities for a composite of actual surjective |
| 11 | point maps. The identity applies even when the ambient groups are infinite. -/ |
| 12 | |
| 13 | variable {A B C : Type*} [Group A] [Group B] [Group C] |
| 14 | (f : A →* B) (g : B →* C) |
| 15 | |
| 16 | def projection : (g.comp f).ker →* g.ker where |
| 17 | toFun x := ⟨f x.val, x.property⟩ |
| 18 | map_one' := Subtype.ext f.map_one |
| 19 | map_mul' x y := Subtype.ext (f.map_mul x.val y.val) |
| 20 | |
| 21 | theorem projection_surjective (hf : Function.Surjective f) : |
| 22 | Function.Surjective (projection f g) := by |
| 23 | intro y |
| 24 | obtain ⟨x, hx⟩ := hf y.val |
| 25 | refine ⟨⟨x, ?_⟩, Subtype.ext hx⟩ |
| 26 | change g (f x) = 1 |
| 27 | rw [hx] |
| 28 | exact y.property |
| 29 | |
| 30 | def kernelEquiv : (projection f g).ker ≃* f.ker where |
| 31 | toFun x := ⟨x.val.val, congrArg Subtype.val x.property⟩ |
| 32 | invFun x := ⟨⟨x.val, by |
| 33 | change g (f x.val) = 1 |
| 34 | rw [x.property, g.map_one]⟩, Subtype.ext x.property⟩ |
| 35 | left_inv _ := rfl |
| 36 | right_inv _ := rfl |
| 37 | map_mul' _ _ := rfl |
| 38 | |
| 39 | theorem card_comp_kernel (hf : Function.Surjective f) : |
| 40 | Nat.card (g.comp f).ker = Nat.card f.ker * Nat.card g.ker := by |
| 41 | have hi : (projection f g).ker.index = Nat.card g.ker := |
| 42 | Nat.card_congr (QuotientGroup.quotientKerEquivOfSurjective (projection f g) |
| 43 | (projection_surjective f g hf)).toEquiv |
| 44 | calc |
| 45 | Nat.card (g.comp f).ker = Nat.card (projection f g).ker * (projection f g).ker.index := |
| 46 | (projection f g).ker.card_mul_index.symm |
| 47 | _ = Nat.card f.ker * Nat.card g.ker := by rw [Nat.card_congr (kernelEquiv f g).toEquiv, hi] |
| 48 | |
| 49 | theorem finite_second_kernel (hf : Function.Surjective f) [Finite (g.comp f).ker] : Finite g.ker := |
| 50 | Finite.of_surjective (projection f g) (projection_surjective f g hf) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.KernelCardinalityCard.KernelCardinality |