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’m acknowledging in advance that this is not a focused question or post. The CPU of my mind feels a bit overclocked, and I’m choosing to externalize some thoughts to try to flush them out.
It is very common to define logic as the study of “reason”, but lately I feel like it is just as much the study of “meaning”. The question of whether or not something is true or false feels much conceptually simpler than the question of how we can analyze and represent the structure and the dynamics of phenomena in the world. A very hard part about logic is the lack of a “starting place” or “origin”, because we use pre-existing systems of meaning to describe other ones. To an extent, with logic, we are always (insidiously?) invited to “move backwards”, which means that as we observe the systems of meaning we use to describe things, someone who wants “everything to be explained”may want to “reify” their meta-language into their object-language. A big problem with systems of meaning is that whatever conceptual ontology they are comprised of, there always seems to be further expressible notions implied by them, and we keep having to add more and more notions to our language.
There are many different kinds of logic. I started by learning some first-order logic. Then I also explored axiomatizing structures as purely “equational theories”; and also got exposed to regular logic, which is somewhere in-between. It did not occur to me before that “systems of equations” are just logical theories, but in a reduced type of logic that doesn’t have any logical connectives (). Technically, a theory like is universally quantified over its variables, and I think we can argue that many of the constant terms can be replaced with existentially quantified variables too (e.g., , so let’s refer to one such element as ). On the other hand, I think we can get rid of the notion of quantification, for these theories in a logically equivalent way.
This has led me to explore different ways of stripping away the parts of first-order logic. I’ve tried to “catalogue” many different first-order signatures and theories and study them a bit. If your signature is , the only atomic formula (excluding variables) you can make is , which is already assumed. It is interesting how first-order logic gives a distinguished place to equality, as a relation; can we eliminate it, and only use relations that are in the signature?
I tried to write out a bunch of different first-order formulae, in order from simpler to longer or more complex. For example: . I don’t know if this is true, but I ended up feeling like, “all of the really interesting formulae / theories involve quantification and relations”. It seems like there are many formulae involving constants and functions that don’t have a big impact on the rest of the theory, i.e., you’re just specifying certain values for functions, like “”. The axioms of ZFC are more complex, by comparison. The axiom of pairing involves 4 quantified variables and logical connectives: .
I’m not sure which common algebraic structures can be axiomatized in a purely equational theory. If we focus mainly on binary operations, it seems like a lot of the common formulae for magmas, monoids, groups, etc., are in reach: . It remains to be seen what is gained by adding in logical connectives. I’m not sure, but it seems logical connectives and relations go more hand in hand; i.e. together they can express a lot more. What is strange is that relations can be expressed as functions into a type . Maybe there’s something to be said about how from different points of view, we can see functions or relations as being “more fundamental”.
I will pause here for a moment to reflect.
I’m not sure which common algebraic structures can be axiomatized in a purely equational theory.
You may be amused by how Terence Tao led an effort to study all 4694 algebraic structures involving a single binary operation and a single equation that uses the operation a total of at most 4 times. Some of these equations imply others, so the people in this project figured out which of all the
possible implications are valid. This seems like a colossal waste of time to me, but then so does US-style football, and colleges in the US spend $2.7 billion a year on that. So clearly my opinion is unimportant in matters like these. At least classifying algebraic structures is less likely to cause brain injuries.
Julius Hamilton said:
What is strange is that relations can be expressed as functions into a type Bool.
This is only true if your logic is classical (i.e. your logic assumes excluded middle).
There are many other kinds of logic where excluded middle does not hold and so relations aren't functions into the booleans (i.e. set with two elements), such as intuitionistic logic, geometric logic, and affine logic.
@Madeleine Birchfield But that's a bit of a red herring because usually relations are still functions into a type of "truth values" or "propositions", it just doesn't happen to be provable that that type has only two elements.
John Baez said:
This seems like a colossal waste of time to me
AFAIU, it's mainly to get training data for AI proof assistants
John Baez said:
You may be amused by how Terence Tao led an effort to study all 4694 algebraic structures involving a single binary operation and a single equation that uses the operation a total of at most 4 times... This seems like a colossal waste of time to me.
Why do you feel that way?
At least 99% of these algebraic structures are completely useless (or to be kind, never yet used by mathematicians), and I haven't seen anyone give an explanation for why it would be helpful to determine their logical relations. There could be a very interesting theory of 'randomly chosen algebraic structures' and their average properties, but I didn't see anyone saying they would use the data generated by this project to generate conjectures about that theory.
Maybe I was missing the point; @Matteo Capucci (he/him) wrote:
AFAIU, it's mainly to get training data for AI proof assistants
Has someone (e.g. Tao) come out and explained that? I must have missed it. That could make sense.
I was speaking solely as a mathematician who likes interesting mathematical results. From that viewpoint, this project is a bit like a chef trying to cook 4693 dishes by combining the ingredients in their refrigerator in all possible ways, and then taste-testing them to answer all 22028942 possible questions about which dish tastes better than which.
Uhm from the link you sent. But reading again, I seem to have slightly misunderstood: the effort is more to benchmark the usage of AI/proof assistants for polymath projects rather than testing the tools themselves...
Okay, I hadn't really read that article - I just heard about this project from a bunch of posts by Tao on the Mastodon.
I guess I knew it was some kind of test project to see if AI could be used to help with Tao's Polymath projects, where swarms of humans are supposed to collaborate and prove things. ("Benchmark" sounds too formal, I thought that was when you had some way of numerically scoring how well a system worked.) But being an old fuddy-duddy, I would like to see if AI could be used to find results mathematicians would be interested in. I'm not very surprised that it can be used to generate 22028942 uninteresting results.
A priori, the Equational Theories Project (ETP) might feel like a questionable use of time, but the project's actual outcomes seem highly valuable to me.
Some specific results:
Effective methods for building infinite countermodels in first-order logic theorem proving. Once integrated into practical tools, I am fairly sure these will have impact on open questions of the form "construct an f.p. group such that..." and similarly for open questions about other structures such as lattices (let’s revisit in five years to evaluate this prediction).
Tools to replay the results of powerful automated provers (e.g. Vampire) directly in Lean, so that they can be verified and used in formal developments. This is obviously quite useful, not just for mathematics, but for software verification as well!
Softer results:
A reality check on the current capabilities of automated tools. Interestingly, ATP tools successfully proved all true implications in the dataset, contrary to expectations (but failed to disprove many false ones with infinite or very large finite countermodels, which was very much in line with expectations). Beyond a sanity check on our automated (and manual!) techniques, it is, to a much lesser extent, a sanity check on our foundations as well. We know that PA, or even ZFC, is not sufficient to settle all magma law implications, now we have definite lower bounds on how much they do settle. It would have been surprising if one of these implications was impossible to settle using ZFC, of course (although I know a logician who thought that at least one implication will remain unsettled for years; we now know that he was mistaken).
A useful test set for future research in machine learning, automated theorem proving, and related tools including SMT solvers for real arithmetic. With synthetic benchmarks, it is often hard to tell whether a result remains unproven due to tool limitations or simply because it is false. Now we have a reasonably large set where the conclusions are known.Similarly in machine learning: it is a sizable, complicated graph whose edge structure can definitely be predicted by knowing the strings that the vertices represent. Can our ML tools predict that structure (very preliminarily results suggested "yes", but I think that'll be revised).
As a side note, I think mathematicians are conditioned to trigger their "unproductive work" reflex prematurely upon hearing the word "magma". For instance, would a project to compile a database of varieties over finite fields or even C, organized by containment, seem like a similar waste of time? Probably not: parts of the LMFDB are like that, yet nobody raised that concern. Of course the two problems are actually related: defining x op y = ax + by
translates an equation satisfied by a magma operation op
directly into a polynomial equation over a field (and just like there, most specific varieties are unimportant, they won't have a group law or other really interesting structure, but studying them all is still of some use).
(Full disclosure: I did contribute to the ETP.)
Thanks! I'm completely convinced by your reply, @Zoltan A. Kocsis (Z.A.K.). I hadn't read an account of these benefits of the magma classification project.
(And by the way, even when I thought it was a waste of time, I wasn't opposed to people doing it! I think it's really important for the advance of mathematics to let people do things just for fun. I think a more dangerous waste of time occurs when people are bossed around and forced to do unproductive things they don't enjoy, like pointless tasks devised by bureaucrats.)
As a side note, I think mathematicians are conditioned to trigger their "unproductive work" reflex prematurely upon hearing the word "magma". For instance, would a project to compile a database of varieties over finite fields or even C, organized by containment, seem like a similar waste of time? Probably not: parts of the LMFDB are like that, yet nobody raised that concern.
The reason is that mathematicians know many connections between these varieties and interesting questions about mathematics. There are lots of important theorems like the (now-proved) Weil conjectures and modularity theorem, and open questions like the Birch--Swinnerton-Dyer conjecture and Bloch-Kato conjecture, that can be examined with the help of this database. I'm not saying that this database will directly help solve any open conjectures, but at the very least, if you're trying to learn this stuff as I am now, it's helpful to have examples to look at.
If I knew lots of interesting questions about universal algebra that could be illuminated by a database of magmas with relations involving at most 4 instances of the magma operation, I'd never have said generating such a table was a waste of time.
It's interesting that your list of justifications of this project did not include any questions of this sort. They were all more indirect.
Now that we have such a database, I hope someone is trying to come up with such questions!
I think we're on the very same page @John Baez.
What I mean in my side note is precisely this. It would be very surprising if tabulating all inclusion relationships between the very simplest kinds of algebraic varieties led to significant progress on big open problems like the Birch and Swinnerton-Dyer conjecture. But when we talk about varieties, there's much less of an inferential leap to big problems coming to mind, which lessens the instinct to worry about it being unproductive work.
(btw on questions, there were some recent comments saying that ETP may have stumbled upon a 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!!