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.
(btw on questions, there were some recent comments saying that ETP may have stumbled upon a new sort of "magma cohomology" that is a variant of group cohomology; while I did learn some group cohomology during my PhD, I've forgotten much, and can't comment on how promising or nonpromising this is)
From a modern viewpoint group cohomology arises from the bar construction, which is a way to get an augmented simplicial object from an algebra of monad. To define the cohomology of a group with coefficients in some abelian group on which acts, we use the "free abelian group with action of on an abelian group" monad on . Various other monads give various other cohomology theories. The cohomology of monoids works almost the same as for groups. Magmas would require more creativity since there's no standard notion of an "action" of a magma. (I tend to think about this when trying to understand what a module of an nonassociative algebra would be - like my favorite nonassociative algebra, the octonions.)
Why is it not reasonable to define an action for a magma to be a function ?
There's been a large amount of work on monoid cohomology. A number of attempts at this are mentioned here. There are not as many papers on magmas, but for example, this paper is relevant. It discusses only split extensions, but I believe it is largely understood how to go from these to more general extensions. I don't know how this relates to the kind of magma cohomology they need. A notion of action for unitary magmas is discussed here.
Nathanael Arkor said:
Why is it not reasonable to define an action for a magma to be a function ?
Notice that this doesn't use the multiplication in the magma at all! Indeed, I have in one paper used this as the definition of a set acting on a set .
So, it's a fine definition for use in cohomology iff you're happy to let the cohomology of a magma depend only on the underlying set of the magma. But then calling it "magma cohomology" seems a bit odd: you might as well call it "set cohomology".
I recall that one can think of a group action as a functor from the category we get by viewing that group as a one-object category. Maybe one could do a similar thing with magmas, except working with some weak notion of "category" that doesn't require associativity or unitality?
Such a "magmagory" is an interesting intermediate between a graph and a category - I'd never thought about such things.
There will be right adjoints from the category of categories to the category of magmagories and from the category of magmagories to the category of graphs, I think!
Another way to say that without introducing magmagories is that every set has an endomorphism monoid , which is of course also a magma, and so we could define an action of a magma on to be a magma homomorphism . But since is a monoid, this is the same as a monoid homomorphism , where is the left adjoint of the forgetful functor. In other words, an "action" of a magma in this sense is just an ordinary action of its maximal monoid quotient.
So a magma can act via its underlying set, or it can act via its monoid quotient, but it's unclear whether there's any way for it to act that uses more of the magma structure than is contained in the monoid quotient.
It seems that one would need some more general notion of "endomorphism" that isn't associative, but I don't know what that would be.
(deleted)
Very interesting, thanks!
Earlier I wrote:
I've forgotten much, and can't comment on how promising or nonpromising this is
Based on the discussion, I now think that it holds promise at least in the weaker sense that
Hmm, I hadn't even dug back into the thread where a potential definition of for magmas might be given. Now I have, and I still don't see that definition, just a remark that suggests maybe Terry Tao knows that definition.
I don't think a full definition has been written down at this stage (but see the blueprint), and I don't think a major followup on magma cohomology is planned until after the main article is out.
It shouldn't take that long to write down the definition of a 2-cocycle and a 1-coboundary if anyone knows them. For group cohomology a 2-cocycle on taking values in an abelian group on which acts is a function with
where
The easiest way to get such a cocycle is to take any and define
where
This works because one can check that
This sort of 2-cocycle is called a 2-coboundary. The group of 2-cocycles mod 2-coboundaries is called the second cohomology .
So if this works for magmas, or some other formula works for magmas, there's no need to write a whole paper about it: it should be easy to write it down like I did now.
I guess I'll just check to see if every 2-coboundary as defined above is a 2-cocycle using the exact same formulas when is a magma: that is, see if the associative law is needed. It might well not be. Right now I believe associativity becomes necessary when we get to , but not for and .
Tao's comment suggests their goal is to construct "magma extensions" of a magma by an abelian group or ring :
with a carrier of the form and with law for some function , where is an abelian group or ring and is some linear magma operation that obeys the required equational law. In order for this "semi-direct product" to obey the law we then have to solve a (linear!) functional equation on (these equations look a little bit like cocycle equations).
This puzzles me though; what is "the law" he refers to? A magma operation doesn't have to satisfy any law.
If we knew what law he was talking about, we could presumably figure out what equation his has to satisfy to make it work.
The general goal is the following: given two laws P
and Q
, to construct magmas which satisfy P
but not Q
.
Btw the project blueprint has a short section on magma cohomology.
In the case of group extensions, the 2-cocycle equation arises from the requirement that a group extension satisfy associativity.
Thanks for the link! That makes it fairly clear: it's not really cohomology of magmas, but of "E-magmas" for some equation E. When E is associativity, we get ordinary (semi)group cohomology; in general there is a cocycle equation that's exactly what's needed to ensure that a magma extension inherits E from its components.
(BTW I find it rather confusing that apparently they use the word "law" to refer both to a magma operation and to an equation that it might satisfy.)
John Baez said:
I guess I'll just check to see if every 2-coboundary as defined above is a 2-cocycle using the exact same formulas when is a magma: that is, see if the associative law is needed. It might well not be. Right now I believe associativity becomes necessary when we get to , but not for and .
It turns out we need associativity-like equations already to define in the usual way. But we do not need to be associative.
I took a function where is a magma and an abelian group equipped with a map , and I defined and as usual in group cohomology, namely:
and
where is an abbreviation for .
Then I got the all-important equation
if two equations hold:
and
These are automatic if is a group or even a monoid acting as endomorphisms of .
If is just a magma, the first equation holds if the map obeys this law:
Yes, this equation still parses just fine when is merely a magma!!! So maybe this we want this equation in the definition of 'magma action' (on a set, or group).
The second equations holds if factors through the quotient of by the equivalence relation , i.e. if factors through the free monoid on our magma. So maybe we should demand that a 1-cochain be not merely an arbitrary , but one with this property.
In short, for monoid cohomology can be generalized to a magma if we restrict ourselves to 1-cochains that factor through the free monoid on , and acts on the coefficient group in such a way that .
(The term 'free monoid on a magma' sounds funny, but I'm referring to the left adjoint to the forgetful functor from monoids to magmas, where we take our magma and force it to be a monoid.)
Note that the equation says exactly that the map is a magma homomorphism, and therefore (since End(A) is a monoid) it also factors through the free monoid on . (I was calling this the "maximal monoid quotient", although I suppose it's not exactly a quotient since it has to add an identity too.) So don't we just get the cohomology of the free monoid on this way, rather than any kind of true magma cohomology?
Actually the quotient by is the free semigroup on the magma, right? Which is actually a quotient. So maybe I mean semigroup cohomology.
Mike Shulman said:
Note that the equation says exactly that the map is a magma homomorphism, and therefore (since End(A) is a monoid) it also factors through the free monoid on .
Oh, right! So magma is starting to seem more and more like monoid .
So don't we just get the cohomology of the free monoid on this way, rather than any kind of true magma cohomology?
Yeah.
Mike Shulman said:
Actually the quotient by is the free semigroup on the magma, right? Which is actually a quotient. So maybe I mean semigroup cohomology.
I noticed that, and decided not to confuse people by starting to talk about semigroups. To get from the explicit chain complex I was talking about, it seems all we need is a semigroup acting on an abelian group .
People often like to restrict attention to the smaller cochain complex consisting only of "normalized" cochains , which have . And for this to give the same cohomology groups, we probably need our semigroup to be a monoid.
A monoid has a kind of [[nerve]] that's a simplicial set, but I think a semigroup has a kind of nerve that's a [[semi-simplicial set]], and that's good enough for homology and cohomology if we don't care about 'normalization' or 'degeneracies'. You probably understand this better than I do....
Somewhere in this study of [[centipede mathematics]] we should be talking about unital magmas. Magmas are to semigroups as unital magmas are to monoids.
Q: What sort of 'nerve' does a magma, or unital magma, have?
A monoid has a simplicial nerve because a category has a simplicial nerve, and this is because there is a cosimplicial object in (i.e. a functor ) sending to the poset , seen as a category where there is a unique morphism iff .
A semigroup has a semisimplicial nerve because a semicategory has a semisimplicial nerve, and this is because there is a co-semisimplicial object in sending to the strict order , seen as a semicategory where there is a unique morphism iff .
So we should find some kind of magmoidal version of these cosimplicial and co-semisimplicial objects.
In the non-unital case, this should take values in the category of “magmoids”, that is many-object magmas. By analogy with the other two, it should be indexed by a category whose objects are indexed by natural numbers, and send to a magmoid whose objects are .
The natural guess to me looks like the following: is sent to the magmoid whose objects are and set of morphisms from to is the set of plane rooted binary trees with leaves when , and empty otherwise.
The composite of two morphisms corresponding to trees and is the tree whose subtrees at the 2 children of the root are and , respectively (I can't remember the name of this operation)
The indexing category should be equivalent to the full subcategory of on these objects. I don't know of a combinatorial description of its morphisms but I bet it's something known.
I mean, the unifying characteristic of these objects is that they are free in the appropriate sense on the linear graph on vertices, so in any case a morphism is uniquely determined by what it does on the edges of this graph.
So I think that a morphism in the “magmoidal simplex category” is going to be a strictly increasing map (in particular we must have ) together with a sequence of plane rooted binary trees such that has leaves.
So up to , the -simplex and magmoidal -simplex have the same faces, but from , there are more faces in the magmoidal -simplex than in the -simplex, since there are two different morphisms such that and .
These correspond to the two binary trees with 3 leaves, or equivalently to the two possible parenthesisations of a word of length 3.
I'll call this “magmoidal simplex” a “magmex” for brevity. In the magmicial nerve of a magma, the -magmexes are, just like in the case of monoids, sequences of elements of the magma. But now there is a 1-face of this -magmex for each and for each parenthesisation of .
I think the unital case is pretty much exactly the same, except for the fact that
but these are not really different from the simplicial case, essentially because units are always associative in the sense that ... It's really only the “faces” which are different
This is excellent stuff, @Amar Hadzihasanovic. This looks like it could be the right approach to understanding the cohomology of magmas and magmoids: don't try to force simplicial techniques on them, but instead develop the right sort of new shapes - magmexes! - that are suited to working with them.
So is there a chain complex associated to a magmicial set? Or does the category of magmicial sets (or magmicial spaces) admit a model structure?
At first the Dold-Kan theorem saying the category of simplicial abelian groups is equivalent to the category of -graded chain complexes of abelian groups seems like a miracle. But the ideas behind it are rather robust - owing in large part to the magic of abelian groups. So it might be possible that the category of magmicial abelian groups is also equivalent to the category of -graded chain complexes of abelian groups... even though magmicial sets are different from simplicial sets.
At the very least, we should be able to get an -graded chain complex of abelian groups from a magmicial abelian group!
I have another question: how are magmicial sets related to dendroidal sets? I can begin to answer that. It seems like magmicial sets are presheaves on some category of planar rooted binary trees, while dendroidal sets are presheaves on the larger category of nonplanar rooted trees. So it seems there are two independent switches to flip here: planar versus nonplanar trees, and binary versus arbitrary -ary trees. We should thus get presheaf categories on 4 categories of trees, and these 4 categories are related by some obvious functors, so we get a bunch of essential geometric morphisms between these presheaf categories.
An obstacle here is that, however we assign orientations to faces of a magmex, we will not get a chain complex: the reason is that the two 1-faces 1(23) and (12)3 of the 3-magmex are faces of a single 2-face each. Thus in of the top face they will each appear only once, and there is nothing that can "cancel them out".
We can still get an -graded abelian group with these "inexact" differentials, though, and that does seem to encode some interesting information; e.g. if we hit the nerve of a magma with this construction, we have , that is, if and only if associate.
(This is after choosing the orientation of faces induced from the -oriental by the evident quotient map from the -magmex to the -simplex)
Ouch! That's too bad. Could we possibly have or for some fixed ? There's been a bit of work on such "-step complexes" by Kapranov. I realize that by asking this I'm lazily hoping Amar will do even more calculations. Sorry! But I've always hoped there was some really good application of -step complexes.
I'm afraid that if fails so will for every .
John Baez said:
Ouch! That's too bad. Could we possibly have or for some fixed ? There's been a bit of work on such "-step complexes" by Kapranov. I realize that by asking this I'm lazily hoping Amar will do even more calculations. Sorry! But I've always hoped there was some really good application of -step complexes.
For any you should have exactly the same problem: the -faces and of the -simplex both come from a unique -face. (The dots are probably not clear; I mean the faces corresponding to the two "extreme" binary trees, one which is left-heavy and one which is right-heavy. So e.g. for these are and .)
Another thing we could try to get a bona fide chain complex is to take the face poset of each magmex, and then take the chain complex associated to its order complex, which is an ordered simplicial complex so we can apply the usual machinery.
For simplices, the order complex of the face poset of the -simplex is the barycentric subdivision of the -simplex, which is homeomorphic to the -simplex itself, so whether one takes the usual chain complex of a simplicial set, or first hits the simplicial set with subdivision, will have no effect on the homology. But in our case this should have the non-trivial effect of allowing us to use simplicial machinery after all.
To be more formal: if is the “magmex category” that I described earlier, there should be a functor sending each magmex to its poset of faces and each inclusion of magmicial faces to a closed embedding of posets.
Then we can post-compose this functor first with the nerve and then with the simplicial chain complex functor .
Finally, we can extend along colimits to get a functor from “magmicial sets” to chain complexes.
If we replaced with the simplex category in this construction, we would get the functor which sends a simplicial set to the chain complex of its subdivision, which is weakly equivalent to the chain complex of the original simplicial set.
So unless I have made a mistake somewhere, taking the “magmicial nerve” of a magma, followed by this functor, followed by homology should give some notion of homology of a magma.
John Baez said:
I have another question: how are magmicial sets related to dendroidal sets? I can begin to answer that. It seems like magmicial sets are presheaves on some category of planar rooted binary trees, while dendroidal sets are presheaves on the larger category of nonplanar rooted trees. So it seems there are two independent switches to flip here: planar versus nonplanar trees, and binary versus arbitrary -ary trees. We should thus get presheaf categories on 4 categories of trees, and these 4 categories are related by some obvious functors, so we get a bunch of essential geometric morphisms between these presheaf categories.
Here's a different thought, no clue if it's worth anything, more in line with dendroidal sets. I'm going to define something I'll call an arboreal set and show how to take the arboreal nerve of a magmoid. I think a Dold-Kan-like construction is possible which will give us a chain complex-like-thing graded in a somewhat strange net, rather than in , but I haven't written out the details, so I'll stop at the nerve for now.
Notice that for dendroidal sets, the objects of the replacement of the simplex category are trees; whereas for magmicial sets as defined above, the morphisms are trees. We want to work with some category whose objects are finite rooted full binary trees with a compatible linear order on their leaves. (In other words, they are complete parenthesizations of the string "" for some . By compatibility, I mean that if , then it should noe be the case that and are closer to each other than to in the tree.) Notice that these trees are not symmetric, so this is not just a subcategory of the dendroidal category.
We need to describe the right morphisms in this category. The idea is that a morphism embeds as a subtree of , but may send edges to paths; here is one way to make that precise. The order on the leaves induces a total order on arbitrary vertices via depth-first search (take the order on the leaves, and ask that a parent precedes its children; this process determines a unique total order on the vertices). A morphism is a strictly monotone map from the leaves of to the vertices of such that images of distinct leaves are never in an ancestor-descendant relationship.
An "arboreal set" is a presheaf on . In particular, for each finite rooted binary tree , an arboreal set has a set of "-cells", and given an embedding of into , there is map sending -cells to -cells obeying some laws.
Every magma, or more generally magmoid, has an "arboreal nerve" whose -cells are the labellings of each leaf in with (composable) elements/morphisms from . Given a map and an -cell, we obtain a -cell whose node is labelled by the product of all the descendants of , associated as dictated by the tree . This process satisfies all the right equations, so we get a genuine arboreal set. Moreover, this process is functorial; give a magmoid functor , we have a natural transformation which pushes the labels of -cells through . (I feel quite strongly that this should be induced from some functor , but as far as I can see it will take some work to write that functor down.)
I conjecture (although I haven't written it out---maybe there is an obstruction like the one Amar found for magmicial sets, and I just haven't noticed it) that an arboreal set should give you a "complex" (heavy scare quotes) graded in the poset quotient of , i.e. for each , an abelian group , so that if there is a tree map that is not an identity and factors through no other tree maps, then there is a differential , so that any two distinct $$\text{d}$$s compose to the zero map. I don't know if there is a theory of such "net-graded complexes" or whether they give interesting cohomology theories in any sense, it seems like someone here would know about such a thing if it exists.
(Extremely optimistically, for any category of "tree-like objects and tree embeddings," e.g. semisimplicial sets, arboreal sets, dendroidal sets, maybe there is a theory of complexes graded in the poset quotient of , and a "Dold-Kan for -sets". Any maybe we can relax the injectivity to get simplicial sets etc. That's probably way too optimistic, but it's something we could try to approach if this ends up working in some specific non-simplicial setting.)
Update: nevermind, this is too much to hope for; there is an obstruction to very similar to the one with magmicial sets. Sorry!!
Mike Shulman said:
Another way to say that without introducing magmagories is that every set has an endomorphism monoid , which is of course also a magma, and so we could define an action of a magma on to be a magma homomorphism . But since is a monoid, this is the same as a monoid homomorphism , where is the left adjoint of the forgetful functor. In other words, an "action" of a magma in this sense is just an ordinary action of its maximal monoid quotient.
Note that this is a microcosmic phenomenon, due to the fact categories are somewhat not the natural habitats for magma actions. Instead, the set of endomorphisms of an object in a magmagory is just magma, and thus actions of magmas don't trivialize anymore in a magmagory.
54 messages were moved here from #theory: type theory & logic > Functions, Relations by Matteo Capucci (he/him).
Matteo Capucci (he/him) said:
Note that this is a microcosmic phenomenon, due to the fact categories are somewhat not the natural habitats for magma actions. Instead, the set of endomorphisms of an object in a magmagory is just magma, and thus actions of magmas don't trivialize anymore in a magmagory.
Right. So if we had any naturally occurring magmagories, we could find nontrivial actions of magmas on their objects.
John Baez said:
Such a "magmagory" is an interesting intermediate between a graph and a category - I'd never thought about such things.
The nLab calls these objects [[magmoids]].
Do the 1-skeleta of naturally occurring non-strict bicategories qualify as naturally occurring magmoids? :grinning_face_with_smiling_eyes:
Haha, interesting question! They certainly are magmoids that aren't categories or even semicategories, and they certainly occur naturally in some sense. But I'm dubious that you'll get an interesting notion of "magma action" from them, mainly because they're "evil".
One nice source of interesting magmoids is from magmas that have already proved interesting, like the octonions. There's a magmoid where objects are natural numbers and a morphism from to is an matrix of octonions, with matrix multiplication as composition. This is a kind of substitute for the nonexistent "category of finite-dimensional octonionic vector spaces". It's somewhat interesting.
More generally Schafer's book An Introduction to Nonassociative Algebras shows that a surprising number of fundamental concepts generalize nicely from associative to nonassociative algebras. Some of these might be understandable using magmoids - I'm not sure.
Ah, nice. So magmas could have "representations" on octonionic "vector spaces" that don't factor through their free monoid.
I guess there is an Ab-enriched magmoid whenever is an abelian group with an arbitrary map . I'm not sure what to call such an ; it's a "magma object in Ab". Presumably we can freely generate one of those from any magma, like a group ring or a monoid ring.
But if the objects of Mat(R) can't be understood as some kind of concrete thing, it's not immediately clear to me how such a magma action would give rise to cohomology.
Relevant paper https://arxiv.org/pdf/1311.3524v1