Skip to the Main Content

Note:These pages make extensive use of the latest XHTML and CSS Standards. They ought to look great in any standards-compliant modern browser. Unfortunately, they will probably look horrible in older browsers, like Netscape 4.x and IE 4.x. Moreover, many posts use MathML, which is, currently only supported in Mozilla. My best suggestion (and you will thank me when surfing an ever-increasing number of sites on the web which have been crafted to use the new standards) is to upgrade to the latest version of your browser. If that's not possible, consider moving to the Standards-compliant and open-source Mozilla browser.

April 3, 2013

Iterating the Free Monoid Construction

Posted by John Baez

The free monoid on a set XX is

FX=1+X+X 2+X 3+ F X = 1 + X + X^2 + X^3 + \cdots

and the same formula works in many other categories. I guess it works in any monoidal category with coproducts, where the tensor product distributes over coproducts.

Sometimes it’s nice to study this free monoid construction using geometric series, by pretending that

FX=11X F X = \frac{1}{1 - X}

It doesn’t exactly make sense, at least not to me, since I can’t think of any categories where I know both what “1X1 - X” means for an object XX, and what the “reciprocal” of an object means. But we can still sometimes squeeze some useful insights out of this idea.

But Mike Stay asks, what about FFFXF F F X?

If we say

FX=11X F X = \frac{1}{1 - X}

then

FFX=1111X=X1X F F X = \frac{1}{1 - \frac{1}{1-X}} = \frac{X-1}{X}

and

FFFX=11X1X=X F F F X = \frac{1}{1 - \frac{X-1}{X}} = X

We’re back where we started from! This is familiar in the theory of SL(2,)SL(2,\mathbb{Z}), where the matrix

(A B C D) \left( \begin{array}{cc} A & B \\ C & D \end{array} \right)

acts as a fractional linear transformation

XAX+BCX+D X \mapsto \frac{A X + B}{C X + D}

But this matrix and its negative give the same fractional linear transformation. So, it’s really the quotient SL(2,)/±I=PSL(2,)SL(2,\mathbb{Z})/\pm I = PSL(2,\mathbb{Z}) that matters here. The transformation FF corresponds to a famous element of order 6 in SL(2,)SL(2,\mathbb{Z}), namely

(0 1 1 1) \left( \begin{array}{cc} 0 & 1 \\ -1 & 1 \end{array} \right)

But when you cube this element, you get

(0 1 1 1) 3=(1 0 0 1) \left( \begin{array}{cc} 0 & 1 \\ -1 & 1 \end{array} \right)^3 = - \left( \begin{array}{cc} 1 & 0 \\ 0 & 1 \end{array} \right) so the corresponding element in PSL(2,)PSL(2,\mathbb{Z}) has order 3.

Anyway, Mike’s puzzle is this:

Puzzle. Is there some context in which the cube of the free monoid construction is ‘the same’ as doing nothing at all… perhaps in some weak sense of ‘the same’?

When I say ‘weak sense’ you should be thinking things like ‘F 3XF^3 X has some of the same invariants as XX’, or maybe ‘F 4XF^4 X has some of the same invariants as FXF X’. And you should be reminded of Andreas Blass’ paper Seven trees in one, which uses similar shenanigans to motivate, and then find, a nice bijection between T 7T^7 and TT, where TT is the set of finite binary trees.

Of course, because FF is a monad, we have morphisms FFXFXF F X \to F X and XFXX \to F X. But I don’t see how these help with Mike’s puzzle.

Posted at April 3, 2013 7:42 PM UTC

TrackBack URL for this Entry:   https://golem.ph.utexas.edu/cgi-bin/MT-3.0/dxy-tb.fcgi/2608

27 Comments & 1 Trackback

Re: Iterating the Free Monoid Construction

The set of binary strings BB is defined by

(1)B=2B+1,B = 2B + 1,

so it has cardinality -1. If we define

(2)ST[M,N]=[N,BM+N]ST[M,N] = [N, B M + N]

then

(3)(ST) 3[M,N]=[BM+(B+1)N,BN+B(B+1)M+(B+1)N](ST)^3[M,N] = [B M + (B+1)N, B N + B(B+1)M + (B+1)N]

Now, B+1B+1 is like zero in the sense that

(4)2(B+1)=2B+1+1=B+12(B+1) = 2B + 1 + 1 = B + 1

It’s the additive identity for the infinite objects.

The infinite zero shows up in both slots only after the third iteration of STST. Also, there’s this “negation” of both numerator and denominator that you mentioned, so unless we mod out our data types by common multiples, ST has period 6. We finally get an isomorphism between (ST) 3(ST)^3 and (ST) 9(ST)^9.

None of this bears directly on my question about F,F, though.

Posted by: Mike Stay on April 3, 2013 8:47 PM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

It’s a great question, and I hope there’s a really nice answer. I’ve heard it asked before by Joachim Kock — which is funny, because I’m building up to another post inspired by a thought of Joachim’s.

The following isn’t directly relevant to the question, but the first thought I had when I read the title “Iterating the free monoid construction” was globular pasting diagrams. Writing FF for the free monoid construction, an nn-dimensional globular pasting diagram is precisely an element of F n1F^n 1.

For example, an element of F 11F^1 1 is a natural number kk, which can be thought of as a chain of kk arrows.

An element of F 21=FF^2 1 = F \mathbb{N} is a finite sequence (k 1,,k n)(k_1, \ldots, k_n) of natural numbers. This can be thought of as the 2-dimensional globular pasting diagram consisting of (from left to right) k 1k_1 2-cells stacked up, then k 2k_2 2-cells stacked up, and so on, so that the whole thing is nn units wide. I’m too lazy to draw a picture.

Posted by: Tom Leinster on April 4, 2013 1:23 AM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

Here’s a first contribution. The free monoid monad FF satisfies FX1+X×FX. F X \cong 1 + X \times F X. On the one hand, this is a recursive definition (since an element of the free monoid on a set XX is either the empty sequence or an element of XX followed by an element of the free monoid on XX). On the other hand, it’s the closest thing to FX=11X F X = \frac{1}{1 - X} that can be stated without subtraction or division.

Let’s see if we can take John’s calculation that doing X11XX \mapsto \frac{1}{1 - X} three times over is the identity, and redo it without mentioning subtraction or division. This is the kind of thing Marcelo Fiore and I used to do, so it’s pleasantly nostalgic for me.

I’ll switch to small letters. Formally speaking, I’m going to work in a commutative rig RR equipped with a map of sets f:RRf\colon R \to R satisfying f(x)=1+xf(x) f(x) = 1 + x f(x) for all xRx \in R. Now, for any xx, f 2(x)=1+f(x)f 2(x). f^2(x) = 1 + f(x)f^2(x). Multiplying by xx then adding f 2(x)f^2(x), (1+x)f 2(x)=x+(1+xf(x))f 2(x) (1 + x)f^2(x) = x + (1 + x f(x))f^2(x) and so (1+x)f 2(x)=x+f(x)f 2(x). (1 + x)f^2(x) = x + f(x)f^2(x). Next add 1 to each side: 1+f 2(x)+xf 2(x)=x+(1+f(x)f 2(x)) 1 + f^2(x) + x f^2(x) = x + (1 + f(x)f^2(x)) or equivalently 1+xf 2(x)+f 2(x)=x+f 2(x). 1 + x f^2(x) + f^2(x) = x + f^2(x). If we could cancel then we’d have 1+xf 2(x)=x1 + x f^2(x) = x, which is a riggy version of the statement f 2(x)=x1xf^2(x) = \frac{x-1}{x} that appeared in John’s calculation.

So that tells us about f 2(x)f^2(x); let’s do f 3(x)f^3(x). We have f 3(x)=1+f 2(x)f 3(x). f^3(x) = 1 + f^2(x)f^3(x). Multiplying each side by xx then adding (1+f 2(x))f 3(x)(1 + f^2(x))f^3(x), this gives (1+x+f 2(x))f 3(x)=x+(1+xf 2(x)+f 2(x))f 3(x) (1 + x + f^2(x))f^3(x) = x + (1 + x f^2(x) + f^2(x))f^3(x) which by the result of the previous paragraph gives (1+x+f 2(x))f 3(x)=x+(x+f 2(x))f 3(x). (1 + x + f^2(x))f^3(x) = x + (x + f^2(x))f^3(x). Now rearranging, f 3(x)+[(x+f 2(x))f 3(x)]=x+[(x+f 2(x))f 3(x)]. f^3(x) + [(x + f^2(x))f^3(x)] = x + [(x + f^2(x))f^3(x)]. If we could cancel the term in square brackets, we’d be able to conclude that f 3(x)=xf^3(x) = x.

One notable thing about this conclusion is that only additive cancellation is needed. Before I did the calculation, I was imagining that we’d need multiplicative cancellation too.

Posted by: Tom Leinster on April 4, 2013 2:23 AM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

It’s maybe worth noting that there are no nontrivial cases in which the three-times iterated free monoid functor is literally isomorphic to the identity functor — at least, not if we’re in the easiest setting for the free monoid construction (the one in brackets above).

Proof: suppose that F 3(X)XF^3(X) \cong X for all XX. Then, in particular, F 3(0)0F^3(0) \cong 0, where 00 is the initial object. Now 11 is a summand of F(Y)F(Y) for any YY, so 11 is a summand of F 3(0)F^3(0), so 11 is a summand of 00. On the other hand, it’s a general fact about categories that any summand of an initial object is initial. So 11 is initial, which gives XX×1X×00X \cong X \times 1 \cong X \times 0 \cong 0 for all XX. Hence CC is equivalent to the terminal category.

This backs up what John wrote at the end of his post: we have to shoot for something less ambitious than F 3idF^3 \cong id.

My calculations above have a corollary. To state it, we need some terminology and a lemma. In a commutative semigroup (R,+)(R, +), call an element hRh \in R high if for all sRs \in R there exists tRt \in R such that h=s+th = s + t.

Lemma Let h 1h_1 and h 2h_2 be high elements of a commutative semigroup (R,+)(R, +). If h 1+r=h 2+rh_1 + r = h_2 + r for some rRr \in R then h 1=h 2h_1 = h_2.

I think this goes back to the 1950s; Marcelo Fiore and I rediscovered it and gave it as Corollary 3.4 of our paper Objects of categories as complex numbers. The key fact behind the lemma is that the set of high elements of a commutative semigroup RR is either empty or forms a group — with the same binary operation as RR, but usually a different identity!

Anyway, the calculation of my previous post shows that if F 3(X)F^3(X) and XX are high then F 3(X)XF^3(X) \cong X. In fact, we can drop the hypothesis that F 3(X)F^3(X) is high: for XX is a summand of F(X)F(X), which is a summand of F 2(X)F^2(X), which is a summand of F 3(X)F^3(X), so if XX is high then F 3(X)F^3(X) is too. Hence:

Corollary Let CC be a category and F:CCF\colon C \to C a functor such that

F(X)1+X×F(X) F(X) \cong 1 + X \times F(X)

for all XCX \in C. (Fo r instance, let CC be a category with finite products and countable coproducts, with products distributing over coproducts, and let FF be free monoid.) Let XX be an object of CC such that for all YCY \in C, there exists ZZ in CC with XY+ZX \cong Y + Z. Then F 3(X)XF^3(X) \cong X.

However, I can’t think of any interesting instances of this.

Posted by: Tom Leinster on April 4, 2013 11:02 AM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

Tom, you might want to look at Schutzenberger’s theory of rational power series over semirings and formal language theory. The book of Berstel and Reutenauer is good for this. They take a similar approach to you on thinking about these things.
Posted by: Benjamin Steinberg on April 5, 2013 12:37 AM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

In the category of sets, F(X)F(X) is always high, right? So we should get an isomorphism between F(X)F(X) and F 4(X).F^4(X).

Posted by: Mike Stay on April 5, 2013 2:42 AM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

Well, supposing choice, |F(X)|=|X+ω||F(X)| = | X + \omega | ; but that doesn’t say much; on the other hand, we already have |F(F(X))|=|F(X)||F(F(X))| = |F(X)|!


The thing that has been bothering me this whole time is that the analogy F(X)11X F(X) \sim \frac{1}{1-X} can’t mean F 2(X)X1X F^2 (X) \sim \frac{X-1}{X}, because FF, being defined by its power series, doesn’t belong to the domain of convergence of that power series to 11X\frac{1}{1-X}; for instance, in graded things, this is reflected in that even if F(X)F(X) is of finite type, F(F(X))F(F(X)) is not. Incidentally, the fixed-points of X11XX\mapsto \frac{1}{1-X} are 1±i32\frac{1\pm i\sqrt{3}}{2}, which aren’t in the domain of convergence either.

Posted by: Jesse McKeown on April 5, 2013 3:13 PM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

This is related to the fact that generally speaking, you can’t substitute one formal power series G(x)G(x) into another F(x)F(x) unless some conditions are satisfied, e.g., you can do it if G(x)G(x) has constant term zero or if F(x)F(x) is polynomial.

At the categorified level, you can substitute one functor into another with impunity, or relatedly you can always define the substitution product (= plethystic product) of two Joyal species, but if you want your coefficient objects to be finite (so as to avoid traps like Eilenberg swindles), then analogous restrictions apply.

Posted by: Todd Trimble on April 5, 2013 3:56 PM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

Jesse wrote:

Well, supposing choice, F(X)=X+ω∣F(X)∣=∣X+\omega∣; but that doesn’t say much; on the other hand, we already have F(F(X))=F(X)∣F(F(X))∣=∣F(X)∣!

To me what’s interesting in this context is not isomorphisms but natural isomorphisms. The fact that you’re resorting to the axiom of choice shows you’re missing the fun to be had here.

If CountSetCountSet is the category of countably infinite sets and

F:CountSetCountSetF: CountSet \to CountSet

is the free monoid functor, is F 3F^3 naturally isomorphic to the identity? That would be really interesting to me.

As for convergence of power series, I’m afraid when I’m playing this particular kind of game, I follow the brazen words of Heaviside:

The series diverges; therefore we can do something useful with it.

For example, the species of binary (finite, rooted, planar) trees comes with an isomorphism

T(z)z+T(z) 2T(z) \cong z + T(z)^2

This says “trees with zz-colored leaves correspond to either zz-colorings of the unique leaf or pairs of trees of this sort.” We can then decategorify and get an equation between generating functions

T(z)=z+T(z) 2 T(z) = z + T(z)^2

which gives

T(z)=(114z)/2T(z) = (1 - \sqrt{1 - 4z})/2

and using a Taylor series

T(z)=z+z 2+2z 3+5z 4+14z 5+42z 6+ T(z) = z + z^2 + 2z^3 + 5z^4 + 14z^5 + 42z^6 + \cdots

The coefficients are the Catalan numbers, and this says things like: the number of binary trees with six leaves, all zz-colored, is 42z 642 z^6. And that’s right.

Now we can do something crazy like evaluate this at z=1z = 1, which is outside the radius of convergence. We should get the cardinality of the set of finite binary trees: the sum of all the Catalan numbers. This obviously diverges, but we can brazenly try to compute it using

T(z)=(114z)/2T(z) = (1 - \sqrt{1 - 4z})/2

We get a complex number, namely a sixth root of unity… which makes no sense… but Blass showed that all this craziness actually can lead to correct mathematics if we’re clever enough.

We can even set z=1z = -1, get the golden ratio, and make sense of that! See Robin Houston’s construction of a golden object.

So, the idea is to start by being very reckless, and then use a lot of category theory and intelligence to save the day. In this blog article I did the first part… then Tom started doing the second part.

Posted by: John Baez on April 6, 2013 1:54 AM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

John asked:

If CountSetCountSet is the category of countably infinite sets and

F:CountSetCountSetF: CountSet \to CountSet

is the free monoid functor, is F 3F^3 naturally isomorphic to the identity? That would be really interesting to me.

It’s not though, because there’s not even a natural transformation from F 3F^3 to the identity. Indeed, we have the obvious unit transformation u:IdFu: Id \to F (the inclusion of XX into 1+X+X 2+1 + X + X^2 + \ldots), and so we also have transformations from FF to FFFF F F such as

FFuFFFFuFFF;F \stackrel{F u}{\to} F F \stackrel{F F u}{\to} F F F;

thus, if there were a transformation FFFIdF F F \to Id, there would have to be one of the form FIdF \to Id as well. I will show this is not the case.

Suppose we had a transformation θ:FId\theta: F \to Id, so for each countable set XX we have a component

θ X:1+X+X 2+X.\theta_X: 1 + X + X^2 + \ldots \to X.

Let c Xc_X be the value of θ X\theta_X applied to the unique element of the summand 11. Then the commutativity of the naturality square would force the equation

c Y=f(c X)c_Y = f(c_X)

for every function f:XYf: X \to Y. This is absurd.

This kind of argument shows what sorts of restricted contexts might be involved to get anything like this to work.

Posted by: Todd Trimble on April 7, 2013 2:10 AM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

Great argument, Todd! Even though the result makes me a bit sad…

Posted by: John Baez on April 7, 2013 2:56 AM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

Well, I wasn’t trying to strike a death blow to the entire enterprise; in fact I’d been thinking a little on this problem in a more optimistic spirit.

I’m afraid I don’t have any really bright ideas to share at the moment, but my own vague thoughts were pushing me more in the direction of hoping one could cook up some sort of weak equivalence between F 3F^3 and the identity, as realized on some other category (like species valued in 2\mathbb{Z}_2-graded chain complexes, or something). There one can play with the idea that the degree 1 shift functor behaves something like additive inverse, and there are stack-y sorts of constructions one could try… as I say, I’m not really prepared to say a whole lot more at the moment. But there could be hope.

Posted by: Todd Trimble on April 7, 2013 3:25 AM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

Tom wrote:

f 3(x)+[(x+f 2(x))f 3(x)]=x+[(x+f 2(x))f 3(x)]. f^3(x) + [(x + f^2(x))f^3(x)] = x + [(x + f^2(x))f^3(x)].

Bravo! I’m so glad you took a crack at this, because after those papers you wrote with Marcelo, you know more tricks than almost anyone else for dealing with this sort of problem.

The above equation, while less charismatic than f 3(x)=xf^3(x) = x, has the virtue of being true… and it’s a fact about free monoids that we might never have guessed had not the tempting mirage of f 3(x)=xf^3(x) = x lured you through the desert of calculations.

And it seems to me your argument says a bit more. Suppose we have any symmetric rig category \mathcal{R} equipped with a functor F:F : \mathcal{R} \to \mathcal{R} equipped with a natural isomorphism

F(X)1XF(X) F(X) \stackrel{\sim}{\longrightarrow} 1 \; \oplus \; X \otimes F(X)

For example, \mathcal{R} could be the category of sets, or countable sets, or vector spaces, or countable-dimensional vector spaces, or RR-modules for any commutative ring, or countably generated ones, or topological spaces, or simplicial sets, or lots of other familiar categories. Then we get

F 3(X)[(XF 2(X))F 3(X)]X[(XF 2(X))F 3(X)] F^3(X) \oplus [(X \oplus F^2(X)) \otimes F^3(X)] \cong X \oplus [(X \oplus F^2(X)) \otimes F^3(X)]

This is quite nice.

And then we can take the Grothendieck group of \mathcal{R}, forming an abelian group generated by isomorphism classes of objects of \mathcal{R} and then imposing the relation [XY]=[X]+[Y][X \oplus Y] = [X] + [Y]. And in this group we can simplify the above equation to

[F 3(X)]=[X] [F^3(X)] = [X]

Unfortunately this Grothendieck group is trivial in the examples I’ve given. For example, the Grothendieck group of the category of finite-dimensional vector spaces is \mathbb{Z}, where the integer comes from the dimension of a vector space. But if we go to all vector spaces, or even countable-dimensional ones, the Grothendieck group becomes trivial, because for any vector space VV there’s a vector space WW such that VWWV \oplus W \cong W, so we get [V]=0[V] = 0.

So, the magic wand of subtraction, which could transform the ugly frog

F 3(X)[(XF 2(X))F 3(X)]X[(XF 2(X))F 3(X)] F^3(X) \oplus [(X \oplus F^2(X)) \otimes F^3(X)] \cong X \oplus [(X \oplus F^2(X)) \otimes F^3(X)]

into the handsome prince

F 3(X)X F^3(X) \cong X

is so powerful that it has a dangerous tendency to make the prince disappear in a puff of smoke:

X0 X \cong 0

Posted by: John Baez on April 4, 2013 5:14 PM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

Five years on, I think I can do better. I claim that the free monoid functor F:SetSetF: \mathbf{Set} \to \mathbf{Set} satisfies

F 3(X)+F 3(X)X+F 3(X) F^3(X) + F^3(X) \cong X + F^3(X)

naturally in XSetX \in \mathbf{Set}. In other words,

2F 3id+F 3. 2F^3 \cong id + F^3.

And I think this is about the closest true approximation to the false statement F 3idF^3 \cong id.

Previously, I proved the following. Let RR be a commutative rig (semiring) and f:RRf: R \to R a map of sets satisfying

f(x)=1+xf(x) f(x) = 1 + x f(x)

for all xRx \in R. Then

f 3(x)+[(x+f 2(x))f 3(x)]=x+[(x+f 2(x))f 3(x)] f^3(x) + \Bigl[(x + f^2(x))f^3(x)\Bigr] = x + \Bigl[(x + f^2(x))f^3(x)\Bigr]

for all xRx \in R.

I’m now claiming that under the same hypotheses, a simpler conclusion is true:

2f 3(x)=x+f 3(x) 2f^3(x) = x + f^3(x)

for all xRx \in R.

To prove this, let me introduce some notation. When x,yRx, y \in R, write xyx \geq y to mean that x=y+zx = y + z for some zRz \in R. For instance, we have

f n(x)=1+f n1(x)f n(x) f^n(x) = 1 + f^{n - 1}(x) f^n(x)

for all n1n \geq 1 and xRx \in R, so f n(x)1f^n(x) \geq 1 and

f n(x)f n1(x)f n(x). f^n(x) \geq f^{n - 1}(x) f^n(x).

Repeatedly using the observations in the last sentence, we have, for all xRx \in R:

f 3(x) f 2(x)f 3(x) f(x)f 2(x)f 3(x) =(1+xf(x))f 2(x)f 3(x) =f 2(x)f 3(x)+xf(x)f 2(x)f 3(x) f 2(x)f 3(x)+x11f 3(x) =(x+f 2(x))f 3(x). \begin{aligned} f^3(x) & \geq f^2(x) f^3(x) \\ & \geq f(x) f^2(x) f^3(x) \\ & = (1 + x f(x)) f^2(x) f^3(x) \\ & = f^2(x) f^3(x) + x f(x) f^2(x) f^3(x) \\ & \geq f^2(x) f^3(x) + x \cdot 1 \cdot 1 \cdot f^3(x) \\ & = (x + f^2(x)) f^3(x). \end{aligned}

So

f 3(x)=(x+f 2(x))f 3(x)+r f^3(x) = (x + f^2(x)) f^3(x) + r

for some rRr \in R. Adding rr to each side of the equation proved five years ago — namely,

f 3(x)+[(x+f 2(x))f 3(x)]=x+[(x+f 2(x))f 3(x)] f^3(x) + \Bigl[(x + f^2(x))f^3(x)\Bigr] = x + \Bigl[(x + f^2(x))f^3(x)\Bigr]

— gives

f 3(x)+f 3(x)=x+f 3(x), f^3(x) + f^3(x) = x + f^3(x),

completing the proof.

Drop back in 2024 for the next update.

Posted by: Tom Leinster on November 12, 2018 12:58 AM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

Nice — thanks for the update.

Though the mills of mathematics grind slow, they grind exceedingly fine!

Posted by: John Baez on November 12, 2018 1:21 AM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

Seems hard to believe you could ever get it any simpler than that. Bravo!

The only improvement I might consider possible is not that you could write anything closer to f 3=idf^3 = id than 2f 3=id+f 32 f^3 = id + f^3 (that seems hard to beat), but that you could get there by a shorter path.

It might take some effort, but it might be interesting to one day pull a Dan Piponi and give a visual proof of these manipulations. I don’t have any time-saving ideas, but we are dealing with a Lawvere theory or cartesian operad with some constants 0,10, 1, binary operations +,×+, \times, and an unary operation ff satisfying the usual commutative rig identities plus the functional equation f(x)=1+xf(x)f(x) = 1 + x f(x). One can present appropriate string diagrams (similar to trees used in operad theory but with diagonal forks and projection stems thrown in) for the operations you can build syntactically, modulo identities which are presented by tree surgeries, and certainly one can mechanically reproduce your manipulations in string diagram form, but it takes quite a bit of paper!

Posted by: Todd Trimble on November 12, 2018 2:21 PM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

Fantastic, thanks!

Posted by: Mike Stay on November 12, 2018 3:33 PM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

The free monoid on a set X is precisely the set of all binary trees whose leaves are elements of X, modulo tree rotation. So perhaps one can take Andreas Blass’ construction for T7 =T, insert some tree rotations into it, and represent it as the composition T7 =T4 =T, where each equality sign comes from F4=F?

Posted by: Dmitri Pavlov on April 4, 2013 9:49 AM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

That’s a really interesting idea!

Posted by: John Baez on April 4, 2013 7:30 PM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

The construction relating to trees is the free magma on a set; I suppose that iterating that seven times would give a similar result to iterating the free monoid three times.

Posted by: Mike Stay on April 5, 2013 2:40 AM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

@Mike Stay: I guess you are right, I looked at Blass’ construction a long time ago and forgot the precise statement.

Posted by: Dmitri Pavlov on April 5, 2013 7:37 AM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

Relevant to your idea is the notion of a generating function that mods out by the associator (what you call tree rotations). Bill Gosper gives the basic “all-1” generating function here.

Posted by: Mike Stay on April 10, 2013 8:29 PM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

Your link takes me to an entry page for math-fun Private Archives that wants a login with password.

Posted by: RodMcGuire on April 10, 2013 9:39 PM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

Modulo shifting by 1,
Out[1157]= -(-1)^n 2^(-1+2 n) Binomial[1/2,n]
In[1158]:= Table[%,{n,9}]
Out[1158]= {1,1,2,5,14,42,132,429,1430}
In[1161]:= Sum[%1157*x^n,{n,\[Infinity]}]
Out[1161]= 1/2 (1-Sqrt[1-4 x])
In[1162]:= Sum[x^n/%1157,{n,\[Infinity]}]
Out[1162]= x Hypergeometric2F1[1,2,1/2,x/4]
In[1163]:= FunctionExpand[%]
Out[1163]= x ((2+x/4)/(2 (-1+x/4)^2)+(3 Sqrt[x] ArcCsc[2/Sqrt[x]])/(4
Sqrt[1-x/4] (-1+x/4)^2))
In[1164]:= FullSimplify[%,0<x<1]
Out[1164]= (2 x (Sqrt[4-x] (8+x)+12 Sqrt[x] ArcCsc[2/Sqrt[x]]))/(4-x)^(5/2)
In[1165]:= Series[%,{x,0,9}]
Out[1165]= x+x^2+x^3/2+x^4/5+x^5/14+x^6/42+x^7/132+x^8/429+x^9/1430+O[x]^10
--rwg
Posted by: Mike Stay on May 20, 2019 7:35 PM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

I’ve been thinking about iterating free commutative monoid construction recently because in Set, you get the natural numbers under addition on the first iteration an the positive naturals under multiplication on the second. I haven’t calculated the cube.

Free commutative monoids have implicit orders, so our first two sequence members are <= and divides. Furthermore the free commutative monoids are all countable with an isomorphic (as sets) with the isomorphism from the constructed monoid being monotonic. The function in the opposite direction is constructing an increasing sequence of countable ordinals.

My thinking hasn’t progressed much beyond this, yet.

Posted by: Roger Witte on April 5, 2013 11:57 PM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

Roger wrote:

I’ve been thinking about iterating the free commutative monoid construction recently because in Set, you get the natural numbers under addition on the first iteration an the positive naturals under multiplication on the second. I haven’t calculated the cube.

I’ve thought about that stuff a bit. In quantum mechanics, if we have a kind of bosonic particle with some Hilbert space HH, the Hilbert space for finite collections of particles of this type is the Hilbert space closure of the symmetric algebra on HH. This is called the Fock space of HH. It’s a lot like the free commutative monoid on HH in the category of Hilbert spaces.

If particular, if we choose an orthonormal basis for HH, say some set PP, then the Fock space of HH has an orthonormal basis given by the free commutative monoid on PP! Let’s call this SPS P.

So, people like to start with an imaginary particle called the primon, where PP is the set of prime numbers. The Fock space then describes the free Riemann gas, made of finite collections of primons. This has a basis given by the free commutative monoid SPS P. By the fundamental theorem of arithmetic, this is the set of positive natural numbers, with multiplication as the monoid operation.

People have pondered how the Riemann zeta function can be understood in physical terms this way. I explained this in week199 of This Week’s Finds.

However, you can repeat this process and look at SSPS S P: the free commutative monoid on the free commutative monoid on the set of primes. This is the free commutative monoid on the set of positive natural numbers.

A positive natural number can be thought of as the state of a string with waves moving counterclockwise (or if you prefer, clockwise) around it. The wave can wiggle any positive natural number of times. Such a wave is called a ‘left-mover’ (or if you prefer, a ‘right-mover’.)

So, SSPS S P is nicely thought of as the Hilbert space for a finite collection of strings with only left-moving vibrations.

These are strings in 1-dimensional space. To describe a state of a string in nn-dimensional space, we need an nn-tuple of positive natural numbers. Also, things get a bit more complicated when we consider both left-movers and right-movers, as we ultimately should.

Still, there is something intriguing about this. If you like it, you might also peek at my webpage on nth quantization. I tell the story a bit differently here, since I wasn’t trying to work primes into the game.

The term ‘nth quantization’ alludes to the fact that people often use ‘2nd quantization’ for the second step of this sort of iterative process.

Posted by: John Baez on April 6, 2013 1:25 AM | Permalink | Reply to this

Re: Iterating the Free Monoid Construction

By coincidence, or perhaps not, I got an email today about this paper:

People sometimes use ‘third quantization’ to describe a theory with operators describing the creation and annihilation of universes, which are themselves described by second quantization (i.e., quantum field theory). It’s a way to (try to) formalize the concept of ‘multiverse’.

Here Faizal uses fourth quantization to describe a theory with operators describing the creation and annihilation of multiverses!

I think that if one is going to go this far in this direction, one should go infinitely far in this direction.

Posted by: John Baez on April 7, 2013 3:41 AM | Permalink | Reply to this
Read the post Who Ordered That?
Weblog: The n-Category Café
Excerpt: A very odd and elementary conjecture of Kontsevich has now been proved.
Tracked: October 2, 2013 10:04 PM

Post a New Comment