# Difference between revisions of "User:Michiexile/MATH198/Lecture 6"

Michiexile (talk | contribs) |
Michiexile (talk | contribs) |
||

Line 49: | Line 49: | ||

− | ==== |
+ | ====Pullbacks==== |

+ | |||

+ | The preimage <math>f^{-1}(T)</math> of a subset <math>T\subseteq S</math> along a function <math>f:U\to S</math> is a maximal subset <math>V\subseteq U</math> such that for every <math>v\in V: f(v)\in T</math>. |
||

+ | |||

+ | We recall that subsets are given by (equivalence classes of) monics, and thus we end up being able to frame this in purely categorical terms. Given a diagram like this: |
||

+ | |||

+ | [[Image:PreimageDiagram.png]] |
||

+ | |||

+ | where <math>i</math> is a monomorphism representing the subobject, we need to find an object <math>V</math> with a monomorphism injecting it into <math>U</math> such that the map <math>fi: U\to S</math> factors through <math>T</math>. Thus we're looking for dotted maps making the diagram commute, in a universal manner. |
||

+ | |||

+ | The maximality of the subobject means that any other subobject of <math>U</math> that can be factored through <math>T</math> should factor through <math>V</math>. |
||

+ | |||

+ | ---- |
||

+ | |||

+ | Suppose <math>U, V</math> are subsets of some set <math>W</math>. Their intersection <math>U\cap V</math> is a subset of <math>U</math>, a subset of <math>V</math> and a subset of <math>W</math>, maximal with this property. |
||

+ | |||

+ | Translating into categorical language, we can pick representatives for all subobjects in the definition, we get a diagram with all monomorphisms: |
||

+ | |||

+ | [[Image:IntersectionDiagram.png]] |
||

+ | |||

+ | where we need the inclusion of <math>U\cap V</math> into <math>W</math> over <math>U</math> is the same as the inclusion over <math>V</math>. |
||

+ | |||

+ | ---- |
||

+ | |||

+ | |||

+ | Pullbacks. |
||

+ | |||

+ | Weakest precondition. |
||

+ | |||

+ | ====Pushouts==== |
||

+ | |||

+ | Amalgamations / gluing. |
||

===Free and forgetful functors=== |
===Free and forgetful functors=== |

## Revision as of 18:16, 23 October 2009

IMPORTANT NOTE: THESE NOTES ARE STILL UNDER DEVELOPMENT. PLEASE WAIT UNTIL AFTER THE LECTURE WITH HANDING ANYTHING IN, OR TREATING THE NOTES AS READY TO READ.

## Contents

### Useful limits and colimits

With the tools of limits and colimits at hand, we can start using these to introduce more category theoretical constructions - and some of these turn out to correspond to things we've seen in other areas.

Possibly among the most important are the equalizers and coequalizers (with kernel (nullspace) and images as special cases), and the pullbacks and pushouts (with which we can make explicit the idea of inverse images of functions).

One useful theorem to know about is:

**Theorem** The following are equivalent for a category :

- has all finite limits.
- has all finite products and all equalizers.
- has all pullbacks and a terminal object. Also, the following dual statements are equivalent:
- has all finite colimits.
- has all finite coproducts and all coequalizers.
- has all pushouts and an initial object.

For this theorem, we can replace *finite* with any other cardinality in every place it occurs, and we will still get a valid theorem.

====Equalizer, coequalizer==== Consider the *equalizer diagram*:

A limit over this diagram is an object and arrows to all diagram objects. The commutativity conditions for the arrows defined force for us , and thus, keeping this enforced equation in mind, we can summarize the cone diagram as:

Now, the limit condition tells us that this is the least restrictive way we can map into with some map such that , in that every other way we could map in that way will factor through this way.

As usual, it is helpful to consider the situation in Set to make sense of any categorical definition: and the situation there is helped by the generalized element viewpoint: the limit object is one representative of a subobject of that for the case of Set contains all .

Hence the word we use for this construction: the limit of the diagram above is the *equalizer of *. It captures the idea of a maximal subset unable to distinguish two given functions, and it introduces a categorical way to define things by equations we require them to respect.

One important special case of the equalizer is the *kernel*: in a category with a null object, we have a distinguished, unique, member of any homset given by the compositions of the unique arrows to and from the null object. We define *the kernel* of an arrow to be the equalizer of . Keeping in mind the arrow-centric view on categories, we tend to denot the arrow from to the source of by .

In the category of vector spaces, and linear maps, the map really is the constant map taking the value everywhere. And the kernel of a linear map is the equalizer of . Thus it is some vector space with a map such that , and any other map that fulfills this condition factors through . Certainly the vector space fulfills the requisite condition, nothing larger will do, since then the map composition wouldn't be 0, and nothing smaller will do, since then the maps factoring this space through the smaller candidate would not be unique.

Hence, just like we might expect.

Dually, we get the *coequalizer* as the colimit of the equalizer diagram.

A coequalizer has to fulfill that . Thus, writing , we get an object with an arrow (actually, an epimorphism out of ) that identifies and . Hence, we can think of as catching the notion of inducing equivalence classes from the functions.

This becomes clear if we pick out one specific example: let be an equivalence relation, and consider the diagram

where and are given by the projection of the inclusion of the relation into the product onto either factor. Then, the coequalizer of this setup is an object such that whenever , then .

#### Pullbacks

The preimage of a subset along a function is a maximal subset such that for every .

We recall that subsets are given by (equivalence classes of) monics, and thus we end up being able to frame this in purely categorical terms. Given a diagram like this:

where is a monomorphism representing the subobject, we need to find an object with a monomorphism injecting it into such that the map factors through . Thus we're looking for dotted maps making the diagram commute, in a universal manner.

The maximality of the subobject means that any other subobject of that can be factored through should factor through .

Suppose are subsets of some set . Their intersection is a subset of , a subset of and a subset of , maximal with this property.

Translating into categorical language, we can pick representatives for all subobjects in the definition, we get a diagram with all monomorphisms:

where we need the inclusion of into over is the same as the inclusion over .

Pullbacks.

Weakest precondition.

#### Pushouts

Amalgamations / gluing.

### Free and forgetful functors

### Adjunctions

- Free and forgetful
- Curry and uncurry

### Homework

- Prove that an equalizer is a monomorphism.
- Prove that a coequalizer is an epimorphism.
- Prove that given any relation , its completion to an equivalence relation is the kernel of the coequalizer of the component maps of the relation