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 Mathlib.CategoryTheory.Limits.Constructions.Over.Connected |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterSheaf |
| 3 | import Mathlib.CategoryTheory.Comma.Over.Pullback |
| 4 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Over |
| 5 | |
| 6 | /-! # Slice Characters -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.SliceCharacters |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # CartierDuality: characters on a test scheme |
| 14 | |
| 15 | Restricted group-valued functors of points are represented in the slice |
| 16 | category. The group structure is recovered from the represented functor, |
| 17 | so no additional assumption about a character representation is introduced. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 21 | open scoped _root_.CategoryTheory.MonObj |
| 22 | open scoped _root_.CategoryTheory.Obj |
| 23 | |
| 24 | attribute [local instance] Over.cartesianMonoidalCategory |
| 25 | |
| 26 | universe u v |
| 27 | |
| 28 | namespace Construction.Slices |
| 29 | |
| 30 | variable {C : Type u} [Category.{v} C] [CartesianMonoidalCategory C] [HasPullbacks C] |
| 31 | |
| 32 | instance e56StarMonoidal (T : C) : (Over.star T).Monoidal := |
| 33 | Functor.Monoidal.ofChosenFiniteProducts _ |
| 34 | |
| 35 | /-- Group-valued points restricted to objects over T. -/ |
| 36 | abbrev sliceGroupPoints (T : C) (G : Grp C) : (Over T)ᵒᵖ ⥤ GrpCat.{v} := |
| 37 | (Over.forget T).op ⋙ yonedaGrp.obj G |
| 38 | |
| 39 | /-- The forgetful/product adjunction represents the restricted point functor. -/ |
| 40 | def sliceGroupRepresentation (T : C) (G : Grp C) : |
| 41 | (sliceGroupPoints T G ⋙ forget GrpCat).RepresentableBy ((Over.star T).obj G.X) := |
| 42 | Functor.representableByEquiv.symm ((Over.forgetAdjStar T).compYonedaIso.app G.X) |
| 43 | |
| 44 | /-- The base change of G as the group object representing its restricted |
| 45 | functor of points. Its underlying object is T × G → T. -/ |
| 46 | def sliceGroup (T : C) (G : Grp C) : Grp (Over T) := by |
| 47 | let X := (Over.star T).obj G.X |
| 48 | letI : GrpObj X := GrpObj.ofRepresentableBy X (sliceGroupPoints T G) |
| 49 | (sliceGroupRepresentation T G) |
| 50 | exact Grp.mk X |
| 51 | |
| 52 | /-- The representing isomorphism respects the group structure. -/ |
| 53 | def sliceGroupPointIso (T : C) (G : Grp C) : |
| 54 | sliceGroupPoints T G ≅ yonedaGrp.obj (sliceGroup T G) := |
| 55 | (yonedaGrpObjIsoOfRepresentableBy ((Over.star T).obj G.X) |
| 56 | (sliceGroupPoints T G) (sliceGroupRepresentation T G)).symm |
| 57 | |
| 58 | /-- The product adjunction on points preserves the group law supplied by |
| 59 | the ordinary pullback group construction. -/ |
| 60 | def starPointMulEquiv (T : C) (G : Grp C) (U : Over T) : |
| 61 | ((Over.forget T).obj U ⟶ G.X) ≃* (U ⟶ (Over.star T).obj G.X) where |
| 62 | toEquiv := (Over.forgetAdjStar T).homEquiv U G.X |
| 63 | map_mul' f g := by |
| 64 | change (Over.forgetAdjStar T).unit.app U ≫ (Over.star T).map (f * g) = |
| 65 | ((Over.forgetAdjStar T).unit.app U ≫ (Over.star T).map f) * |
| 66 | ((Over.forgetAdjStar T).unit.app U ≫ (Over.star T).map g) |
| 67 | rw [Functor.map_mul, MonObj.comp_mul] |
| 68 | |
| 69 | /-- Restricted group-valued points are represented by the native image |
| 70 | under the product functor, with its native group structure. -/ |
| 71 | def starGroupPointIso (T : C) (G : Grp C) : |
| 72 | sliceGroupPoints T G ≅ yonedaGrp.obj ((Over.star T).mapGrp.obj G) := |
| 73 | NatIso.ofComponents (fun U => (starPointMulEquiv T G U.unop).toGrpIso) (by |
| 74 | intro U V f |
| 75 | apply GrpCat.hom_ext |
| 76 | apply MonoidHom.ext |
| 77 | intro g |
| 78 | exact (Over.forgetAdjStar T).homEquiv_naturality_left f.unop g) |
| 79 | |
| 80 | omit [HasPullbacks C] in |
| 81 | /-- A restricted natural group homomorphism is evaluated by pulling back |
| 82 | its value at the universal point of T × G. -/ |
| 83 | theorem sliceNatTrans_apply (T : C) (G K : Grp C) |
| 84 | (χ : sliceGroupPoints T G ⟶ sliceGroupPoints T K) |
| 85 | (U : Over T) (f : U.left ⟶ G.X) : |
| 86 | χ.app (Opposite.op U) f = |
| 87 | ((Over.forgetAdjStar T).homEquiv U G.X f).left ≫ |
| 88 | χ.app (Opposite.op ((Over.star T).obj G.X)) Limits.prod.snd := by |
| 89 | let k := (Over.forgetAdjStar T).homEquiv U G.X f |
| 90 | have hk : k.left ≫ Limits.prod.snd = f := by |
| 91 | have h := ((Over.forgetAdjStar T).homEquiv U G.X).symm_apply_apply f |
| 92 | simp only [Adjunction.homEquiv_counit, Over.forget_map, |
| 93 | Over.forgetAdjStar_counit_app] at h |
| 94 | exact h |
| 95 | have h := congrArg |
| 96 | (fun p : (sliceGroupPoints T G).obj (Opposite.op ((Over.star T).obj G.X)) ⟶ |
| 97 | (sliceGroupPoints T K).obj (Opposite.op U) => p.hom Limits.prod.snd) |
| 98 | (χ.naturality k.op) |
| 99 | change χ.app (Opposite.op U) (k.left ≫ Limits.prod.snd) = |
| 100 | k.left ≫ χ.app (Opposite.op ((Over.star T).obj G.X)) Limits.prod.snd at h |
| 101 | exact (congrArg (fun g : U.left ⟶ G.X => χ.app (Opposite.op U) g) hk.symm).trans h |
| 102 | |
| 103 | omit [HasPullbacks C] in |
| 104 | /-- Equality of characters can be checked at the universal test point. -/ |
| 105 | theorem sliceNatTrans_ext (T : C) (G K : Grp C) |
| 106 | {χ ψ : sliceGroupPoints T G ⟶ sliceGroupPoints T K} |
| 107 | (h : χ.app (Opposite.op ((Over.star T).obj G.X)) Limits.prod.snd = |
| 108 | ψ.app (Opposite.op ((Over.star T).obj G.X)) Limits.prod.snd) : χ = ψ := by |
| 109 | ext U f |
| 110 | rw [sliceNatTrans_apply T G K χ U.unop f, sliceNatTrans_apply T G K ψ U.unop f, h] |
| 111 | |
| 112 | /-- Characters expressed directly through the native product functor. -/ |
| 113 | def starCharacterEquiv (T : C) (G K : Grp C) : |
| 114 | (sliceGroupPoints T G ⟶ sliceGroupPoints T K) ≃ |
| 115 | ((Over.star T).mapGrp.obj G ⟶ (Over.star T).mapGrp.obj K) := |
| 116 | (starGroupPointIso T G).homFromEquiv.trans <| |
| 117 | (starGroupPointIso T K).homToEquiv.trans <| |
| 118 | (yonedaGrpFullyFaithful (C := Over T)).homEquiv.symm |
| 119 | |
| 120 | /-- The group morphism corresponding to a character is obtained from its |
| 121 | value on the universal point by the product adjunction. -/ |
| 122 | theorem starCharacterEquiv_underlying (T : C) (G K : Grp C) |
| 123 | (χ : sliceGroupPoints T G ⟶ sliceGroupPoints T K) : |
| 124 | (starCharacterEquiv T G K χ).hom.hom = |
| 125 | (Over.forgetAdjStar T).homEquiv ((Over.star T).obj G.X) K.X |
| 126 | (χ.app (Opposite.op ((Over.star T).obj G.X)) Limits.prod.snd) := by |
| 127 | change (Over.forgetAdjStar T).homEquiv ((Over.star T).obj G.X) K.X |
| 128 | (χ.app (Opposite.op ((Over.star T).obj G.X)) |
| 129 | (((Over.forgetAdjStar T).homEquiv ((Over.star T).obj G.X) G.X).symm (𝟙 _))) = _ |
| 130 | rw [Adjunction.homEquiv_symm_id, Over.forgetAdjStar_counit_app] |
| 131 | |
| 132 | omit [HasPullbacks C] in |
| 133 | /-- Explicit underlying map in the product adjunction. -/ |
| 134 | theorem starAdjunction_homEquiv_left (T Y : C) (U : Over T) (f : U.left ⟶ Y) : |
| 135 | ((Over.forgetAdjStar T).homEquiv U Y f).left = Limits.prod.lift U.hom f := by |
| 136 | change ((Over.forgetAdjStar T).unit.app U).left ≫ ((Over.star T).map f).left = _ |
| 137 | simp only [Over.forgetAdjStar_unit_app_left, Over.star_map_left] |
| 138 | exact (Limits.prod.lift_map U.hom (𝟙 U.left) (𝟙 T) f).trans |
| 139 | (by rw [Category.comp_id, Category.id_comp]) |
| 140 | |
| 141 | /-- Projecting the represented group morphism to its second factor |
| 142 | recovers the original universal-point value of the character. -/ |
| 143 | theorem starCharacterEquiv_snd (T : C) (G K : Grp C) |
| 144 | (χ : sliceGroupPoints T G ⟶ sliceGroupPoints T K) : |
| 145 | (starCharacterEquiv T G K χ).hom.hom.left ≫ Limits.prod.snd = |
| 146 | χ.app (Opposite.op ((Over.star T).obj G.X)) Limits.prod.snd := by |
| 147 | have h1 := congrArg (fun f : (Over.star T).obj G.X ⟶ (Over.star T).obj K.X => |
| 148 | f.left ≫ Limits.prod.snd) (starCharacterEquiv_underlying T G K χ) |
| 149 | have h2 := congrArg (fun f : T ⨯ G.X ⟶ T ⨯ K.X => f ≫ Limits.prod.snd) |
| 150 | (starAdjunction_homEquiv_left T K.X ((Over.star T).obj G.X) |
| 151 | (χ.app (Opposite.op ((Over.star T).obj G.X)) Limits.prod.snd)) |
| 152 | exact h1.trans (h2.trans (Limits.prod.lift_snd _ _)) |
| 153 | |
| 154 | omit [HasPullbacks C] in |
| 155 | /-- Restricting a character along a test-scheme morphism pulls back its |
| 156 | universal-point value along the product of that morphism with G. -/ |
| 157 | theorem sliceNatTrans_restrict_universal {T U : C} (p : U ⟶ T) (G K : Grp C) |
| 158 | (χ : sliceGroupPoints T G ⟶ sliceGroupPoints T K) : |
| 159 | (Functor.whiskerLeft (Over.map p).op χ).app |
| 160 | (Opposite.op ((Over.star U).obj G.X)) Limits.prod.snd = |
| 161 | Limits.prod.map p (𝟙 G.X) ≫ |
| 162 | χ.app (Opposite.op ((Over.star T).obj G.X)) Limits.prod.snd := by |
| 163 | change χ.app (Opposite.op ((Over.map p).obj ((Over.star U).obj G.X))) |
| 164 | Limits.prod.snd = _ |
| 165 | have h := sliceNatTrans_apply T G K χ ((Over.map p).obj ((Over.star U).obj G.X)) |
| 166 | Limits.prod.snd |
| 167 | have hk : ((Over.forgetAdjStar T).homEquiv |
| 168 | ((Over.map p).obj ((Over.star U).obj G.X)) G.X Limits.prod.snd).left = |
| 169 | Limits.prod.map p (𝟙 G.X) := by |
| 170 | calc |
| 171 | _ = Limits.prod.lift (Limits.prod.fst ≫ p) Limits.prod.snd := by |
| 172 | have he : ((Over.star U).obj G.X).hom = (Limits.prod.fst : U ⨯ G.X ⟶ U) := by |
| 173 | simp only [Over.star_obj_hom] |
| 174 | exact Limits.prod.lift_fst _ _ |
| 175 | have hp : ((Over.map p).obj ((Over.star U).obj G.X)).hom = |
| 176 | Limits.prod.fst ≫ p := congrArg (fun q => q ≫ p) he |
| 177 | exact (starAdjunction_homEquiv_left T G.X |
| 178 | ((Over.map p).obj ((Over.star U).obj G.X)) Limits.prod.snd).trans |
| 179 | (congrArg (fun q : U ⨯ G.X ⟶ T => Limits.prod.lift q Limits.prod.snd) hp) |
| 180 | _ = _ := by |
| 181 | apply Limits.prod.hom_ext |
| 182 | · simp only [Limits.prod.lift_fst, Limits.prod.map_fst] |
| 183 | · simp only [Limits.prod.lift_snd, Limits.prod.map_snd, Category.comp_id] |
| 184 | exact h.trans (congrArg |
| 185 | (fun q : U ⨯ G.X ⟶ T ⨯ G.X => |
| 186 | q ≫ χ.app (Opposite.op ((Over.star T).obj G.X)) Limits.prod.snd) hk) |
| 187 | |
| 188 | /-- The group recovered from representability agrees with the native |
| 189 | group object obtained by the product functor. -/ |
| 190 | def sliceGroupNativeIso (T : C) (G : Grp C) : |
| 191 | sliceGroup T G ≅ (Over.star T).mapGrp.obj G := |
| 192 | (yonedaGrpFullyFaithful (C := Over T)).preimageIso |
| 193 | ((sliceGroupPointIso T G).symm ≪≫ starGroupPointIso T G) |
| 194 | |
| 195 | /-- Internal-Hom sections over T are actual morphisms of the base-changed |
| 196 | group objects over T. -/ |
| 197 | def sliceCharacterEquiv (T : C) (G K : Grp C) : |
| 198 | (sliceGroupPoints T G ⟶ sliceGroupPoints T K) ≃ |
| 199 | (sliceGroup T G ⟶ sliceGroup T K) := |
| 200 | (sliceGroupPointIso T G).homFromEquiv.trans <| |
| 201 | (sliceGroupPointIso T K).homToEquiv.trans <| |
| 202 | (yonedaGrpFullyFaithful (C := Over T)).homEquiv.symm |
| 203 | |
| 204 | end Construction.Slices |
| 205 | |
| 206 | namespace Construction.Schemes |
| 207 | |
| 208 | open _root_.AlgebraicGeometry |
| 209 | |
| 210 | instance e56IteratedSliceForwardMonoidal |
| 211 | (S : Scheme.{u}) (T : Over S) : T.iteratedSliceForward.Monoidal := by |
| 212 | have : T.iteratedSliceForward.IsEquivalence := |
| 213 | inferInstanceAs (T.iteratedSliceEquiv.functor.IsEquivalence) |
| 214 | exact Functor.Monoidal.ofChosenFiniteProducts _ |
| 215 | |
| 216 | /-- The product right adjoint in the slice, followed by the double-slice |
| 217 | equivalence, is the ordinary scheme pullback functor. -/ |
| 218 | def sliceProductPullbackIso (S : Scheme.{u}) (T : Over S) : |
| 219 | Over.star T ⋙ T.iteratedSliceForward ≅ Over.pullback T.hom := |
| 220 | (T.iteratedSliceEquiv.symm.toAdjunction.comp (Over.forgetAdjStar T)).rightAdjointUniq |
| 221 | (Over.mapPullbackAdj T.hom) |
| 222 | |
| 223 | /-- The comparison between product in the slice and native pullback |
| 224 | preserves the projection to the original scheme. -/ |
| 225 | theorem sliceProductPullbackIso_fst (S : Scheme.{u}) (T Y : Over S) : |
| 226 | ((sliceProductPullbackIso S T).hom.app Y).left ≫ Limits.pullback.fst Y.hom T.hom = |
| 227 | (Limits.prod.snd : T ⨯ Y ⟶ Y).left := by |
| 228 | have h := (T.iteratedSliceEquiv.symm.toAdjunction.comp (Over.forgetAdjStar T)).rightAdjointUniq_hom_app_counit |
| 229 | (Over.mapPullbackAdj T.hom) Y |
| 230 | have h' := congrArg |
| 231 | (fun f : (Over.map T.hom).obj ((Over.star T ⋙ T.iteratedSliceForward).obj Y) ⟶ Y => f.left) h |
| 232 | simp only [Adjunction.comp_counit_app, Over.mapPullbackAdj_counit_app, |
| 233 | Over.forgetAdjStar_counit_app] at h' |
| 234 | change ((sliceProductPullbackIso S T).hom.app Y).left ≫ Limits.pullback.fst Y.hom T.hom = |
| 235 | 𝟙 _ ≫ (Limits.prod.snd : T ⨯ Y ⟶ Y).left at h' |
| 236 | exact h'.trans (Category.id_comp _) |
| 237 | |
| 238 | /-- The group over a test scheme recovered from its restricted functor of |
| 239 | points, expressed in the ordinary category of schemes over that test scheme. -/ |
| 240 | def testSchemeGroup (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) : |
| 241 | Grp (Over T.left) := |
| 242 | T.iteratedSliceForward.mapGrp.obj (Slices.sliceGroup T G) |
| 243 | |
| 244 | /-- Its underlying scheme is canonically the scheme-theoretic pullback. -/ |
| 245 | def testSchemeGroup_underlyingIso |
| 246 | (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) : |
| 247 | (testSchemeGroup S G T).X ≅ (Over.pullback T.hom).obj G.X := |
| 248 | (sliceProductPullbackIso S T).app G.X |
| 249 | |
| 250 | /-- The comparison is an isomorphism of group schemes, including their |
| 251 | group laws, rather than only an isomorphism of underlying schemes. -/ |
| 252 | def starSchemeGroup_pullbackIso |
| 253 | (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) : |
| 254 | T.iteratedSliceForward.mapGrp.obj ((Over.star T).mapGrp.obj G) ≅ |
| 255 | (Over.pullback T.hom).mapGrp.obj G := |
| 256 | (Functor.mapGrpCompIso (F := Over.star T) (G := T.iteratedSliceForward)).symm.app G ≪≫ |
| 257 | (Functor.mapGrpNatIso (sliceProductPullbackIso S T)).app G |
| 258 | |
| 259 | /-- The group-scheme comparison uses the same underlying scheme map as |
| 260 | the product/pullback adjunction comparison. -/ |
| 261 | theorem starSchemeGroup_pullbackIso_hom_left |
| 262 | (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) : |
| 263 | (starSchemeGroup_pullbackIso S G T).hom.hom.hom.left = |
| 264 | ((sliceProductPullbackIso S T).hom.app G.X).left := by |
| 265 | change (𝟙 _ ≫ (sliceProductPullbackIso S T).hom.app G.X).left = _ |
| 266 | change 𝟙 _ ≫ ((sliceProductPullbackIso S T).hom.app G.X).left = _ |
| 267 | exact Category.id_comp _ |
| 268 | |
| 269 | /-- The representability construction agrees with native pullback as a |
| 270 | group scheme. -/ |
| 271 | def testSchemeGroup_pullbackIso |
| 272 | (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) : |
| 273 | testSchemeGroup S G T ≅ (Over.pullback T.hom).mapGrp.obj G := |
| 274 | T.iteratedSliceForward.mapGrp.mapIso (Slices.sliceGroupNativeIso T G) ≪≫ |
| 275 | starSchemeGroup_pullbackIso S G T |
| 276 | |
| 277 | /-- Pulling back the integral multiplicative-group model is independent |
| 278 | of the intermediate base scheme. -/ |
| 279 | theorem pullback_eqIso_inv_fst {S T : Scheme.{u}} (f g : T ⟶ S) (h : f = g) |
| 280 | (G : Grp (Over S)) : |
| 281 | ((Functor.mapGrpNatIso (eqToIso (congrArg (fun k : T ⟶ S => Over.pullback k) h))).inv.app G).hom.hom.left ≫ |
| 282 | Limits.pullback.fst G.X.hom f = Limits.pullback.fst G.X.hom g := by |
| 283 | cases h |
| 284 | change 𝟙 _ ≫ Limits.pullback.fst G.X.hom f = _ |
| 285 | exact Category.id_comp _ |
| 286 | |
| 287 | /-- The canonical comparison of successive pullbacks preserves the |
| 288 | composite projection to the original scheme. -/ |
| 289 | theorem pullbackComp_hom_fst {B S T : Scheme.{u}} (f : T ⟶ S) (g : S ⟶ B) (Y : Over B) : |
| 290 | ((Over.pullbackComp f g).hom.app Y).left ≫ |
| 291 | Limits.pullback.fst (Limits.pullback.snd Y.hom g) f ≫ Limits.pullback.fst Y.hom g = |
| 292 | Limits.pullback.fst Y.hom (f ≫ g) := by |
| 293 | have h := conjugateEquiv_counit (Over.mapPullbackAdj (f ≫ g)) |
| 294 | ((Over.mapPullbackAdj f).comp (Over.mapPullbackAdj g)) (Over.mapComp f g).inv Y |
| 295 | have h' := congrArg |
| 296 | (fun h : (Over.map f ⋙ Over.map g).obj ((Over.pullback (f ≫ g)).obj Y) ⟶ Y => h.left) h |
| 297 | simp only [Adjunction.comp_counit_app, Over.mapPullbackAdj_counit_app] at h' |
| 298 | change ((Over.pullbackComp f g).hom.app Y).left ≫ |
| 299 | Limits.pullback.fst (Limits.pullback.snd Y.hom g) f ≫ Limits.pullback.fst Y.hom g = |
| 300 | 𝟙 _ ≫ Limits.pullback.fst Y.hom (f ≫ g) at h' |
| 301 | exact h'.trans (Category.id_comp _) |
| 302 | |
| 303 | /-- Pulling back the integral multiplicative-group model is independent |
| 304 | of the intermediate base scheme. -/ |
| 305 | def multiplicativeGroup_pullbackFunctorIso |
| 306 | {S T : Scheme.{u}} (f : T ⟶ S) : |
| 307 | Over.pullback (specULiftZIsTerminal.from S) ⋙ Over.pullback f ≅ |
| 308 | Over.pullback (specULiftZIsTerminal.from T) := |
| 309 | (Over.pullbackComp f (specULiftZIsTerminal.from S)).symm ≪≫ |
| 310 | eqToIso (congrArg (fun g : T ⟶ Spec (CommRingCat.of (ULift.{u} ℤ)) => Over.pullback g) |
| 311 | (specULiftZIsTerminal.hom_ext _ _)) |
| 312 | |
| 313 | /-- The multiplicative group commutes with arbitrary scheme base change. -/ |
| 314 | def multiplicativeGroup_pullbackIso {S T : Scheme.{u}} (f : T ⟶ S) : |
| 315 | (Over.pullback f).mapGrp.obj (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) ≅ |
| 316 | CharacterSheaf.Construction.Schemes.multiplicativeGroupOver T := |
| 317 | (Functor.mapGrpCompIso (F := Over.pullback (specULiftZIsTerminal.from S)) |
| 318 | (G := Over.pullback f)).symm.app (Characters.Construction.multiplicativeGroupScheme (ULift.{u} ℤ)) ≪≫ |
| 319 | (Functor.mapGrpNatIso (multiplicativeGroup_pullbackFunctorIso f)).app |
| 320 | (Characters.Construction.multiplicativeGroupScheme (ULift.{u} ℤ)) |
| 321 | |
| 322 | /-- Projection of the relative multiplicative group to its integral model. -/ |
| 323 | def multiplicativeGroupToIntegral (S : Scheme.{u}) : |
| 324 | (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X.left ⟶ (Characters.Construction.multiplicativeGroupScheme (ULift.{u} ℤ)).X.left := |
| 325 | Limits.pullback.fst (Characters.Construction.multiplicativeGroupScheme (ULift.{u} ℤ)).X.hom |
| 326 | (specULiftZIsTerminal.from S) |
| 327 | |
| 328 | /-- The multiplicative-group base-change isomorphism preserves the |
| 329 | projection to the integral model, for arbitrary base schemes. -/ |
| 330 | theorem multiplicativeGroup_pullbackIso_inv_integralProjection |
| 331 | {S T : Scheme.{u}} (f : T ⟶ S) : |
| 332 | (multiplicativeGroup_pullbackIso f).inv.hom.hom.left ≫ |
| 333 | Limits.pullback.fst (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X.hom f ≫ |
| 334 | multiplicativeGroupToIntegral S = multiplicativeGroupToIntegral T := by |
| 335 | let G₀ := Characters.Construction.multiplicativeGroupScheme (ULift.{u} ℤ) |
| 336 | let g := specULiftZIsTerminal.from S |
| 337 | have h : f ≫ g = specULiftZIsTerminal.from T := specULiftZIsTerminal.hom_ext _ _ |
| 338 | let i : Over.pullback (f ≫ g) ≅ Over.pullback (specULiftZIsTerminal.from T) := |
| 339 | eqToIso (congrArg (fun k : T ⟶ Spec (CommRingCat.of (ULift.{u} ℤ)) => Over.pullback k) h) |
| 340 | change ((Functor.mapGrpNatIso i).inv.app G₀).hom.hom.left ≫ |
| 341 | ((Over.pullbackComp f g).hom.app G₀.X).left ≫ |
| 342 | Limits.pullback.fst (Limits.pullback.snd G₀.X.hom g) f ≫ |
| 343 | Limits.pullback.fst G₀.X.hom g = _ |
| 344 | exact (congrArg (fun k => ((Functor.mapGrpNatIso i).inv.app G₀).hom.hom.left ≫ k) |
| 345 | (pullbackComp_hom_fst f g G₀.X)).trans |
| 346 | (pullback_eqIso_inv_fst (f ≫ g) (specULiftZIsTerminal.from T) h G₀) |
| 347 | |
| 348 | /-- On a test scheme, the character sheaf classifies group morphisms in |
| 349 | the corresponding slice. The iterated slice is canonically equivalent |
| 350 | to the category of schemes over the underlying test scheme. -/ |
| 351 | def characterSheaf_sectionsEquiv |
| 352 | (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) : |
| 353 | (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj.obj (Opposite.op T) ≃ |
| 354 | (Slices.sliceGroup T G ⟶ Slices.sliceGroup T (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S)) := |
| 355 | Slices.sliceCharacterEquiv T G (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) |
| 356 | |
| 357 | /-- Characters over a test scheme are actual group-scheme morphisms over |
| 358 | that scheme; the represented source and target have the pullback schemes |
| 359 | identified by `testSchemeGroup_underlyingIso`. -/ |
| 360 | def characterSheaf_sectionsOverEquiv |
| 361 | (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) : |
| 362 | (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj.obj (Opposite.op T) ≃ |
| 363 | (testSchemeGroup S G T ⟶ testSchemeGroup S (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) T) := by |
| 364 | let h : T.iteratedSliceForward.FullyFaithful := T.iteratedSliceEquiv.fullyFaithfulFunctor |
| 365 | exact (characterSheaf_sectionsEquiv S G T).trans h.mapGrp.homEquiv |
| 366 | |
| 367 | /-- The character sheaf on a test scheme classifies homomorphisms between |
| 368 | the native scheme-theoretic pullback group schemes. -/ |
| 369 | def characterSheaf_sectionsPullbackEquiv |
| 370 | (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) : |
| 371 | (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj.obj (Opposite.op T) ≃ |
| 372 | ((Over.pullback T.hom).mapGrp.obj G ⟶ |
| 373 | (Over.pullback T.hom).mapGrp.obj (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S)) := by |
| 374 | let h : T.iteratedSliceForward.FullyFaithful := T.iteratedSliceEquiv.fullyFaithfulFunctor |
| 375 | exact (Slices.starCharacterEquiv T G (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S)).trans <| |
| 376 | h.mapGrp.homEquiv.trans <| |
| 377 | (starSchemeGroup_pullbackIso S G T).homFromEquiv.trans <| |
| 378 | (starSchemeGroup_pullbackIso S (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) T).homToEquiv |
| 379 | |
| 380 | /-- Explicit formula for converting a character section into a native |
| 381 | pullback group-scheme homomorphism. -/ |
| 382 | theorem characterSheaf_sectionsPullbackEquiv_eq |
| 383 | (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) |
| 384 | (χ : (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj.obj (Opposite.op T)) : |
| 385 | characterSheaf_sectionsPullbackEquiv S G T χ = |
| 386 | (starSchemeGroup_pullbackIso S G T).inv ≫ |
| 387 | T.iteratedSliceForward.mapGrp.map |
| 388 | (Slices.starCharacterEquiv T G (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) χ) ≫ |
| 389 | (starSchemeGroup_pullbackIso S (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) T).hom := by |
| 390 | exact Category.assoc (starSchemeGroup_pullbackIso S G T).inv |
| 391 | (T.iteratedSliceForward.mapGrp.map |
| 392 | (Slices.starCharacterEquiv T G (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) χ)) |
| 393 | (starSchemeGroup_pullbackIso S (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) T).hom |
| 394 | |
| 395 | /-- On every test scheme, the character sheaf is precisely the group of |
| 396 | group-scheme homomorphisms from the base-changed group into Gₘ. -/ |
| 397 | def characterSheaf_testCharacterEquiv |
| 398 | (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) : |
| 399 | (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj.obj (Opposite.op T) ≃ |
| 400 | ((Over.pullback T.hom).mapGrp.obj G ⟶ CharacterSheaf.Construction.Schemes.multiplicativeGroupOver T.left) := |
| 401 | (characterSheaf_sectionsPullbackEquiv S G T).trans |
| 402 | (multiplicativeGroup_pullbackIso T.hom).homToEquiv |
| 403 | |
| 404 | /-- A character as the corresponding morphism T × G → Gₘ over the |
| 405 | original base. It is determined by evaluation at the universal point. -/ |
| 406 | def characterValue (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) |
| 407 | (χ : (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj.obj (Opposite.op T)) : |
| 408 | T ⨯ G.X ⟶ (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X := |
| 409 | χ.app (Opposite.op ((Over.star T).obj G.X)) Limits.prod.snd |
| 410 | |
| 411 | /-- The universal-point evaluation is the underlying native character |
| 412 | morphism followed by projection from the pulled-back multiplicative group. -/ |
| 413 | theorem characterValue_native (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) |
| 414 | (χ : (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj.obj (Opposite.op T)) : |
| 415 | ((sliceProductPullbackIso S T).hom.app G.X).left ≫ |
| 416 | (characterSheaf_sectionsPullbackEquiv S G T χ).hom.hom.left ≫ |
| 417 | Limits.pullback.fst (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X.hom T.hom = |
| 418 | (characterValue S G T χ).left := by |
| 419 | let K := CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S |
| 420 | let k := Slices.starCharacterEquiv T G K χ |
| 421 | let iG := starSchemeGroup_pullbackIso S G T |
| 422 | let iK := starSchemeGroup_pullbackIso S K T |
| 423 | have he : iG.hom ≫ characterSheaf_sectionsPullbackEquiv S G T χ = |
| 424 | T.iteratedSliceForward.mapGrp.map k ≫ iK.hom := by |
| 425 | exact (congrArg (fun f => iG.hom ≫ f) |
| 426 | (characterSheaf_sectionsPullbackEquiv_eq S G T χ)).trans (iG.hom_inv_id_assoc _) |
| 427 | have hp := congrArg |
| 428 | (fun f : T.iteratedSliceForward.mapGrp.obj ((Over.star T).mapGrp.obj G) ⟶ |
| 429 | (Over.pullback T.hom).mapGrp.obj K => |
| 430 | f.hom.hom.left ≫ Limits.pullback.fst K.X.hom T.hom) he |
| 431 | change iG.hom.hom.hom.left ≫ |
| 432 | (characterSheaf_sectionsPullbackEquiv S G T χ).hom.hom.left ≫ |
| 433 | Limits.pullback.fst K.X.hom T.hom = |
| 434 | k.hom.hom.left.left ≫ iK.hom.hom.hom.left ≫ Limits.pullback.fst K.X.hom T.hom at hp |
| 435 | have hK : iK.hom.hom.hom.left ≫ Limits.pullback.fst K.X.hom T.hom = |
| 436 | (Limits.prod.snd : T ⨯ K.X ⟶ K.X).left := |
| 437 | (congrArg (fun f => f ≫ Limits.pullback.fst K.X.hom T.hom) |
| 438 | (starSchemeGroup_pullbackIso_hom_left S K T)).trans (sliceProductPullbackIso_fst S T K.X) |
| 439 | have hEval : k.hom.hom.left.left ≫ (Limits.prod.snd : T ⨯ K.X ⟶ K.X).left = |
| 440 | (characterValue S G T χ).left := |
| 441 | congrArg (fun f : T ⨯ G.X ⟶ K.X => f.left) (Slices.starCharacterEquiv_snd T G K χ) |
| 442 | have hresult := hp.trans |
| 443 | ((congrArg (fun f => k.hom.hom.left.left ≫ f) hK).trans hEval) |
| 444 | exact (congrArg |
| 445 | (fun f => f ≫ (characterSheaf_sectionsPullbackEquiv S G T χ).hom.hom.left ≫ |
| 446 | Limits.pullback.fst K.X.hom T.hom) |
| 447 | (starSchemeGroup_pullbackIso_hom_left S G T).symm).trans hresult |
| 448 | |
| 449 | /-- The integral value of a character is its native test-scheme |
| 450 | character followed by the integral projection of the multiplicative group. -/ |
| 451 | theorem characterValue_integral (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) |
| 452 | (χ : (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj.obj (Opposite.op T)) : |
| 453 | (characterValue S G T χ).left ≫ multiplicativeGroupToIntegral S = |
| 454 | ((sliceProductPullbackIso S T).hom.app G.X).left ≫ |
| 455 | (characterSheaf_testCharacterEquiv S G T χ).hom.hom.left ≫ |
| 456 | multiplicativeGroupToIntegral T.left := by |
| 457 | let K := CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S |
| 458 | let b := multiplicativeGroup_pullbackIso T.hom |
| 459 | let e : ((Over.pullback T.hom).mapGrp.obj K).X.left ≅ |
| 460 | (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver T.left).X.left := |
| 461 | (Over.forget T.left).mapIso ((Grp.forget _).mapIso b) |
| 462 | let p := ((sliceProductPullbackIso S T).hom.app G.X).left |
| 463 | let k := characterSheaf_sectionsPullbackEquiv S G T χ |
| 464 | have hb : e.inv ≫ Limits.pullback.fst K.X.hom T.hom ≫ multiplicativeGroupToIntegral S = |
| 465 | multiplicativeGroupToIntegral T.left := |
| 466 | multiplicativeGroup_pullbackIso_inv_integralProjection T.hom |
| 467 | have hp := (e.hom_inv_id_assoc |
| 468 | (Limits.pullback.fst K.X.hom T.hom ≫ multiplicativeGroupToIntegral S)).symm.trans |
| 469 | (congrArg (fun f => e.hom ≫ f) hb) |
| 470 | have hcomp {V₁ V₂ V₃ V₄ V₅ V₆ : Scheme.{u}} |
| 471 | (a : V₁ ⟶ V₂) (b : V₂ ⟶ V₃) (c : V₃ ⟶ V₄) (d : V₁ ⟶ V₄) |
| 472 | (r : V₄ ⟶ V₆) (e : V₃ ⟶ V₅) (s : V₅ ⟶ V₆) |
| 473 | (h : a ≫ b ≫ c = d) (hc : c ≫ r = e ≫ s) : |
| 474 | d ≫ r = a ≫ (b ≫ e) ≫ s := by |
| 475 | rw [← h] |
| 476 | simp only [Category.assoc, hc] |
| 477 | change (characterValue S G T χ).left ≫ multiplicativeGroupToIntegral S = |
| 478 | p ≫ (k.hom.hom.left ≫ e.hom) ≫ multiplicativeGroupToIntegral T.left |
| 479 | exact hcomp p k.hom.hom.left _ _ _ e.hom _ |
| 480 | (characterValue_native S G T χ) hp |
| 481 | |
| 482 | /-- The universal-point value makes restriction of sheaf sections |
| 483 | explicit, without a choice of coordinates or affineness assumptions. -/ |
| 484 | theorem characterValue_restrict (S : Scheme.{u}) (G : Grp (Over S)) |
| 485 | {T U : Over S} (p : U ⟶ T) |
| 486 | (χ : (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj.obj (Opposite.op T)) : |
| 487 | characterValue S G U ((CharacterSheaf.Construction.Schemes.characterSheaf S G).obj.map p.op χ) = |
| 488 | Limits.prod.map p (𝟙 G.X) ≫ characterValue S G T χ := |
| 489 | Slices.sliceNatTrans_restrict_universal p G (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) χ |
| 490 | |
| 491 | end Construction.Schemes |
| 492 | |
| 493 | end |
| 494 | |
| 495 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.SliceCharacters |