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.
The number of groups with n elements goes like this, starting with :
0, 1, 1, 1, 2, 1, 2, 1, 5, ...
The number of semigroups with elements goes like this:
1, 1, 5, 24, 188, 1915, 28634, 1627672, 3684030417, 105978177936292, ...
Here I'm counting isomorphic guys as the same.
Is there any sort of algebraic gadget where the number of these gadgets with elements goes like this?
1, 1, 2, 1, 1, 1, 1, 1, ...
No! Not if by "algebraic gadget" we mean something described by a bunch of operations obeying equational laws --- that is, by a Lawvere theory.
This follows from a result of László Lovász in 1967:
On Mastodon, Omar Antolín sketched a proof that greases the wheels with more category theory. It relies on a rather shocking lemma:
Super-Yoneda Lemma. Let be the category of algebras of some Lawvere theory, and let be two algebras whose underlying sets are finite. If the functors and are unnaturally isomorphic, then .
Here we say the functors and are unnaturally isomorphic if
for all . We're not imposing the usual commuting naturality square --- indeed we can't, since we're not even giving any specific choice of isomorphism!
If and are naturally isomorphic, we can show using the Yoneda Lemma. But when they're unnaturally isomorphic, we have to break the glass and pull out the Super-Yoneda Lemma.
Given this shocking lemma, it's easy to show this:
Theorem. Let be two algebras of a Lawvere theory whose underlying sets are finite. If for some natural number then .
Here's how. Since , we have natural isomorphisms
so for any the sets and have the same cardinality. This means we have an unnatural isomorphism
The lemma magically lets us conclude that
Now, how do we use this to solve our puzzle? Let be the number of isomorphism classes of algebras whose underlying set has elements. We must have
since we've just seen that nonisomorphic algebras with elements give nonisomorphic algebras with elements. So, for example, we can never have , since . Thus, the sequence can't look like the one I showed you, with
Nice! So let's turn to the lemma, which is the really interesting part.
I'll just quote Omar Antolín's proof, since I can't improve on it. Remember, and are algebras of some Lawvere theory whose underlying sets are finite:
Let be the set of monomorphisms, which here are just homomorphisms that are injective functions. I claim you can compute the cardinality of using the inclusion-exclusion principle in terms of the cardinalities of for various quotients of .
Indeed, for any pair of elements , let be the set for homomorphisms such that . The monomorphisms are just the homomorphisms that belong to none of the sets , so you can compute how many there are via the inclusion-exclusion formula: you'll just need the cardinality of intersections of several .
Now, the intersection of some is the set of homorphisms such that for all , . Those are in bijection with the homorphisms where is the quotient of obtained by adding the relations for each .
So far I hope I've convinced you that if and are unnaturally isomorphic, so are and . Now it's easy to finish: since is non-empty, so is , so is isomorphic to a subobject of . Similarly is isomorphic to a subobject of , and since they are finite, they must be isomorphic.
Beautiful!
But if you look at this argument you'll see we didn't use the full force of the assumptions. We didn't need and to be algebras of a Lawvere theory! They could have been topological spaces, or posets, or various other things. All we really need is a category of gadgets with a forgetful functor
that is faithful and has some extra property... roughly, that we can take an object in and take a quotient of it where we impose a bunch of extra relations , and maps out of this quotient will behave as you'd expect. More precisely, I think the extra property is this:
Given any and any surjection , there is a morphism such that the morphisms that factor through are precisely those for which factors through .
Can anyone shed more light on what generalizations of Lawvere theories describe mathematical gadgets like this?
By the way: if is any Lawvere theory, its fine spectrum is the sequence whose $$n$$th term is the number of isomorphism classes of -algebras with elements. The idea was introduced here:
though Taylor used not Lawvere theories but an equivalent framework: 'varieties' in the sense of universal algebra. For a bit more on this, go here.
There is a recent paper of Luca Reggio in which is proven general "homomorphism counting" results (what you call the "Super-Yoneda Lemma"): Polyadic Sets and Homomorphism Counting.
Oh, good!
Wow, that lemma is so fun! The only thing I can think of that subsumes both categories of models of Lawvere theories and the category of topological spaces is categories with a solid functor into set. But I haven’t tried to see yet whether that’s actually the right idea
Yes, the great thing about the lemma is that the statement is all category theory - but the proof relies so heavily on good old inclusion-exclusion as beloved by combinatorists!
There's a theory of [[topological concrete categories]], but I don't know if that's the right way forward.
(For what it's worth, Reggio's proof is also based on the inclusion–exclusion principle.)
I'm thinking Omar's proof will go through in the following context:
Under these assumptions, we can say that is the union of the sets of morphisms factoring through the -map , that this union is finite since the underlying set has only finitely many quotients, and that PIE gets us once we know all the since (and similarly for further iterated intersections. )So I think that recovers the argument.
These conditions hold if is the category of finite spaces in some topological category over (which might be basically the same as being a category topological over ?), where we have a factorization system with given by strong=extremal=regular epis just like in , by equipping the middle object of the epi-mono factorization of some map in with the terminal -structure making the image inclusion continuous. These conditions look like they also hold if is the finite algebras for any monad over , again with the strong=extremal=regular epis.
So I continue to guess that if you have a solid functor into finite sets, which subsumes these two cases and not too much more, you can probably get the same place by using a semi-final lift instead of a final lift to construct the factorization system. But I'm not totally sure about this.
Thanks! I don't know solid functors well, but reading the nLab article a few times I'm starting to get the idea, and it may be good. One funny thing is that in my own guess as to the required property I didn't use a general sink, but just a sink with a single morphism:
The functor is faithful and given any and any surjection , there is a morphism such that the morphisms that factor through are precisely those for which factors through .
John Baez said:
Super-Yoneda Lemma. Let be the category of algebras of some Lawvere theory, and let be two algebras whose underlying sets are finite. If the functors and are unnaturally isomorphic, then .
some time ago I posed a related question on mo.
I will explain my motivations.
Interesting. Above I gave a conjectured answer to your question - sufficient conditions on a category for the super-Yoneda Lemma to hold, perhaps not necessary. So did Kevin Arlin. I see your question got some other useful answers on Math Overflow. Thanks for letting me know about those.
Some people call categories for which the super-Yoneda Lemma holds right combinatorial.
In fact my original interest was in left (rather than right) combinatorial (cartesian closed) categories, as I explain here.