Documentation

Mathlib.CategoryTheory.Localization.CalculusOfFractions.Fractions

Lemmas on fractions #

Let W : MorphismProperty C, and objects X and Y in C. In this file, we introduce structures like W.LeftFraction₂ X Y which consists of two left fractions with the "same denominator" which shall be important in the construction of the preadditive structure on the localized category when C is preadditive and W has a left calculus of fractions.

When W has a left calculus of fractions, we generalize the lemmas RightFraction.exists_leftFraction as RightFraction₂.exists_leftFraction₂, Localization.exists_leftFraction as Localization.exists_leftFraction₂ and Localization.exists_leftFraction₃, and LeftFraction.map_eq_iff as LeftFraction₂.map_eq_iff.

Implementation note #

The lemmas in this file are phrased with data that is bundled into structures like LeftFraction₂ or LeftFraction₃. It could have been possible to phrase them with "unbundled data". However, this would require introducing 4 or 5 variables instead of one. It is also very convenient to use dot notation. Many definitions have been made reducible so as to ease rewrites when this API is used.

structure CategoryTheory.MorphismProperty.LeftFraction₂ {C : Type u_1} [Category.{u_3, u_1} C] (W : MorphismProperty C) (X Y : C) :
Type (max u_1 u_3)

This structure contains the data of two left fractions for W : MorphismProperty C that have the same "denominator".

  • Y' : C

    the auxiliary object of left fractions

  • f : X self.Y'

    the numerator of the first left fraction

  • f' : X self.Y'

    the numerator of the second left fraction

  • s : Y self.Y'

    the denominator of the left fractions

  • hs : W self.s

    the condition that the denominator belongs to the given morphism property

Instances For
    structure CategoryTheory.MorphismProperty.LeftFraction₃ {C : Type u_1} [Category.{u_3, u_1} C] (W : MorphismProperty C) (X Y : C) :
    Type (max u_1 u_3)

    This structure contains the data of three left fractions for W : MorphismProperty C that have the same "denominator".

    • Y' : C

      the auxiliary object of left fractions

    • f : X self.Y'

      the numerator of the first left fraction

    • f' : X self.Y'

      the numerator of the second left fraction

    • f'' : X self.Y'

      the numerator of the third left fraction

    • s : Y self.Y'

      the denominator of the left fractions

    • hs : W self.s

      the condition that the denominator belongs to the given morphism property

    Instances For
      structure CategoryTheory.MorphismProperty.RightFraction₂ {C : Type u_1} [Category.{u_3, u_1} C] (W : MorphismProperty C) (X Y : C) :
      Type (max u_1 u_3)

      This structure contains the data of two right fractions for W : MorphismProperty C that have the same "denominator".

      • X' : C

        the auxiliary object of right fractions

      • s : self.X' X

        the denominator of the right fractions

      • hs : W self.s

        the condition that the denominator belongs to the given morphism property

      • f : self.X' Y

        the numerator of the first right fraction

      • f' : self.X' Y

        the numerator of the second right fraction

      Instances For

        The equivalence relation on tuples of left fractions with the same denominator for a morphism property W. The fact it is an equivalence relation is not formalized, but it would follow easily from LeftFraction₂.map_eq_iff.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          @[reducible, inline]

          The first left fraction.

          Equations
          Instances For
            @[reducible, inline]

            The second left fraction.

            Equations
            Instances For
              @[reducible, inline]

              The exchange of the two fractions.

              Equations
              Instances For
                @[reducible, inline]

                The first left fraction.

                Equations
                Instances For
                  @[reducible, inline]

                  The second left fraction.

                  Equations
                  Instances For
                    @[reducible, inline]

                    The third left fraction.

                    Equations
                    Instances For
                      @[reducible, inline]

                      Forgets the first fraction.

                      Equations
                      Instances For
                        @[reducible, inline]

                        Forgets the second fraction.

                        Equations
                        Instances For
                          @[reducible, inline]

                          Forgets the third fraction.

                          Equations
                          Instances For
                            @[reducible, inline]

                            The first right fraction.

                            Equations
                            Instances For
                              @[reducible, inline]

                              The second right fraction.

                              Equations
                              Instances For
                                theorem CategoryTheory.Localization.exists_leftFraction₂ {C : Type u_1} {D : Type u_2} [Category.{u_4, u_1} C] [Category.{u_3, u_2} D] (L : Functor C D) (W : MorphismProperty C) [L.IsLocalization W] [W.HasLeftCalculusOfFractions] {X Y : C} (f f' : L.obj X L.obj Y) :
                                ∃ (φ : W.LeftFraction₂ X Y), f = φ.fst.map L f' = φ.snd.map L
                                theorem CategoryTheory.Localization.exists_leftFraction₃ {C : Type u_1} {D : Type u_2} [Category.{u_4, u_1} C] [Category.{u_3, u_2} D] (L : Functor C D) (W : MorphismProperty C) [L.IsLocalization W] [W.HasLeftCalculusOfFractions] {X Y : C} (f f' f'' : L.obj X L.obj Y) :
                                ∃ (φ : W.LeftFraction₃ X Y), f = φ.fst.map L f' = φ.snd.map L f'' = φ.thd.map L