Download data/lean/OAI/AlgebraicGeometry/Comparison/Betti/Open/Image.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.96 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/Comparison/Betti/Open/Image.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/Comparison/Betti/Open/Image.lean
-
curl -L -o Image.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/Comparison/Betti/Open/Image.lean
4.96 kB
| import OAI.AlgebraicGeometry.Comparison.Betti.TopologicalSheafPullback | |
| /-! # Image -/ | |
| namespace OAI.AlgebraicGeometry.Comparison.Betti.Open.Image | |
| noncomputable section | |
| section | |
| /-! For an actual open embedding, inverse image agrees with literal restriction to open images. -/ | |
| open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite | |
| variable {M N : TopCat.{0}} (f : M βΆ N) (hf : Topology.IsOpenEmbedding f) | |
| def openRestriction : ConstantSheafSections.ComplexSheaves N β₯€ ConstantSheafSections.ComplexSheaves M := by | |
| have := hf.functor_isContinuous | |
| exact hf.functor.sheafPushforwardContinuous (ModuleCat.{0} β) | |
| (Opens.grothendieckTopology M) (Opens.grothendieckTopology N) | |
| instance openRestrictionAdditive : (openRestriction f hf).Additive where | |
| map_add := by intros; rfl | |
| def openRestrictionAdjunction : openRestriction f hf β£ TopologicalSheafPullback.sheafDirectImage f := by | |
| have := hf.functor_isContinuous | |
| exact hf.isOpenMap.adjunction.sheafPushforwardContinuous | |
| (Opens.grothendieckTopology M) (Opens.grothendieckTopology N) | |
| def openInverseImageIso : TopologicalSheafPullback.sheafInverseImage f β openRestriction f hf := | |
| (TopologicalSheafPullback.sheafImageAdjunction f).leftAdjointUniq (openRestrictionAdjunction f hf) | |
| instance openRestrictionLimits : PreservesFiniteLimits (openRestriction f hf) := | |
| preservesFiniteLimits_of_natIso (openInverseImageIso f hf) | |
| instance openRestrictionColimits : PreservesFiniteColimits (openRestriction f hf) := | |
| preservesFiniteColimits_of_natIso (openInverseImageIso f hf) | |
| theorem openRestrictionAdjunction_unit (F : ConstantSheafSections.ComplexSheaves N) (U : Opens N) : | |
| ((openRestrictionAdjunction f hf).unit.app F).hom.app (op U) = | |
| F.obj.map (hf.isOpenMap.adjunction.counit.app U).op := rfl | |
| theorem openInverseImageIso_unit (F : ConstantSheafSections.ComplexSheaves N) : | |
| (TopologicalSheafPullback.sheafImageAdjunction f).unit.app F β« | |
| (TopologicalSheafPullback.sheafDirectImage f).map ((openInverseImageIso f hf).hom.app F) = | |
| (openRestrictionAdjunction f hf).unit.app F := by | |
| exact Adjunction.homEquiv_leftAdjointUniq_hom_app | |
| (TopologicalSheafPullback.sheafImageAdjunction f) (openRestrictionAdjunction f hf) F | |
| end | |
| section | |
| /-! Sheafification commutes with literal restriction along actual open embeddings. -/ | |
| open _root_.CategoryTheory _root_.TopologicalSpace | |
| variable {M N : TopCat.{0}} (f : M βΆ N) (hf : Topology.IsOpenEmbedding f) | |
| def openPresheafRestriction : N.Presheaf (ModuleCat.{0} β) β₯€ M.Presheaf (ModuleCat.{0} β) := | |
| (Functor.whiskeringLeft _ _ (ModuleCat.{0} β)).obj hf.functor.op | |
| def openPresheafDirectImage : M.Presheaf (ModuleCat.{0} β) β₯€ N.Presheaf (ModuleCat.{0} β) := | |
| TopCat.Presheaf.pushforward (ModuleCat.{0} β) f | |
| instance openPresheafRestrictionAdditive : (openPresheafRestriction f hf).Additive where | |
| map_add := by intros; rfl | |
| instance openPresheafDirectImageAdditive : (openPresheafDirectImage f).Additive where | |
| map_add := by intros; rfl | |
| def openPresheafAdjunction : openPresheafRestriction f hf β£ openPresheafDirectImage f := | |
| hf.isOpenMap.adjunction.op.whiskerLeft (ModuleCat.{0} β) | |
| def sheafificationOpenRestrictionIso : | |
| presheafToSheaf (Opens.grothendieckTopology N) (ModuleCat.{0} β) β openRestriction f hf β | |
| openPresheafRestriction f hf β presheafToSheaf (Opens.grothendieckTopology M) (ModuleCat.{0} β) := | |
| ((sheafificationAdjunction (Opens.grothendieckTopology N) (ModuleCat.{0} β)).comp | |
| (openRestrictionAdjunction f hf)).leftAdjointUniq | |
| ((openPresheafAdjunction f hf).comp | |
| (sheafificationAdjunction (Opens.grothendieckTopology M) (ModuleCat.{0} β))) | |
| end | |
| /-! The literal presheaf restriction counit is invertible for an open embedding. -/ | |
| open _root_.CategoryTheory _root_.TopologicalSpace | |
| variable {M N : TopCat.{0}} (f : M βΆ N) (hf : Topology.IsOpenEmbedding f) | |
| theorem openPresheafCounit_isIso (P : M.Presheaf (ModuleCat.{0} β)) : | |
| IsIso ((openPresheafAdjunction f hf).counit.app P) := by | |
| have : Mono f := (TopCat.mono_iff_injective f).mpr hf.injective | |
| have (U : Opens M) : IsIso (hf.isOpenMap.adjunction.unit.app U) := by infer_instance | |
| have (U : (Opens M)α΅α΅) : IsIso (((openPresheafAdjunction f hf).counit.app P).app U) := by | |
| change IsIso (P.map (hf.isOpenMap.adjunction.unit.app U.unop).op) | |
| infer_instance | |
| exact NatIso.isIso_of_isIso_app _ | |
| theorem openPresheafComplexCounit_isIso (K : CochainComplex (M.Presheaf (ModuleCat.{0} β)) β€) : | |
| IsIso ((Complex.Adjunction.onComplexes (openPresheafAdjunction f hf) (ComplexShape.up β€)).counit.app K) := by | |
| have (n : β€) : IsIso | |
| (((Complex.Adjunction.onComplexes (openPresheafAdjunction f hf) (ComplexShape.up β€)).counit.app K).f n) := | |
| openPresheafCounit_isIso f hf (K.X n) | |
| exact HomologicalComplex.Hom.isIso_of_components _ | |
| end | |
| end OAI.AlgebraicGeometry.Comparison.Betti.Open.Image | |