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.AbelianModuli.HilbertConstruction.Isogenies |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TorsionScheme |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Etale |
| 4 | |
| 5 | /-! # Isogeny Kernel Scheme -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.IsogenyKernelScheme |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual zero fiber represents the kernel functor of an isogeny. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | universe u |
| 17 | variable {g h : ℕ} {S : Scheme.{u}} {A : OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} {B : OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h S} |
| 18 | (p : OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) |
| 19 | |
| 20 | def isogenyKernelPullback {T U : Over S} (f : T ⟶ U) : p.kernelAt U →* p.kernelAt T where |
| 21 | toFun x := ⟨f ≫ x.val, by |
| 22 | change (f ≫ x.val) ≫ p.hom = 1 |
| 23 | rw [Category.assoc, show x.val ≫ p.hom = 1 from x.property, MonObj.comp_one]⟩ |
| 24 | map_one' := Subtype.ext (MonObj.comp_one f) |
| 25 | map_mul' x y := Subtype.ext (MonObj.comp_mul f x.val y.val) |
| 26 | |
| 27 | def isogenyKernelFunctor : (Over S)ᵒᵖ ⥤ GrpCat.{u} where |
| 28 | obj T := GrpCat.of (p.kernelAt T.unop) |
| 29 | map f := GrpCat.ofHom (isogenyKernelPullback p f.unop) |
| 30 | map_id T := by |
| 31 | apply GrpCat.hom_ext |
| 32 | apply MonoidHom.ext |
| 33 | intro x |
| 34 | exact Subtype.ext (Category.id_comp x.val) |
| 35 | map_comp f h := by |
| 36 | apply GrpCat.hom_ext |
| 37 | apply MonoidHom.ext |
| 38 | intro x |
| 39 | exact Subtype.ext (Category.assoc _ _ x.val) |
| 40 | |
| 41 | def isogenyKernelScheme : Over S := Over.mk (pullback.snd p.hom.left η[B.scheme].left) |
| 42 | |
| 43 | def isogenyKernelInclusion : isogenyKernelScheme p ⟶ A.scheme := |
| 44 | Over.homMk (pullback.fst p.hom.left η[B.scheme].left) (by |
| 45 | have hz := η[B.scheme].w |
| 46 | change η[B.scheme].left ≫ B.scheme.hom = 𝟙 S at hz |
| 47 | calc |
| 48 | _ = pullback.fst p.hom.left η[B.scheme].left ≫ p.hom.left ≫ B.scheme.hom := |
| 49 | congrArg (fun a => _ ≫ a) p.hom.w.symm |
| 50 | _ = pullback.snd p.hom.left η[B.scheme].left ≫ η[B.scheme].left ≫ B.scheme.hom := |
| 51 | pullback.condition_assoc B.scheme.hom |
| 52 | _ = _ := (congrArg (fun a => pullback.snd p.hom.left η[B.scheme].left ≫ a) hz).trans |
| 53 | (Category.comp_id _)) |
| 54 | |
| 55 | theorem isogenyKernelInclusion_comp : isogenyKernelInclusion p ≫ p.hom = 1 := |
| 56 | Over.OverMorphism.ext pullback.condition |
| 57 | |
| 58 | def isogenyKernelPointsEquiv (T : Over S) : |
| 59 | (T ⟶ isogenyKernelScheme p) ≃ p.kernelAt T where |
| 60 | toFun t := ⟨t ≫ isogenyKernelInclusion p, by |
| 61 | change (t ≫ isogenyKernelInclusion p) ≫ p.hom = 1 |
| 62 | rw [Category.assoc, isogenyKernelInclusion_comp, MonObj.comp_one]⟩ |
| 63 | invFun x := Over.homMk (pullback.lift x.val.left T.hom |
| 64 | (congrArg (fun a : B.Points T => a.left) x.property)) (pullback.lift_snd _ _ _) |
| 65 | left_inv t := by |
| 66 | apply Over.OverMorphism.ext |
| 67 | apply pullback.hom_ext |
| 68 | · exact pullback.lift_fst _ _ _ |
| 69 | · exact (pullback.lift_snd _ _ _).trans t.w.symm |
| 70 | right_inv x := by |
| 71 | apply Subtype.ext |
| 72 | apply Over.OverMorphism.ext |
| 73 | exact pullback.lift_fst _ _ _ |
| 74 | |
| 75 | def isogenyKernelRepresentable : |
| 76 | (isogenyKernelFunctor p ⋙ forget GrpCat).RepresentableBy (isogenyKernelScheme p) where |
| 77 | homEquiv := isogenyKernelPointsEquiv p _ |
| 78 | homEquiv_comp h t := Subtype.ext (Category.assoc h t (isogenyKernelInclusion p)) |
| 79 | |
| 80 | instance isogenyKernelScheme_group : GrpObj (isogenyKernelScheme p) := |
| 81 | GrpObj.ofRepresentableBy (isogenyKernelScheme p) (isogenyKernelFunctor p) (isogenyKernelRepresentable p) |
| 82 | |
| 83 | def isogenyKernelYonedaIso : yonedaGrpObj (isogenyKernelScheme p) ≅ isogenyKernelFunctor p := |
| 84 | yonedaGrpObjIsoOfRepresentableBy (isogenyKernelScheme p) (isogenyKernelFunctor p) |
| 85 | (isogenyKernelRepresentable p) |
| 86 | |
| 87 | instance isogenyKernelScheme_finite : IsFinite (isogenyKernelScheme p).hom := |
| 88 | inferInstanceAs (IsFinite (pullback.snd p.hom.left η[B.scheme].left)) |
| 89 | |
| 90 | instance isogenyKernelScheme_etale [Etale p.hom.left] : Etale (isogenyKernelScheme p).hom := |
| 91 | inferInstanceAs (Etale (pullback.snd p.hom.left η[B.scheme].left)) |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.RepresentationTheory.Theta.Geometric.IsogenyKernelScheme |