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 / V24. Category theory

Mathlib.CategoryTheory.CofilteredSystem

31 declarations. Mathlib docs · Source

Cofiltered systems

This file deals with properties of cofiltered (and inverse) systems.

Main definitions

Given a functor F : J ⥤ Type v:

  • For j : J, F.eventualRange j is the intersection of all ranges of morphisms F.map f where f has codomain j.
  • F.IsMittagLeffler states that the functor F satisfies the Mittag-Leffler condition: the ranges of morphisms F.map f (with f having codomain j) stabilize.
  • If J is cofiltered F.toEventualRanges is the subfunctor of F obtained by restriction to F.eventualRange.
  • F.toPreimages restricts a functor to preimages of a given set in some F.obj i. If J is cofiltered, then it is Mittag-Leffler if F is, see IsMittagLeffler.toPreimages.

Main statements

  • nonempty_sections_of_finite_cofiltered_system shows that if J is cofiltered and each F.obj j is nonempty and finite, F.sections is nonempty.
  • nonempty_sections_of_finite_inverse_system is a specialization of the above to J being a directed set (and F : Jᵒᵖ ⥤ Type v).
  • isMittagLeffler_of_exists_finite_range shows that if J is cofiltered and for all j, there exists some i and f : i ⟶ j such that the range of F.map f is finite, then F is Mittag-Leffler.
  • surjective_toEventualRanges shows that if F is Mittag-Leffler, then F.toEventualRanges has all morphisms F.map f surjective.

TODO

References

Tags

Mittag-Leffler, surjective, eventual range, inverse system,

theorem nonempty_sections_of_finite_cofiltered_system.init E1 #

∀ {J : Type u} [inst : CategoryTheory.SmallCategory J] [CategoryTheory.IsCofilteredOrEmpty J]
  (F : CategoryTheory.Functor J (Type u)) [hf : ∀ (j : J), Finite (F.obj j)] [hne : ∀ (j : J), Nonempty (F.obj j)],
  F.sections.Nonempty

This bootstraps nonempty_sections_of_finite_inverse_system. In this version, the F functor is between categories of the same universe, and it is an easy corollary to TopCat.nonempty_limitCone_of_compact_t2_cofiltered_system.

theorem nonempty_sections_of_finite_cofiltered_system E3 #

∀ {J : Type u} [inst : CategoryTheory.Category.{w, u} J] [CategoryTheory.IsCofilteredOrEmpty J]
  (F : CategoryTheory.Functor J (Type v)) [∀ (j : J), Finite (F.obj j)] [∀ (j : J), Nonempty (F.obj j)],
  F.sections.Nonempty

The cofiltered limit of nonempty finite types is nonempty.

See nonempty_sections_of_finite_inverse_system for a specialization to inverse limits.

theorem nonempty_sections_of_finite_inverse_system E3 #

∀ {J : Type u} [inst : Preorder J] [IsDirectedOrder J] (F : CategoryTheory.Functor Jᵒᵖ (Type v))
  [∀ (j : Jᵒᵖ), Finite (F.obj j)] [∀ (j : Jᵒᵖ), Nonempty (F.obj j)], F.sections.Nonempty

The inverse limit of nonempty finite types is nonempty.

See nonempty_sections_of_finite_cofiltered_system for a generalization to cofiltered limits. That version applies in almost all cases, and the only difference is that this version allows J to be empty.

This may be regarded as a generalization of Kőnig's lemma. To specialize: given a locally finite connected graph, take Jᵒᵖ to be ℕ and F j to be length-j paths that start from an arbitrary fixed vertex. Elements of F.sections can be read off as infinite rays in the graph.

def CategoryTheory.Functor.eventualRange E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v_1, u} J] →
    (F : CategoryTheory.Functor J (Type v)) → (j : J) → Set ((fun X ↦ X) (F.obj j))

The eventual range of the functor F : J ⥤ Type v at index j : J is the intersection of the ranges of all maps F.map f with i : J and f : i ⟶ j.

theorem CategoryTheory.Functor.mem_eventualRange_iff E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v)) {j : J}
  {x : F.obj j},
  x ∈ F.eventualRange j ↔ ∀ ⦃i : J⦄ (f : i ⟶ j), x ∈ Set.range ⇑(CategoryTheory.ConcreteCategory.hom (F.map f))

def CategoryTheory.Functor.IsMittagLeffler E1 #

{J : Type u} → [inst : CategoryTheory.Category.{v_1, u} J] → CategoryTheory.Functor J (Type v) → Prop

The functor F : J ⥤ Type v satisfies the Mittag-Leffler condition if for all j : J, there exists some i : J and f : i ⟶ j such that for all k : J and g : k ⟶ j, the range of F.map f is contained in that of F.map g; in other words (see isMittagLeffler_iff_eventualRange), the eventual range at j is attained by some f : i ⟶ j.

theorem CategoryTheory.Functor.isMittagLeffler_iff_eventualRange E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v)),
  F.IsMittagLeffler ↔ ∀ (j : J), ∃ i f, F.eventualRange j = Set.range ⇑(CategoryTheory.ConcreteCategory.hom (F.map f))

theorem CategoryTheory.Functor.IsMittagLeffler.subset_image_eventualRange E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v)) {i j : J},
  F.IsMittagLeffler →
    ∀ (f : j ⟶ i), F.eventualRange i ⊆ ⇑(CategoryTheory.ConcreteCategory.hom (F.map f)) '' F.eventualRange j

theorem CategoryTheory.Functor.eventualRange_eq_range_precomp E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v)) {i j k : J}
  (f : i ⟶ j) (g : j ⟶ k),
  F.eventualRange k = Set.range ⇑(CategoryTheory.ConcreteCategory.hom (F.map g)) →
    F.eventualRange k =
      Set.range ⇑(CategoryTheory.ConcreteCategory.hom (F.map (CategoryTheory.CategoryStruct.comp f g)))

theorem CategoryTheory.Functor.isMittagLeffler_of_surjective E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v)),
  (∀ ⦃i j : J⦄ (f : i ⟶ j), Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom (F.map f))) → F.IsMittagLeffler

def CategoryTheory.Functor.toPreimages E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v_1, u} J] →
    (F : CategoryTheory.Functor J (Type v)) → {i : J} → Set (F.obj i) → CategoryTheory.Functor J (Type v)

The subfunctor of F obtained by restricting to the preimages of a set s ∈ F.obj i.

theorem CategoryTheory.Functor.toPreimages_map E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v)) {i : J}
  (s : Set (F.obj i)) {X Y : J} (g : X ⟶ Y),
  (F.toPreimages s).map g =
    TypeCat.ofHom
      (Set.MapsTo.restrict (⇑(CategoryTheory.ConcreteCategory.hom (F.map g)))
        (⋂ f, ⇑(CategoryTheory.ConcreteCategory.hom (F.map f)) ⁻¹' s)
        (⋂ f, ⇑(CategoryTheory.ConcreteCategory.hom (F.map f)) ⁻¹' s) ⋯)

theorem CategoryTheory.Functor.toPreimages_obj E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v)) {i : J}
  (s : Set (F.obj i)) (j : J), (F.toPreimages s).obj j = ↑(⋂ f, ⇑(CategoryTheory.ConcreteCategory.hom (F.map f)) ⁻¹' s)

instance CategoryTheory.Functor.toPreimages_finite E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v)) {i : J}
  (s : Set (F.obj i)) [∀ (j : J), Finite (F.obj j)] (j : J), Finite ((F.toPreimages s).obj j)

theorem CategoryTheory.Functor.eventualRange_mapsTo E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v)) {i j : J}
  [CategoryTheory.IsCofilteredOrEmpty J] (f : j ⟶ i),
  Set.MapsTo (⇑(CategoryTheory.ConcreteCategory.hom (F.map f))) (F.eventualRange j) (F.eventualRange i)

theorem CategoryTheory.Functor.eventualRange_eq_iff E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v)) {i j : J}
  [CategoryTheory.IsCofilteredOrEmpty J] {f : i ⟶ j},
  F.eventualRange j = Set.range ⇑(CategoryTheory.ConcreteCategory.hom (F.map f)) ↔
    ∀ ⦃k : J⦄ (g : k ⟶ i),
      Set.range ⇑(CategoryTheory.ConcreteCategory.hom (F.map f)) ⊆
        Set.range ⇑(CategoryTheory.ConcreteCategory.hom (F.map (CategoryTheory.CategoryStruct.comp g f)))

theorem CategoryTheory.Functor.isMittagLeffler_iff_subset_range_comp E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v))
  [CategoryTheory.IsCofilteredOrEmpty J],
  F.IsMittagLeffler ↔
    ∀ (j : J),
      ∃ i f,
        ∀ ⦃k : J⦄ (g : k ⟶ i),
          Set.range ⇑(CategoryTheory.ConcreteCategory.hom (F.map f)) ⊆
            Set.range ⇑(CategoryTheory.ConcreteCategory.hom (F.map (CategoryTheory.CategoryStruct.comp g f)))

theorem CategoryTheory.Functor.IsMittagLeffler.toPreimages E3 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v)) {i : J}
  (s : Set (F.obj i)) [CategoryTheory.IsCofilteredOrEmpty J], F.IsMittagLeffler → (F.toPreimages s).IsMittagLeffler

theorem CategoryTheory.Functor.isMittagLeffler_of_exists_finite_range E3 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v))
  [CategoryTheory.IsCofilteredOrEmpty J],
  (∀ (j : J), ∃ i f, (Set.range ⇑(CategoryTheory.ConcreteCategory.hom (F.map f))).Finite) → F.IsMittagLeffler

def CategoryTheory.Functor.toEventualRanges E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v_1, u} J] →
    CategoryTheory.Functor J (Type v) → [CategoryTheory.IsCofilteredOrEmpty J] → CategoryTheory.Functor J (Type v)

The subfunctor of F obtained by restricting to the eventual range at each index.

theorem CategoryTheory.Functor.toEventualRanges_obj E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v))
  [inst_1 : CategoryTheory.IsCofilteredOrEmpty J] (j : J), F.toEventualRanges.obj j = ↑(F.eventualRange j)

theorem CategoryTheory.Functor.toEventualRanges_map E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v))
  [inst_1 : CategoryTheory.IsCofilteredOrEmpty J] {X Y : J} (f : X ⟶ Y),
  F.toEventualRanges.map f =
    TypeCat.ofHom
      (Set.MapsTo.restrict (⇑(CategoryTheory.ConcreteCategory.hom (F.map f))) (F.eventualRange X) (F.eventualRange Y) ⋯)

instance CategoryTheory.Functor.toEventualRanges_finite E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v))
  [inst_1 : CategoryTheory.IsCofilteredOrEmpty J] [∀ (j : J), Finite (F.obj j)] (j : J),
  Finite (F.toEventualRanges.obj j)

def CategoryTheory.Functor.toEventualRangesSectionsEquiv E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v_1, u} J] →
    (F : CategoryTheory.Functor J (Type v)) →
      [inst_1 : CategoryTheory.IsCofilteredOrEmpty J] → ↑F.toEventualRanges.sections ≃ ↑F.sections

The sections of the functor F : J ⥤ Type v are in bijection with the sections of F.toEventualRanges.

theorem CategoryTheory.Functor.surjective_toEventualRanges E3 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v))
  [inst_1 : CategoryTheory.IsCofilteredOrEmpty J],
  F.IsMittagLeffler →
    ∀ ⦃i j : J⦄ (f : i ⟶ j), Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom (F.toEventualRanges.map f))

If F satisfies the Mittag-Leffler condition, its restriction to eventual ranges is a surjective functor.

theorem CategoryTheory.Functor.toEventualRanges_nonempty E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v))
  [inst_1 : CategoryTheory.IsCofilteredOrEmpty J],
  F.IsMittagLeffler → ∀ [∀ (j : J), Nonempty (F.obj j)] (j : J), Nonempty (F.toEventualRanges.obj j)

If F is nonempty at each index and Mittag-Leffler, then so is F.toEventualRanges.

theorem CategoryTheory.Functor.thin_diagram_of_surjective E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v))
  [CategoryTheory.IsCofilteredOrEmpty J],
  (∀ ⦃i j : J⦄ (f : i ⟶ j), Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom (F.map f))) →
    ∀ {i j : J} (f g : i ⟶ j), F.map f = F.map g

If F has all arrows surjective, then it "factors through a poset".

theorem CategoryTheory.Functor.toPreimages_nonempty_of_surjective E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v)) {i : J}
  (s : Set (F.obj i)) [CategoryTheory.IsCofilteredOrEmpty J] [hFn : ∀ (j : J), Nonempty (F.obj j)],
  (∀ ⦃i j : J⦄ (f : i ⟶ j), Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom (F.map f))) →
    s.Nonempty → ∀ (j : J), Nonempty ((F.toPreimages s).obj j)

theorem CategoryTheory.Functor.eval_section_injective_of_eventually_injective E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v))
  [CategoryTheory.IsCofilteredOrEmpty J] {j : J},
  (∀ (i : J) (f : i ⟶ j), Function.Injective ⇑(CategoryTheory.ConcreteCategory.hom (F.map f))) →
    ∀ (i : J) (f : i ⟶ j), Function.Injective fun s ↦ ↑s j

theorem CategoryTheory.Functor.eval_section_surjective_of_surjective E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v))
  [CategoryTheory.IsCofilteredOrEmpty J] [∀ (j : J), Nonempty (F.obj j)] [∀ (j : J), Finite (F.obj j)],
  (∀ ⦃i j : J⦄ (f : i ⟶ j), Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom (F.map f))) →
    ∀ (i : J), Function.Surjective fun s ↦ ↑s i

theorem CategoryTheory.Functor.eventually_injective E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v_1, u} J] (F : CategoryTheory.Functor J (Type v))
  [CategoryTheory.IsCofilteredOrEmpty J] [∀ (j : J), Nonempty (F.obj j)] [∀ (j : J), Finite (F.obj j)],
  (∀ ⦃i j : J⦄ (f : i ⟶ j), Function.Surjective ⇑(CategoryTheory.ConcreteCategory.hom (F.map f))) →
    ∀ [Nonempty J] [Finite ↑F.sections],
      ∃ j, ∀ (i : J) (f : i ⟶ j), Function.Injective ⇑(CategoryTheory.ConcreteCategory.hom (F.map f))