The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V25. Higher structures in categories

Mathlib.CategoryTheory.MorphismProperty.Local

33 declarations. Mathlib docs · Source

Locality conditions on morphism properties

In this file we define locality conditions on morphism properties in a category. Let K be a precoverage in a category C and P be a morphism property on C that respects isomorphisms.

We say that

  • P is local at the target if for every f : X ⟶ Y, P holds for f if and only if it holds for the restrictions of f to Uᵢ for a K-cover {Uᵢ} of Y.
  • P is local at the source if for every f : X ⟶ Y, P holds for f if and only if it holds for the restrictions of f to Uᵢ for a K-cover {Uᵢ} of X.

TODO

  • Define source and target local closure of a morphism property.

class CategoryTheory.MorphismProperty.IsLocalAtTarget E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] → CategoryTheory.MorphismProperty C → CategoryTheory.Precoverage C → Prop

A property of morphisms P in C is local at the target with respect to the precoverage K if it respects isomorphisms, and: P holds for f : X ⟶ Y if and only if it holds for the restrictions of f to Uᵢ for a 0-hypercover {Uᵢ} of Y in the precoverage K.

instance CategoryTheory.MorphismProperty.IsLocalAtTarget.toRespects E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {P : CategoryTheory.MorphismProperty C}
  (K : CategoryTheory.Precoverage C) [self : P.IsLocalAtTarget K],
  P.Respects (CategoryTheory.MorphismProperty.isomorphisms C)

ctor CategoryTheory.MorphismProperty.IsLocalAtTarget.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [toRespects : P.Respects (CategoryTheory.MorphismProperty.isomorphisms C)],
  (∀ {X Y : C} {f : Y ⟶ X} {R : CategoryTheory.Presieve X} {U : C} {g : U ⟶ X},
      R ∈ K.coverings X →
        R g → P f → ∀ [inst_1 : CategoryTheory.Limits.HasPullback f g], P (CategoryTheory.Limits.pullback.snd f g)) →
    (∀ {X Y : C} {f : Y ⟶ X} {R : CategoryTheory.Presieve X},
        R ∈ K.coverings X →
          (∀ {U : C} {g : U ⟶ X} [inst_1 : CategoryTheory.Limits.HasPullback f g],
              R g → P (CategoryTheory.Limits.pullback.snd f g)) →
            P f) →
      P.IsLocalAtTarget K

theorem CategoryTheory.MorphismProperty.IsLocalAtTarget.pullbackSnd E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [self : P.IsLocalAtTarget K] {X Y : C} {f : Y ⟶ X} {R : CategoryTheory.Presieve X}
  {U : C} {g : U ⟶ X},
  R ∈ K.coverings X →
    R g → P f → ∀ [inst_1 : CategoryTheory.Limits.HasPullback f g], P (CategoryTheory.Limits.pullback.snd f g)

If P holds for f : X ⟶ Y, it also holds for f restricted to Uᵢ for any K-cover R of Y.

theorem CategoryTheory.MorphismProperty.IsLocalAtTarget.of_forall_pullbackSnd E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [self : P.IsLocalAtTarget K] {X Y : C} {f : Y ⟶ X} {R : CategoryTheory.Presieve X},
  R ∈ K.coverings X →
    (∀ {U : C} {g : U ⟶ X} [inst_1 : CategoryTheory.Limits.HasPullback f g],
        R g → P (CategoryTheory.Limits.pullback.snd f g)) →
      P f

If P holds for f restricted to Uᵢ for all i, it also holds for f : X ⟶ Y for any K-cover R of Y.

theorem CategoryTheory.MorphismProperty.IsLocalAtTarget.mk_of_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [P.RespectsIso],
  (∀ ⦃X Y : C⦄ ⦃f : X ⟶ Y⦄ ⦃R : CategoryTheory.Presieve Y⦄,
      R ∈ K.coverings Y →
        (P f ↔
          ∀ {U : C} (g : U ⟶ Y) [inst_2 : CategoryTheory.Limits.HasPullback f g],
            R g → P (CategoryTheory.Limits.pullback.snd f g))) →
    P.IsLocalAtTarget K

theorem CategoryTheory.MorphismProperty.IsLocalAtTarget.iff_of_forall_pullbackSnd E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [P.IsLocalAtTarget K] {X Y : C} {R : CategoryTheory.Presieve Y},
  R ∈ K.coverings Y →
    ∀ {f : X ⟶ Y},
      P f ↔
        ∀ {U : C} (g : U ⟶ Y) [inst_2 : CategoryTheory.Limits.HasPullback f g],
          R g → P (CategoryTheory.Limits.pullback.snd f g)

theorem CategoryTheory.MorphismProperty.IsLocalAtTarget.mk_of_iff_of_zeroHypercover E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [inst_1 : K.HasPullbacks] [P.RespectsIso],
  (∀ {X Y : C} (f : X ⟶ Y) (𝒰 : K.ZeroHypercover Y),
      P f ↔ ∀ (i : 𝒰.I₀), P (CategoryTheory.Limits.pullback.snd f (𝒰.f i))) →
    P.IsLocalAtTarget K

theorem CategoryTheory.MorphismProperty.IsLocalAtTarget.mk_of_small E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [inst_1 : K.HasPullbacks] [P.RespectsIso] [K.Small],
  (∀ {X Y : C} {f : X ⟶ Y} (𝒰 : K.ZeroHypercover Y),
      P f → ∀ (i : 𝒰.I₀), P (CategoryTheory.Limits.pullback.snd f (𝒰.f i))) →
    (∀ {X Y : C} {f : X ⟶ Y} (𝒰 : K.ZeroHypercover Y),
        (∀ (i : 𝒰.I₀), P (CategoryTheory.Limits.pullback.snd f (𝒰.f i))) → P f) →
      P.IsLocalAtTarget K

theorem CategoryTheory.MorphismProperty.IsLocalAtTarget.mk_of_isStableUnderBaseChange E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [inst_1 : K.HasPullbacks] [P.IsStableUnderBaseChange],
  (∀ {X Y : C} (f : X ⟶ Y) (𝒰 : K.ZeroHypercover Y),
      (∀ (i : 𝒰.I₀), P (CategoryTheory.Limits.pullback.snd f (𝒰.f i))) → P f) →
    P.IsLocalAtTarget K

theorem CategoryTheory.MorphismProperty.IsLocalAtTarget.of_le E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K L : CategoryTheory.Precoverage C} [P.IsLocalAtTarget L], K ≤ L → P.IsLocalAtTarget K

instance CategoryTheory.MorphismProperty.IsLocalAtTarget.top E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {K : CategoryTheory.Precoverage C}, ⊤.IsLocalAtTarget K

theorem CategoryTheory.MorphismProperty.IsLocalAtTarget.of_isPullback E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [P.IsLocalAtTarget K] {X Y : C} {f : X ⟶ Y} (𝒰 : K.ZeroHypercover Y) {X' : C}
  (i : 𝒰.I₀) {fst : X' ⟶ X} {snd : X' ⟶ 𝒰.X i}, CategoryTheory.IsPullback fst snd f (𝒰.f i) → P f → P snd

theorem CategoryTheory.MorphismProperty.IsLocalAtTarget.of_zeroHypercover E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [P.IsLocalAtTarget K] {X Y : C} {f : X ⟶ Y} (𝒰 : K.ZeroHypercover Y)
  [inst_2 : K.HasPullbacks], (∀ (i : 𝒰.I₀), P (CategoryTheory.Limits.pullback.snd f (𝒰.f i))) → P f

theorem CategoryTheory.MorphismProperty.IsLocalAtTarget.iff_of_zeroHypercover E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [P.IsLocalAtTarget K] {X Y : C} {f : X ⟶ Y} (𝒰 : K.ZeroHypercover Y)
  [inst_2 : K.HasPullbacks], P f ↔ ∀ (i : 𝒰.I₀), P (CategoryTheory.Limits.pullback.snd f (𝒰.f i))

instance CategoryTheory.MorphismProperty.IsLocalAtTarget.inf E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {K : CategoryTheory.Precoverage C}
  (P Q : CategoryTheory.MorphismProperty C) [P.IsLocalAtTarget K] [Q.IsLocalAtTarget K], (P ⊓ Q).IsLocalAtTarget K

theorem CategoryTheory.MorphismProperty.of_zeroHypercover_target E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [inst_1 : K.HasPullbacks] [P.IsLocalAtTarget K] {X Y : C} {f : X ⟶ Y}
  (𝒰 : K.ZeroHypercover Y), (∀ (i : 𝒰.I₀), P (CategoryTheory.Limits.pullback.snd f (𝒰.f i))) → P f

theorem CategoryTheory.MorphismProperty.iff_of_zeroHypercover_target E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [P.IsLocalAtTarget K] {X Y : C} {f : X ⟶ Y} (𝒰 : K.ZeroHypercover Y)
  [inst_2 : K.HasPullbacks], P f ↔ ∀ (i : 𝒰.I₀), P (CategoryTheory.Limits.pullback.snd f (𝒰.f i))

Alias of CategoryTheory.MorphismProperty.IsLocalAtTarget.iff_of_zeroHypercover.

class CategoryTheory.MorphismProperty.IsLocalAtSource E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] → CategoryTheory.MorphismProperty C → CategoryTheory.Precoverage C → Prop

A property of morphisms P in C is local at the source with respect to the precoverage K if it respects isomorphisms, and: P holds for f : X ⟶ Y if and only if it holds for the restrictions of f to Uᵢ for a 0-hypercover {Uᵢ} of X in the precoverage K.

ctor CategoryTheory.MorphismProperty.IsLocalAtSource.mk E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [toRespects : P.Respects (CategoryTheory.MorphismProperty.isomorphisms C)],
  (∀ {X Y : C} {f : X ⟶ Y} {R : CategoryTheory.Presieve X},
      R ∈ K.coverings X → ∀ {U : C} (g : U ⟶ X), R g → P f → P (CategoryTheory.CategoryStruct.comp g f)) →
    (∀ {X Y : C} {f : X ⟶ Y} {R : CategoryTheory.Presieve X},
        R ∈ K.coverings X → (∀ ⦃U : C⦄ ⦃g : U ⟶ X⦄, R g → P (CategoryTheory.CategoryStruct.comp g f)) → P f) →
      P.IsLocalAtSource K

instance CategoryTheory.MorphismProperty.IsLocalAtSource.toRespects E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {P : CategoryTheory.MorphismProperty C}
  (K : CategoryTheory.Precoverage C) [self : P.IsLocalAtSource K],
  P.Respects (CategoryTheory.MorphismProperty.isomorphisms C)

theorem CategoryTheory.MorphismProperty.IsLocalAtSource.comp E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [self : P.IsLocalAtSource K] {X Y : C} {f : X ⟶ Y} {R : CategoryTheory.Presieve X},
  R ∈ K.coverings X → ∀ {U : C} (g : U ⟶ X), R g → P f → P (CategoryTheory.CategoryStruct.comp g f)

If P holds for f : X ⟶ Y, it also holds for 𝒰.f i ≫ f for any K-cover R of X.

theorem CategoryTheory.MorphismProperty.IsLocalAtSource.of_forall_comp E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [self : P.IsLocalAtSource K] {X Y : C} {f : X ⟶ Y} {R : CategoryTheory.Presieve X},
  R ∈ K.coverings X → (∀ ⦃U : C⦄ ⦃g : U ⟶ X⦄, R g → P (CategoryTheory.CategoryStruct.comp g f)) → P f

If P holds for 𝒰.f i ≫ f for all i, it holds for f : X ⟶ Y for any K-cover R of X.

theorem CategoryTheory.MorphismProperty.IsLocalAtSource.mk_of_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [P.RespectsIso],
  (∀ {X Y : C} {f : X ⟶ Y} {R : CategoryTheory.Presieve X},
      R ∈ K.coverings X → (P f ↔ ∀ ⦃U : C⦄ ⦃g : U ⟶ X⦄, R g → P (CategoryTheory.CategoryStruct.comp g f))) →
    P.IsLocalAtSource K

theorem CategoryTheory.MorphismProperty.IsLocalAtSource.mk_of_iff_of_zeroHypercover E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [P.RespectsIso],
  (∀ {X Y : C} (f : X ⟶ Y) (𝒰 : K.ZeroHypercover X),
      P f ↔ ∀ (i : 𝒰.I₀), P (CategoryTheory.CategoryStruct.comp (𝒰.f i) f)) →
    P.IsLocalAtSource K

theorem CategoryTheory.MorphismProperty.IsLocalAtSource.mk_of_small E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [P.RespectsIso] [K.Small],
  (∀ {X Y : C} {f : X ⟶ Y} (𝒰 : K.ZeroHypercover X),
      P f → ∀ (i : 𝒰.I₀), P (CategoryTheory.CategoryStruct.comp (𝒰.f i) f)) →
    (∀ {X Y : C} {f : X ⟶ Y} (𝒰 : K.ZeroHypercover X),
        (∀ (i : 𝒰.I₀), P (CategoryTheory.CategoryStruct.comp (𝒰.f i) f)) → P f) →
      P.IsLocalAtSource K

theorem CategoryTheory.MorphismProperty.IsLocalAtSource.of_le E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K L : CategoryTheory.Precoverage C} [P.IsLocalAtSource L], K ≤ L → P.IsLocalAtSource K

instance CategoryTheory.MorphismProperty.IsLocalAtSource.top E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {K : CategoryTheory.Precoverage C}, ⊤.IsLocalAtSource K

theorem CategoryTheory.MorphismProperty.IsLocalAtSource.of_zeroHypercover E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [P.IsLocalAtSource K] {X Y : C} {f : X ⟶ Y} (𝒰 : K.ZeroHypercover X),
  (∀ (i : 𝒰.I₀), P (CategoryTheory.CategoryStruct.comp (𝒰.f i) f)) → P f

theorem CategoryTheory.MorphismProperty.IsLocalAtSource.iff_of_zeroHypercover E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [P.IsLocalAtSource K] {X Y : C} {f : X ⟶ Y} (𝒰 : K.ZeroHypercover X),
  P f ↔ ∀ (i : 𝒰.I₀), P (CategoryTheory.CategoryStruct.comp (𝒰.f i) f)

instance CategoryTheory.MorphismProperty.IsLocalAtSource.inf E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {K : CategoryTheory.Precoverage C}
  (P Q : CategoryTheory.MorphismProperty C) [P.IsLocalAtSource K] [Q.IsLocalAtSource K], (P ⊓ Q).IsLocalAtSource K

theorem CategoryTheory.MorphismProperty.of_zeroHypercover_source E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [P.IsLocalAtSource K] {X Y : C} {f : X ⟶ Y} (𝒰 : K.ZeroHypercover X),
  (∀ (i : 𝒰.I₀), P (CategoryTheory.CategoryStruct.comp (𝒰.f i) f)) → P f

theorem CategoryTheory.MorphismProperty.iff_of_zeroHypercover_source E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {P : CategoryTheory.MorphismProperty C}
  {K : CategoryTheory.Precoverage C} [P.IsLocalAtSource K] {X Y : C} {f : X ⟶ Y} (𝒰 : K.ZeroHypercover X),
  P f ↔ ∀ (i : 𝒰.I₀), P (CategoryTheory.CategoryStruct.comp (𝒰.f i) f)

Alias of CategoryTheory.MorphismProperty.IsLocalAtSource.iff_of_zeroHypercover.