Documentation

Mathlib.Algebra.Category.Ring.Limits

The category of (commutative) rings has all limits #

Further, these limits are preserved by the forgetful functor --- that is, the underlying types are just the limits in the category of types.

Some definitions may be extremely slow to elaborate, when the target type to be constructed is complicated and when the type of the term given in the definition is also complicated and does not obviously match the target type. In this case, instead of just giving the term, prefixing it with by apply may speed up things considerably as the types are not elaborated in the same order.

Equations
    Instances For

      The flat sections of a functor into SemiRingCat form a subsemiring of all sections.

      Equations
        Instances For

          Construction of a limit cone in SemiRingCat. (Internal use only; use the limits API.)

          Equations
            Instances For

              Witness that the limit cone in SemiRingCat is a limit cone. (Internal use only; use the limits API.)

              Equations
                Instances For

                  We show that the forgetful functor CommSemiRingCatSemiRingCat creates limits.

                  All we need to do is notice that the limit point has a CommSemiring instance available, and then reuse the existing limit.

                  Equations

                    A choice of limit cone for a functor into CommSemiRingCat. (Generally, you'll just want to use limit F.)

                    Equations
                      Instances For

                        The chosen cone is a limit cone. (Generally, you'll just want to use limit.cone F.)

                        Equations
                          Instances For

                            The forgetful functor from rings to types preserves all limits. (That is, the underlying types could have been computed instead as limits in the category of types.)

                            The flat sections of a functor into RingCat form a subring of all sections.

                            Equations
                              Instances For

                                We show that the forgetful functor CommRingCatRingCat creates limits.

                                All we need to do is notice that the limit point has a Ring instance available, and then reuse the existing limit.

                                Equations

                                  A choice of limit cone for a functor into RingCat. (Generally, you'll just want to use limit F.)

                                  Equations
                                    Instances For

                                      The chosen cone is a limit cone. (Generally, you'll just want to use limit.cone F.)

                                      Equations
                                        Instances For

                                          The forgetful functor from rings to types preserves all limits. (That is, the underlying types could have been computed instead as limits in the category of types.)

                                          We show that the forgetful functor CommRingCatRingCat creates limits.

                                          All we need to do is notice that the limit point has a CommRing instance available, and then reuse the existing limit.

                                          Equations

                                            A choice of limit cone for a functor into CommRingCat. (Generally, you'll just want to use limit F.)

                                            Equations
                                              Instances For

                                                The chosen cone is a limit cone. (Generally, you'll just want to use limit.cone F.)

                                                Equations
                                                  Instances For

                                                    The forgetful functor from commutative rings to rings preserves all limits. (That is, the underlying rings could have been computed instead as limits in the category of rings.)

                                                    The forgetful functor from commutative rings to commutative semirings preserves all limits. (That is, the underlying commutative semirings could have been computed instead as limits in the category of commutative semirings.)

                                                    The forgetful functor from commutative rings to types preserves all limits. (That is, the underlying types could have been computed instead as limits in the category of types.)