The Unapologetic Mathematician

Mathematics for the interested outsider

Ordered Linear Spaces II

Since I was a little slow posting things at the end of last week due to the conference, I’ll continue my discussion of ordered linear spaces with this observation: because each ordered linear space is a vector space with extra structure, the category \mathcal{O}rd\mathcal{L}in inherits a lot from the category of vector spaces.

For one thing, given a pair of vector spaces V and W, we can take their direct sum V\oplus W. Now if each of them has an identified cone of positive vectors, we can set up a cone on the direct sum by insisting that the structural maps \pi_V, \pi_W, \iota_V, and \iota_W are positive. Let’s write these as logical statements and see what they imply:

  • If (v,w)\geq_{V\oplus W}0 then \pi_V(v,w)=v\geq_V0.
  • If (v,w)\geq_{V\oplus W}0 then \pi_W(v,w)=w\geq_W0.
  • If v\geq_V0 then \iota_V(v)=(v,0)\geq_{V\oplus W}0.
  • If w\geq_W0 then \iota_W(w)=(0,w)\geq_{V\oplus W}0.

The projections tell us that if a pair (v,w) is positive in V\oplus W, then each of its components is positive in its respective vector space. On the other hand, the injctions tell us that if each component of a pair is positive, then each of their images in V\oplus W must be positive, and so the sum of the images — the pair itself — must be positive. That is, a pair is positive if and only if each of its components is positive. This uniquely specifies the cone on the direct sum so as to make it a biproduct in \mathcal{O}rd\mathcal{L}in.

This category is also monoidal closed. There are various natural monoidal structures we could use, so we’ll start with the exponential this time. Now, in \mathbf{FinVect}_\mathbb{F} we have an exponential — W^V is the vector space of all \mathbb{F}-linear maps from V to W. Is there a natural cone in this vector space? Indeed there is! It’s just the cone of all positive maps! That is, f\geq_{W^V}0 if and only if v\geq_V0 implies f(v)\geq_W0.

So what’s the tensor product? Well, we start with the vector space tensor product and try to find a cone. This should give an adjunction \hom_{\mathcal{O}rd\mathcal{L}in}(U\otimes V,W)\cong\hom_{\mathcal{O}rd\mathcal{L}in}(U,W^V). So let’s read this as another logical statement. A linear map \mu:U\rightarrow W^V is positive (and thus in \hom_{\mathcal{O}rd\mathcal{L}in}(U,W^V)) if
u\geq_U0\Rightarrow\mu(u)\geq_{W^V}0
Expanding this condition on \mu(u), we get that \mu is positive if
(u\geq_U0)\&(v\geq_V0)\Rightarrow[\mu(u)](v)\geq_W0
But (u,v)\mapsto[\mu(u)](v) is the usual closure adjunction in the category of vector spaces, turning a function-valued function of one variable into a vector-valued function of two variables. And we want every positive map from U\otimes V to W to correspond to exactly one \mu in just this way. Thus the cone on U\otimes V that makes the tensor product for \mathcal{O}rd\mathcal{L}in into a left adjoint to the exponential is that of all finite sums of tensor pairs of positive elements. That is, if x=\sum_{i=1}^n u_i\otimes v_i with all the u_i and v_i positive in their respective cones. As an exercise, verify that this tensor product is also symmetric.

The monoidal identity has the base field \mathbb{F} as its underlying vector space. For its cone, take the positive ray. It’s straightforward to check that V\otimes\mathbb{F}\cong V. As usual, we use the tensor identity to represent the “underlying set” functor. That is, we define the underlying set of a cone V by \hom_{\mathcal{O}rd\mathcal{L}in}(\mathbb{F},V). Such a positive map f is a linear map from \mathbb{F} to V that picks out a positive point f(1)\geq_V, and there is exactly one such map for each positive point in V. That is, the underlying set is exactly the set of points in the positive cone of V. As a check, note that this means the underlying set of W^V is the set \hom_{\mathcal{O}rd\mathcal{L}in}(V,W).

As if that weren’t enough, \mathcal{O}rd\mathcal{L}in has duals! Indeed, we have a cone in the dual vector space defined by \lambda\geq_{V^*}0 if and only if \lambda(v)\geq_\mathbb{F}0 for all v\geq_V0. Or in other words, \lambda\in\hom_{\mathcal{O}rd\mathcal{L}in}(V,\mathbb{F}). We just need natural maps \epsilon_V:V\otimes V^*\rightarrow\mathbb{F} and \eta:\mathbb{F}\rightarrow V^*\otimes V to make this really a categorical dual. The first of these is evaluation — \epsilon(v,\lambda)=\lambda(v). The second one picks out an identified element in V^*\otimes V. How can we do this?

Well, in a vector space we can pick a basis \{e_i\} of V and get a dual basis \{f_i\} of V^* defined so that f_j(e_i) is 1 if i=j and {0} otherwise. Then we can sum up \sum_{i=1}^nf_i\otimes e_i. It’s well-known (though I haven’t shown it yet) that this sum doesn’t depend on which basis we picked! That is, it’s just a property of the vector space V.

Now if V has a cone, we know we can find a positive basis. And then it turns out the dual basis will be positive in the dual cone. Putting these together, it turns out that the above element \sum_{i=1}^nf_i\otimes e_i is always in the positive cone of V^*\otimes V, even if we didn’t start by picking a positive basis! All we need is the fact that this sum can be written as a sum of positive tensor pairs.

From here, it’s an easy calculation to verify that \eta and \epsilon satisfy the two required equations, making V^* the dual of V.

[UPDATE]: Okay, that last bit doesn’t seem to work. The dual basis is not in general positive. That was a fact that I quoted from my conversation with Howard, so I think he made a mistake there. It’s my own fault for not verifying it, but now I’ve found an example where it fails. I’m working on finding an example where it fails for all positive bases. As it stands, \mathcal{O}rd\mathcal{L}in does not in general have duals.

Them’s the breaks when you’re working on the edge of what you know.

September 24, 2007 Posted by John Armstrong | Category theory | | 6 Comments

Sunday Samples 35

As I wrap up my time in Texas, I feel like pulling out a bit of country. Also, I feel like getting the hell out of here and back to Louisiana, where for some reason there’s not as much mold to bother me. Maybe it’s just that the Ramada is dirty. Anyhow, I was fine for a few days, but now my head is stuffed and achy from clogged sinuses.

So let’s put country music together with that bleary, morning-after feeling. From their 1996 album 12 Golden Country Greats, Ween’s “Help Me Scrape the Mucus Off My Brain”.
Read more »

September 23, 2007 Posted by John Armstrong | Sunday Samples | | No Comments

Ordered Linear Spaces I

I saw a really great talk today by Howard Barnum of the Los Alamos National Laboratory. It dovetails wonderfully with what I’ve been talking about here, and I think I can help him by bringing my categorical inclination to bear on his subjects. I’ll omit the motivation he was using because I can’t really explain the background, but it makes for a great example of a category.

We define the category \mathcal{O}rd\mathcal{L}in of “ordered linear spaces” by starting with a totally ordered field \mathbb{F}. If you know what the real numbers are (I still haven’t defined them here) use them, but otherwise you can get away for now with rational numbers. We consider the category \mathbf{FinVect}_\mathbb{F} of finite-dimensional vector spaces over \mathbb{F} and \mathbb{F}-linear maps between them.

Now an ordered linear space is a finite-dimensional vector space equipped with a certain partial order, compatibly with the linear structure. We can do this by specifying a “cone” of vectors to consider as being bigger than {0}. Then v\geq w exactly when v-w\geq0. We require that if v\geq0 then so is each \lambda v with \lambda\geq0 in the field \mathbb{F}. From this we can tell that if u=\lambda v+(1-\lambda)w with v\geq0, w\geq0, and 0\leq\lambda\leq1, then u\geq0 by the transitive property of partial orders. That is, the cone contains the line segment between any two of its points. In this situation we say it is a “convex set”. Finally, we require that we can find a positive basis of our vector space — one consisting of positive vectors. This is an ordered linear space, which is an object of \mathcal{O}rd\mathcal{L}in. Because the order is specified by its cone, we often call such a space a “cone”.

A morphism in our category is just a linear function from one ordered linear space to another that preserves the partial order. That is, we call a linear function f:V\rightarrow W “positive” if whenever v\geq0 in V then f(v)\geq0 in W. In other words, it sends the one cone into the other. An isomorphism is an isomorphism of vector spaces which identifies the two cones — the must be the “same shape”, up to a linear transformation. A subcone — the image of a monomorphism — works out to be exactly what it seems like it should be: a convex cone that fits inside another cone.

There’s a functor from the category \mathbf{FinSet} of finite sets to \mathcal{O}rd\mathcal{L}in. We start with a finite set and construct the free vector space on it. We define the cone to be all those vectors with all components positive. For reasons related to our motivation, we call these cones — and any cone equivalent to one of them — “classical”. The linear transformation induced by a function between finite sets is clearly positive, and so this is indeed a functor. It’s not hard to see that the image of any morphism from a classical cone is again classical, and thus the classical cones form a full subcategory of \mathcal{O}rd\mathcal{L}in.

There’s a lot more to be said about these things, but I’ll leave it here for now.

September 23, 2007 Posted by John Armstrong | Category theory | | 4 Comments

Newton Fractals

As soon as I’m done teaching today, I’m heading on the road to scenic Tyler, TX for the Conference on Representation Theory, Quantum Field Theory, Category Theory, Mathematical Physics and Quantum Information Theory. And so something light, that I actually presented to my students last week.

Many of you may be familiar with this from calculus, but at least it’s more interesting than L’Hôpital’s rule. For those who haven’t seen it, this post is outside the main line. Accordingly, I’m willing to leave some of the calculus unmotivated and unexplained.

Newton’s Method is an attempt to find a point x where f(x)=0 for some function f. The basic idea is that we pick a point near where we think there’s a zero of the function and assume that the graph of the function is sort of sloping towards the zero. Functions on their own are sort of hard to work with, but we know how to deal with linear functions pretty well. We’ll try to pretend the function is just linear and work from there.

So if we start at the point x_0 we have the point (x_0,f(x_0)) on the graph above it. Then we draw a straight line that just touches the graph at that point. Calculus tells us that this line has the equation y=f'(x_0)(x-x_0)+f(x_0). Now we want to find the x_0 where this line crosses the x-axis. That is: 0=f'(x_0)(x_1-x_0)+f(x_0). Some algebra tells us that x_1=x_0-\frac{f(x_0)}{f'(x_0)}.

Now I’m not saying that x_1 is our desired zero, but hopefully it’s closer. Then we just run this again. If we define g(x)=x-\frac{f(x)}{f'(x)} we can write x_1=g(x_0). And then we continue by writing x_2=g(g(x_0))=g^2(x_0), where the exponent means we evaluate the function g twice. This goes on, defining an infinite sequence of points x_n=g^n(x_0), and the hope is that this will zoom in on a zero of the function.

Well, zeroes of the function f are fixed points of this map. Indeed, if f(\xi)=0 then g(\xi)=\xi-\frac{0}{f'(\xi)}=\xi. We have other tools that tell us a fixed point \xi of a function will attract nearby points if |g'(\xi)|<1. And here, g'(x)=\frac{f(x)f''(x)}{f'(x)^2}. Since f(\xi)=0, we see that g'(\xi)=0<1, so near these fixed points the map g does indeed pull points closer.

But there’s a problem. What happens when f'(x)=0? Then the function g is undefined, and the method breaks down. Almost as bad, near those points the tangent line is almost flat, and so the next point in the sequence ends up very far away, possibly nearer a different zero than the one we were trying to find.

Here’s a picture to show how complicated this can get. In this picture, we’re moving from calculus over the real numbers to calculus over the complex numbers, but the mechanics of Newton’s Method work the same. We consider the function f(x)=x^3-1, so we’re trying to find the three points on the complex plane that have cube 1. We know that one is 1 itself, and the other two are situated a third of a rotation around the unit circle in either direction.

We get the picture by picking a complex number to start with, and running the method until we’re within some very small distance of one of our zeroes, so we know we’re going to get to that one in the limit. If we end up at 1, we color the point blue. The points which go to the other two zeroes we color green and red, respectively. We color a point darker if it takes longer to get near one of the zeroes.

We’d hope that starting at a given point would land us at the closest of the three zeroes, but borders here are tricky. We can never have a boundary between two of these basins of attraction without having the third one there too. So along the line separating the blue basin from the red one we have a chain of green islands. Similarly, we have red islands between blue and green, and blue islands between red and green. And then along the boundary a green island shares with the big blue basin we have a chain of smaller red islands, and so on. The upshot is that every boundary point looks like the point at z=0 where all three basins touch each other, leading to the famous self-similarity that is characteristic of fractal geometries.

September 19, 2007 Posted by John Armstrong | Uncategorized | | 9 Comments

More on Kernels and Cokernels

The best-known abelian categories are categories of modules over various rings. And as modules, these objects are structured sets. Now, even though we’re willing to elide the difference between a hom-group and a hom-set, we would at least like to avoid talking about the objects as sets, and the morphisms as functions. So let’s try to focus on studying the morphisms and use them to understand the properties of the category. Luckily, in an abelian category we know a lot about morphisms.

For one thing, let’s consider an object C\in\mathcal{C} and the set P_C=\bigcup\limits_{C'\in\mathcal{C}}\hom_\mathcal{C}(C',C) of all the arrows coming into C. We can put the structure of a preorder \preceq on this set by saying (f:A\rightarrow C)\preceq(g:B\rightarrow C) if there is h:A\rightarrow B with f=g\circ h. It’s straightforward to show that this relation is reflexive and transitive. Then, as usual we can symmetrize this relation to get an equivalence relation: f\equiv g if and only if f\preceq g and g\preceq f. When we pass to the equivalence classes, the preorder becomes a partial order, which we’ll also call P_C. In particular, this includes all monomorphisms, which we know as subobjects.

Similarly, we can construct another preorder Q^C=\bigcup\limits_{C'\in\mathcal{C}}\hom_\mathcal{C}(C,C') of all the arrows leading out of C with f\succeq g if there is an h with g=h\circ f. We can also turn this into a partial order, which includes the partial order of all quotient objects of C.

Now for every arrow g from C pick a kernel and for every f to C pick a cokernel. Then f and \mathrm{Ker}(g) live in P_C, while \mathrm{Cok}(f) and g live in Q^C. And we have three equivalent statements:

  • f\preceq\mathrm{Ker}(g)
  • g\circ f=0
  • \mathrm{Cok}(f)\succeq g

Now the partial orders Q^C and P_C can be considered as categories, as any partial order can be. And the maps \mathrm{Ker}:Q^C\rightarrow P_C and \mathrm{Cok}:P_C\rightarrow Q^C reverse these orders, so they are contravariant functors. So let’s flip the order on P_C (x\geq y instead of x\preceq y) and instead consider them as covariant functors \mathrm{Ker}:Q^C\rightarrow P_C^\mathrm{op} and \mathrm{Cok}:P_C^\mathrm{op}\rightarrow Q^C.

The above equivalence now reads f\geq\mathrm{Ker}(g)\Leftrightarrow\mathrm{Cok}(f)\succeq g. That is, we have an adjunction. The identities satisfied by the unit and counit read, in this case:

  • \mathrm{Ker}(\mathrm{Cok}(\mathrm{Ker}(g)))=\mathrm{Ker}(g)
  • \mathrm{Cok}(\mathrm{Ker}(\mathrm{Cok}(f)))=\mathrm{Cok}(f)

September 18, 2007 Posted by John Armstrong | Category theory | | No Comments

Properties of Ab-Categories

There are a number of things we can say right off about the \mathbf{Ab}-categories we defined last time. As is common practice, we’ll blur the distinction between an abelian group and its underlying set.

First of all, any \mathbf{Ab}-category \mathcal{C} has zero morphisms. That is, there’s a special morphism between any two objects that when composed with any other morphism gives the special morphism in the appropriate hom-set. In fact, since each hom-set is an abelian group it has an additive identity 0\in\hom_\mathcal{C}(A,B). Then for any f\in\hom_\mathcal{C}(B,C) we have f\otimes0=0\in\hom_\mathcal{C}(B,C)\otimes\hom_\mathcal{C}(A,B), which composition must send to 0\in\hom_\mathcal{C}(A,C). The zero morphisms are exactly the zero morphisms!

Given any object C\in\mathcal{C} the hom-set \hom_\mathcal{C}(C,C) is already an abelian group. But the composition puts the structure of a monoid onto this set as well, and the linearity condition says these two are compatible, making the endomorphism monoid into an endomorphism ring. In fact, every ring is an endomorphism ring. Way back when we first defined categories we noted that a category with one object was the exact same thing as a monoid. And a ring is just an abelian group with a compatible monoid structure on it. So an \mathbf{Ab}-category with a single object is the exact same thing as a ring! In fact, a lot of the study of \mathbf{Ab}-categories can be seen as extending ring theory from that special case to the more general one. Incidentally, you should see right off that when we consider rings R and S as categories like this, a ring homomorphism from R to S is the same thing as an \mathbf{Ab}-functor between the categories.

Remember when we talked about direct sums of modules over a given ring? Well the same thing happens here. We define the “biproduct” \bigoplus\limits_{i=1}^n A_i of the finite collection of objects A_i to be an object along with two families of arrows:

  • \pi_i:\bigoplus\limits_{i=1}^n A_i\rightarrow A_i
  • \iota_i:A_i\rightarrow\bigoplus\limits_{i=1}^n A_i

satisfying the relations

  • \pi_i\circ\iota_j=0:A_j\rightarrow A_i if i\neq j
  • \pi_i\circ\iota_i=1_{A_i}:A_i\rightarrow A_i
  • \sum\limits_{i=1}^n\iota_i\circ\pi_i=1_{\bigoplus\limits_{i=1}^n A_i}

From the same arguments as in our coverage of direct sums we see that a biproduct satisfies the universal properties of both a categorical product and coproduct, and conversely that a categorical product or coproduct implies the existence of the biproduct arrows. Note that we’re making no statement whatsoever that such a biproduct actually exists in our category, but when it does it’s both a product and a coproduct.

As a special case, we can consider the biproduct of an empty collection of objects. This will be both a product and a coproduct of an empty collection of objects, if it exists, and will thus be a zero object. Of course, it may or may not exist.

Even if there is no zero object in our category, we still have the above zero morphisms, and so we can still talk about kernels and cokernels. The kernel \mathrm{Ker}(f) of a morphism f:A\rightarrow B is the equalizer \mathrm{Equ}(f,0), and its cokernel \mathrm{Cok}(f) is the coequalizer \mathrm{Coequ}(f,0). In fact, life is even better now that we’re enriched over \mathbf{Ab}: every equalizer is a kernel and every coequalizer is a cokernel. Indeed, \mathrm{Equ}(f,g)=\mathrm{Ker}(f-g) and similarly for coequalizers. Again, we’re saying nothing about whether such kernels or cokernels actually exist.

Together, these facts say a lot about the behavior of limits in \mathbf{Ab}-categories. Biproducts tell us about finite products and coproducts, while kernels of morphisms tell us about all different equalizers. And then The Existence Theorem for Limits tells us that every finite limit can be constructed from finite products and equalizers, while every finite colimit can be constructed from finite coproducts and coequalizers. So if our \mathbf{Ab}-category has all biproducts, all kernels, and all cokernels, then it has all finite limits whatsoever!

Let’s add one more little property that will simplify our life. We know that kernels are monomorphisms, and that cokernels are epimorphisms. If we assume on top of having all biproducts, kernels, and cokernels that every monomorphism is actually the kernel of some arrow in our category, and that every epimorphism is actually the cokernel of some arrow, then we will call our \mathbf{Ab}-category an abelian category.

You should verify that given any ring R the category R\mathbf{-mod} of all left R-modules satisfies all these properties, and thus is an abelian category. These are the abelian categories that started the whole theory of homological algebra, which is to a large extent the study of general abelian categories.

September 17, 2007 Posted by John Armstrong | Category theory | | 5 Comments

Sunday Samples 34 (one day late)

Sorry about getting caught up in other business yesterday.

Saturday night I went out to a club for the first time in forever. It reminded me how annoying going out alone can be (another SS about that another time), but it was good to hit the floor again. Anyhow, it’s got me in an electronic mood…

Somewhere around the turn of the millennium, BT — the professional moniker of Brian Transeau — composed a hardcore breakbeat update of Gil Scott-Heron’s “The Revolution Will Not Be Televised”. As happens so often in electronic music, it wasn’t ever really released on its own, slipping out into the ether through the cracks. It was eventually used on the soundtrack of the Tomb Raider movie, and it made it onto the compilation 10 Years in the Life, which is where I picked it up. There’s no official music video for it either, but a lot of people have composed videos with clips from various sources on YouTube. None of them really grab me, but you can find them to hear the song if you’d like. Or you can just grab that BT compilation and get a lot more good stuff.

And so, BT’s “The Revolution”.
Read more »

September 17, 2007 Posted by John Armstrong | Sunday Samples | | No Comments

Ab-Categories

Now that we’ve done a whole lot about enriched categories in the abstract, let’s look at the very useful special case of categories enriched over \mathbf{Ab} — the category of abelian groups.

We know that \mathbf{Ab} is a monoidal category, with the tensor product of abelian groups as its monoidal structure and the free abelian group \mathbb{Z} as the monoidal identity. Even better, it’s symmetric, and even closed. That is, for any two abelian groups A and B we have an isomorphism A\otimes B\cong B\otimes A, and there is a natural abelian group structure on the set of homomorphisms B^A=\hom_\mathbf{Ab}(A,B) satisfying the adjunction \hom_\mathbf{Ab}(A\otimes B,C)\cong\hom_\mathbf{Ab}(A,C^B).

Further, \mathbf{Ab} is complete and cocomplete. All together, this means it’s a great candidate as a base category on which to build enriched categories. Of course, these will be called \mathbf{Ab}-categories.

So let’s read the definitions. An \mathbf{Ab}-category \mathcal{C} has a collection of objects, and between objects A and B there is an abelian hom-group \hom_\mathcal{C}(A,B).

For each object C we have a homomorphism of abelian groups \mathbb{Z}\rightarrow\hom_\mathcal{C}(C,C) which picks out the “identity morphism” from C to itself at the level of the underlying sets. Remember that we’re no longer thinking of an abelian group as having elements — only its underlying set has elements anymore, and the underlying set of an abelian group X is the set of abelian group homomorphisms \mathbb{Z}\rightarrow X.

Given three objects A,B,C\in\mathcal{C} we have a “composition” arrow in \mathbf{Ab}: \circ:\hom_\mathcal{C}(B,C)\otimes\hom_\mathcal{C}(A,B)\rightarrow\hom_\mathcal{C}(A,C). This is associative and the identity morphism acts as an identity in the sense that the appropriate diagrams commute. Of course, since the composition arrows are morphisms in \mathbf{Ab} they are linear functions in each input.

An \mathbf{Ab}-functor F between \mathbf{Ab}-categories \mathcal{C} and \mathcal{D} is defined by a function Ffrom the objects of \mathcal{C} to the objects of \mathcal{D}, and for each pair of objects C,C'\in\mathcal{C} a homomorphism of abelian groups F_{C,C'}:\hom_\mathcal{C}(C,C')\rightarrow\hom_\mathcal{D}(F(C),F(C')). Two diagrams are required to commute, saying that these linear functions preserve the composition and identity functions.

An \mathbf{Ab}-natural transformation is one of two forms. In one we’re given two \mathbf{Ab}-functors F and G. Then a natural \eta:F\rightarrow G is a collection of linear functions \eta_C:\mathbb{Z}\rightarrow\hom_\mathcal{D}(F(C),G(C)) making one diagram commute. In the other we’re given an object K\in\mathcal{D} and a bifunctor T:\mathcal{C}^\mathrm{op}\otimes\mathcal{C}\rightarrow\mathcal{D}. Then \eta:K\rightarrow T is a collection of linear functions \eta:K\rightarrow T(C,C) making another diagram commute.

Together, \mathbf{Ab}-categories, \mathbf{Ab}-functors between them, and \mathbf{Ab}-natural transformations (of the first kind) form a 2-category. We can pair off \mathbf{Ab}-categories \mathcal{C} and \mathcal{D} to get the product category \mathcal{C}\otimes\mathcal{D} (in fact we already did once above) and we can take the opposite category \mathcal{C}^\mathrm{op}. Thus \mathbf{Ab}-categories form a symmetric monoidal 2-category with a duality involution.

There’s a whole lot of structure here, but ultimately it boils down to “the hom-sets all have the structure of abelian groups, and everything in sight is \mathbb{Z}-linear”. And that’s the usual definition given, that I decided to forgo back when I started in on enriched categories.

September 14, 2007 Posted by John Armstrong | Category theory | | 1 Comment

Free Enriched Categories

Now we’re going to assume that our monoidal category \mathcal{V} is also cocomplete. In particular, we’ll assume that it has all small coproducts.

This is enough to ensure that the “underlying set” functor \hom_{\mathcal{V}_0}(\mathbf{1},\underline{\hphantom{X}}) has a left adjoint (\underline{\hphantom{X}})\cdot\mathbf{1} that sends a set E to the coproduct of a bunch of copies of \mathbf{1} indexed by E. The adjunction says that \hom_{\mathcal{V}_0}(\coprod\limits_E\mathbf{1},X)\cong\prod_E\hom_{\mathcal{V}_0}(\mathbf{1},X) is naturally isomorphic to \hom_\mathbf{Set}(E,\hom_{\mathcal{V}_0}(\mathbf{1},X)). That is, a function from E to the underlying set of X is the same as an E-indexed collection of elements of the underlying set of X.

It’s straightforward from here to verify that this adjunction interchanges the cartesian product on \mathbf{Set} and the monoidal structure on \mathcal{V}. That is, (E\times F)\cdot\mathbf{1}\cong(E\cdot\mathbf{1})\otimes(F\cdot\mathbf{1}) and {*}\cdot\mathbf{1}\cong\mathbf{1}.

And now the 2-functor (\underline{\hphantom{X}})_0:\mathcal{V}\mathbf{-Cat}\rightarrow\mathbf{Cat} has a left 2-adjoint (\underline{\hphantom{X}})_\mathcal{V}. Starting with an ordinary category \mathcal{C} (with hom-sets) we get the “free \mathcal{V}-category” \mathcal{C}_\mathcal{V} with the same objects as \mathcal{C}, and with the hom-objects given by \hom_{\mathcal{C}_\mathcal{V}}(C,C')=\hom_\mathcal{C}(C,C')\cdot\mathbf{1}. Compositions and identities for this \mathcal{V}-category are induced by the above exchange of cartesian and monoidal structures. The actions of this 2-functor on functors and natural transformations are straightforwardly defined.

For example, when \mathcal{V}=\mathbf{Ab}, we just replace each hom-set \hom_\mathcal{C}(C,C') by the free abelian group on \hom_\mathcal{C}(C,C'). We extend the composition and identity maps from the ordinary category \mathcal{C} by linearity. In particular, if \mathcal{C} has only one object — if it’s a monoid M — then \mathcal{C}_\mathbf{Ab} is the free ring \mathbb{Z}[M] on M.

To finish off, let \mathcal{C} be a small category, so \mathcal{C}_\mathcal{V} is a small \mathcal{V}-category. Then we can define functor categories and functor \mathcal{V}-categories. Verify that \left(\mathcal{B}^{\mathcal{C}_\mathcal{V}}\right)_0\cong\left(\mathcal{B}_0\right)^\mathcal{C} by the above 2-adjunction.

September 13, 2007 Posted by John Armstrong | Category theory | | No Comments

The Strong Yoneda Lemma

We gave a weak, “half-enriched” version of the Yoneda Lemma earlier. Now it’s time to pump it up to a fully-enriched version.

Given a \mathcal{V}-functor F:\mathcal{C}\rightarrow\mathcal{V} and an object K\in\mathcal{C}, then the functor defines a \mathcal{V}-natural map F_{K,C}:\hom_\mathcal{C}(K,C)\rightarrow F(C)^{F(K)}. We also have the (ordinary) adjunction
\hom_{\mathcal{V}_0}(\hom_\mathcal{C}(K,C),F(C)^{F(K)})\cong\hom_{\mathcal{V}_0}(F(K),F(C)^{\hom_\mathcal{C}(K,C)})
and under this adjunction we find F_{K,C} corresponding to a \mathcal{V}-natural transformation \phi_C:F(K)\rightarrow F(C)^{\hom_\mathcal{C}(K,C)}. Now the strong form of the Yoneda Lemma says that this family is actually the counit of the end \int_{C\in\mathcal{C}}F(C)^{\hom_\mathcal{C}(K,C)}, so by the definition of the functor category \mathcal{V}^\mathcal{C} we have an isomorphism in \mathcal{V}:
\phi:F(K)\cong\hom_{\mathcal{V}^\mathcal{C}}(\hom_\mathcal{C}(K,\underline{\hphantom{X}}),F)

So, how do we verify that F(K) is the end in question? Consider any other \mathcal{V}-natural family \alpha_C:X\rightarrow F(C)^{\hom_\mathcal{C}(K,C)}. Now we run the above adjunction backwards to get a \mathcal{V}-natural family \widetilde{\alpha}_C:\hom_\mathcal{C}(K,C)\rightarrow F(C)^X. But this is now a \mathcal{V}-natural transformation from the functor represented by K to the functor F(\underline{\hphantom{X}})^X, and so the weak form of the Yoneda Lemma tells us that \widetilde{\alpha}_C={1_{F(C)}}^\eta\circ F_{K,C} for a unique \eta:X\rightarrow F(K). Running this back through the adjunction says that \alpha_C=\phi_C\circ\eta, and the universal property is satisfied.

Let’s hit this isomorphism with the underlying set functor to get a bijection \hom_{\mathcal{V}_0}(\mathbf{1},F(K))\cong(\mathcal{V}^\mathcal{C})_0(\hom_\mathcal{C}(K,\underline{\hphantom{X}}),F). This sends an arrow \eta:\mathbf{1}\rightarrow F(K) to \phi\circ\eta, which is a \mathcal{V}-natural family with components given by \phi_C\circ\eta. But this is exactly the bijection asserted by the weak form of the Yoneda Lemma, so the weaker form is implied by the stronger one.

If we consider the special case where our functor is representable, we find that
\hom_\mathcal{C}(L,K)\cong\hom_{\mathcal{V}^\mathcal{C}}(\hom_\mathcal{C}(K,\underline{\hphantom{X}}),\hom_\mathcal{C}(L,\underline{\hphantom{X}}))

When \mathcal{V}^\mathcal{C} exists, we can convert the functor \hom_\mathcal{C}:\mathcal{C}^\mathrm{op}\otimes\mathcal{C}\rightarrow\mathcal{V} to a functor Y:\mathcal{C}^\mathrm{op}\rightarrow\mathcal{V}^\mathcal{C} by the exponential adjunction in \mathcal{V}\mathbf{-Cat}. By the case of representable functors given above, this Yoneda embedding is fully faithful. From this \mathcal{V}-functor we can establish that the Yoneda isomorphism \phi is \mathcal{V}-natural in F and K.

September 12, 2007 Posted by John Armstrong | Category theory | | No Comments