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.FrobeniusKernel.Prescribed |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 3 | |
| 4 | /-! # Kernel Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.KernelBaseChange.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Base change of the actual native scheme kernel, with its original |
| 11 | inclusion. Equalizer preservation keeps the full nonreduced structure. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | attribute [local instance] BaseChange.Construction.pulledBackGroup |
| 19 | |
| 20 | variable {S T : Scheme.{u}} {A B H : Over S} [GrpObj A] [GrpObj B] |
| 21 | variable (f : T ⟶ S) (p : A ⟶ B) (i : H ⟶ A) [Mono i] |
| 22 | |
| 23 | omit [GrpObj A] in |
| 24 | /-- The original universal kernel condition survives arbitrary base |
| 25 | change, for group schemes without a smoothness or reducedness premise. -/ |
| 26 | theorem prescribedKernel_pullback (hp : Prescribed.Construction.PrescribedKernel p i) : |
| 27 | Prescribed.Construction.PrescribedKernel ((Over.pullback f).map p) ((Over.pullback f).map i) := by |
| 28 | let F := Over.pullback f |
| 29 | let hlim := isLimitForkMapOfIsLimit F _ (Prescribed.Construction.prescribedKernelForkIsLimit p i hp) |
| 30 | intro U a |
| 31 | constructor |
| 32 | · intro ha |
| 33 | have hc : a ≫ F.map p = a ≫ F.map (1 : A ⟶ B) := by |
| 34 | rw [F.map_one, MonObj.comp_one] |
| 35 | exact ha |
| 36 | obtain ⟨z, hz⟩ := Fork.IsLimit.lift' hlim a hc |
| 37 | refine ⟨z, hz, ?_⟩ |
| 38 | intro w hw |
| 39 | exact (cancel_mono (F.map i)).mp (hw.trans hz.symm) |
| 40 | · rintro ⟨z, hz, _⟩ |
| 41 | rw [← hz, Category.assoc, ← F.map_comp, Prescribed.Construction.prescribedKernel_kills p i hp, |
| 42 | F.map_one, MonObj.comp_one] |
| 43 | |
| 44 | variable [IsMonHom p] |
| 45 | |
| 46 | omit f in |
| 47 | theorem nativeKernel_prescribed : Prescribed.Construction.PrescribedKernel p (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion p) := by |
| 48 | intro U a |
| 49 | constructor |
| 50 | · intro ha |
| 51 | let z := (Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv p U).symm ⟨a, ha⟩ |
| 52 | have hz : z ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion p = a := |
| 53 | congrArg Subtype.val ((Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv p U).apply_symm_apply ⟨a, ha⟩) |
| 54 | refine ⟨z, hz, ?_⟩ |
| 55 | intro w hw |
| 56 | exact (cancel_mono (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion p)).mp (hw.trans hz.symm) |
| 57 | · rintro ⟨z, hz, _⟩ |
| 58 | rw [← hz, Category.assoc, Picard.PoincareBundle.Kernel.Scheme.kernelInclusion_comp, MonObj.comp_one] |
| 59 | |
| 60 | /-- Comparison with the pullback-over-the-identity definition of the |
| 61 | native kernel. The isomorphism is constructed from the two universal properties. -/ |
| 62 | def nativePrescribedKernelIso (hp : Prescribed.Construction.PrescribedKernel p i) : H ≅ Picard.PoincareBundle.Kernel.Scheme.kernelObject p := |
| 63 | Prescribed.Construction.prescribedKernelIso p i hp ≪≫ |
| 64 | (Prescribed.Construction.prescribedKernelIso p (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion p) (nativeKernel_prescribed p)).symm |
| 65 | |
| 66 | theorem nativePrescribedKernelIso_inclusion (hp : Prescribed.Construction.PrescribedKernel p i) : |
| 67 | (nativePrescribedKernelIso p i hp).hom ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion p = i := by |
| 68 | change ((Prescribed.Construction.prescribedKernelIso p i hp).hom ≫ |
| 69 | (Prescribed.Construction.prescribedKernelIso p (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion p) (nativeKernel_prescribed p)).inv) ≫ _ = _ |
| 70 | have hi : (Prescribed.Construction.prescribedKernelIso p (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion p) |
| 71 | (nativeKernel_prescribed p)).inv ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion p = |
| 72 | Picard.Homomorphisms.Kernel.Construction.kernelInclusion p := by |
| 73 | apply (Iso.inv_comp_eq _).mpr |
| 74 | exact (Prescribed.Construction.prescribedKernelIso_inclusion p (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion p) |
| 75 | (nativeKernel_prescribed p)).symm |
| 76 | rw [Category.assoc, hi] |
| 77 | exact Prescribed.Construction.prescribedKernelIso_inclusion p i hp |
| 78 | |
| 79 | /-- The actual kernel scheme commutes with every base change. -/ |
| 80 | def nativeKernelBaseChangeIso : |
| 81 | (Over.pullback f).obj (Picard.PoincareBundle.Kernel.Scheme.kernelObject p) ≅ |
| 82 | Picard.PoincareBundle.Kernel.Scheme.kernelObject ((Over.pullback f).map p) := |
| 83 | nativePrescribedKernelIso ((Over.pullback f).map p) |
| 84 | ((Over.pullback f).map (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion p)) |
| 85 | (prescribedKernel_pullback f p (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion p) (nativeKernel_prescribed p)) |
| 86 | |
| 87 | theorem nativeKernelBaseChangeIso_inclusion : |
| 88 | (nativeKernelBaseChangeIso f p).hom ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion ((Over.pullback f).map p) = |
| 89 | (Over.pullback f).map (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion p) := |
| 90 | nativePrescribedKernelIso_inclusion _ _ _ |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.KernelBaseChange.Construction |