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.
Suppose I've got a 2-sorted Lawvere theory with
What does the coproduct of two models and look like? I thought it would have
That is, whenever we know how an element acts on we use the result, but whenever we don't, we just add a formal place holder.
Call this proposal
This is similar to how in the coproduct of monoids, whenever we juxtapose two elements from the same monoid, we can replace them with their product; but whenever we have elements from different monoids next to each other, we have a formal product of the two. The end result is that elements of the coproduct of two monoids have normal forms that are strings of alternating elements.
A map of these gadgets is a pair such that There are obvious inclusion maps from and into
But now consider to be with one more element such that for all There are the obvious inclusions from and into
If my proposal really is the coproduct, then there should be a unique map from to making the triangles in the universal property diagram commute. But I can think of two! The first is the inclusion of into where is not in the image. The second maps the formal elements to In both cases, the maps are the identities on the images of and , so the diagrams commute.
I've been told that the category of models of any multisorted Lawvere theory is always complete and cocomplete, so the coproduct has to exist. But if it's not my proposal, I have no idea what it could be.
Hm, yeah that's a very reasonable guess for the coproduct, and also a convincing reason why it cannot be.
I've also seen that the category of models is complete and cocomplete. Limits can be computed pointwise, because they commute with products and the result will still be a product-preserving functor.
Sifted colimits can also be computed pointwise, because these are the colimits which commute with products. But coproducts are not sifted.
I've had some trouble finding a good reference for how to construct all colimits.
Aha! I think it's actually not true, and that might be a typo on nLab and elsewhere.
From Algebraic Theories, Adamek and Rosicky:
2.6 Example. Coproducts are not sifted colimits. In fact, for almost no algebraic theory T is Alg T closed under coproducts in Set T . Concrete example: if T ab is the theory of abelian groups (1.6), then binary coproducts in Alg T ab are products and in Set T ab they are disjoint union.
OK, whew! I thought I was going crazy!
You are not!
So for this theory Alg() doesn't have coproducts.
Thanks!
Probably, yeah. I don't know what characterizes the categories of models which have coproducts. The category of groups has coproducts, why is it special?
But yeah, we should probably fix that on the nLab.
Why is it a homomorphism? Don't we have to take the formal elements of Z to the formal elements on Y?
Let and . Then looks like the naturals - is , is (up to iso) , and . The inclusion from selects .
Then the homomorphism you're claiming would take to and take every positive integer to . But then , which is clearly false.
Sorry, what are The zero- and one-element sets?
Yep.
Christian Williams said:
From Algebraic Theories, Adamek and Rosicky:
2.6 Example. Coproducts are not sifted colimits. In fact, for almost no algebraic theory T is Alg T closed under coproducts in Set T . Concrete example: if T ab is the theory of abelian groups (1.6), then binary coproducts in Alg T ab are products and in Set T ab they are disjoint union.
This says simply that you cannot compute binary coproducts directly from the coproducts in the functor category. The binary coproducts do exist, but they're computed differently (i.e. in this case by taking products).
The category of models for a Lawvere theory does have limits and colimits, as proven in Corollary 5.2.2 of http://web.science.mq.edu.au/~street/MitchB.pdf.
(Note that that paper uses the original definition: taking categories with coproducts, not products, so you'll need to insert an op to get the result you expect.)
That includes multi-sorted finite product theories too, not just single sorted ones, right?
Yes, though I'm not sure of a reference for that precise result.
Generally the facts about one-sorted algebraic theories carry over to S-sorted algebraic theories.
In this case, the original guess for the coproduct is correct, right?
Jem said:
Then the homomorphism you're claiming would take to and take every positive integer to . But then , which is clearly false.
Oops! Yes, that demolishes my argument. Thanks! (Though I think you swapped and .)
Ah, sorry about that. That's good news then.
Christian Williams said:
From Algebraic Theories, Adamek and Rosicky:
2.6 Example. Coproducts are not sifted colimits. In fact, for almost no algebraic theory is closed under coproducts in . Concrete example: if is the theory of abelian groups (1.6), then binary coproducts in are products and in they are disjoint union.
This doesn't say doesn't have coproducts - I know it does. It's just saying these coproducts rarely arise from coproducts in the functor category ! And that's kind of obvious, as in their abelian group example.
When you take a coproduct of abelian groups, you "get a bunch of new elements" that you wouldn't if you were taking the coproduct in . That's all they're saying here.
Okay, Nathaniel said everything I said. This increases the probability that it's true.
Todd Trimble proved for me that for any multisorted Lawvere theory, its category of models has colimits - it's Theorem 3.1 here. Moreover he proved it for models, not just in Set, but in any "cartesian monoidally cocomplete" category, or CMC. This is a cartesian category with colimits such that the product distributes over colimits.
Jens Hemelaer said:
In this case, the original guess for the coproduct is correct, right?
I think so.
For what it's worth it looks right to me. In general there's an inductive construction of coproducts of algebras of a Lawvere theory, which is quite tiresome to state. You're lucky because your operation obeys no equations, and it never generates new elements of L, just M.