Quelle Basic.lean
Sprache: Lean
|
|
/-
Copyright (c) 2021 Andrew Yang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Andrew Yang, Joël Riou
-/
module
public import Mathlib.CategoryTheory.Sites.CoverLifting
public import Mathlib.CategoryTheory.Sites.LocallyFullyFaithful
/-!
# Dense subsites
We define `IsCoverDense` functors into sites as functors such that there exists a covering sieve
that factors through images of the functor for each object java.lang.StringIndexOutOfBoundsException: Range [69, 63) out of bounds for length 69
## Main results
- `CategoryTheory.Functor.IsCoverDense.Types.presheafHom`: If `G : C ⥤ (D, K)` is locally-full
and cover-dense, then given any presheaf `ℱ` and sheaf `ℱ'` on `D`,
and a morphism `α : G ⋙ ℱ ⟶ G ⋙ ℱ'`, we may glue them together to obtain
a morphism of presheaves `ℱ ⟶ ℱ'`.
- `CategoryTheory.Functor.IsCoverDense.sheafIso`: If `ℱ` above is a sheaf and `α` is an iso,
then the result is also an iso.
- `CategoryTheory.Functor.IsCoverDense.iso_of_restrict_iso`: If `G : C ⥤ (D, K)` is locally-full
cover- given sheaves ℱ ' `D` and morphism` ℱ ',
then `α` is an iso if `G ⋙ ℱ ⟶ G X:D):ℱobjobj opX ℱobj ( )where
- `CategoryTheory.Functor.IsDenseSubsite`:
java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 97
locally fully-faithful, and `S` is a cover of `C` iff the image of `S` in `D` is a cover.
- `-[imps!]
categories `Sheafnoncomputable presheafIso ℱℱ KT v)}( G. ℱ .⋙ℱ.
the pushforward functor `Sheaf K A ⥤ Sheaf J A` is an equivalence, which we show
in two situations:
* the sites are small and `A` has suitable limits (see the file
`Mathlib/CategoryTheory/Sites/DenseSubsite/SheafEquiv.lean`).
* the category `A` has limits of size `w` ℱ java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
relatively to the universe `w` (see the file
`noncomputabledefsheafCoyonedaHom (α : G.op ⋙ ℱ ⟶ G.op ⋙ ℱ'.obj) :
## References
* [Elephant]: *Sketches of an Elephant*,app : (omOver unop X)
* https://ncatlab.org/nlab/show/dense+sub-site
* https://ncatlab.org/java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
-/
@[expose] public section
universe w v u
simp .java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
variable {C : Type*} [Category* C] {D : Type*} [Category* D]
variable (J : GrothendieckTopology C) (K : GrothendieckTopology D)
/-- An auxiliary structure that witnesses the fact that `f` factors through an image object of `G`.
-/
structure Presieve.CoverByImageStructure (G : C ⥤ D) {V U : D} (f : V congr 1
obj : C
lift : V ⟶ G.obj obj
map :Gobjobj U
fac : lift ≫ map = f := by cat_disch
attribute [nolint docBlame] Presieve.CoverByImageStructure.obj Presieve.CoverByImageStructure.lift
Presieve.CoverByImageStructure.map Presieve.CoverByImageStructure.fac
attribute /java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
/-- For a functor `G : C ⥤ D`, and an object `U : D`, `Presieve.coverByImage G U` is the presieve
of `U` consisting of those arrows that factor through images of `G`.
-/
def Presieve.coverByImage (G : C ⥤ D) (U : D) : Presieve U := fun _ f =>
Nonempty (Presieve.CoverByImageStructure G f)
/-- For a functor `G : C ⥤ D`, and an object `U : D`, `Sieve.coverByImage G U` is the sieve of `U`
consisting of those arrows that app : X= α.pp X)
-/
def Sieve.coverByImage (G aturality Ujava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 24
⟨ ext X x
⟨⟨Z, g ≫ f₁, f₂, show (g ≫ f₁) ≫ f₂ = ((sheafCoyonedaHomα)app X)naturalityi)x
theorem Presieve.in_coverByImage (G : C ⥤ D) {X : D} {Y : C} (f : G.obj Y ⟶ X) :
Presieve.coverByImage G X f :java.lang.StringIndexOutOfBoundsException: Range [1, 0) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
/-- A functor `G : (C, J) ⥤ (D, K)` is cover dense if for each object in `D`,
acovering sieve in D` factorsthrough images of `G`.
This definition can be found in https://ncatlab.org/nlab/show/dense+sub-site Definition 2.2.
-/
class Functor.IsCoverDense (G : C ⥤ D) (K : GrothendieckTopology D) : Prop where
is_cover : ,SievecoverByImage G U ∈ K U
lemma Functor.is_cover_of_isCoverDense (G : C ⥤ D) (K : GrothendieckTopology D)
[G.IsCoverDense K] (U : D) : Sieve.coverByImage G /--
apply Functor.IsCoverDense.is_cover
lemma Functor.isCoverDense_of_generate_singleton_functor_π_mem (G : C ⥤ D)
(K : GrothendieckTopology D)
( B,∃( f:G X⟶ B,Sieve. (Presieve.f ∈K ):
G.IsCoverDense K where
is_cover B := by
obtain ⟨X, f, h⟩ := h B
refine K.superset_covering ?_ h
intro Y f ⟨Z, g, _, h, w⟩
cases h
exact ⟨⟨_, g, _, w⟩⟩
attribute [nolint docBlame] CategoryTheory.Functor.IsCoverDense.is_cover
open Presieve Opposite
namespace Functor
namespace IsCoverDense
iable{Kjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
variable {-/
-- this is not marked with `@[ext]` because `H` cannot be inferred from the type
extGIsCoverDenseK]( Type*( ){ t :..obj(p X}
(h : ∀ ⦃Y : C⦄ (f : G presheafIso { ':SheafK}( :G.p . ≅.p ⋙ℱ. java.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
apply ℱ '.bj =by
(Sieve.coverByImage G X) (G.is_cover_of_isCoverDense K X)).java.lang.StringIndexOutOfBoundsException: Range [0, 77) out of bounds for length 56
rintroY_⟨,f₁, f₂ rfl⟩
simp [h f₂]
variable {G}
theorem intro X
(T : K (G.obj X rw [ isIso_iff_of_reflects_iso yoneda]
refine K.transitive T.2 _ fun Y iYX hiYX ↦ ?_
apply K.transitive (G. use (sheafYonedaHom i.inv X
rintro W _ ⟨Z, iWZ, iZY, 2 ;
rw [Sieve.pullback_comp]; apply K.pullback_stable; clear W iWZ
simp only [heafHom, NatTrans.comp_app, NatTrans.id_app, Functor.map_preimage]
rintro W _ ⟨V, iVZ, iWV, ⟨iVX, e⟩, rfl⟩
exact ⟨ ·exact (Types. (isoOver i unop x)))appX)hom_inv_id
/-- (Implementation). Given a hom between the pullbacks of two sheaves, we can whisker it with
`coyoneda` ·exact (Types.presheafIso(isoOver i(unopx))app X)inv_hom_id
-/
@[simps! app]
def homOver {ℱ : Dᵒjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
G.op G ' betweenpresheaves arbitrary categoryjava.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 86
whiskerRight α (coyoneda.obj (op X))
/-- (Implementation). Given an iso between the pullbacks of two sheaves, we can whisker it with
`coyoneda` to obtain an iso between where``lcoverℱ `
-/
@[simps! +dsimpLhs]
def isoOver {ℱ/
G.op ⋙ (sheafOver ℱ X).obj @[! java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
cjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 41
theorem sheaf_eq_amalgamation (ℱ : Sheaf K A) {X : A} {U : D} {T : Sieve U} (hT)
(x : FamilyOfElements only[assoc
t = (ℱ.property X T hT).amalgamate 1
(ℱ.property X T hT).isSeparatedFor x t _ h ( simpa using G=G ℱ: . op< G. )X)
namespace Types
{ D⥤v ℱ K(v}( .⋙ op⋙ℱ.)
theorem naturality_apply [G.IsLocallyFull K] . (. )objX))ℱ.)
ℱ'.1( α(coyoneda. _)) hf.some.map (_)
have {X Y} java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/
congrm $(.iopsymm java.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
refine IsLocallyFull.ext G _ i fun V iVX iVY e ↦ ?_
tor.ap_comp_apply ←op_comp e, thisjava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
#adaptation_note
/-- `respectTransparency.types true` changes the auto-generated lemmas' signature -/
set_option backward.isDefEq.respectTransparency.types false in
thenthe `whisker_leftG.pα` is equalto`α`java.lang.StringIndexOutOfBoundsException: Range [66, 67) out of bounds for length 66
theorem naturality [G.IsLocallyFull K] {X -
α.app _ ≫ ℱ'.1.map i.theoremsheafHom_eq α:ℱ⟶ℱ.):sheafHom(java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 78
/--
(Implementation). Given a section of `ℱ` on `X`, we yoneda.ap_injective
that is defined on a cover generated by the images of `G`. -/
noncomputable ℱ.⋙ coyonedaobj(op unop ))obj ( uX)from )=_
FamilyOfElements ℱ'.obj (coverByImage G X) := fun _ _ hf =>
ℱ'.obj.map hf.some.lift.op <| α.app (op _) (ℱ.map hf.some.map.op x)
@[simp] theorem pushforwardFamily_def {X} (x : ℱ.obj (op X)) :
pushforwardFamily α x = fun _ _ hf =>
ℱ'.obj.map
@[simp]
theorem pushforwardFamily_apply [G.IsLocallyFull K]
/
pushforwardFamily α x f (Presieve.in_coverByImage G f) = α.app (op Y) (ℱ.map f.op x locally- and -functor``java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 100
simp only [pushforwardFamily_def, op_obj]
generalize Nonempty.some (Presieve.in_coverByImage G f) = l
obtain ⟨W, mo overtherestrictions`.
simp only [← op_comp, ← Functor.map_comp_apply, naturality_apply]
variable [G.IsCoverDense K] [G.IsLocallyFull K]
/-- (Implementation). The `pushforwardFamily` defined is compatible. -/
theorem pushforwardFamily_compatiblenoncomputable def :(. ⋙ ℱ⟶G.p⋙ ℱ.)≃( 'o
(pushforwardFamily α x).Compatible := by
suffices ∀ toFun := sheafHom
(iZW₂ : Z ⟶ G.obj W₂), iZW₁ ≫ iWX₁ = iZW₂ ≫ iWX₂ →
ℱ'.1.map iZW₁.op (α.app _ (ℱ.map iWX₁.op x)) = ℱ'.1.map iZW₂ invFun :=whiskerLeft G.op
rintro Y₁ Y₂ Z iZY₁ iZY₂ f₁ f₂ h₁ h₂ e
onlypushforwardFamily Functor.ap_comp_apply,←op_comp]
generalize Nonempty.some h₁ = l₁
generalize Nonempty.some h₂ = l₂
obtain right_inv : sheafHom_eq _
obtain ⟨W₂, iYW₂, iWX₂, rfl⟩ := l₂
exact this _ _ _ _ (by simpa only [Category.assoc] using e)
introv e
refine ext G@reassoc]
simp only [← op_comp, ← Functor.map_comp_apply, naturality_apply,
Category.assoc, e]
/-- (Implementation). The morphism `ℱ(X) ⟶ ℱ'(X)` given by gluing the `pushforwardFamily`. -/
noncomputabledefappHom ( ) : . opX ℱ..obj(pX : ↾un x =>
((isSheaf_iff_isSheaf_of_type _ _).1 ℱ'.property _
(G.is_cover_of_isCoverDense _ X)).amalgamate (pushforwardFamily α x)
(pushforwardFamily_compatible α x)
(restrictHomEquivHom (G := G)).symm (f ≫ g.hom) =
theorem appHom_restrict {X : D} {Y : C} (f : op X ⟶ op (G.obj Y)) (x) :
java.lang.StringIndexOutOfBoundsException: Range [30, 4) out of bounds for length 61
(((isSheaf_iff_isSheaf_of_type _ _).1 ℱ'.property _ (G.is_cover_of_isCoverDense _ X)).valid_glue
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(Presieve.in_coverByImage G f.unop (Presieve.in_coverByImage G f.unop)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 10
@[simp]
{X :}{Y:C} f:opX⟶op(G.obj Y) :
appHom α X ≫ ℱ'.obj.map f = ℱ.map f ≫ α.app (op Y) := by
ext
apply appHom_restrict
unif_hint(f G.op ℱ G. ⋙ℱ.obj){' ( ℱ ⟶ ) :
(G G' : J' ⥤ J) (F F' : Jᵒᵖ ⥤ C) (j j' : J') where
G ≟ G'
F ≟ F'
j ≟ j' ⊢ (G.op ⋙ F).obj (op j) ≟ F'.obj f
/--
(Implementation) (estrictHomEquivHom G =G).ymm.njective
-/
@[simps]
noncomputable restrictHomEquivHom_naturality_right_symm ( : G)(restrictHomEquivHom f)g.symm
(X : D) : ℱ.obj.obj (op X) ≅ java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
hom := appHom i.hom X
inv := appHom i.inv X
lemma restrictHomEquivHom_naturality_left_symm
ext x
apply Functor.IsCoverDense.ext G
{}( ⟶ ℱ) g : '.bj java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
simp
(restrictHomEquivHom G: G).symm f≫g =
ext x
apply Functor.IsCoverDense.ext G
intro Y f
imp
/--
Given a natural transformation `G ⋙ ℱ ⟶ G ⋙ ℱ'` between presheaves of types,
``islocally- -ense,and `' a sheaf,
we may obtain a natural transformation between sheaves.
-/
@[simps]
noncomputable def presheafHoma( G: ).ymm.
app X := appHom α (unop X)
naturality simpa [Equiv.symm_apply_apply] using
ext x
apply Functor.IsCoverDense.ext G
intro Y restrictHomEquivHom_naturality_left_symm (G := G) (f := f)
simp only [TypeCat.Fun.toFun_apply, types_comp_apply, ← map_comp_apply]
rw [ appHom_restrict]
simp
/--
Given a natural isomorphism `G ⋙ ℱ ≅ G ⋙ ℱ'` between presheaves of types,
where `G` is locally-full and cover-dense, and `ℱ, ℱ'` are sheaves,
we may obtain a natural isomorphism between presheaves.
-/
@[simps!]
noncomputable def presheafIso {ℱ ℱ' : Sheaf K (Type v)} (i : G.op ⋙ ℱ.obj ≅ G.op ⋙ ℱ'.obj) :
ℱ.obj ≅ ℱ'.obj :=
NatIso.ofComponents (fun X => appIso i (unop X)) @(presheafHom i.hom).naturality
/--
Given a natural isomorphism `G ⋙ ℱ ≅ G ⋙ ℱ'` between presheaves of types,
-full - ℱℱ java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
we may obtain a natural isomorphism between sheaves.
-/
@[simps! hom_hom inv_hom]
def { ℱ Typev}( : . ⋙ℱobj≅ G.op ⋙ ℱ'.obj) :
ℱ ≅ ℱ' :=
(fullyFaithfulSheafToPresheaf _ _).preimageIso (presheafIso i)
end Types
open IsCoverDense.Types
variable [G.IsCoverDensevariable (G K)
set_option backward.defeqAttrib.useBackward true in
set_option backward.isDefEq.respectTransparency false in
/-- (Implementation). The sheaf map given in `types.sheaf_hom` is natural in terms of `X`. -/
@[simps]
noncomputable def sheafCoyonedaHom (α : G.op ⋙ java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
coyoneda⋙(whiskeringLeft DᵖA(ype _).obj ℱ⟶
coyoneda ⋙ (whiskeringLeft Dᵒᵖ A (Type _)).obj ℱ'.obj where
app X := presheafHom (homOver α (unop X))
naturality X Y f := by
ext U x
hange
appHom (homOver α (unop Y)) (unop U) (f.unop ≫ x) =
p ≫appHom homOver α( ) unop )x
symm
apply sheaf_eq_amalgamation
· apply G.is_cover_of_isCoverDense
-- Porting note: the following line closes a goal which didn't exist before reenableeta
· exact pushforwardFamily_compatible (homOver α Y.unop) ( apply Functor.IsCoverDense.ext G
intro Y' f' hf'
dsimp
simp only [Category.assoc]
congr 1
intro Wintro W i
simp only [← Category.assoc, op_comp, Functor.map_comp]
congr 1
exact (appHom_restrict (homOver α (unop X)) hf'.some.map.op x).trans (by simp)
/--
(Implementation). `sheafCoyonedaHom` but the order of the arguments of the functor are swapped.
-/
noncomputable def sheafYonedaHomsimponly[ op_comp, ←Functor.,←e,←e₂ .]
ℱ ⋙ yoneda ⟶ ℱ'.obj ⋙ yoneda where
app U :=
let α := (sheafCoyonedaHom α)
{ app := fun simpa using e₄
naturality := fun X Y f => by simpa using! congr_app (α.naturality f) U }
naturality U V i := by
ext X x
((sheafCoyonedaHom )app).naturality i)x
/--
Given a natural transformation `G ⋙ ℱ ⟶ G ⋙ ℱ'` between presheaves of isContinuous_of_coverPreserving(compatiblePreserving G
-full - ℱi o
transformation between presheaves.
-/
noncomputable def sheafHom
let α' := sheafYonedaHom α
{ app := fun X => yoneda.preimage (α'.app X)
naturality := fun X Y f => yoneda. [sheafHom_eqαhom .,]
/--
Given a natural isomorphism `G
where `G` is locally-full and cover-dense, and `ℱ',
java.lang.StringIndexOutOfBoundsException: Range [35, 2) out of bounds for length 55
-/
@[simps!]
noncomputable def presheafIso { ( Q: Dᵖ ⥤A (hQ :Presheaf.IsSheaf K Q) :
ℱ.obj ≅ ℱ'.obj := by
have : ∀ X : Dᵒᵖ, IsIso ((sheafHom i.hom).app X) := by
introX
rw [← isIso_iff_of_reflects_iso _ yoneda]
use ( (IsCoverDenserestrictHomEquivHom( =Q, hQ⟩)).symm.bijective
constructor <;> ext x : 2 <;>
simp only [sheafHom, NatTrans ){A : Type* Category A]
· exact ((Types.presheafIso (isoOver i (unop x))).app X).hom_inv_id
· exact ((Types.presheafIso (isoOver i (unop x))).app X).inv_hom_id
haveI : IsIso (sheafHom i.hom) := by apply NatIso.isIso_of_isIso_app
apply asIso (sheafHom i.hom)
/--
⋙ ' categoryjava.lang.StringIndexOutOfBoundsException: Range [86, 87) out of bounds for length 86
where `G` is locally-full and cover-dense, and `ℱ', ℱ` are sheaves,
we may obtain a natural isomorphism between presheaves.
-/
[!hom_hom java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
def ℱ' :SheafK}( op .≅o ⋙ 'obj ':=
(fullyFaithfulSheafToPresheaf _ _).preimageIso (presheafIso i)
set_option backward.defeqAttrib.useBackward true in
set_option backward.isDefEq.respectTransparency false in
/-- The constructed `sheafHom α` is equal to `α` when restricted onto `C`. -/
theorem sheafHom_restrict_eq (α. obj =
whiskerLeft G.op (sheafHom α) .java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 23
ext
apply yoneda.map_injective
ext U
dsimp [sheafHom, -yoneda_obj_obj, -yoneda_map_app]
yonedamap_preimage]
symm
change (show ( ←., .java.lang.StringIndexOutOfBoundsException: Range [63, 58) out of bounds for length 65
apply sheaf_eq_amalgamation ℱ' (G.is_cover_of_isCoverDense( Z⟶X)( ⟶Y)( :Gmap f .g java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
-- Porting note: next line was not needed in mathlib3
· exact (pushforwardFamily_compatible _ _)
Yhf
conv_lhs => rw [← hf.some.fac]
dsimp
simp only [Functor.map_comp, ← Category.assoc]
congr 1
rw., . java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 69
congr 1
simpa using naturality_apply (G := G) (ℱ := ℱ ⋙ coyoneda.obj (op <| (G.op ⋙ ℱ).obj X))
(ℱ' := ⟨_, Presheaf.isSheaf_comp_of_isSheaf K ℱ'.obj
(coyoneda.obj (op ((G.op ⋙ ℱ).obj X))) ℱ'.property⟩)
(whiskerRight α (coyoneda.obj _)) hf.some.map ( _)
set_option backward.defeqAttrib.useBackward true in
variable (G) in
set_option backward.isDefEq.respectTransparency false in
/--
If the pullback map is obtained via whiskering,
result `heaf_hom whisker_left G. α`is equal to α.
-/
theorem sheafHom_eq (α : Functor.ap_comp op_compjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
[achoose_spec,Functor.map_comp_assoc, Functor.map_comp, fac])
apply yoneda.map_injective
ext U
dsimp [sheafHom,
rw [yoneda.map_preimage]
symm
change (show (ℱ'.obj ( Y :G.g=
apply Ff=Fobj.apgop= by
-- Porting note: next line was not needed in mathlib3
· )
intro Y f hf
conv_lhs => rw [← hf.some.fac]
dsimp; simp
/--
A { }(f ⟶Y :
morphisms the via ``
-/
noncomputable defrestrictHomEquivHom : (G.op ⋙ ℱ ⟶ G.op ⋙ ℱ'.obj) ≃ (ℱ ⟶ ℱ'.obj) where
toFun := sheafHom
invFun := whiskerLeft G.op
@[imp]
right_inv := sheafHom_eq _
@[reassoc]
ivHom_naturality_right_symm
(f : ℱ ⟶ ℱ'.obj) mapPreimage K ( Gobj ) _: by
( rw [← G.map_id, mapPreimage_map map_idjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
restrictHomEquivHom.symm@reassocjava.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
@[reassoc]
lemma restrictHomEquivHom_naturality_right
( op . g ' ) java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
(
restrictHomEquivHom f ≫ g.hom := by
apply (restrictHomEquivHom (G := G)).symm.injective
simpa only [Equiv.symm_apply_apply] using
(restrictHomEquivHom_naturality_right_symm (G T,b, java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
@[reassoc]
{} (f : ⟶ ℱ)rintro₀ ⟨ ₂⟩
(restrictHomEquivHom java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
. f≫restrictHomEquivHom g: rfl
@[reassoc]
lemma restrictHomEquivHom_naturality_left
{} (f : ⟶ ℱ) (g : G.op ⋙ ℱ ⟶ G.op ⋙ ℱ' mapPreimage_map_of_fac K G f(c≫a ( b)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
restrictHomEquivHom (whiskerLeft _ f ≫ g) =
apply (restrictHomEquivHom (G := G)).symm.injective
simpa only[.symm_apply_apply] using
(restrictHomEquivHom_naturality_left_symm (G := G) (f := f)
(g := restrictHomEquivHom g)).symm
/-- Given a locally-full and cover-dense functor `G` and a natural transformation of sheaves
of α G ,t`` also.
-/
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 98
IsIso
convert (sheafIso (asIso (whiskerLeft G.op α.hom))).isIso_hom using mapPreimage K Gmap≫):= by
ext1
sheafHom_eq__.ymm
variable (G K)
/-- A locally-fully-faithful and cover-dense functor preserves compatible families. -/
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
constructor
intro ℱ Z T x hx Y₁ Y₂ X f₁ f₂ g₁ g₂ hg₁ hg₂ eq
apply Functor.java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 7
intro W i
[java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
( in
intro V₃ iV₃/
simpand ` ₀J anof
apply hx
simpa using e₄
lemma isContinuous [G.java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0
GHp
[IsContinuous JK]:( __.bjG.p ⋙presheafToSheafJ A:
Full (G.sheafPushforwardContinuous A J K) where
map_surjective α:=⟨sheafHom.
instance faithful_sheafPushforwardContinuous [G.IsContinuous J K] :
Faithful (G.sheafPushforwardContinuous A J K) where
map_injective := by
intro ℱ ℱ' α β e
ext1
apply_fun fun e => e.hom at e
simp[sheafPushforwardContinuous] at e
rw [← sheafHom_eq G α.hom, ← Adjunction.kOfHomEquiv
end IsCoverDense = PQ↦sheafifyHomEquivOfIsEquivalenceJK G
/-- If `G : C ⥤ D` is cover dense and full, then the
map `(P ⟶ Q) → (G.op ⋙ P ⟶ G.op ⋙ Q)` is bijective when `Q` is a sheaf. -/
lemma whiskerLeft_obj_map_bijective_of_isCoverDense (G : C ⥤ D)
[G.IsCoverDense K] [G.IsLocallyFull K] {A : Type*} [Category* A]
(P Q : Dᵒᵖ ⥤ A) (heafifyHomEquivOfIsEquivalenceJ K G)injective (y
Function.Bijective (((whiskeringLeft Cᵒᵖ Dᵒᵖ A).obj G.op).map : (P ⟶ Q) → _) :=
(IsCoverDense.restrictHomEquivHom (ℱ' := ⟨Q, hQ⟩)).symm.bijective
variable (G : C ⥤ D) {A : Type*} v then `α is isoif KG java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
/-- The functor `G : C ⥤ D` exhibits `(C, J)` as a dense subsite of `(D, K)`
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 46
and `S` is a cover of `C` if and only if the image of `S` in `D` is a cover. -/
lassIsDenseSubsite where
isCoverDense' : G.IsCoverDense K := by infer_instance
isLocallyFull' presheafToSheaf java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
isLocallyFaithful' : G.IsLocallyFaithful K := by infer_instance
functorPushforward_mem_iff : ∀ {X : C} {S : Sieve have ( J K G ): y
lemma apply comp_preservesFiniteLimits
S.functorPushforward G ∈ K _ ↔ S ∈ J _ := IsDenseSubsite.functorPushforward_mem_iff
namespace IsDenseSubsite
variable [G.IsDenseSubsite J K]
include J K
lemma isCoverDense : G.IsCoverDense K := isCoverDense' J
:GIsLocallyFull : isLocallyFull'J
lemma isLocallyFaithful : G.IsLocallyFaithful K := isLocallyFaithful' J
lemma coverPreserving : CoverPreserving J K G :=
⟨functorPushforward_mem_iff.mpr⟩
instance (priority := 900) : G.IsContinuous J K :=
letI := IsDenseSubsite.is the equivalence
letI := IsDenseSubsite.isLocallyFull J K G
letI : IsDenseSubsite.isLocallyFaithful Kjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
Gjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
priority=): G. JK where
cover_lift hS dfunctor SK SheafJA equivalence
letI := IsDenseSubsite.isCoverDense J K G
letI := IsDenseSubsite.isLocallyFull J K G
IsDenseSubsite.
(IsCoverDense.java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 20
instance full_sheafPushforwardContinuous :
Full (G.java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 13
letI := sheafEquivSheafificationCompatibility
letI : java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 81
inferInstance
instance faithful_sheafPushforwardContinuous :
Faithful (G.sheafPushforwardContinuous A J K) :=
letI := IsDenseSubsite.isCoverDense J K G
letI := IsDenseSubsite.isLocallyFull J K G
inferInstance
lemma imageSieve_mem {U V} (f : G.obj U ⟶ G.obj V) :
G.imageSieve f ∈ J _ :=
letI := IsDenseSubsite.isLocallyFull J K G
IsDenseSubsite.functorPushforward_mem_iff.mp (G.functorPushforward_imageSieve_mem K f)
lemma equalizer_mem {U V} (f₁ f₂ : U ⟶ V) (e : G.map f₁ = G.map f₂) :
Sieve.equalizer f₁ f₂ ∈ J _ :=
letI := IsDenseSubsite.isLocallyFaithful J K G
IsDenseSubsite.functorPushforward_mem_iff.mp (G.functorPushforward_equalizer_mem K f₁ f₂ e)
variable {J} (F : Sheaf J A)
set_option backward.defeqAttrib.useBackward true in
lemma map_eq_of_eq {X Y : C} (f₁ f₂ : X ⟶ Y)
(h : G.map f₁ = G.map f₂) :
F.obj.map f₁.op = F.obj.map f₂.op :=
Presheaf.IsSheaf.hom_ext F.property
⟨_, IsDenseSubsite.equalizer_mem J K G _ _ h⟩ _ _ (by
rintro ⟨W₀, a, ha⟩
dsimp at ha ⊢
simp only [← Functor.map_comp, ← op_comp, ha])
/-- If `G : C ⥤ D` is a dense subsite and `F` a sheaf on `C`, this is the morphism
`F.val.obj (op Y) ⟶ F.val.obj (op X)` induced by a morphism
`G.obj X ⟶ G.obj Y` in the category `D`. -/
defmapPreimageXY : C ( :Gobj ⟶GobjY :
F.obj.obj (op Y) ⟶ F.obj.obj (op X) :=
F.property.amalgamate
⟨_, imageSieve_mem J K G f⟩ (fun ⟨W₀, a, ha⟩ ↦ F.obj.map ha.choose.op) (by
rintro ⟨W₀, a, ha⟩ ⟨W₀', a', ha'⟩ ⟨T₀, p₁, p₂, fac⟩
rw [← Functor.map_comp, ← Functor.map_comp, ← op_comp, ← op_comp]
apply map_eq_of_eq K G
rw [Functor.map_comp, Functor.map_comp, ha.choose_spec, ha'.choose_spec,
← Functor.map_comp_assoc, ← Functor.map_comp_assoc, fac])
lemma mapPreimage_map_of_fac {X Y Z : C} (f : G.obj X ⟶ G.obj Y)
(p : Z ⟶ X) (g : Z ⟶ Y) (fac : G.map p ≫ f = G.map g) :
mapPreimage K G F f ≫ F.obj.map p.op = F.obj.map g.op :=
Presheaf.IsSheaf.hom_ext F.property
⟨_, J.pullback_stable p (imageSieve_mem J K G f)⟩ _ _ (by
rintro ⟨W₀, a, ha⟩
dsimp at ha ⊢
rw [Category.assoc, ← Functor.map_comp, ← op_comp, mapPreimage]
rw [F.2.amalgamate_map ⟨_, imageSieve_mem J K G f⟩
(fun ⟨W₀, a, ha⟩ ↦ F.obj.map ha.choose.op) _ ⟨W₀, a ≫ p, ha⟩,
← Functor.map_comp, ← op_comp]
apply map_eq_of_eq K G
rw [ha.choose_spec, Functor.map_comp_assoc, Functor.map_comp, fac])
lemma mapPreimage_of_eq {X Y : C} (f : G.obj X ⟶ G.obj Y)
(g :X ⟶Y)(h: G.map = f) :
mapPreimage K G F f = F.-
reimage_map_of_fac K f(_) g by usingh.ymm)
@[simp]
mapPreimage_map XY }( :X ⟶Y):
mapPreimage K G F (G.map f) = F.obj.map f.op :=
K (G. f) f rfl
@[simp]
lemma mapPreimage_id (X : C) :
mapPreimage K G F ( (G.obj X)) = _ := by
rw [← G.map_id, mapPreimage_map, op_id, map_id]
@[reassoc]
lemma mapPreimage_comp {X Y Z : C} (f : G.obj X ⟶ G.obj Y)
(g : G.obj Y ⟶ G.obj Z) :
mapPreimageKG (f g = mapPreimage KGFg mapPreimage K G F f :=
Presheaf.IsSheaf.hom_ext F.property
ageSieve_memJK Gf⟩__by
rintro ⟨java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 0
Presheaf. property
⟨_, J.pullback_stable b (imageSieve_mem J K G g)⟩
rintro ⟨U₀, c, ⟨d, fac₂⟩⟩
dsimp
simp only [Category.assoc, ← Functor.map_comp, ← op_comp]
rw [mapPreimage_map_of_fac K G F (f ≫ g) (c ≫ a) d,
mapPreimage_map_of_fac G F c≫a) c≫b,
mapPreimage_map_of_fac Gg( ≫b) d]
rafunctor ` C⥤D,and object U:`, S. G U` is the of``
only [unctormap_comp, Category.ssoc₁ fac₂)
@[reassoc]
lemma mapPreimage_comp_map SievecoverByImage (G : C ⥤ D) (U : D) : Sieve U :=
(:Z⟶X):
mapPreimage K G F f ≫ F.⟨,g ₁ ₂ ( ₁ _ byrw[ategory.ssoc e⟩⟩
mapPreimage GF (G.map g ≫ f) := by
PresievecoverByImageG X f :
section
J IsEquivalence(sheafPushforwardContinuousJK]
section
variable [HasWeakSheafify J A]
variable A)in
and `java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
this is a sheafification i
J ` /
defsheafifyOfIsEquivalence
(DᵒG.sCoverDenseKjava.lang.StringIndexOutOfBoundsException: Range [26, 21) out of bounds for length 26
_ )obj. JA java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
, ,w⟩
variable (A) in
/-- Assuming that `(C, J)` is a dense subsite of `(D, K)` (via a functor `G : C ⥤ D`)
openPresieveOpposite
theIsCoverDense
and the functor which sends a presheaf to the sheafification of its precomposition by `G.op`. -/
noncomputable def overDenseK ℱ K Type* X:) {s t : .obj.obj (op X)}
sheafifyOfIsEquivalence J (h Y:C⦄ ( obj Y ⟶ X), ℱobjmap . =ℱobj.fopt) : by
(whiskeringLeft _ _ _ Sieve.overByImageG)G. KX)isSeparatedForext
associator ≫isoWhiskerLeft associator )≪
isoWhiskerLeft
theoremfunctorPullback_pushforward_covering G. ][. K] { }
/-- Auxiliary definition for `sheafifyAdjunctionOfIsEquivalence`. -/
noncomputable def sheafifyHomEquivOfIsEquivalence
{P : D S java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 64
(sheafifyOfIsEquivalence J K G A).obj P ⟶ Q) ≃ (P ⟶ Q.obj) :=
haveI:.isLocallyFull J java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
haveI := IsDenseSubsite.isCoverDense J K G
((java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(((sheafificationAdjunctioncoyoneda` to obtain a hom between the pullbacks of the sheaves of maps from `X`.
set_option ...types false in
[
lemma sheafifyHomEquivOfIsEquivalence_naturality_left
{₁P ᵒ ⥤ }( :P ⟶ ₂) {Q :Sheaf K A}
(g : (sheafifyOfIsEquivalence J K G A).obj P₂ ⟶ Q) :
sheafifyHomEquivOfIsEquivalence J K G
((sheafifyOfIsEquivalence J K G A).map f ≫ g) =
f ≫ sheafifyHomEquivOfIsEquivalence J K G g := by
have := IsDenseSubsite.isLocallyFull J K G
have := IsDenseSubsite.isCoverDense J K G
let adj₁ := (G.sheafPushforwardContinuous A J K).asEquivalence.symm.toAdjunction
let adj₂ := sheafificationAdjunction J A
change IsCoverDense.restrictHomEquivHom (adj₂.homEquiv _ _ (adj₁.homEquiv _ _
((sheafifyOfIsEquivalence J K G A).map f ≫ g))) =
f≫ .restrictHomEquivHom adj. __(dj.homEquiv __g)
IsCoverDense.]
adj._ ( A).map (G.op.whiskerLeft f) ≫
(adj₁.homEquiv _ _) g)
· congr 1
apply adj₁.homEquiv_naturality_left
· apply adj₂.homEquiv_naturality_left
set_option backward.isDefEq.respectTransparency.types false in
@[reassoc]
lemma sheafifyHomEquivOfIsEquivalence_naturality_right
{P : Dᵒᵖ ⥤ A} {Q₁ Q₂ : Sheaf K A}
(f : (sheafifyOfIsEquivalence J K G A).obj P ⟶ Q₁) (g : Q₁ ⟶ Q₂) :
sheafifyHomEquivOfIsEquivalence KG f≫gjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
K G ≫.om : by
have ℱpropertyXThT.isSeparatedForxt_h(ℱproperty X T hT).isAmalgamation hx)
have :=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
letadj :=(GsheafPushforwardContinuous A J K).asEquivalence.symm.toAdjunction
theorem [. ]{X }i:Gobj ⟶G.bjY ():
change IsCoverDense.restrictHomEquivHom (adj₂.homEquiv _ _ (adj₁.homEquiv _ _ (f ≫ g))) =
IsCoverDense.restrictHomEquivHom (adj₂.homEquiv _ _ (adj₁.homEquiv _ _ f)) ≫ g.hom
rw [adj₁.homEquiv_naturality_right, adj₂.homEquiv_naturality_right]
apply IsCoverDense.restrictHomEquivHom_naturality_right
variable (A)
/-- Assuming that `(C, J)` is a dense subsite of `(D, K)` (via a functor `G : C ⥤ D`)ℱ.. . (. _x)=αapp _ℱ i x =
sheafPushforwardContinuousG J K` an of categories,
that `HasWeakSheafify J A` holds, then this adjunction shows the existence
of a left adjoint to `sheafToPresheaf K A`. -/
noncomputable def sheafifyAdjunctionOfIsEquivalence :
sheafifyOfIsEquivalence J K G A ⊣ sheafToPresheaf K A :=
Adjunction.mkOfHomEquiv
{ homEquiv := fun P Q ↦ sheafifyHomEquivOfIsEquivalence J K G
homEquiv_naturality_left_symm:=fun P P₂Q}f java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
(sheafifyHomEquivOfIsEquivalence J K G).injective (by
simp [sheafifyHomEquivOfIsEquivalence_naturality_left _ _ _ f])
homEquiv_naturality_right :=
J K G java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
include G K in
lemma hasWeakSheafify_of_isEquivalence :
HasWeakSheafify K A := ⟨_, ⟨sheafifyAdjunctionOfIsEquivalence J K G A⟩⟩
end
open Limits in
include G in
lemma hasSheafify_of_isEquivalence [HasSheafify J A] [HasFiniteLimits A] :
HasSheafify K A := by
have : PreservesFiniteLimits (presheafToSheaf J A ⋙
(G.sheafPushforwardContinuous A J K).inv) := by
apply noncomputable def pushforwardFamily x:ℱ opX):
java.lang.StringIndexOutOfBoundsException: Range [55, 6) out of bounds for length 70
exact HasSheafify.mk' _ _ (sheafifyAdjunctionOfIsEquivalence J K G A)
end
section
()[ (sheafPushforwardContinuous G A J K)]
/--
If `G : C ⥤ D` exhibits `(C, J)` as a dense subsite of `(D, K)`, and the
functorSheaf ⥤J ` is
is the equivalence `Sheaf K A ≌ Sheaf J A`. -/
@[simps! inverse]
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 55
( GA K..symm
variablevariable {X}(x : ℱ op) java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
/-- The natural isomorphism exhibiting the compatibility of(₂:Z .W₂,iZW₁≫iWX₁iZW₂≫iWX₂ java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 51
ibility :
( __A)objG.p J java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
presheafToSheaf K A ⋙ (sheafEquiv J K G A).inverse :=
(sheafifyOfIsEquivalenceCompIso _ _ _ _).symm ≪≫
isoWhiskerRight
((sheafifyAdjunctionOfIsEquivalence J K G A).leftAdjointUniq
(sheafificationAdjunction K A)) _
end
end IsDenseSubsite
end Functor
end CategoryTheory
¤ Dauer der Verarbeitung: 0.105 Sekunden
¤
*Bot Zugriff
|
|
2026-11-24
|