You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.
I've recently been learning about a way to modify a ring to create a new one. First, you start with a ring , and then create , the ring of polynomials in with coefficients in . Then we can compute various quotients of and get back rings that are like , but with some additional stuff added in.
For example, starting with a field , one can form the quotient ring . This quotient ring has elements that can be written in the the form , with . This is like " with some extra stuff": setting in shows that we can nicely associate each element of to an element of . And we've acquired an extra element now, which has the really cool property of being nonzero, but squaring to zero!
I'm thinking of this process that moves from to to (where is some ideal of ) as intuitively "add in a 'degree of freedom' to , and then harness that degree of freedom to add in additional stuff to which obeys certain equations".
Can this intuition be generalized to categories in general? I'd like to start out with a category , add in some "free" structure, and then take some kind of quotient to get back our starting category with a bit of extra stuff that obeys some equations I specify. For example, I could imagine adding in a "free endomorphism " at some object, which obeys a minimum of equations. Then we could try to create a new category from this category by considering functors from which "collapse" certain expressions involving down to an identity morphism.
I wanted to say that we would "collapse" certain polynomials in our free morphism to zero. But I suppose we'd need a way to both "add" and "multiply" in that case (and a notion of "zero"). If each hom set in has the structure of a commutative group, though, maybe one could consider trying to do this!
I'm also unconvinced that "adding a free morphism" to a category is really analogous to adding in a "free symbol" to a ring . Any thoughts on what might be a closer analogy would be welcome!
You can certainly freely throw in an endomorphism into a category and get a new bigger category. And in a sense this includes rings as a special case!
To see this you need to work with Ab-categories, or "categories enriched over abelian groups". These are categories where the homsets are abelian groups and composition of morphisms distributes over addition. A one-object Ab-category is the same as a ring!
You can probably work out the rest: if is a ring, and we think of it as a one-object Ab-category, freely throwing in a new endomorphism gives a new one-object Ab-category that corresponds to the ring .
Furthermore you should realize that traditional algebra textbooks are missing a lot of important material on monoids. They talk a lot about monoids where the monoid operation distributes over some operation, namely addition in some abelian group. These are called rings. But they don't talk enough about "rings without addition", namely monoids. Given any monoid it's perfectly interesting to look at the monoid where we freely throw in an extra element . It's just a deficiency in our education that we don't learn the basic theorems about this idea.
So you were left analogizing rings and categories, which is not a perfect analogy. The really good analogies are:
Further let me point out that you can take a category and throw in an extra morphism between any two objects, and let it freely generate a new category! It doesn't need to be an endomorphism.
Indeed you can take a category, throw in any set of new objects and new morphisms, and let those freely generate a new larger category.
Oh, and one more thing: just as it can be good sometimes to think of a category as a "monoid with many objects", it can be good to think of an Ab-category as a "ring with many objects". So, Ab-categories are sometimes called [[ringoids]]. They're pretty interesting because there are so many important examples. For example, the category of modules of any ring is a ringoid!
The point of calling Ab-categories "ringoids" is that it helps you realize that many things we like to do with rings, you can also do with ringoids.
If you're willing to work strictly (that is, to consider categories as algebraic objects defined up to isomorphism, instead of defined up to equivalence) then you can make this analogy EXTREMELY precise. The theory of rings is an algebraic theory, which gives us access to lots of great things like free rings, presentations, etc. The theory of (strict) categories is essentially algebraic, and it turns out these have basically all the nice properties of algebraic theories!
In particular, just like you can take a ring and freely adjoin an element , and then (if you like) impose some relations on how should interact with the rest of the ring, you can similarly take a (strict) category and freely adjoin either an object or an arrow . If you like, you can also impose some relations on how these new objects/arrows should interact with the objects and arrows already in .
I suspect there's a less strict version of this story, where the relevant universal properties for freely adjoining stuff and quotienting stuff are all defined up-to-equivalence in the bicategory of categories (rather than the category of strict categories). Unfortunately, I don't have a reference for that. Maybe someone else does? Certainly things will be a bit more complicated than the nice world of (essentially) algebraic theories!
There's another variation on your theme, Chris: categories with a fixed set of objects are algebras of a multisorted Lawvere theory where the set of sorts is .
Here we think of a category as a bunch of homsets , one for each , and a bunch of composition and identity-assigning operations obeying the associative, left and right units.
There's also a multisorted Lawvere theory whose algebras are categories with set of objects, and ones whose algebras are PROPs, and one whose algebras are... multisorted Lawvere theories with a fixed set of sorts!
Thanks, both of you! That's all really cool to learn about!
I suspect it's a special case of the perspectives mentioned above, but Lambek and Scott also talk about "polynomial categories" in Section 5 of their book. They show how to universally add a new arrow to a (cartesian / cartesian closed) category to get a category of polynomials over . As I understand it, this corresponds to adding a new constant to the type theory corresponding to , and then taking terms over the language extended with that constant. There's a rather nice characterisation of as the Kleisli category of a comonad, too
That's nice. I'm a bit surprised at how little this "adding a new arrow" construction is used in category theory compared to in ring theory, where it's ubiquitous and important. Maybe because it's most important in commutative ring theory?
A ring is a one-object Ab-category, but a commutative ring is a one-object monoidal Ab-category, or equivalently a one-object symmetric monoidal Ab-category.
So maybe adjoining a morphism is most useful in the symmetric monoidal case... which indeed is the case for Lambek and Scott.
And indeed a cartesian category is a kind of categorified commutative monoid, or categorified commutative ring if it also has sums and products distribute over sums (as they do in the cartesian closed case). So the construction Lambek and Scott describe is really close to taking a commutative ring and putting in a new variable to get the polynomial ring .
And I claim it even has similar applications.
What would the zero-divisors be? It seems like a CCC ringoid (finite products always exists and distribute over always existing coproducts) is already an "integral domainoid"?
As per similar applications...
These are great questions... or at least the kind of questions I love. I think you're saying ringoid where I'd say [[rig category]]: a rig category is one with two monoidal structures, and , where the first is symmetric monoidal and the second distributes over the first in a coherent way. A [[ringoid]] is a category enriched over abelian groups. So I'd call your "CCC ringoid" a "CCC rig category".
One way to think about these questions is that you can take the set of isomorphism classes of objects in any rig category and get a rig.
For a CCC rig category the addition is coproduct so
Thus, this rig has "characteristic zero" in a reasonable sense.
I believe we can take any rig and throw in additive inverses to make it into a ring. However addition in a rig may not be cancellative
so this process may be destructive.
Q: Can the rig of isomorphism classes of objects in a CCC rig category fail to be cancellative?
Anyway, what I'm trying to say is that from a CCC rig category you can get a commutative rig and then a commutative ring, functorially. So it makes sense to ask questions about those, like:
Q: is the commutative ring we get from a CCC rig category a field?
And if the answers to those questions are affirmative we should feel emboldened to 'lift' those questions to the CCC 2-rig itself, e.g. trying to define '2-fields' and work with those, etc.
JB clearly means ... and I'm not sure; there may be a difference between working up to equivalence and working up to isomorphism here. Something something injective modules. I think you've defined a good direction here, and if I find anything I'll post progress here. What a great forum!
Instead of saying "CCC rig category", would people be happy to say bicartesian closed category? That's language I'm more familiar with, and says it's a CCC with coproducts. The linked nlab page says it's a kind of 2-rig...
Fine by me if it helps you prove anything! (and we can prove/disprove equivalence of the different concepts at some point if there's anything solid) The broad approaches seem to be
Also there's an implicit thread concerning fields. The category of fields is so poorly behaved, and there are no field objects in (mult. inverse not an iso of the abelian group object)... it might be more productive to think in terms of Zariski Topology : Field :: Etale Topology : ?; but I'm getting well out of my depth here. I just mean that in fields are special rings, but that basic analogy doesn't really lift well, so thinking beyond just algebra about what makes a field a field seems less cursed an endeavor.
Instead of defining a field as a ring with an extra (almost) algebraic operation of division, you can define a field as a "complete ring" in the sense that any equation you add to the ring that isn't already true makes the ring inconsistent ().
What's a reference for the characterisation of fields as "complete rings"?
I don't have a reference, though I'm sure it must be a known fact. The equations in a ring are characterized by which ideals they annihilate, and a field is well-known to be precisely a commutative ring that has exactly two ideals: the zero ideal and the whole ring/field.