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.FiberedCategory.Fibered

18 declarations. Mathlib docs ยท Source

Fibered categories

This file defines what it means for a functor p : ๐’ณ โฅค ๐’ฎ to be (pre)fibered.

Main definitions

  • IsPreFibered p expresses ๐’ณ is fibered over ๐’ฎ via a functor p : ๐’ณ โฅค ๐’ฎ, as in SGA VI.6.1. This means that any morphism in the base ๐’ฎ can be lifted to a Cartesian morphism in ๐’ณ.

  • IsFibered p expresses ๐’ณ is fibered over ๐’ฎ via a functor p : ๐’ณ โฅค ๐’ฎ, as in SGA VI.6.1. This means that it is prefibered, and that the composition of any two Cartesian morphisms is Cartesian.

In the literature one often sees the notion of a fibered category defined as the existence of strongly Cartesian morphisms lying over any given morphism in the base. This is equivalent to the notion above, and we give an alternate constructor IsFibered.of_exists_isCartesian' for constructing a fibered category this way.

Implementation

The constructor of IsPreFibered is called exists_isCartesian'. The reason for the prime is that when wanting to apply this condition, it is recommended to instead use the lemma exists_isCartesian (without the prime), which is more applicable with respect to non-definitional equalities.

References

theorem CategoryTheory.Functor.IsCartesian.domainUniqueUpToIso.congr_simp E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚} ๐’ฎ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚‚} ๐’ณ]
  (p p_1 : CategoryTheory.Functor ๐’ณ ๐’ฎ) (e_p : p = p_1) {R S : ๐’ฎ} {a b : ๐’ณ} (f f_1 : R โŸถ S) (e_f : f = f_1)
  (ฯ† ฯ†_1 : a โŸถ b) (e_ฯ† : ฯ† = ฯ†_1) [inst_2 : p.IsCartesian f ฯ†] {a' : ๐’ณ} (ฯ†' ฯ†'_1 : a' โŸถ b) (e_ฯ†' : ฯ†' = ฯ†'_1)
  [inst_3 : p.IsCartesian f ฯ†'],
  CategoryTheory.Functor.IsCartesian.domainUniqueUpToIso p f ฯ† ฯ†' =
    CategoryTheory.Functor.IsCartesian.domainUniqueUpToIso p_1 f_1 ฯ†_1 ฯ†'_1

class CategoryTheory.Functor.IsPreFibered E1 #

{๐’ฎ : Type uโ‚} โ†’
  {๐’ณ : Type uโ‚‚} โ†’
    [inst : CategoryTheory.Category.{vโ‚, uโ‚} ๐’ฎ] โ†’
      [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚‚} ๐’ณ] โ†’ CategoryTheory.Functor ๐’ณ ๐’ฎ โ†’ Prop

Definition of a prefibered category.

See SGA 1 VI.6.1.

ctor CategoryTheory.Functor.IsPreFibered.mk E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚} ๐’ฎ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚‚} ๐’ณ]
  {p : CategoryTheory.Functor ๐’ณ ๐’ฎ}, (โˆ€ {a : ๐’ณ} {R : ๐’ฎ} (f : R โŸถ p.obj a), โˆƒ b ฯ†, p.IsCartesian f ฯ†) โ†’ p.IsPreFibered

theorem CategoryTheory.Functor.IsPreFibered.exists_isCartesian' E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} {inst : CategoryTheory.Category.{vโ‚, uโ‚} ๐’ฎ} {inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚‚} ๐’ณ}
  {p : CategoryTheory.Functor ๐’ณ ๐’ฎ} [self : p.IsPreFibered] {a : ๐’ณ} {R : ๐’ฎ} (f : R โŸถ p.obj a), โˆƒ b ฯ†, p.IsCartesian f ฯ†

theorem CategoryTheory.IsPreFibered.exists_isCartesian E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚} ๐’ฎ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚‚} ๐’ณ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) [p.IsPreFibered] {a : ๐’ณ} {R S : ๐’ฎ},
  p.obj a = S โ†’ โˆ€ (f : R โŸถ S), โˆƒ b ฯ†, p.IsCartesian f ฯ†

class CategoryTheory.Functor.IsFibered E1 #

{๐’ฎ : Type uโ‚} โ†’
  {๐’ณ : Type uโ‚‚} โ†’
    [inst : CategoryTheory.Category.{vโ‚, uโ‚} ๐’ฎ] โ†’
      [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚‚} ๐’ณ] โ†’ CategoryTheory.Functor ๐’ณ ๐’ฎ โ†’ Prop

Definition of a fibered category.

See SGA 1 VI.6.1.

ctor CategoryTheory.Functor.IsFibered.mk E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚} ๐’ฎ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚‚} ๐’ณ]
  {p : CategoryTheory.Functor ๐’ณ ๐’ฎ} [toIsPreFibered : p.IsPreFibered],
  (โˆ€ {R S T : ๐’ฎ} (f : R โŸถ S) (g : S โŸถ T) {a b c : ๐’ณ} (ฯ† : a โŸถ b) (ฯˆ : b โŸถ c) [p.IsCartesian f ฯ†] [p.IsCartesian g ฯˆ],
      p.IsCartesian (CategoryTheory.CategoryStruct.comp f g) (CategoryTheory.CategoryStruct.comp ฯ† ฯˆ)) โ†’
    p.IsFibered

instance CategoryTheory.Functor.IsFibered.toIsPreFibered E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} {inst : CategoryTheory.Category.{vโ‚, uโ‚} ๐’ฎ} {inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚‚} ๐’ณ}
  {p : CategoryTheory.Functor ๐’ณ ๐’ฎ} [self : p.IsFibered], p.IsPreFibered

theorem CategoryTheory.Functor.IsFibered.comp E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} {inst : CategoryTheory.Category.{vโ‚, uโ‚} ๐’ฎ} {inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚‚} ๐’ณ}
  {p : CategoryTheory.Functor ๐’ณ ๐’ฎ} [self : p.IsFibered] {R S T : ๐’ฎ} (f : R โŸถ S) (g : S โŸถ T) {a b c : ๐’ณ} (ฯ† : a โŸถ b)
  (ฯˆ : b โŸถ c) [p.IsCartesian f ฯ†] [p.IsCartesian g ฯˆ],
  p.IsCartesian (CategoryTheory.CategoryStruct.comp f g) (CategoryTheory.CategoryStruct.comp ฯ† ฯˆ)

instance CategoryTheory.instIsCartesianCompOfIsFibered E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚} ๐’ฎ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚‚} ๐’ณ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) [p.IsFibered] {R S T : ๐’ฎ} (f : R โŸถ S) (g : S โŸถ T) {a b c : ๐’ณ} (ฯ† : a โŸถ b) (ฯˆ : b โŸถ c)
  [p.IsCartesian f ฯ†] [p.IsCartesian g ฯˆ],
  p.IsCartesian (CategoryTheory.CategoryStruct.comp f g) (CategoryTheory.CategoryStruct.comp ฯ† ฯˆ)

def CategoryTheory.Functor.IsPreFibered.pullbackObj E1 #

{๐’ฎ : Type uโ‚} โ†’
  {๐’ณ : Type uโ‚‚} โ†’
    [inst : CategoryTheory.Category.{vโ‚, uโ‚} ๐’ฎ] โ†’
      [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚‚} ๐’ณ] โ†’
        {p : CategoryTheory.Functor ๐’ณ ๐’ฎ} โ†’ [p.IsPreFibered] โ†’ {R S : ๐’ฎ} โ†’ {a : ๐’ณ} โ†’ p.obj a = S โ†’ (R โŸถ S) โ†’ ๐’ณ

Given a fibered category p : ๐’ณ โฅค ๐’ซ, a morphism f : R โŸถ S and an object a lying over S, then pullbackObj is the domain of some choice of a Cartesian morphism lying over f with codomain a.

def CategoryTheory.Functor.IsPreFibered.pullbackMap E1 #

{๐’ฎ : Type uโ‚} โ†’
  {๐’ณ : Type uโ‚‚} โ†’
    [inst : CategoryTheory.Category.{vโ‚, uโ‚} ๐’ฎ] โ†’
      [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚‚} ๐’ณ] โ†’
        {p : CategoryTheory.Functor ๐’ณ ๐’ฎ} โ†’
          [inst_2 : p.IsPreFibered] โ†’
            {R S : ๐’ฎ} โ†’
              {a : ๐’ณ} โ†’ (ha : p.obj a = S) โ†’ (f : R โŸถ S) โ†’ CategoryTheory.Functor.IsPreFibered.pullbackObj ha f โŸถ a

Given a fibered category p : ๐’ณ โฅค ๐’ซ, a morphism f : R โŸถ S and an object a lying over S, then pullbackMap is a choice of a Cartesian morphism lying over f with codomain a.

instance CategoryTheory.Functor.IsPreFibered.pullbackMap.IsCartesian E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚} ๐’ฎ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚‚} ๐’ณ]
  {p : CategoryTheory.Functor ๐’ณ ๐’ฎ} [inst_2 : p.IsPreFibered] {R S : ๐’ฎ} {a : ๐’ณ} (ha : p.obj a = S) (f : R โŸถ S),
  p.IsCartesian f (CategoryTheory.Functor.IsPreFibered.pullbackMap ha f)

theorem CategoryTheory.Functor.IsPreFibered.pullbackObj_proj E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚} ๐’ฎ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚‚} ๐’ณ]
  {p : CategoryTheory.Functor ๐’ณ ๐’ฎ} [inst_2 : p.IsPreFibered] {R S : ๐’ฎ} {a : ๐’ณ} (ha : p.obj a = S) (f : R โŸถ S),
  p.obj (CategoryTheory.Functor.IsPreFibered.pullbackObj ha f) = R

instance CategoryTheory.Functor.IsFibered.isStronglyCartesian_of_isCartesian E0 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚} ๐’ฎ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚‚} ๐’ณ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ) [p.IsFibered] {R S : ๐’ฎ} (f : R โŸถ S) {a b : ๐’ณ} (ฯ† : a โŸถ b) [p.IsCartesian f ฯ†],
  p.IsStronglyCartesian f ฯ†

In a fibered category, any Cartesian morphism is strongly Cartesian.

theorem CategoryTheory.Functor.IsFibered.isStronglyCartesian_of_exists_isCartesian E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚} ๐’ฎ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚‚} ๐’ณ]
  (p : CategoryTheory.Functor ๐’ณ ๐’ฎ),
  (โˆ€ (a : ๐’ณ) (R : ๐’ฎ) (f : R โŸถ p.obj a), โˆƒ b ฯ†, p.IsStronglyCartesian f ฯ†) โ†’
    โˆ€ {R S : ๐’ฎ} (f : R โŸถ S) {a b : ๐’ณ} (ฯ† : a โŸถ b) [p.IsCartesian f ฯ†], p.IsStronglyCartesian f ฯ†

In a category which admits strongly Cartesian pullbacks, any Cartesian morphism is strongly Cartesian. This is a helper-lemma for the fact that admitting strongly Cartesian pullbacks implies being fibered.

theorem CategoryTheory.Functor.IsFibered.of_exists_isStronglyCartesian E1 #

โˆ€ {๐’ฎ : Type uโ‚} {๐’ณ : Type uโ‚‚} [inst : CategoryTheory.Category.{vโ‚, uโ‚} ๐’ฎ] [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚‚} ๐’ณ]
  {p : CategoryTheory.Functor ๐’ณ ๐’ฎ},
  (โˆ€ (a : ๐’ณ) (R : ๐’ฎ) (f : R โŸถ p.obj a), โˆƒ b ฯ†, p.IsStronglyCartesian f ฯ†) โ†’ p.IsFibered

Alternate constructor for IsFibered, a functor p : ๐’ณ โฅค ๐’ด is fibered if any diagram of the form

          a
          -
          |
          v
R --f--> p(a)

admits a strongly Cartesian lift b โŸถ a of f.

def CategoryTheory.Functor.IsFibered.pullbackPullbackIso E1 #

{๐’ฎ : Type uโ‚} โ†’
  {๐’ณ : Type uโ‚‚} โ†’
    [inst : CategoryTheory.Category.{vโ‚, uโ‚} ๐’ฎ] โ†’
      [inst_1 : CategoryTheory.Category.{vโ‚‚, uโ‚‚} ๐’ณ] โ†’
        {p : CategoryTheory.Functor ๐’ณ ๐’ฎ} โ†’
          [inst_2 : p.IsFibered] โ†’
            {R S T : ๐’ฎ} โ†’
              {a : ๐’ณ} โ†’
                (ha : p.obj a = S) โ†’
                  (f : R โŸถ S) โ†’
                    (g : T โŸถ R) โ†’
                      CategoryTheory.Functor.IsPreFibered.pullbackObj ha (CategoryTheory.CategoryStruct.comp g f) โ‰…
                        CategoryTheory.Functor.IsPreFibered.pullbackObj โ‹ฏ g

Given a diagram

                  a
                  -
                  |
                  v
T --g--> R --f--> S

we have an isomorphism T ร—_S a โ‰… T ร—_R (R ร—_S a)