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.Picard.Homomorphisms.KernelGeometry |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 3 | |
| 4 | /-! # Kernel Group -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.KernelGroup |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The group structure on Homomorphisms's equalizer kernel and its intrinsic Frobenius. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite _root_.CategoryTheory.Limits |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | namespace Construction |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | attribute [local instance] PoincareBundle.Kernel.Scheme.kernelGroup |
| 23 | |
| 24 | variable {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 25 | (q : A ⟶ B) [IsMonHom q] |
| 26 | |
| 27 | def kernelSchemePullbackIso : Kernel.Construction.kernelScheme q ≅ PoincareBundle.Kernel.Scheme.kernelObject q := |
| 28 | (Kernel.Construction.kernelScheme_isPullback q).isoPullback |
| 29 | |
| 30 | instance kernelSchemeGroup : GrpObj (Kernel.Construction.kernelScheme q) := |
| 31 | GrpObj.ofIso (kernelSchemePullbackIso q).symm |
| 32 | |
| 33 | omit [GrpObj A] [IsMonHom q] in |
| 34 | theorem kernelSchemePullbackIso_inclusion : |
| 35 | (kernelSchemePullbackIso q).hom ≫ PoincareBundle.Kernel.Scheme.kernelInclusion q = Kernel.Construction.kernelInclusion q := |
| 36 | (Kernel.Construction.kernelScheme_isPullback q).isoPullback_hom_fst |
| 37 | |
| 38 | instance kernelSchemePullbackIso_inv_isMonHom : IsMonHom (kernelSchemePullbackIso q).inv := |
| 39 | CategoryTheory.isMonHom_ofIso (kernelSchemePullbackIso q).symm |
| 40 | |
| 41 | instance kernelSchemePullbackIso_hom_isMonHom : IsMonHom (kernelSchemePullbackIso q).hom := |
| 42 | inferInstanceAs (IsMonHom (kernelSchemePullbackIso q).symm.inv) |
| 43 | |
| 44 | instance kernelInclusion_isMonHom : IsMonHom (Kernel.Construction.kernelInclusion q) := by |
| 45 | rw [← kernelSchemePullbackIso_inclusion q] |
| 46 | infer_instance |
| 47 | |
| 48 | instance kernelInclusion_mono : Mono (Kernel.Construction.kernelInclusion q) := |
| 49 | inferInstanceAs (Mono (equalizer.ι q 1)) |
| 50 | |
| 51 | instance kernelSchemeGroup_commutative [IsCommMonObj A] : IsCommMonObj (Kernel.Construction.kernelScheme q) := by |
| 52 | apply (isCommMonObj_iff_isMulCommutative _).mpr |
| 53 | intro T |
| 54 | refine ⟨⟨fun x y => ?_⟩⟩ |
| 55 | apply (cancel_mono (Kernel.Construction.kernelInclusion q)).mp |
| 56 | rw [MonObj.mul_comp, MonObj.mul_comp, mul_comm] |
| 57 | |
| 58 | omit [GrpObj A] [IsMonHom q] in |
| 59 | theorem kernelInclusion_comp : Kernel.Construction.kernelInclusion q ≫ q = 1 := by |
| 60 | change equalizer.ι q 1 ≫ q = 1 |
| 61 | rw [equalizer.condition] |
| 62 | exact MonObj.comp_one _ |
| 63 | |
| 64 | theorem relativeFrobenius_kernel_frobenius |
| 65 | (p : ℕ) (hp : p.Prime) (hS : (p : Γ(S, ⊤)) = 0) (A : Over S) [GrpObj A] : |
| 66 | Frobenius.Construction.relativeFrobenius p hp hS (Kernel.Construction.kernelScheme (Frobenius.Construction.relativeFrobenius p hp hS A)) = 1 := by |
| 67 | let F := Frobenius.Construction.relativeFrobenius p hp hS A |
| 68 | let i := Kernel.Construction.kernelInclusion F |
| 69 | let P := Over.pullback (Frobenius.Construction.absoluteFrobenius p hp S hS) |
| 70 | let j : Frobenius.Construction.frobeniusTwist p hp hS (Kernel.Construction.kernelScheme F) ⟶ Frobenius.Construction.frobeniusTwist p hp hS A := P.map i |
| 71 | have : Mono j := inferInstanceAs (Mono (P.map i)) |
| 72 | have : IsMonHom j := Functor.map.instIsMonHom (F := P) (f := i) (Kernel.Construction.kernelScheme F) A |
| 73 | apply (cancel_mono j).mp |
| 74 | have hn := (Group.Construction.relativeFrobeniusNat p hp hS).naturality i |
| 75 | exact hn.symm.trans ((kernelInclusion_comp F).trans (MonObj.one_comp j).symm) |
| 76 | |
| 77 | end Construction |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.KernelGroup |