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.Constant.GroupMaps |
| 2 | |
| 3 | /-! # Group Isomorphisms -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.GroupIsomorphisms |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Isomorphisms of finite constant groups, including disconnected bases. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open scoped _root_.Topology |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {S : Scheme.{u}} {G H K : Type v} [Group G] [Group H] [Group K] |
| 17 | |
| 18 | @[simp] |
| 19 | theorem constantGroupMapAt_id (s : S) : |
| 20 | GroupMaps.constantGroupMapAt (𝟙 (GroupMaps.constantGroupFunctor S G)) s = MonoidHom.id G := rfl |
| 21 | |
| 22 | /-- Composition of natural maps agrees with composition of their pointwise label maps. -/ |
| 23 | theorem constantGroupMapAt_comp |
| 24 | (α : GroupMaps.constantGroupFunctor S G ⟶ GroupMaps.constantGroupFunctor S H) |
| 25 | (β : GroupMaps.constantGroupFunctor S H ⟶ GroupMaps.constantGroupFunctor S K) (s : S) : |
| 26 | GroupMaps.constantGroupMapAt (α ≫ β) s = (GroupMaps.constantGroupMapAt β s).comp (GroupMaps.constantGroupMapAt α s) := by |
| 27 | apply MonoidHom.ext |
| 28 | intro g |
| 29 | exact GroupMaps.constantGroupMap_apply β (Over.mk (𝟙 S)) |
| 30 | (α.app (.op (Over.mk (𝟙 S))) (LocallyConstant.const S g)) s |
| 31 | |
| 32 | @[simp] |
| 33 | theorem constantGroupMapAt_ofLabels (a : LocallyConstant S (G →* H)) (s : S) : |
| 34 | GroupMaps.constantGroupMapAt (GroupMaps.constantGroupMapOfLabels a) s = a s := rfl |
| 35 | |
| 36 | /-- A natural isomorphism gives an isomorphism of label groups at every base point. -/ |
| 37 | def constantGroupIsoAt (e : GroupMaps.constantGroupFunctor S G ≅ GroupMaps.constantGroupFunctor S H) (s : S) : |
| 38 | G ≃* H where |
| 39 | toFun := GroupMaps.constantGroupMapAt e.hom s |
| 40 | invFun := GroupMaps.constantGroupMapAt e.inv s |
| 41 | left_inv g := congrArg (fun a : G →* G => a g) |
| 42 | ((constantGroupMapAt_comp e.hom e.inv s).symm.trans |
| 43 | ((congrArg (fun a => GroupMaps.constantGroupMapAt a s) e.hom_inv_id).trans (constantGroupMapAt_id s))) |
| 44 | right_inv h := congrArg (fun a : H →* H => a h) |
| 45 | ((constantGroupMapAt_comp e.inv e.hom s).symm.trans |
| 46 | ((congrArg (fun a => GroupMaps.constantGroupMapAt a s) e.inv_hom_id).trans (constantGroupMapAt_id s))) |
| 47 | map_mul' := (GroupMaps.constantGroupMapAt e.hom s).map_mul |
| 48 | |
| 49 | /-- With finite labels, the isomorphism of label groups is locally constant on the base. -/ |
| 50 | def constantGroupIsoLabels [Finite G] |
| 51 | (e : GroupMaps.constantGroupFunctor S G ≅ GroupMaps.constantGroupFunctor S H) : |
| 52 | LocallyConstant S (G ≃* H) where |
| 53 | toFun := constantGroupIsoAt e |
| 54 | isLocallyConstant := by |
| 55 | apply (IsLocallyConstant.iff_eventually_eq _).mpr |
| 56 | intro s |
| 57 | exact ((GroupMaps.constantGroupMapLabels e.hom).isLocallyConstant.eventually_eq s).mono |
| 58 | (fun _ h => MulEquiv.ext (fun g => congrArg (fun a : G →* H => a g) h)) |
| 59 | |
| 60 | /-- A locally constant family of label isomorphisms gives a natural group isomorphism. -/ |
| 61 | def constantGroupIsoOfLabels (a : LocallyConstant S (G ≃* H)) : |
| 62 | GroupMaps.constantGroupFunctor S G ≅ GroupMaps.constantGroupFunctor S H where |
| 63 | hom := GroupMaps.constantGroupMapOfLabels (a.map MulEquiv.toMonoidHom) |
| 64 | inv := GroupMaps.constantGroupMapOfLabels (a.map (fun e => e.symm.toMonoidHom)) |
| 65 | hom_inv_id := by |
| 66 | apply GroupMaps.constantGroupMap_ext |
| 67 | intro s |
| 68 | apply MonoidHom.ext |
| 69 | intro g |
| 70 | exact (congrArg (fun b : G →* G => b g) (constantGroupMapAt_comp _ _ s)).trans |
| 71 | ((a s).symm_apply_apply g) |
| 72 | inv_hom_id := by |
| 73 | apply GroupMaps.constantGroupMap_ext |
| 74 | intro s |
| 75 | apply MonoidHom.ext |
| 76 | intro h |
| 77 | exact (congrArg (fun b : H →* H => b h) (constantGroupMapAt_comp _ _ s)).trans |
| 78 | ((a s).apply_symm_apply h) |
| 79 | |
| 80 | /-- The full isomorphism set of two constant group functors is the set of locally constant |
| 81 | families of isomorphisms of their finite label groups. -/ |
| 82 | def constantGroupIsoEquiv [Finite G] : |
| 83 | (GroupMaps.constantGroupFunctor S G ≅ GroupMaps.constantGroupFunctor S H) ≃ LocallyConstant S (G ≃* H) where |
| 84 | toFun := constantGroupIsoLabels |
| 85 | invFun := constantGroupIsoOfLabels |
| 86 | left_inv e := by |
| 87 | apply Iso.ext |
| 88 | apply GroupMaps.constantGroupMap_ext |
| 89 | intro s |
| 90 | apply MonoidHom.ext |
| 91 | intro g |
| 92 | rfl |
| 93 | right_inv a := by |
| 94 | apply LocallyConstant.ext |
| 95 | intro s |
| 96 | apply MulEquiv.ext |
| 97 | intro g |
| 98 | rfl |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.GroupIsomorphisms |