Buckets:
| import OAI.AlgebraicGeometry.SurfaceCones.PushforwardRestrictionNatural | |
| namespace OAI | |
| noncomputable section | |
| open CategoryTheory CategoryTheory.Limits Opposite _root_.AlgebraicGeometry _root_.OAI.AlgebraicGeometry | |
| namespace CoherentGlobal | |
| open Scheme.Modules | |
| instance cohClosedPushforward_full {X Y : Scheme.{0}} [IsLocallyNoetherian Y] | |
| (f : X βΆ Y) [IsClosedImmersion f] : (cohPushforward f).Full where | |
| map_surjective {M N} g := by | |
| obtain β¨u, huβ© := closedPushforward_full f M.obj N.obj g.hom | |
| refine β¨ObjectProperty.homMk u, ?_β© | |
| apply ObjectProperty.hom_ext | |
| exact hu | |
| instance cohClosedPushforward_faithful {X Y : Scheme.{0}} [IsLocallyNoetherian Y] | |
| (f : X βΆ Y) [IsClosedImmersion f] : (cohPushforward f).Faithful where | |
| map_injective {M N} u v h := by | |
| apply ObjectProperty.hom_ext | |
| apply (pushforward f).map_injective | |
| exact congrArg (fun z : (cohPushforward f).obj M βΆ (cohPushforward f).obj N => z.hom) h | |
| /-- Fully faithful exact closed pushforward on coherent sheaves. -/ | |
| def cohClosedPushforwardFullyFaithful {X Y : Scheme.{0}} [IsLocallyNoetherian Y] | |
| (f : X βΆ Y) [IsClosedImmersion f] : (cohPushforward f).FullyFaithful := | |
| Functor.FullyFaithful.ofFullyFaithful _ | |
| end CoherentGlobal | |
| end | |
| noncomputable section | |
| open CategoryTheory CategoryTheory.Limits _root_.AlgebraicGeometry _root_.OAI.AlgebraicGeometry | |
| namespace CoherentGlobal | |
| open Scheme.Modules | |
| variable {R : CommRingCat.{0}} [IsNoetherianRing R] | |
| /-- A coherent affine sheaf annihilated by a principal ideal descends to a coherent sheaf on the | |
| corresponding closed subscheme. -/ | |
| lemma exists_principal_descent (t : R) (M : (Spec R).Modules) | |
| [M.IsFinitePresentation] | |
| (h : Module.IsTorsionBy R (moduleSpecΞFunctor.obj M) t) : | |
| β N : (Spec (CommRingCat.of (R β§Έ Ideal.span ({t} : Set R)))).Modules, | |
| N.IsFinitePresentation β§ Nonempty | |
| ((pushforward (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk | |
| (Ideal.span ({t} : Set R)))))).obj N β M) := by | |
| have : M.IsQuasicoherent := | |
| (SheafOfModules.IsFinitePresentation.exists_quasicoherentData M).choose.isQuasicoherent | |
| have hM : IsIso (fromTildeΞ M) := Scheme.Modules.isIso_fromTildeΞ_of_isQuasicoherent M | |
| let Q := R β§Έ Ideal.span ({t} : Set R) | |
| let f : R βΆ CommRingCat.of Q := CommRingCat.ofHom (Ideal.Quotient.mk _) | |
| let A : ModuleCat R := moduleSpecΞFunctor.obj M | |
| let : Module Q A := h.module | |
| let : IsScalarTower R Q A := by | |
| constructor | |
| intro r q a | |
| obtain β¨s, rflβ© := Ideal.Quotient.mk_surjective q | |
| change (r * s) β’ a = r β’ s β’ a | |
| exact (smul_smul r s a).symm | |
| have : Module.Finite R A := finiteGamma_of_coherent M | |
| have : Module.Finite Q A := Module.Finite.of_restrictScalars_finite R Q A | |
| let B : ModuleCat (CommRingCat.of Q) := ModuleCat.of _ A | |
| let e : (ModuleCat.restrictScalars f.hom).obj B β A := | |
| (LinearEquiv.refl R A).toModuleIso | |
| refine β¨tilde B, CoherentAffine.coherent_tilde B, ?_β© | |
| exact β¨AffinePullback.pushforwardTildeIso f B βͺβ« | |
| (tilde.functor R).mapIso e βͺβ« @asIso _ _ _ _ (fromTildeΞ M) hMβ© | |
| end CoherentGlobal | |
| end | |
| noncomputable section | |
| open CategoryTheory CategoryTheory.Limits _root_.AlgebraicGeometry _root_.OAI.AlgebraicGeometry | |
| namespace CoherentGlobal | |
| open Scheme.Modules | |
| variable {R S : CommRingCat.{0}} [IsNoetherianRing R] | |
| /-- Descent for a coherent module along an affine quotient. -/ | |
| lemma exists_quotient_descent (I : Ideal R) (M : (Spec R).Modules) | |
| [M.IsFinitePresentation] | |
| (h : Module.IsTorsionBySet R (moduleSpecΞFunctor.obj M) I) : | |
| β N : (Spec (CommRingCat.of (R β§Έ I))).Modules, | |
| N.IsFinitePresentation β§ Nonempty | |
| ((pushforward (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk I)))).obj N β M) := by | |
| have : M.IsQuasicoherent := | |
| (SheafOfModules.IsFinitePresentation.exists_quasicoherentData M).choose.isQuasicoherent | |
| have hM : IsIso (fromTildeΞ M) := Scheme.Modules.isIso_fromTildeΞ_of_isQuasicoherent M | |
| let Q := R β§Έ I | |
| let f : R βΆ CommRingCat.of Q := CommRingCat.ofHom (Ideal.Quotient.mk _) | |
| let A : ModuleCat R := moduleSpecΞFunctor.obj M | |
| let : Module Q A := h.module | |
| let : IsScalarTower R Q A := by | |
| constructor | |
| intro r q a | |
| obtain β¨s, rflβ© := Ideal.Quotient.mk_surjective q | |
| change (r * s) β’ a = r β’ s β’ a | |
| exact (smul_smul r s a).symm | |
| have : Module.Finite R A := finiteGamma_of_coherent M | |
| have : Module.Finite Q A := Module.Finite.of_restrictScalars_finite R Q A | |
| let B : ModuleCat (CommRingCat.of Q) := ModuleCat.of _ A | |
| let e : (ModuleCat.restrictScalars f.hom).obj B β A := | |
| (LinearEquiv.refl R A).toModuleIso | |
| refine β¨tilde B, CoherentAffine.coherent_tilde B, ?_β© | |
| exact β¨AffinePullback.pushforwardTildeIso f B βͺβ« | |
| (tilde.functor R).mapIso e βͺβ« @asIso _ _ _ _ (fromTildeΞ M) hMβ© | |
| /-- Descent along a surjective affine ring map, with annihilation of its kernel. The descended sheaf | |
| is a finite-module associated sheaf. -/ | |
| lemma exists_surjective_descent (f : R βΆ S) (hf : Function.Surjective f.hom) | |
| (M : (Spec R).Modules) [M.IsFinitePresentation] | |
| (h : Module.IsTorsionBySet R (moduleSpecΞFunctor.obj M) (RingHom.ker f.hom)) : | |
| β N : (Spec S).Modules, N.IsFinitePresentation β§ | |
| Nonempty ((pushforward (Spec.map f)).obj N β M) := by | |
| have : M.IsQuasicoherent := | |
| (SheafOfModules.IsFinitePresentation.exists_quasicoherentData M).choose.isQuasicoherent | |
| have hM : IsIso (fromTildeΞ M) := Scheme.Modules.isIso_fromTildeΞ_of_isQuasicoherent M | |
| let A : ModuleCat R := moduleSpecΞFunctor.obj M | |
| let Q := R β§Έ RingHom.ker f.hom | |
| let eqv : Q β+* S := f.hom.quotientKerEquivOfSurjective hf | |
| let : Module Q A := h.module | |
| let : Module S A := Module.compHom A eqv.symm.toRingHom | |
| let : Algebra R S := f.hom.toAlgebra | |
| have hsmul (r : R) (a : A) : f.hom r β’ a = r β’ a := by | |
| change eqv.symm (f.hom r) β’ a = r β’ a | |
| have hr : eqv.symm (f.hom r) = Ideal.Quotient.mk (RingHom.ker f.hom) r := | |
| eqv.symm_apply_eq.mpr rfl | |
| rw [hr] | |
| rfl | |
| let : IsScalarTower R S A := by | |
| constructor | |
| intro r s a | |
| change (f.hom r * s) β’ a = r β’ s β’ a | |
| rw [mul_smul, hsmul] | |
| have : Module.Finite R A := finiteGamma_of_coherent M | |
| have : Module.Finite S A := Module.Finite.of_restrictScalars_finite R S A | |
| have : IsNoetherianRing S := isNoetherianRing_of_surjective R S f.hom hf | |
| let B : ModuleCat S := ModuleCat.of _ A | |
| let e : (ModuleCat.restrictScalars f.hom).obj B β A := | |
| (show (ModuleCat.restrictScalars f.hom).obj B ββ[R] A from | |
| { Equiv.refl A with | |
| map_add' := fun _ _ => rfl | |
| map_smul' := fun r a => hsmul r a }).toModuleIso | |
| refine β¨tilde B, CoherentAffine.coherent_tilde B, ?_β© | |
| exact β¨AffinePullback.pushforwardTildeIso f B βͺβ« | |
| (tilde.functor R).mapIso e βͺβ« @asIso _ _ _ _ (fromTildeΞ M) hMβ© | |
| end CoherentGlobal | |
| end | |
| noncomputable section | |
| open CategoryTheory CategoryTheory.Limits _root_.AlgebraicGeometry _root_.OAI.AlgebraicGeometry | |
| namespace CoherentGlobal | |
| open Scheme.Modules | |
| /-- Pushforward around a scheme isomorphism. -/ | |
| def pushforwardIsoRoundtrip {X Y : Scheme.{0}} (e : X β Y) : | |
| pushforward e.hom β pushforward e.inv β π X.Modules := | |
| pushforwardComp e.hom e.inv βͺβ« pushforwardCongr e.hom_inv_id βͺβ« pushforwardId X | |
| /-- Closed-support descent on affine schemes, without requiring them to be definitionally spectra. | |
| The hypothesis is annihilation by the kernel on the canonical affine chart of the target. -/ | |
| lemma exists_affine_closed_preimage {X Y : Scheme.{0}} [IsAffine Y] | |
| [IsLocallyNoetherian Y] (f : X βΆ Y) [IsClosedImmersion f] | |
| (M : Y.Modules) [M.IsFinitePresentation] | |
| (h : Module.IsTorsionBySet Ξ(Y, β€) | |
| (moduleSpecΞFunctor.obj ((pushforward Y.isoSpec.hom).obj M)) | |
| (RingHom.ker f.appTop.hom)) : | |
| β N : X.Modules, N.IsFinitePresentation β§ Nonempty ((pushforward f).obj N β M) := by | |
| have hf := IsClosedImmersion.isAffine_surjective_of_isAffine f | |
| have : IsAffine X := hf.1 | |
| have : IsNoetherianRing Ξ(Y, β€) := | |
| IsLocallyNoetherian.component_noetherian β¨β€, isAffineOpen_top Yβ© | |
| have : ((pushforward Y.isoSpec.hom).obj M).IsFinitePresentation := | |
| coherent_pushforward_iso Y.isoSpec M | |
| obtain β¨N, hN, β¨eβ©β© := exists_surjective_descent f.appTop hf.2 | |
| ((pushforward Y.isoSpec.hom).obj M) h | |
| let := hN | |
| refine β¨(pushforward X.isoSpec.inv).obj N, | |
| coherent_pushforward_iso X.isoSpec.symm N, ?_β© | |
| refine β¨(pushforwardComp X.isoSpec.inv f).app N βͺβ« | |
| (pushforwardCongr (Scheme.isoSpec_inv_naturality f).symm).app N βͺβ« | |
| (pushforwardComp (Spec.map f.appTop) Y.isoSpec.inv).symm.app N βͺβ« | |
| (pushforward Y.isoSpec.inv).mapIso e βͺβ« (pushforwardIsoRoundtrip Y.isoSpec).app Mβ© | |
| end CoherentGlobal | |
| end | |
| noncomputable section | |
| open CategoryTheory CategoryTheory.Limits | |
| namespace BeckChevalleyUnit | |
| universe uβ uβ uβ uβ vβ vβ vβ vβ | |
| variable {A : Type uβ} {B : Type uβ} {C : Type uβ} {D : Type uβ} | |
| [Category.{vβ} A] [Category.{vβ} B] [Category.{vβ} C] [Category.{vβ} D] | |
| {Fβ : A β₯€ C} {Uβ : C β₯€ A} {Fβ : B β₯€ D} {Uβ : D β₯€ B} | |
| {Lβ : A β₯€ B} {Rβ : B β₯€ A} {Lβ : C β₯€ D} {Rβ : D β₯€ C} | |
| (aβ : Lβ β£ Rβ) (aβ : Lβ β£ Rβ) (aβ : Fβ β£ Uβ) (aβ : Fβ β£ Uβ) | |
| /-- The other mate of a square is invertible when its twice-adjoint comparison is invertible. -/ | |
| lemma isIso_other_mate (s : TwoSquare Rβ Fβ Fβ Rβ) | |
| [IsIso ((mateEquiv aβ aβ s).natTrans)] : | |
| IsIso (((mateEquiv aβ aβ).symm s).natTrans) := by | |
| let b := (mateEquiv aβ aβ).symm s | |
| have he : (mateEquiv aβ aβ s).natTrans = | |
| conjugateEquiv (aβ.comp aβ) (aβ.comp aβ) b.natTrans := by | |
| simpa only [b, Equiv.apply_symm_apply] using | |
| iterated_mateEquiv_conjugateEquiv aβ aβ aβ aβ b | |
| have : IsIso (conjugateEquiv (aβ.comp aβ) (aβ.comp aβ) b.natTrans) := | |
| he βΈ inferInstance | |
| exact conjugateEquiv_of_iso (aβ.comp aβ) (aβ.comp aβ) b.natTrans | |
| /-- Under an invertible base-change square and its invertible mate, the restricted original unit is | |
| invertible at every object at which the local unit is invertible. This is the local descent step | |
| for closed support. -/ | |
| lemma map_unit_isIso (s : TwoSquare Rβ Fβ Fβ Rβ) | |
| [IsIso s.natTrans] [IsIso (((mateEquiv aβ aβ).symm s).natTrans)] | |
| (M : A) [IsIso (aβ.unit.app (Fβ.obj M))] : IsIso (Fβ.map (aβ.unit.app M)) := by | |
| have he := unit_mateEquiv_symm aβ aβ s M | |
| have : IsIso (Fβ.map (aβ.unit.app M) β« s.app (Lβ.obj M)) := by | |
| rw [he] | |
| change IsIso (aβ.unit.app (Fβ.obj M) β« | |
| Rβ.map (((mateEquiv aβ aβ).symm s).natTrans.app M)) | |
| infer_instance | |
| have : IsIso (s.app (Lβ.obj M)) := | |
| (inferInstance : IsIso (s.natTrans.app (Lβ.obj M))) | |
| exact (IsIso.of_isIso_comp_right (Fβ.map (aβ.unit.app M)) (s.app (Lβ.obj M))) | |
| end BeckChevalleyUnit | |
| end | |
| noncomputable section | |
| open CategoryTheory CategoryTheory.Limits Opposite _root_.AlgebraicGeometry _root_.OAI.AlgebraicGeometry | |
| namespace CoherentBaseChange | |
| open Scheme.Modules | |
| variable {X Y : Scheme.{0}} (f : X βΆ Y) (U : Y.Opens) | |
| /-- Open pushforward comparison viewed as a square of functors. -/ | |
| def restrictSquare : TwoSquare (pushforward f) (restrictFunctor (f β»ΒΉα΅ U).ΞΉ) | |
| (restrictFunctor U.ΞΉ) (pushforward (f β£_ U)) := | |
| .mk _ _ _ _ (pushforwardRestrictNatIso f U).hom | |
| /-- The twice-right-adjoint comparison of the open base-change square. -/ | |
| def rightSquare := mateEquiv (restrictAdjunction (f β»ΒΉα΅ U).ΞΉ) | |
| (restrictAdjunction U.ΞΉ) (restrictSquare f U) | |
| /-- Commutativity of the square gives an isomorphism of composite pushforwards, without base-change | |
| assumptions about quasicoherent sheaves. -/ | |
| def rightSquareIso : pushforward (f β»ΒΉα΅ U).ΞΉ β pushforward f β | |
| pushforward (f β£_ U) β pushforward U.ΞΉ := | |
| pushforwardComp (f β»ΒΉα΅ U).ΞΉ f βͺβ« | |
| pushforwardCongr (morphismRestrict_ΞΉ f U).symm βͺβ« | |
| (pushforwardComp (f β£_ U) U.ΞΉ).symm | |
| lemma pushforwardRestrictNatIso_hom_app_app (M : X.Modules) (V : U.toScheme.Opens) : | |
| ((pushforwardRestrictNatIso f U).hom.app M).app V = | |
| M.presheaf.map (eqToHom (image_morphismRestrict_preimage f U V)).op := rfl | |
| lemma rightSquare_eq : (rightSquare f U).natTrans = (rightSquareIso f U).hom := by | |
| apply NatTrans.ext | |
| funext M | |
| apply Scheme.Modules.hom_ext | |
| intro V | |
| simp only [rightSquare, mateEquiv, Equiv.coe_fn_mk, restrictSquare, | |
| NatTrans.comp_app, Functor.rightUnitor_inv_app, Functor.whiskerLeft_app, | |
| Functor.associator_hom_app, Functor.associator_inv_app, | |
| Functor.whiskerRight_app, Functor.comp_map, Functor.leftUnitor_hom_app, | |
| Functor.comp_obj, Category.id_comp] | |
| dsimp only [TwoSquare.mk, TwoSquare.natTrans] | |
| simp only [Scheme.Modules.Hom.comp_app, pushforward_map_app, restrictAdjunction_unit_app_app, | |
| restrictAdjunction_counit_app_app] | |
| simp only [pushforward_obj_presheaf_map, pushforwardRestrictNatIso_hom_app_app, | |
| rightSquareIso, Iso.trans_hom, NatTrans.comp_app, | |
| Scheme.Modules.Hom.comp_app, pushforwardComp_hom_app_app, | |
| pushforwardCongr_hom_app_app] | |
| change M.presheaf.map _ β« M.presheaf.map _ β« M.presheaf.map _ β« π _ = | |
| π _ β« M.presheaf.map _ β« π _ | |
| simp only [Category.id_comp, Category.comp_id] | |
| rw [β M.presheaf.map_comp, β M.presheaf.map_comp] | |
| congr 1 | |
| instance rightSquare_natTrans_isIso : IsIso (rightSquare f U).natTrans := by | |
| rw [rightSquare_eq] | |
| infer_instance | |
| instance pullbackSquare_natTrans_isIso : IsIso | |
| (((mateEquiv (pullbackPushforwardAdjunction f) | |
| (pullbackPushforwardAdjunction (f β£_ U))).symm (restrictSquare f U)).natTrans) := by | |
| have : IsIso ((mateEquiv (restrictAdjunction (f β»ΒΉα΅ U).ΞΉ) | |
| (restrictAdjunction U.ΞΉ) (restrictSquare f U)).natTrans) := | |
| rightSquare_natTrans_isIso f U | |
| exact BeckChevalleyUnit.isIso_other_mate | |
| (pullbackPushforwardAdjunction f) (pullbackPushforwardAdjunction (f β£_ U)) | |
| (restrictAdjunction U.ΞΉ) (restrictAdjunction (f β»ΒΉα΅ U).ΞΉ) (restrictSquare f U) | |
| /-- Pullback commutes with open restriction through the canonical mate, compatibly with the | |
| pullback-pushforward unit. -/ | |
| def pullbackRestrictNatIso : restrictFunctor U.ΞΉ β pullback (f β£_ U) β | |
| pullback f β restrictFunctor (f β»ΒΉα΅ U).ΞΉ := | |
| asIso (((mateEquiv (pullbackPushforwardAdjunction f) | |
| (pullbackPushforwardAdjunction (f β£_ U))).symm (restrictSquare f U)).natTrans) | |
| /-- The restricted global unit is invertible whenever its local counterpart is. -/ | |
| lemma restrict_unit_isIso (M : Y.Modules) | |
| [IsIso ((pullbackPushforwardAdjunction (f β£_ U)).unit.app | |
| ((restrictFunctor U.ΞΉ).obj M))] : | |
| IsIso ((restrictFunctor U.ΞΉ).map ((pullbackPushforwardAdjunction f).unit.app M)) := by | |
| have : IsIso (restrictSquare f U).natTrans := | |
| (inferInstance : IsIso (pushforwardRestrictNatIso f U).hom) | |
| exact BeckChevalleyUnit.map_unit_isIso (pullbackPushforwardAdjunction f) | |
| (pullbackPushforwardAdjunction (f β£_ U)) (restrictSquare f U) M | |
| end CoherentBaseChange | |
| end | |
| noncomputable section | |
| open CategoryTheory CategoryTheory.Limits _root_.AlgebraicGeometry _root_.OAI.AlgebraicGeometry | |
| namespace CoherentGlobal | |
| open Scheme.Modules | |
| /-- A morphism of scheme-module sheaves is invertible when its restrictions to all affine opens are | |
| invertible. -/ | |
| lemma isIso_of_affine_restrict {X : Scheme.{0}} {M N : X.Modules} (f : M βΆ N) | |
| (h : β U : X.affineOpens, IsIso ((restrictFunctor U.1.ΞΉ).map f)) : IsIso f := by | |
| have hk : IsZero (kernel f) := by | |
| apply isZero_of_affine_restrict | |
| intro U | |
| let := h U | |
| have : PreservesFiniteLimits (restrictFunctor U.1.ΞΉ) := | |
| CoherentRestriction.preservesFiniteLimits U.1.ΞΉ | |
| exact (isZero_kernel_of_mono ((restrictFunctor U.1.ΞΉ).map f)).of_iso | |
| (PreservesKernel.iso (restrictFunctor U.1.ΞΉ) f) | |
| have hc : IsZero (cokernel f) := by | |
| apply isZero_of_affine_restrict | |
| intro U | |
| let := h U | |
| exact (isZero_cokernel_of_epi ((restrictFunctor U.1.ΞΉ).map f)).of_iso | |
| (PreservesCokernel.iso (restrictFunctor U.1.ΞΉ) f) | |
| have : Mono f := Abelian.mono_of_kernel_ΞΉ_eq_zero f (hk.eq_of_src _ _) | |
| have : Epi f := Abelian.epi_of_cokernel_Ο_eq_zero f (hc.eq_of_tgt _ _) | |
| exact isIso_of_mono_of_epi f | |
| end CoherentGlobal | |
| end | |
| noncomputable section | |
| open CategoryTheory CategoryTheory.Limits Opposite | |
| namespace SheafLocality | |
| universe u | |
| variable {C : Type u} [Category.{u} C] {J : GrothendieckTopology C} | |
| {A : Type*} [Category* A] {ΞΉ : Type*} {X : ΞΉ β C} | |
| /-- Equality of sheaf morphisms can be checked on any covering family. -/ | |
| lemma hom_ext_of_coversTop (hX : J.CoversTop X) | |
| {F G : Sheaf J A} {f g : F βΆ G} | |
| (h : β i, (J.overPullback A (X i)).map f = (J.overPullback A (X i)).map g) : | |
| f = g := by | |
| apply Sheaf.hom_ext | |
| ext W | |
| have heq (Z : C) (i : ΞΉ) (a : Z βΆ X i) : | |
| f.hom.app (op Z) = g.hom.app (op Z) := by | |
| exact NatTrans.congr_app (congrArg (fun q => q.hom) (h i)) (op (Over.mk a)) | |
| let S : J.Cover W.unop := hX.cover W.unop | |
| apply G.property.hom_ext S | |
| intro I | |
| obtain β¨i, β¨aβ©β© := I.hf | |
| rw [β f.hom.naturality, β g.hom.naturality, heq I.Y i a] | |
| /-- Monomorphism is local on a cover. No stalk-exactness assumption is used. -/ | |
| lemma mono_of_coversTop (hX : J.CoversTop X) | |
| {F G : Sheaf J A} (f : F βΆ G) | |
| (h : β i, Mono ((J.overPullback A (X i)).map f)) : Mono f := by | |
| constructor | |
| intro H a b hab | |
| apply hom_ext_of_coversTop hX | |
| intro i | |
| have := h i | |
| apply (cancel_mono ((J.overPullback A (X i)).map f)).mp | |
| simpa only [Functor.map_comp] using congrArg ((J.overPullback A (X i)).map) hab | |
| /-- The same descent statement for module sheaves. -/ | |
| lemma module_mono_of_coversTop (R : Sheaf J RingCat.{u}) (hX : J.CoversTop X) | |
| {F G : SheafOfModules.{u} R} (f : F βΆ G) | |
| (h : β i, Mono ((SheafOfModules.overFunctor R (X i)).map f)) : Mono f := by | |
| have : Mono ((SheafOfModules.toSheaf R).map f) := by | |
| apply mono_of_coversTop hX | |
| intro i | |
| have := h i | |
| exact (inferInstance : Mono ((SheafOfModules.toSheaf (R.over (X i))).map | |
| ((SheafOfModules.overFunctor R (X i)).map f))) | |
| exact (Functor.mono_of_mono_map (SheafOfModules.toSheaf R) inferInstance) | |
| end SheafLocality | |
| end | |
| noncomputable section | |
| open CategoryTheory CategoryTheory.Limits _root_.AlgebraicGeometry _root_.OAI.AlgebraicGeometry TopologicalSpace | |
| namespace CoherentGlobal | |
| open Scheme.Modules | |
| variable {X : Scheme.{0}} {I : Type} (U : I β X.Opens) (hU : iSup U = β€) | |
| include hU | |
| /-- Equality of scheme-module morphisms descends along an arbitrary open cover; affine charts are | |
| not required. -/ | |
| lemma hom_ext_of_open_cover {M N : X.Modules} {f g : M βΆ N} | |
| (h : β i, (restrictFunctor (U i).ΞΉ).map f = (restrictFunctor (U i).ΞΉ).map g) : | |
| f = g := by | |
| have ho (i : I) : (SheafOfModules.overFunctor X.ringCatSheaf (U i)).map f = | |
| (SheafOfModules.overFunctor X.ringCatSheaf (U i)).map g := by | |
| apply (overEquiv (U i)).functor.map_injective | |
| have : IsIso ((overFunctorEquiv (U i)).hom.app N) := | |
| ((overFunctorEquiv (U i)).app N).isIso_hom | |
| apply (cancel_mono ((overFunctorEquiv (U i)).hom.app N)).mp | |
| change ((SheafOfModules.overFunctor X.ringCatSheaf (U i) β | |
| (overEquiv (U i)).functor).map f) β« _ = _ | |
| calc | |
| _ = (overFunctorEquiv (U i)).hom.app M β« (restrictFunctor (U i).ΞΉ).map f := | |
| (overFunctorEquiv (U i)).hom.naturality f | |
| _ = (overFunctorEquiv (U i)).hom.app M β« (restrictFunctor (U i).ΞΉ).map g := by | |
| rw [h i] | |
| _ = _ := ((overFunctorEquiv (U i)).hom.naturality g).symm | |
| apply (SheafOfModules.toSheaf X.ringCatSheaf).map_injective | |
| apply SheafLocality.hom_ext_of_coversTop ((Opens.coversTop_iff X U).mpr hU) | |
| intro i | |
| exact congrArg ((SheafOfModules.toSheaf (X.ringCatSheaf.over (U i))).map) (ho i) | |
| lemma isZero_of_open_cover (M : X.Modules) | |
| (h : β i, IsZero ((restrictFunctor (U i).ΞΉ).obj M)) : IsZero M := by | |
| apply (IsZero.iff_id_eq_zero M).mpr | |
| apply hom_ext_of_open_cover U hU | |
| intro i | |
| exact (h i).eq_of_src _ _ | |
| /-- Isomorphism of module sheaves is local on an open cover. -/ | |
| lemma isIso_of_open_cover {M N : X.Modules} (f : M βΆ N) | |
| (h : β i, IsIso ((restrictFunctor (U i).ΞΉ).map f)) : IsIso f := by | |
| have hk : IsZero (kernel f) := by | |
| apply isZero_of_open_cover U hU | |
| intro i | |
| let := h i | |
| have : PreservesFiniteLimits (restrictFunctor (U i).ΞΉ) := | |
| CoherentRestriction.preservesFiniteLimits (U i).ΞΉ | |
| exact (isZero_kernel_of_mono ((restrictFunctor (U i).ΞΉ).map f)).of_iso | |
| (PreservesKernel.iso (restrictFunctor (U i).ΞΉ) f) | |
| have hc : IsZero (cokernel f) := by | |
| apply isZero_of_open_cover U hU | |
| intro i | |
| let := h i | |
| exact (isZero_cokernel_of_epi ((restrictFunctor (U i).ΞΉ).map f)).of_iso | |
| (PreservesCokernel.iso (restrictFunctor (U i).ΞΉ) f) | |
| have : Mono f := Abelian.mono_of_kernel_ΞΉ_eq_zero f (hk.eq_of_src _ _) | |
| have : Epi f := Abelian.epi_of_cokernel_Ο_eq_zero f (hc.eq_of_tgt _ _) | |
| exact isIso_of_mono_of_epi f | |
| lemma coherent_of_open_cover (M : X.Modules) | |
| (h : β i, ((restrictFunctor (U i).ΞΉ).obj M).IsFinitePresentation) : | |
| M.IsFinitePresentation := by | |
| have (i : I) : (M.over (U i)).IsFinitePresentation := by | |
| let := h i | |
| exact coherent_over_of_restrict (U i) M | |
| exact CoherentLocality.finitePresentation_of_coversTop M U | |
| ((Opens.coversTop_iff X U).mpr hU) | |
| end CoherentGlobal | |
| end | |
| noncomputable section | |
| open CategoryTheory CategoryTheory.Limits _root_.AlgebraicGeometry _root_.OAI.AlgebraicGeometry TopologicalSpace | |
| namespace CoherentGlobal | |
| open Scheme.Modules | |
| variable {X Y : Scheme.{0}} (f : X βΆ Y) [IsClosedImmersion f] | |
| variable {I : Type} (U : I β Y.Opens) (hU : iSup U = β€) | |
| variable (M : Y.Modules) (N : β i, (f β»ΒΉα΅ U i).toScheme.Modules) | |
| (e : β i, (pushforward (f β£_ U i)).obj (N i) β (restrictFunctor (U i).ΞΉ).obj M) | |
| include hU e in | |
| /-- Membership in the essential image of closed pushforward is local on an open cover, with descent | |
| given by pullback. -/ | |
| lemma closedDescent_unit_isIso : IsIso ((pullbackPushforwardAdjunction f).unit.app M) := by | |
| apply isIso_of_open_cover U hU | |
| intro i | |
| have : IsIso ((pullbackPushforwardAdjunction (f β£_ U i)).unit.app | |
| ((restrictFunctor (U i).ΞΉ).obj M)) := | |
| (pullbackPushforwardAdjunction (f β£_ U i)).isIso_unit_app_of_iso (e i).symm | |
| exact CoherentBaseChange.restrict_unit_isIso f (U i) M | |
| /-- Canonical local comparison of the descended module with its given closed-support representative. -/ | |
| def closedDescent_localIso (i : I) : | |
| (restrictFunctor (f β»ΒΉα΅ U i).ΞΉ).obj ((Scheme.Modules.pullback f).obj M) β N i := | |
| ((CoherentBaseChange.pullbackRestrictNatIso f (U i)).app M).symm βͺβ« | |
| (Scheme.Modules.pullback (f β£_ U i)).mapIso (e i).symm βͺβ« | |
| asIso ((pullbackPushforwardAdjunction (f β£_ U i)).counit.app (N i)) | |
| omit [IsClosedImmersion f] in | |
| include hU in | |
| lemma preimage_cover : (β¨ i, f β»ΒΉα΅ U i) = β€ := by | |
| apply top_unique | |
| intro x _ | |
| have hx : f x β (β¨ i, U i) := by rw [hU]; trivial | |
| obtain β¨i, hiβ© := Opens.mem_iSup.mp hx | |
| exact Opens.mem_iSup.mpr β¨i, hiβ© | |
| include hU e in | |
| /-- Pullback is coherent for objects which locally are coherent sheaves with closed support. -/ | |
| lemma closedDescent_coherent (hN : β i, (N i).IsFinitePresentation) : | |
| ((Scheme.Modules.pullback f).obj M).IsFinitePresentation := by | |
| apply coherent_of_open_cover (fun i => f β»ΒΉα΅ U i) (preimage_cover f U hU) | |
| intro i | |
| have := hN i | |
| exact (SheafOfModules.isFinitePresentation (f β»ΒΉα΅ U i).toScheme.ringCatSheaf).prop_of_iso | |
| (closedDescent_localIso f U M N e i).symm (hN i) | |
| include hU e in | |
| /-- Descent in the coherent categories, with an pushforward isomorphism on the ambient scheme. This | |
| is the global closed-support step needed to put Cartier restriction and first Tor on the | |
| divisor. -/ | |
| lemma exists_coherent_closed_preimage [IsLocallyNoetherian Y] (hN : β i, (N i).IsFinitePresentation) : | |
| β Q : Coh X, Nonempty ((pushforward f).obj Q.obj β M) := by | |
| have := closedDescent_coherent f U hU M N e hN | |
| have := closedDescent_unit_isIso f U hU M N e | |
| exact β¨β¨(Scheme.Modules.pullback f).obj M, inferInstanceβ©, | |
| β¨(asIso ((pullbackPushforwardAdjunction f).unit.app M)).symmβ©β© | |
| end CoherentGlobal | |
| end | |
| noncomputable section | |
| open CategoryTheory CategoryTheory.Limits CategoryTheory.MonoidalCategory Opposite | |
| namespace ActualSheafTensor | |
| universe u | |
| variable {C : Type u} [Category.{u} C] {J : GrothendieckTopology C} | |
| (R : Sheaf J CommRingCat.{u}) | |
| [HasSheafify J AddCommGrpCat.{u}] [J.WEqualsLocallyBijective AddCommGrpCat.{u}] | |
| /-- An isomorphism of sheaves induces a natural tensor isomorphism. -/ | |
| def tensorLeftIso {M N : SheafOfModules.{u} (ringSheaf R)} (e : M β N) : | |
| tensorLeft R M β tensorLeft R N := by | |
| let S := PresheafOfModules.sheafification (R := ringSheaf R) (π (ringSheaf R).obj) | |
| exact Functor.isoWhiskerRight (Functor.isoWhiskerLeft (SheafOfModules.forget (ringSheaf R)) | |
| ((curriedTensor (PresheafOfModules.{u} (R.obj β forgetβ CommRingCat RingCat))).mapIso | |
| ((SheafOfModules.forget (ringSheaf R)).mapIso e))) | |
| S | |
| /-- The tensor-with-unit functor is naturally the identity. -/ | |
| def tensorUnitLeftIso : tensorLeft R (SheafOfModules.unit _) β π _ := by | |
| have hCounit : IsIso (PresheafOfModules.sheafificationAdjunction | |
| (R := ringSheaf R) (π (ringSheaf R).obj)).counit := inferInstance | |
| let S := PresheafOfModules.sheafification (R := ringSheaf R) (π (ringSheaf R).obj) | |
| exact Functor.isoWhiskerRight (Functor.isoWhiskerLeft (SheafOfModules.forget (ringSheaf R)) | |
| (leftUnitorNatIso (PresheafOfModules.{u} (R.obj β forgetβ CommRingCat RingCat)))) | |
| S βͺβ« | |
| @asIso _ _ _ _ (PresheafOfModules.sheafificationAdjunction | |
| (π (ringSheaf R).obj)).counit hCounit | |
| /-- Tensoring with the trivial line sheaf is exact by the tensor unit isomorphism. -/ | |
| lemma tensorLeft_preservesMonomorphisms_of_unitIso | |
| (M : SheafOfModules.{u} (ringSheaf R)) (e : M β SheafOfModules.unit _) : | |
| (tensorLeft R M).PreservesMonomorphisms := by | |
| let t := tensorLeftIso R e βͺβ« tensorUnitLeftIso R | |
| exact Functor.PreservesMonomorphisms.of_iso t.symm | |
| end ActualSheafTensor | |
| end | |
| noncomputable section | |
| open CategoryTheory CategoryTheory.Limits CategoryTheory.MonoidalCategory | |
| namespace ActualSheafTensor | |
| universe u | |
| variable {C : Type u} [Category.{u} C] {J : GrothendieckTopology C} | |
| (R : Sheaf J CommRingCat.{u}) | |
| [HasSheafify J AddCommGrpCat.{u}] [J.WEqualsLocallyBijective AddCommGrpCat.{u}] | |
| /-- Tensor a morphism of module sheaves on the left. -/ | |
| def tensorLeftMap {M N : SheafOfModules.{u} (ringSheaf R)} (f : M βΆ N) : | |
| tensorLeft R M βΆ tensorLeft R N := by | |
| let S := PresheafOfModules.sheafification (R := ringSheaf R) (π (ringSheaf R).obj) | |
| exact Functor.whiskerRight (Functor.whiskerLeft (SheafOfModules.forget (ringSheaf R)) | |
| ((curriedTensor (PresheafOfModules.{u} (R.obj β forgetβ CommRingCat RingCat))).map f.val)) S | |
| /-- The multiplication morphism for a line ideal inside the structure sheaf. Its kernel and cokernel | |
| are the Cartier Tor and restriction objects. -/ | |
| def idealAction {L : SheafOfModules.{u} (ringSheaf R)} | |
| (i : L βΆ SheafOfModules.unit _) : tensorLeft R L βΆ π _ := | |
| tensorLeftMap R i β« (tensorUnitLeftIso R).hom | |
| end ActualSheafTensor | |
| end | |
| noncomputable section | |
| open CategoryTheory CategoryTheory.Limits Opposite | |
| namespace ActualSheafTensor | |
| universe u | |
| variable {C : Type u} [Category.{u} C] {J : GrothendieckTopology C} | |
| (R : Sheaf J CommRingCat.{u}) (U : C) | |
| [HasSheafify J AddCommGrpCat.{u}] [J.WEqualsLocallyBijective AddCommGrpCat.{u}] | |
| [HasSheafify (J.over U) AddCommGrpCat.{u}] | |
| [(J.over U).WEqualsLocallyBijective AddCommGrpCat.{u}] | |
| /-- Restriction of a module presheaf to the slice category. -/ | |
| def presheafOver : PresheafOfModules.{u} (ringSheaf R).obj β₯€ | |
| PresheafOfModules.{u} (ringSheaf (R.over U)).obj := | |
| PresheafOfModules.pushforward (π ((ringSheaf R).over U).obj) | |
| /-- The canonical comparison between sheafification and restriction. -/ | |
| def sheafifyOverMap (P : PresheafOfModules.{u} (ringSheaf R).obj) : | |
| (PresheafOfModules.sheafification (π (ringSheaf (R.over U)).obj)).obj | |
| ((presheafOver R U).obj P) βΆ | |
| ((PresheafOfModules.sheafification (π (ringSheaf R).obj)).obj P).over U := | |
| (PresheafOfModules.sheafificationHomEquiv (π (ringSheaf (R.over U)).obj)).symm | |
| ((presheafOver R U).map | |
| ((PresheafOfModules.sheafificationAdjunction (π (ringSheaf R).obj)).unit.app P)) | |
| /-- The underlying comparison is the established sheafification comparison for a continuous | |
| cocontinuous functor. -/ | |
| lemma sheafifyOverMap_toSheaf (P : PresheafOfModules.{u} (ringSheaf R).obj) : | |
| (SheafOfModules.toSheaf _).map (sheafifyOverMap R U P) = | |
| ((Over.forget U).pushforwardContinuousSheafificationCompatibility AddCommGrpCat | |
| (J.over U) J).hom.app P.presheaf := by | |
| unfold sheafifyOverMap | |
| erw [PresheafOfModules.toSheaf_map_sheafificationHomEquiv_symm] | |
| apply ((CategoryTheory.sheafificationAdjunction (J.over U) AddCommGrpCat).homEquiv _ _).injective | |
| erw [Equiv.apply_symm_apply, Adjunction.homEquiv_unit] | |
| exact ((Over.forget U).toSheafify_pullbackSheafificationCompatibility | |
| AddCommGrpCat (J.over U) J P.presheaf).symm | |
| instance sheafifyOverMap_isIso (P : PresheafOfModules.{u} (ringSheaf R).obj) : | |
| IsIso (sheafifyOverMap R U P) := by | |
| have : IsIso ((SheafOfModules.toSheaf _).map (sheafifyOverMap R U P)) := by | |
| rw [sheafifyOverMap_toSheaf] | |
| exact (((Over.forget U).pushforwardContinuousSheafificationCompatibility | |
| AddCommGrpCat (J.over U) J).app P.presheaf).isIso_hom | |
| exact isIso_of_reflects_iso (sheafifyOverMap R U P) (SheafOfModules.toSheaf _) | |
| private theorem sheafifyOverMap_adjoint (P : PresheafOfModules.{u} (ringSheaf R).obj) : | |
| (PresheafOfModules.sheafificationAdjunction | |
| (π (ringSheaf (R.over U)).obj)).homEquiv _ _ (sheafifyOverMap R U P) = | |
| (presheafOver R U).map | |
| ((PresheafOfModules.sheafificationAdjunction (π (ringSheaf R).obj)).unit.app P) := by | |
| erw [PresheafOfModules.sheafificationAdjunction_homEquiv_apply] | |
| exact (PresheafOfModules.sheafificationHomEquiv _).apply_symm_apply _ | |
| lemma sheafifyOverMap_naturality | |
| {P Q : PresheafOfModules.{u} (ringSheaf R).obj} (f : P βΆ Q) : | |
| (PresheafOfModules.sheafification (π (ringSheaf (R.over U)).obj)).map | |
| ((presheafOver R U).map f) β« sheafifyOverMap R U Q = | |
| sheafifyOverMap R U P β« | |
| (SheafOfModules.overFunctor (ringSheaf R) U).map | |
| ((PresheafOfModules.sheafification (π (ringSheaf R).obj)).map f) := by | |
| let adj := PresheafOfModules.sheafificationAdjunction | |
| (π (ringSheaf (R.over U)).obj) | |
| apply (adj.homEquiv ((presheafOver R U).obj P) | |
| (((PresheafOfModules.sheafification (π (ringSheaf R).obj)).obj Q).over U)).injective | |
| erw [adj.homEquiv_naturality_left, adj.homEquiv_naturality_right] | |
| change (presheafOver R U).map f β« | |
| adj.homEquiv _ _ (sheafifyOverMap R U Q) = | |
| adj.homEquiv _ _ (sheafifyOverMap R U P) β« | |
| (presheafOver R U).map | |
| ((SheafOfModules.forget (ringSheaf R)).map | |
| ((PresheafOfModules.sheafification (π (ringSheaf R).obj)).map f)) | |
| dsimp only [adj] | |
| erw [sheafifyOverMap_adjoint R U P, sheafifyOverMap_adjoint R U Q] | |
| erw [β Functor.map_comp, β Functor.map_comp] | |
| exact congrArg ((presheafOver R U).map) | |
| ((PresheafOfModules.sheafificationAdjunction (π (ringSheaf R).obj)).unit.naturality f) | |
| /-- Sheafification and restriction are naturally isomorphic. -/ | |
| def sheafificationCompOver : | |
| presheafOver R U β PresheafOfModules.sheafification (π (ringSheaf (R.over U)).obj) β | |
| PresheafOfModules.sheafification (π (ringSheaf R).obj) β | |
| SheafOfModules.overFunctor (ringSheaf R) U := | |
| NatIso.ofComponents (fun P => asIso (sheafifyOverMap R U P)) (fun f => | |
| sheafifyOverMap_naturality R U f) | |
| /-- Tensor presheaves restrict objectwise exactly. -/ | |
| def presheafTensorOverIso (M N : PresheafOfModules.{u} (ringSheaf R).obj) : | |
| (presheafOver R U).obj (PresheafOfModulesOfCommRing.Monoidal.tensorObj (R := R.obj) M N) β | |
| PresheafOfModulesOfCommRing.Monoidal.tensorObj (R := (R.over U).obj) | |
| ((presheafOver R U).obj M) ((presheafOver R U).obj N) := | |
| PresheafOfModules.isoMk (fun V => Iso.refl _) | |
| /-- The tensor sheaf commutes with restriction to every slice site. -/ | |
| def tensorOverIso (M N : SheafOfModules.{u} (ringSheaf R)) : | |
| (tensor R M N).over U β tensor (R.over U) (M.over U) (N.over U) := | |
| ((sheafificationCompOver R U).app | |
| (PresheafOfModulesOfCommRing.Monoidal.tensorObj (R := R.obj) M.val N.val)).symm βͺβ« | |
| (PresheafOfModules.sheafification (π (ringSheaf (R.over U)).obj)).mapIso | |
| (presheafTensorOverIso R U M.val N.val) | |
| /-- Restriction commutes naturally with tensoring by a fixed presheaf. -/ | |
| def presheafTensorCompOverIso (M : PresheafOfModules.{u} (ringSheaf R).obj) : | |
| CategoryTheory.MonoidalCategory.tensorLeft | |
| (C := PresheafOfModules.{u} (R.obj β forgetβ CommRingCat RingCat)) M β | |
| presheafOver R U β presheafOver R U β | |
| CategoryTheory.MonoidalCategory.tensorLeft | |
| (C := PresheafOfModules.{u} ((R.over U).obj β forgetβ CommRingCat RingCat)) | |
| ((presheafOver R U).obj M) := | |
| NatIso.ofComponents (fun N => presheafTensorOverIso R U M N) (by | |
| intro N N' f | |
| ext V x | |
| rfl) | |
| end ActualSheafTensor | |
| end | |
| noncomputable section | |
| open CategoryTheory CategoryTheory.Limits CategoryTheory.MonoidalCategory | |
| namespace ActualSheafTensor | |
| universe u | |
| variable {C : Type u} [Category.{u} C] {J : GrothendieckTopology C} | |
| (R : Sheaf J CommRingCat.{u}) (U : C) | |
| [HasSheafify J AddCommGrpCat.{u}] [J.WEqualsLocallyBijective AddCommGrpCat.{u}] | |
| [HasSheafify (J.over U) AddCommGrpCat.{u}] | |
| [(J.over U).WEqualsLocallyBijective AddCommGrpCat.{u}] | |
| /-- The restriction isomorphism for tensor sheaves is natural in the second variable. This is the | |
| exactness-descent bridge for Cartier twisting. -/ | |
| def tensorLeftCompOverIso (M : SheafOfModules.{u} (ringSheaf R)) : | |
| tensorLeft R M β SheafOfModules.overFunctor (ringSheaf R) U β | |
| SheafOfModules.overFunctor (ringSheaf R) U β | |
| tensorLeft (R.over U) (M.over U) := by | |
| let F := SheafOfModules.forget (ringSheaf R) | |
| let T := CategoryTheory.MonoidalCategory.tensorLeft | |
| (C := PresheafOfModules.{u} (R.obj β forgetβ CommRingCat RingCat)) M.val | |
| let S := PresheafOfModules.sheafification (R := ringSheaf (R.over U)) | |
| (π (ringSheaf (R.over U)).obj) | |
| refine Functor.isoWhiskerLeft (F β T) (sheafificationCompOver R U).symm βͺβ« ?_ | |
| exact Functor.isoWhiskerRight | |
| (Functor.isoWhiskerLeft F (presheafTensorCompOverIso R U M.val)) S | |
| end ActualSheafTensor | |
| end | |
| noncomputable section | |
| open CategoryTheory CategoryTheory.Limits CategoryTheory.MonoidalCategory | |
| namespace ActualSheafTensor | |
| universe u | |
| variable {C : Type u} [Category.{u} C] {J : GrothendieckTopology C} | |
| (R : Sheaf J CommRingCat.{u}) | |
| [HasSheafify J AddCommGrpCat.{u}] [J.WEqualsLocallyBijective AddCommGrpCat.{u}] | |
| local instance : MonoidalCategory (PresheafOfModules.{u} (ringSheaf R).obj) := | |
| inferInstanceAs (MonoidalCategory (PresheafOfModules.{u} | |
| (R.obj β forgetβ CommRingCat RingCat))) | |
| /-- The ideal action is the adjoint of ordinary multiplication on pure tensors before | |
| sheafification. -/ | |
| lemma idealAction_adjoint {L : SheafOfModules.{u} (ringSheaf R)} | |
| (i : L βΆ SheafOfModules.unit _) (M : SheafOfModules.{u} (ringSheaf R)) : | |
| (PresheafOfModules.sheafificationAdjunction (π (ringSheaf R).obj)).homEquiv _ _ | |
| ((idealAction R i).app M) = | |
| (i.val β· M.val) β« (Ξ»_ (M.val : PresheafOfModules (R.obj β forgetβ CommRingCat RingCat))).hom := by | |
| let adj := PresheafOfModules.sheafificationAdjunction (π (ringSheaf R).obj) | |
| apply adj.homEquiv _ _ |>.symm.injective | |
| dsimp only [adj] | |
| erw [Equiv.symm_apply_apply, Adjunction.homEquiv_counit, Functor.map_comp] | |
| change _ β« (_ β« _) = (_ β« _) β« _ | |
| exact (Category.assoc _ _ _).symm | |
| private local instance unitSectionSMul (M : SheafOfModules.{u} (ringSheaf R)) (U : Cα΅α΅) : | |
| SMul ((SheafOfModules.unit (ringSheaf R)).val.obj U) (M.val.obj U) := | |
| show SMul (R.obj.obj U) (M.val.obj U) from (M.val.obj U).isModule.toSMul | |
| /-- Formula on pure tensors, including the sheafification unit. -/ | |
| lemma idealAction_pure {L : SheafOfModules.{u} (ringSheaf R)} | |
| (i : L βΆ SheafOfModules.unit _) (M : SheafOfModules.{u} (ringSheaf R)) | |
| (U : Cα΅α΅) (l : L.val.obj U) (m : M.val.obj U) : | |
| ((idealAction R i).app M).val.app U | |
| (((PresheafOfModules.sheafificationAdjunction (π (ringSheaf R).obj)).unit.app | |
| (PresheafOfModulesOfCommRing.Monoidal.tensorObj (R := R.obj) L.val M.val)).app U | |
| (l ββ[R.obj.obj U] m)) = (i.val.app U l) β’ m := by | |
| have h := idealAction_adjoint R i M | |
| erw [Adjunction.homEquiv_unit] at h | |
| exact congrArg (fun f => f.app U (l ββ[R.obj.obj U] m)) h | |
| end ActualSheafTensor | |
| end | |
| noncomputable section | |
| open CategoryTheory CategoryTheory.Limits | |
| namespace ActualSheafTensor | |
| universe u | |
| variable {C : Type u} [Category.{u} C] {J : GrothendieckTopology C} | |
| (R : Sheaf J CommRingCat.{u}) | |
| [HasSheafify J AddCommGrpCat.{u}] [J.WEqualsLocallyBijective AddCommGrpCat.{u}] | |
| [β U, HasSheafify (J.over U) AddCommGrpCat.{u}] | |
| [β U, (J.over U).WEqualsLocallyBijective AddCommGrpCat.{u}] | |
| /-- Local trivializations of a rank-one locally free module sheaf. -/ | |
| structure LineTrivialization (M : SheafOfModules.{u} (ringSheaf R)) where | |
| I : Type u | |
| obj : I β C | |
| cover : J.CoversTop obj | |
| iso (i : I) : M.over (obj i) β SheafOfModules.unit _ | |
| /-- Tensor by any line bundle preserves monomorphisms, by descent from the unit on its local | |
| trivializing cover. -/ | |
| lemma tensorLeft_preservesMonomorphisms_of_line | |
| (M : SheafOfModules.{u} (ringSheaf R)) (d : LineTrivialization R M) : | |
| (tensorLeft R M).PreservesMonomorphisms where | |
| preserves {N P} f := by | |
| intro hmono | |
| apply SheafLocality.module_mono_of_coversTop (ringSheaf R) d.cover | |
| intro i | |
| let V := d.obj i | |
| let hTensor : (tensorLeft (R.over V) (M.over V)).PreservesMonomorphisms := | |
| tensorLeft_preservesMonomorphisms_of_unitIso (R.over V) (M.over V) (d.iso i) | |
| let hOver : (SheafOfModules.overFunctor.{u} (ringSheaf R) V).PreservesMonomorphisms := by | |
| constructor | |
| intro A B g hg | |
| have : PreservesFiniteLimits (SheafOfModules.forget.{u} (ringSheaf R)) := | |
| SheafOfModules.Finite.forgetPreservesFiniteLimits (ringSheaf R) | |
| have : (SheafOfModules.forget.{u} (ringSheaf R)).PreservesMonomorphisms := | |
| preservesMonomorphisms_of_preservesLimitsOfShape _ | |
| have : Mono g.val := inferInstanceAs (Mono ((SheafOfModules.forget.{u} (ringSheaf R)).map g)) | |
| apply (SheafOfModules.forget.{u} ((ringSheaf R).over V)).mono_of_mono_map | |
| apply PresheafOfModules.mono_of_injective | |
| intro W | |
| exact PresheafOfModules.injective_of_mono g.val (Opposite.op W.unop.left) | |
| let hLocalComposite : (SheafOfModules.overFunctor.{u} (ringSheaf R) V β | |
| tensorLeft (R.over V) (M.over V)).PreservesMonomorphisms := | |
| @Functor.preservesMonomorphisms_comp _ _ _ _ _ _ _ _ hOver hTensor | |
| let hComposite : (tensorLeft R M β SheafOfModules.overFunctor.{u} (ringSheaf R) V).PreservesMonomorphisms := | |
| (Functor.PreservesMonomorphisms.iso_iff (tensorLeftCompOverIso R V M)).mpr | |
| hLocalComposite | |
| exact (inferInstance : Mono | |
| ((tensorLeft R M β SheafOfModules.overFunctor.{u} (ringSheaf R) V).map f)) | |
| /-- Tensoring by a line bundle is actually exact throughout the category of module sheaves. Right | |
| exactness comes from the proved tensor-Hom adjunction. -/ | |
| lemma tensorLeft_preservesHomology_of_line | |
| (M : SheafOfModules.{u} (ringSheaf R)) (d : LineTrivialization R M) : | |
| (tensorLeft R M).PreservesHomology := by | |
| have := tensorLeft_preservesMonomorphisms_of_line R M d | |
| exact Functor.preservesHomology_of_preservesMonos_and_cokernels _ | |
| end ActualSheafTensor | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 40.1 kB
- Xet hash:
- 4a47e3beed049dbe93cfe5db9b1ebec8b68f8828a498391355807f89c29cdab8
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.