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.Isogenies.NeighborCounting.Kernel.SpecialFiber |
| 2 | |
| 3 | /-! # Split Component Kernel -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SplitComponentKernel.Components |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Identify the kernel of an actual split projection with its first |
| 10 | factor, including the group law and its embedding in the original group. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 19 | |
| 20 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 21 | |
| 22 | variable {S : Scheme.{u}} {A M E : Over S} [GrpObj A] [GrpObj M] [GrpObj E] |
| 23 | variable (e : A ≅ M ⊗ E) [IsMonHom e.hom] |
| 24 | |
| 25 | def splitComponentProjection : A ⟶ E := e.hom ≫ snd M E |
| 26 | |
| 27 | instance splitComponentProjection_isMonHom : IsMonHom (splitComponentProjection e) := by |
| 28 | unfold splitComponentProjection |
| 29 | infer_instance |
| 30 | |
| 31 | def splitComponentKernelMap : Picard.PoincareBundle.Kernel.Scheme.kernelObject (splitComponentProjection e) ⟶ M := |
| 32 | Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (splitComponentProjection e) ≫ e.hom ≫ fst M E |
| 33 | |
| 34 | instance splitComponentKernelMap_isMonHom : IsMonHom (splitComponentKernelMap e) := by |
| 35 | unfold splitComponentKernelMap |
| 36 | infer_instance |
| 37 | |
| 38 | def splitComponentKernelInv : M ⟶ Picard.PoincareBundle.Kernel.Scheme.kernelObject (splitComponentProjection e) := |
| 39 | (Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv (splitComponentProjection e) M).symm |
| 40 | ⟨lift (𝟙 M) (1 : M ⟶ E) ≫ e.inv, by |
| 41 | change (lift (𝟙 M) (1 : M ⟶ E) ≫ e.inv) ≫ e.hom ≫ snd M E = 1 |
| 42 | rw [Category.assoc, e.inv_hom_id_assoc, lift_snd]⟩ |
| 43 | |
| 44 | theorem splitComponentKernelInv_inclusion : |
| 45 | splitComponentKernelInv e ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (splitComponentProjection e) = |
| 46 | lift (𝟙 M) (1 : M ⟶ E) ≫ e.inv := |
| 47 | congrArg Subtype.val ((Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv (splitComponentProjection e) M).apply_symm_apply _) |
| 48 | |
| 49 | def splitComponentKernelIso : Picard.PoincareBundle.Kernel.Scheme.kernelObject (splitComponentProjection e) ≅ M where |
| 50 | hom := splitComponentKernelMap e |
| 51 | inv := splitComponentKernelInv e |
| 52 | hom_inv_id := by |
| 53 | apply (cancel_mono (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (splitComponentProjection e))).mp |
| 54 | rw [Category.assoc, splitComponentKernelInv_inclusion, Category.id_comp] |
| 55 | apply (cancel_mono e.hom).mp |
| 56 | rw [Category.assoc, Category.assoc, e.inv_hom_id, Category.comp_id] |
| 57 | apply CartesianMonoidalCategory.hom_ext |
| 58 | · simp only [Category.assoc, lift_fst, Category.comp_id, splitComponentKernelMap] |
| 59 | · rw [Category.assoc, lift_snd, MonObj.comp_one] |
| 60 | exact (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion_comp (splitComponentProjection e)).symm |
| 61 | inv_hom_id := by |
| 62 | rw [splitComponentKernelMap, ← Category.assoc, splitComponentKernelInv_inclusion] |
| 63 | simp only [Category.assoc, e.inv_hom_id_assoc, lift_fst] |
| 64 | |
| 65 | instance splitComponentKernelIso_isMonHom : IsMonHom (splitComponentKernelIso e).hom := |
| 66 | inferInstanceAs (IsMonHom (splitComponentKernelMap e)) |
| 67 | |
| 68 | theorem splitComponentKernelIso_inv_inclusion : |
| 69 | (splitComponentKernelIso e).inv ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (splitComponentProjection e) = |
| 70 | lift (𝟙 M) (1 : M ⟶ E) ≫ e.inv := |
| 71 | splitComponentKernelInv_inclusion e |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SplitComponentKernel.Components |