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.IsogenyQuotient.Subgroup |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.GroupMaps |
| 3 | |
| 4 | /-! # Inclusion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.Inclusion.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | The finite subgroup model embeds as a closed group subscheme of the |
| 12 | base-changed abelian scheme. Both group laws come from their actual functors |
| 13 | of points, and compatibility of the inclusion with them is proved. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {S : Scheme.{u}} {A P : Over S} [GrpObj A] [IsCommMonObj A] |
| 23 | |
| 24 | local instance : CartesianMonoidalCategory (Over P) := Over.cartesianMonoidalCategory P |
| 25 | local instance : BraidedCategory (Over P) := Over.braidedCategory P |
| 26 | |
| 27 | /-- All sections of the base-changed ambient group. -/ |
| 28 | def fullRelativeSubgroup (A P : Over S) [GrpObj A] : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P where |
| 29 | points _ _ := ⊤ |
| 30 | naturality := by |
| 31 | intro X Y f t a ha |
| 32 | trivial |
| 33 | |
| 34 | def ambientPointGroups_representable : |
| 35 | (Subgroup.Construction.relativePointGroups (fullRelativeSubgroup A P) ⋙ forget CommGrpCat).RepresentableBy |
| 36 | (Over.mk (fst P A)) := by |
| 37 | let toPoint {X : Over P} (h : X ⟶ Over.mk (fst P A)) : |
| 38 | (fullRelativeSubgroup A P).points X.left X.hom := ⟨h.left ≫ snd P A, trivial⟩ |
| 39 | have hinj (X : Over P) : Function.Injective (@toPoint X) := by |
| 40 | intro h k hhk |
| 41 | apply Over.OverMorphism.ext |
| 42 | apply hom_ext |
| 43 | · exact h.w.trans k.w.symm |
| 44 | · exact congrArg Subtype.val hhk |
| 45 | have hsurj (X : Over P) : Function.Surjective (@toPoint X) := by |
| 46 | intro a |
| 47 | exact ⟨Over.homMk (lift X.hom a.val) (lift_fst _ _), Subtype.ext (lift_snd _ _)⟩ |
| 48 | refine { |
| 49 | homEquiv := fun {X} => Equiv.ofBijective (@toPoint X) ⟨hinj X, hsurj X⟩ |
| 50 | homEquiv_comp := ?_ |
| 51 | } |
| 52 | intro X X' f g |
| 53 | apply Subtype.ext |
| 54 | change (f.left ≫ g.left) ≫ snd P A = f.left ≫ (g.left ≫ snd P A) |
| 55 | exact Category.assoc _ _ _ |
| 56 | |
| 57 | def relativeAmbientCommGroup : CommGrp (Over P) := by |
| 58 | letI : CommGrpObj (Over.mk (fst P A)) := |
| 59 | CommGrpObj.ofRepresentableBy (Over.mk (fst P A)) |
| 60 | (Subgroup.Construction.relativePointGroups (fullRelativeSubgroup A P)) ambientPointGroups_representable |
| 61 | exact CommGrp.mk (Over.mk (fst P A)) |
| 62 | |
| 63 | /-- Inclusion of the subgroup's point groups into the ambient point groups. -/ |
| 64 | def relativePointInclusion (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) : |
| 65 | Subgroup.Construction.relativePointGroups F ⟶ Subgroup.Construction.relativePointGroups (fullRelativeSubgroup A P) where |
| 66 | app _ := CommGrpCat.ofHom { |
| 67 | toFun a := ⟨a.val, trivial⟩ |
| 68 | map_one' := rfl |
| 69 | map_mul' _ _ := rfl |
| 70 | } |
| 71 | naturality _ _ _ := rfl |
| 72 | |
| 73 | def relativeModelInclusion |
| 74 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) (R : F.Model) : |
| 75 | (Subgroup.Construction.relativeModelCommGroup F R).X ⟶ (relativeAmbientCommGroup (A := A) (P := P)).X := |
| 76 | Over.homMk (lift R.toBase R.toGroup) (lift_fst _ _) |
| 77 | |
| 78 | /-- The geometric inclusion respects the group laws supplied by Yoneda. -/ |
| 79 | theorem relativeModelInclusion_isMonHom |
| 80 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) (R : F.Model) : |
| 81 | IsMonHom (relativeModelInclusion F R) := by |
| 82 | apply GroupMaps.Construction.represented_group_map_isMonHom |
| 83 | (Subgroup.Construction.relativePointGroups F ⋙ forget₂ CommGrpCat GrpCat) |
| 84 | (Subgroup.Construction.relativePointGroups (fullRelativeSubgroup A P) ⋙ forget₂ CommGrpCat GrpCat) |
| 85 | (Subgroup.Construction.relativePointGroups_representable F R) ambientPointGroups_representable |
| 86 | (Functor.whiskerRight (relativePointInclusion F) (forget₂ CommGrpCat GrpCat)) |
| 87 | intro X x |
| 88 | apply Subtype.ext |
| 89 | change (x.left ≫ lift R.toBase R.toGroup) ≫ snd P A = x.left ≫ R.toGroup |
| 90 | rw [Category.assoc, lift_snd] |
| 91 | |
| 92 | def relativeSubgroupHom |
| 93 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) (R : F.Model) : |
| 94 | Subgroup.Construction.relativeModelCommGroup F R ⟶ relativeAmbientCommGroup (A := A) (P := P) := by |
| 95 | have : IsMonHom (relativeModelInclusion F R) := relativeModelInclusion_isMonHom F R |
| 96 | exact ⟨Grp.homMk (relativeModelInclusion F R)⟩ |
| 97 | |
| 98 | /-- The ambient family over the underlying parameter scheme. -/ |
| 99 | def ambientGroupScheme (A P : Over S) [GrpObj A] [IsCommMonObj A] : |
| 100 | CommGrp (Over P.left) := by |
| 101 | let e := Over.iteratedSliceEquiv P |
| 102 | letI : e.functor.Braided := Functor.Braided.ofChosenFiniteProducts e.functor |
| 103 | exact e.functor.mapCommGrp.obj (relativeAmbientCommGroup (A := A) (P := P)) |
| 104 | |
| 105 | /-- The actual inclusion of commutative group schemes over the parameter. -/ |
| 106 | def subgroupInclusion |
| 107 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) (R : F.Model) : |
| 108 | Subgroup.Construction.subgroupGroupScheme F R ⟶ ambientGroupScheme A P := by |
| 109 | let e := Over.iteratedSliceEquiv P |
| 110 | letI : e.functor.Braided := Functor.Braided.ofChosenFiniteProducts e.functor |
| 111 | exact e.functor.mapCommGrp.map (relativeSubgroupHom F R) |
| 112 | |
| 113 | theorem subgroupInclusion_underlying |
| 114 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) (R : F.Model) : |
| 115 | (subgroupInclusion F R).hom.hom.hom.left = (lift R.toBase R.toGroup).left := rfl |
| 116 | |
| 117 | /-- Thus FiniteDescent applies to the subgroup with its actual closed embedding, |
| 118 | rather than to an unrelated finite scheme with the same geometric points. -/ |
| 119 | theorem subgroupInclusion_closedImmersion |
| 120 | [IsSeparated A.hom] (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) (R : F.Model) : |
| 121 | IsClosedImmersion (subgroupInclusion F R).hom.hom.hom.left := by |
| 122 | rw [subgroupInclusion_underlying] |
| 123 | exact R.closedImmersion |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.Inclusion.Construction |