This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

The Sierpinski Carpet as a Final Coalgebra

Victoria Noquez     Lawrence S. Moss This work was supported by a grant from the Simons Foundation (586136, LM).Indiana University
Bloomington IN, USA 47405  vnoquez@iu.edu    lmoss@indiana.edu
Abstract

We advance the program of connections between final coalgebras as sources of circularity in mathematics and fractal sets of real numbers. In particular, we are interested in the Sierpinski carpet, taking it as a fractal subset of the unit square. We construct a category of square sets and an endofunctor on it which corresponds to the operation of gluing copies of a square set along segments. We show that the initial algebra and final coalgebra exist for our functor, and that the final coalgebra is bi-Lipschitz equivalent to the Sierpinski carpet. Along the way, we make connections to topics such as the iterative construction of initial algebras as ω\omega-colimits, corecursive algebras, and the classic treatment of fractal sets due to Hutchinson [9].

1 Introduction

This paper continues work on fractal sets modeled as final coalgebras. It builds on a line of work that began with Freyd’s result [7] that the unit interval [0,1][0,1] is the final coalgebra of a certain endofunctor on the category of bi-pointed sets. This was generalized by Leinster [10], in work which represents many of what would be intuitively called self-similar spaces using (a) bimodules (also called profunctors or distributors); (b) an examination of non-degeneracy conditions on functors of various sorts; (c) a construction of final coalgebras for the types of functors of interest using a notion of resolution. In addition to the characterization of fractal sets as final coalgebras for endofunctors on sets, his seminal paper also characterizes them as final coalgebras for endofunctors on topological spaces.

In a somewhat different direction, work related to Freyd’s Theorem continues with development of tri-pointed sets [5, 4] and the proof that the Sierpinski gasket 𝕊𝔾\mathbb{SG} is related to the final coalgebra of a functor modeled on that of Freyd [7]. Although it might seem that this result is but a special case of the much better results in Leinster [10], the work on tri-pointed sets was carried out in the setting of metric spaces rather than topological spaces (and so it re-proved Freyd’s result in that setting, too). Work in the metric setting is unfortunately more complicated. It originates in Hasuo, Jacobs, and Niqui [8], a paper which emphasized algebras in addition to coalgebras, and proposed endofunctors defined using quotient metrics. Following this [5, 4] show that for the unit interval, the initial algebra of Freyd’s functor is also interesting, being the metric space of dyadic rationals, and thus the unit interval itself is its Cauchy completion. For the Sierpinski gasket, the initial algebra of the functor on tripointed sets is connected to the finite addresses used in building the gasket as a fractal; its completion again turns out to be the final coalgebra. While the gasket itself is not the final coalgebra, the two metric spaces are bi-Lipschitz isomorphic.

In this paper, we take the next step in this area by considering the Sierpinski carpet 𝕊\mathbb{S}. The difference between this and the gasket (or the unit interval) is that the gluing of spaces needed to define the functor involves gluing along line segments, not just along points. This turns out to complicate matters at every step. The main results of the paper are analogs of what we saw for the gasket: we have a category of metric spaces that we call square metric spaces, an endofunctor MM\otimes- which takes a space to 8 scaled copies of itself glued along segments (the notation recalls Leinster’s paper, and again we are in the metric setting), a proof that the initial algebra and final coalgebra exist, that the latter is the completion of the former, and a verification that the actual Sierpinski carpet 𝕊\mathbb{S} with the Euclidean metric is bi-Lipschitz isomorphic to the final coalgebra. Along the way, we need to consider a different functor NN\otimes- which is like MM\otimes- but involves 9 copies (no “hole” in the middle). The final coalgebra for NN\otimes- turns out to be the unit square with the taxicab metric. Moreover, in much of this work we have found it convenient to work with corecursive algebras as a stepping stone to the final coalgebra; the unit square with the taxicab metric turns out to be a corecursive algebra for NN\otimes- on square metric spaces.

This extended abstract omits nearly all of the proofs and is really a very high-level view of our subject. Many of the results are much more general, since we aim to provide a foundation for future work in this area. But none of that is reflected in this abstract.

1.1 Background on the Sierpinski Carpet

[Uncaptioned image]

In this section, we recall the definition of the Sierpinski carpet 𝕊\mathbb{S} (shown above) in terms of contractions of the unit square UU. We also quote without proof special cases of the classical results of Hutchinson [9] on fractals.

Let 𝒞\mathcal{C} be the set of non-empty closed subsets of UU, with the Hausdorff metric dHd_{H}. Let

M={0,1,2}2{(1,1)}.M=\{0,1,2\}^{2}\setminus\{(1,1)\}.

For each m=(i,j)m=(i,j) in MM, let shrink(m)=shrink(i,j)=(i/3,j/3)\mbox{\sf shrink}(m)=\mbox{\sf shrink}(i,j)=(i/3,j/3). let σm:UU\sigma_{m}\colon U\to U be the contracting map

σm(x,y)=shrink(m)+(x/3,y/3).\sigma_{m}(x,y)=\mbox{\sf shrink}(m)+(x/3,y/3).

That is, we scale the input (x,y)(x,y) by 1/31/3, and then we move it by adding shrink(m)\mbox{\sf shrink}(m). Then the setwise extension of σm\sigma_{m} is defined (as always) by taking images: for AXA\subseteq X, σm(A)={σm(x):xA}\sigma_{m}(A)=\{\sigma_{m}(x):x\in A\}. Define σ:𝒞𝒞\sigma\colon\mathcal{C}\to\mathcal{C} by

σ(A)=mMσm(A)\sigma(A)=\bigcup_{m\in M}\sigma_{m}(A)

This function σ\sigma is a contracting map, and we let 𝕊\mathbb{S} be its unique fixed point. 𝕊\mathbb{S} is called the invariant set determined by the finite set {σm:mM}\{\sigma_{m}:m\in M\}. It is also called the Sierpinski carpet.

Definition 1.

For each finite sequence m=m1m2mk\vec{m}=m_{1}m_{2}\cdots m_{k} of elements of MM, and each A𝒞A\in\mathcal{C}, AmA_{\vec{m}} is defined by recursion on kk, starting with k=0k=0 and the empty sequence ε\varepsilon:

Aε=AAm1m2mkmk+1=σm1(Am2m3mk+1)\begin{array}[]{lcl}A_{\varepsilon}&=&A\\ A_{m_{1}m_{2}\cdots m_{k}m_{k+1}}&=&\sigma_{m_{1}}(A_{m_{2}m_{3}\cdots m_{k+1}})\end{array}

For every infinite sequence m1m2mkm_{1}m_{2}\cdots m_{k}\cdots,

𝕊ε𝕊m1𝕊m1m2𝕊m1m2mk\mathbb{S}_{\varepsilon}\supseteq\mathbb{S}_{m_{1}}\supseteq\mathbb{S}_{m_{1}m_{2}}\supseteq\cdots\supseteq\mathbb{S}_{m_{1}m_{2}\cdots m_{k}}\supseteq\cdots (1.1)

By the Cantor Intersection Theorem, k=0𝕊m1m2mk\bigcap_{k=0}^{\infty}\mathbb{S}_{m_{1}m_{2}\cdots m_{k}} is a singleton set, and we write its (unique) member as am1m2mka_{m_{1}m_{2}\cdots m_{k}\cdots}.

Proposition 1.

(cf. [9]) If AA is a non-empty bounded set and m1,m2,m_{1},m_{2},\ldots is an infinite sequence in MM,

  1. 1.

    diam(Am1mk)0diam(A_{m_{1}\ldots m_{k}})\rightarrow 0 as kk\rightarrow\infty.

  2. 2.

    d(Am1mk,am1m2mkmk+1)0d(A_{m_{1}\ldots m_{k}},a_{m_{1}m_{2}\ldots m_{k}m_{k+1}\ldots})\rightarrow 0 as kk\rightarrow\infty. In particular, σk(A)𝕊\sigma^{k}(A)\rightarrow\mathbb{S} as kk\rightarrow\infty in the Hausdorff metric.

2 Square Sets and Square Metric Spaces

We start by defining the categories of interest in this paper. First, MS is the category of metric spaces of diameter 22 and short maps: d(f(x),f(y))d(x,y)d(f(x),f(y))\leq d(x,y). The reason for the diameter to be 22 rather than 11 will be apparent from the next example.

Let

M0={(r,s):r{0,1},s[0,1]}{(r,s):r[0,1],s{0,1}}M_{0}=\{(r,s):r\in\{0,1\},s\in[0,1]\}\cup\{(r,s):r\in[0,1],s\in\{0,1\}\}

be the boundary of the unit square. A square set is a set XX with an injective map SX:M0XS_{X}:M_{0}\rightarrow X. The idea is that SXS_{X} designates the four sides of the square. We obtain a category SquaSet by taking as morphisms the functions f:XYf\colon X\to Y between the sets with the property that SY=fSXS_{Y}=f\circ S_{X}.

Example 1.

Here are some examples of square sets. First, M0M_{0} itself, with SM0=idS_{M_{0}}=id. Next, the unit square U=[0,1]2U=[0,1]^{2} with SUS_{U} the inclusion. Finally, the Sierpinski carpet 𝕊\mathbb{S}, again with S𝕊S_{\mathbb{S}} the inclusion.

We are most interested in square sets which are metric spaces. (X,SX)(X,S_{X}) is a square metric space if XX is a metric space bounded by 22 and is also square set, and SXS_{X} satisfies the following:

  • (sq1\mbox{\sc sq}_{1})

    For i{0,1}i\in\{0,1\} and r,s[0,1]r,s\in[0,1],

    dX(SX((i,r)),SX((i,s)))=|sr| and dX(SX((r,i)),SX((s,i)))=|sr|.d_{X}(S_{X}((i,r)),S_{X}((i,s)))=|s-r|\mbox{ and }d_{X}(S_{X}((r,i)),S_{X}((s,i)))=|s-r|.

    That is, along each side of the square, distances coincide with distances on the unit interval. (Note that it follows from this that the image of SXS_{X} is compact.)

  • (sq2\mbox{\sc sq}_{2})

    For (r,s),(t,u)M0(r,s),(t,u)\in M_{0}, dX(SX((r,s)),SX((t,u)))|rt|+|su|d_{X}(S_{X}((r,s)),S_{X}((t,u)))\geq|r-t|+|s-u|. This is a non-degeneracy requirement, which prevents our squares from “collapsing”.

Note that we do not require that the metric on the boundary of the square coincides with the Euclidean metric (we are not requiring that opposite corners have distance 2\sqrt{2}). In fact, we will be interested in a path metric around the square.

Example 2.

Here are some examples of square metric spaces:

  1. 1.

    (M0,id)(M_{0},id) with the path metric: for x,yM0x,y\in M_{0}, if they are on the same side, their distance coincides with the unit interval, if they are on adjacent sides which share a corner CC, d(x,y)=d(x,C)+d(C,y)d(x,y)=d(x,C)+d(C,y), and if they are on opposite sides, d(x,y)d(x,y) is the minimum (between the two sides) of d(x,C1)+1+d(C2,y)d(x,C_{1})+1+d(C_{2},y) where C1,C2C_{1},C_{2} are endpoints of a side not containing either xx or yy, with C1C_{1} on the side containing xx and C2C_{2} on the side containing yy. Note that these distances are all bounded by 22 (the distance between opposite corners is 22).

  2. 2.

    (M0,id)(M_{0},id) with the taxicab metric. That is, for (x0,y0)(x_{0},y_{0}) and (x1,y1)(x_{1},y_{1}),

    dT((x0,y0),(x1,y1))=|x1x0|+|y1y0|d_{T}((x_{0},y_{0}),(x_{1},y_{1}))=|x_{1}-x_{0}|+|y_{1}-y_{0}|

    Note that in the taxicab metric, the distance from (0,1/2)(0,1/2) to (1,1/2)(1,1/2) is 11, whereas with the path metric, it is 22.

  3. 3.

    ([0,1]2,S)([0,1]^{2},S) where SS is the inclusion map, with the taxicab metric.

Let SquaMS be the category whose objects are square metric spaces (bounded by 22) whose morphisms are short maps which preserve SS. That is, f:(X,SX)(Y,SY)f:(X,S_{X})\rightarrow(Y,S_{Y}) is a map such that for x,yXx,y\in X, dX(x,y)dY(f(x),f(y))d_{X}(x,y)\geq d_{Y}(f(x),f(y)) and for (r,s)M0(r,s)\in M_{0}, f(SX((r,s)))=SY((r,s))f(S_{X}((r,s)))=S_{Y}((r,s)).

Proposition 2.

(M0,id)(M_{0},id) with the path metric is an initial object in SquaMS. There is no final object in SquaMS.

We will find that the concrete description of the requirements on objects in SquaMS is useful for our purposes, but alternatively we can view the relationship between XX and M0M_{0} as follows:

Corollary 3.

For every square metric space (X,SX)(X,S_{X}) and every (r,s),(t,u)M0(r,s),(t,u)\in M_{0},

dT(SM0((r,s)),SM0((t,u)))dX(SX((r,s)),SX((t,u)))dM0((r,s),(t,u)),d_{T}(S_{M_{0}}((r,s)),S_{M_{0}}((t,u)))\leq d_{X}(S_{X}((r,s)),S_{X}((t,u)))\leq d_{M_{0}}((r,s),(t,u)),

where dTd_{T} is the taxicab metric and dM0d_{M_{0}} is the path metric.

Proof.

Follows from (sq2\mbox{\sc sq}_{2}) and the fact that there is a (unique) short map f:M0Xf:M_{0}\rightarrow X such that f((r,s))=SX((r,s))f((r,s))=S_{X}((r,s)). ∎

Proposition 4.

The monomorphisms in SquaMS are the morphisms which are one-to-one.

2.1 The Functors MM\otimes- and NN\otimes-

In this section we will define a functor

M:SquaMSSquaMSM\otimes-:\mbox{\sf SquaMS}\to\mbox{\sf SquaMS}

which, when applied to the initial object, will give us objects which correspond to iterations of the Sierpinski carpet. The idea is that MM will be a set of indices indicating positions to place scaled copies of XX, and by showing that MM\otimes- is a functor, we will be able to apply it repeatedly in order to form a chain whose colimit will be an object whose completion is bi-Lipschitz equivalent to the Sierpinski carpet.

As before, M={0,1,2}2{(1,1)}M=\{0,1,2\}^{2}\setminus\{(1,1)\}. m=(i,j)m=(i,j) will indicate a (column, row) entry in the 3×33\times 3 grid.

(0,0)(0,0)(1,0)(1,0)(2,0)(2,0)(0,1)(0,1)(2,1)(2,1)(0,2)(0,2)(1,2)(1,2)(2,2)(2,2)

For any set XX, we naturally consider M×XM\times X as a set of eight copies of XX, and (m,x)(m,x) would be xx in the copy labeled by mm.

Let \approx be the smallest equivalence relation on M×M0M\times M_{0} such that for r[0,1]r\in[0,1], we take

((0,0),(r,1))((0,1),(r,0))((0,1),(r,1))((0,2),(r,0))((0,2),(1,r))((1,2),(0,r))((1,2),(1,r))((2,2),(0,r))((2,2),(r,0))((2,1),(r,1))((2,1),(r,0))((2,0),(r,1))((2,0),(0,r))((1,0),(1,r))((1,0),(0,r))((0,0),(1,r))\begin{array}[]{l}((0,0),(r,1))\approx((0,1),(r,0))\\ ((0,1),(r,1))\approx((0,2),(r,0))\\ ((0,2),(1,r))\approx((1,2),(0,r))\end{array}\quad\begin{array}[]{l}((1,2),(1,r))\approx((2,2),(0,r))\\ ((2,2),(r,0))\approx((2,1),(r,1))\\ ((2,1),(r,0))\approx((2,0),(r,1))\end{array}\quad\begin{array}[]{l}((2,0),(0,r))\approx((1,0),(1,r))\\ ((1,0),(0,r))\approx((0,0),(1,r))\\ \\ \end{array}

In words, \approx relates the segments which overlap in the grid pictured above. For example, ((0,0),(r,1))((0,1),(r,0))((0,0),(r,1))\approx((0,1),(r,0)) tells us the top of the bottom left square is identified with the bottom of the square immediately above it. Incidentally, on M×M0M\times M_{0}, we have a characterization of \approx in terms of the maps σm\sigma_{m} from Section 1.1, (m,(x,y))(m,(x,y))(m,(x,y))\approx(m^{\prime},(x^{\prime},y^{\prime})) if and only if σm(x,y)=σm(x,y)\sigma_{m}(x,y)=\sigma_{m^{\prime}}(x^{\prime},y^{\prime}).

So far, we have defined \approx on M×M0M\times M_{0}. But we can define a similar relation X\approx_{X} on any square set (X,SX)(X,S_{X}) by “adding SXS_{X} everywhere.” For example we would want ((2,2),SX(r,0))X((2,1),SX(r,1))((2,2),S_{X}(r,0))\approx_{X}((2,1),S_{X}(r,1)). We shall drop XX in our notation for \approx.

The square set MXM\otimes X

Let (X,SX)(X,S_{X}) be a square set. The set MXM\otimes X is (M×X)/(M\times X)/\!\!\approx, the set of equivalence classes of \approx on M×XM\times X. We always write mxm\otimes x for the equivalence class [(m,x)][(m,x)]. For the square set structure, we define each side of SMXS_{M\otimes X} by scaling the 33 copies of the corresponding side XX and pasting them together at the appropriate points. For example, the left side will be given by

SMX((0,r))={(0,0)SX((0,3r))0r13(0,1)SX((0,3r1))13r23(0,2)SX((0,3r2))23r1S_{M\otimes X}((0,r))=\begin{cases}(0,0)\otimes S_{X}((0,3r))&0\leq r\leq\frac{1}{3}\\ (0,1)\otimes S_{X}((0,3r-1))&\frac{1}{3}\leq r\leq\frac{2}{3}\\ (0,2)\otimes S_{X}((0,3r-2))&\frac{2}{3}\leq r\leq 1\\ \end{cases}

SMXS_{M\otimes X} is well-defined, and so we have a square set (MX,SMX)(M\otimes X,S_{M\otimes X}). If f:XYf\colon X\to Y is a SquaSet morphism, we take Mf:MXMYM\otimes f\colon M\otimes X\to M\otimes Y to be (Mf)(m,x)=(m,f(x))(M\otimes f)(m,x)=(m,f(x)). It is easy to check that this gives an endofunctor MM\otimes- on square sets.

MXM\otimes X for square spaces XX

We next upgrade this functor to an endofunctor on SquaMS.

For the metric structure on MXM\otimes X, we use the quotient metric. We start with the following metric on the set M×XM\times X:

d((m,x),(n,y))={13d(x,y)m=n2otherwised((m,x),(n,y))=\begin{cases}\frac{1}{3}d(x,y)&m=n\\ 2&otherwise\\ \end{cases}

So the distance is scaled by 13\frac{1}{3} in the same copy of XX, and otherwise, it is 22 (the maximum distance). Now we take the quotient metric on MXM\otimes X determined by \approx. So given points mxm\otimes x and nyn\otimes y, the distance between them will be defined as the infimum over all finite paths (ordered lists of elements) in M×XM\times X of the score, where the score is the sum of the distances (in M×XM\times X) along the path, but where we count 0 for pairs of equivalent points.

First note that this is a pseudometric: clearly this is symmetric, the distance between any point and itself is 0, and it will satisfy the triangle inequality since the concatenation of two paths is a path. The following conditions are sufficient to show that this is in fact a metric: distinct points will have positive distance.

Proposition 5.

Let XX be a square space. The following facts hold:

  • For (m,r),(n,r),(m,s),(n,s)M×X(m,r),(n,r^{\prime}),(m,s),(n,s^{\prime})\in M\times X, if (m,r)(n,r)(m,r)\approx(n,r^{\prime}) and (m,s)(n,s)(m,s)\approx(n,s^{\prime}), then

    dX(SX(r),SX(s))=dX(SX(r),SX(s)).d_{X}(S_{X}(r),S_{X}(s))=d_{X}(S_{X}(r^{\prime}),S_{X}(s^{\prime})).
  • For every object XX we have an injective map SMX:M0MXS_{M\otimes X}:M_{0}\rightarrow M\otimes X, such that for all rM0r\in M_{0}, SMX(r)=mSX(r)S_{M\otimes X}(r)=m\otimes S_{X}(r^{\prime}) for some mMm\in M and rM0r^{\prime}\in M_{0} (where mm and rr^{\prime} only depend on rr, not XX).

  • For any x,yXx,y\in X and mMm\in M, for any path (m,x)=(m0,x0),,(mk,xk)=(m,y)(m,x)=(m_{0},x_{0}),\ldots,(m_{k},x_{k})=(m,y),

    13dX(x,y)p=0k1dM×X((mp,xp),(ip+1,xp+1)).\frac{1}{3}d_{X}(x,y)\leq\displaystyle{\sum_{p=0}^{k-1}}d_{M\times X}((m_{p},x_{p}),(i_{p+1},x_{p+1})).
  • Let m,nMm,n\in M. Suppose that (xp)(x_{p}) and (yp)(y_{p}) are sequences with xpxx_{p}\rightarrow x and ypyy_{p}\rightarrow y. If (m,xp)(n,yp)(m,x_{p})\approx(n,y_{p}) for all pp, then (m,x)(n,y)(m,x)\approx(n,y).

  • For mxm\otimes x and nyn\otimes y in MXM\otimes X, there is a geodesic of the form

    (m,x)=(m0,x0),(m0,x0)(m1,x1),,(mk1,xk1)(mk,xk),(mk,xk)=(n,y)(m,x)=(m_{0},x_{0}),(m_{0},x_{0}^{\prime})\approx(m_{1},x_{1}),\ldots,(m_{k-1},x_{k-1}^{\prime})\approx(m_{k},x_{k}),(m_{k},x_{k}^{\prime})=(n,y)

    (where we may omit (m0,x0)(m_{0},x_{0}) or (mk,xk)(m_{k},x_{k}^{\prime}) if xx or yy are in the image of SXS_{X} respectively) such that d(mx,ny)=p=0kd((mp,xp),(mp,xp))d(m\otimes x,n\otimes y)=\displaystyle{\sum_{p=0}^{k}}d((m_{p},x_{p}),(m_{p},x_{p}^{\prime})).

This shows us that the distances in MXM\otimes X are witnessed by an actual finite path, not just an infimum of paths. This gives us the following:

Corollary 6.
  1. 1.

    For mMm\in M, ϕm:XMX\phi_{m}:X\rightarrow M\otimes X given by xmxx\mapsto m\otimes x is an embedding such that for x,yXx,y\in X, dMX(mx,my)=13dX(x,y)d_{M\otimes X}(m\otimes x,m\otimes y)=\frac{1}{3}d_{X}(x,y).

  2. 2.

    MXM\otimes X is a square metric space.

We complete the definition of MM\otimes- as a functor as with SquaSet: for f:XYf\colon X\to Y a morphism of SquaMS, we let Mf:MXMYM\otimes f:M\otimes X\rightarrow M\otimes Y be mxmf(x)m\otimes x\mapsto m\otimes f(x). Using Proposition 5, this is a functor. It is not hard to check that this functor MM\otimes- preserves monomorphisms and isometric embeddings.

The functor NN\otimes-

Let N=M{(1,1)}N=M\cup\{(1,1)\}. So N={0,1,2}2N=\{0,1,2\}^{2}. We define a functor NXN\otimes X on square spaces. The definition is just like MM, except that we use the “middle point” (1,1)(1,1) as a possible index point. In pictures, NXN\otimes X is nine copies of XX (not 88, as per MM). The metric again is obtained by shrinking the metric in XX by 13\frac{1}{3} and using the quotient metric obtained by “gluing on the edges of the grid”. The square space structure is as for MXM\otimes X. All of the verifications for NN are easier than for MM.

3 Initial Algebras

We assume that the reader is familiar with the notions of algebra and coalgebra for an endofunctor on a category. We mention a few examples and then quickly mention the initial algebras of NN\otimes- and MM\otimes- on SquaMS.

The algebra αN:NUU\alpha_{N}\colon N\otimes U\to U on SquaSet

We have an algebra αN:NUU\alpha_{N}\colon N\otimes U\to U. It is defined as follows:

αN(nz)=shrink(n)+13(z)\begin{array}[]{lcl}\alpha_{N}(n\otimes z)&=&\mbox{\sf shrink}(n)+\frac{1}{3}(z)\end{array}

Notice that nNn\in N here is a pair; earlier we wrote it as (i,j)(i,j). Similarly, zUz\in U; earlier we wrote it as (r,s)(r,s). It takes a few routine elementary calculations to be sure that αN\alpha_{N} is well-defined.

In the result below, recall that our default metric for UU is the taxicab metric.

Proposition 7.

In SquaMS, αN:NUU\alpha_{N}\colon N\otimes U\to U is an isomorphism.

When we turn to MM\otimes-, we have an algebra αM:MUU\alpha_{M}\colon M\otimes U\to U. It is defined the same way as NN, except that the index (1,1)(1,1) is not used. Here is a way to picture this:

MUM\otimes UUU

This picture is misleading, because it suggests that MUM\otimes U maps via the inclusion into UU. The map is not the inclusion. This is because MUM\otimes U is really eight copies of UU, each copy with the taxicab metric, and then the overall space is given by the quotient, as discussed above.

Proposition 8.

αM:MUU\alpha_{M}\colon M\otimes U\to U is a (short) injective map.

Here is what is happening. In MUM\otimes U, we have to navigate around the hole, potentially making the distance longer. For example, if we consider the midpoints of the bottom and top of the middle square,

dMU((1,0)SU((12,1)),(1,2)SU((12,0)))=23d_{M\otimes U}((1,0)\otimes S_{U}(({\mbox{$\frac{1}{2}$}},1)),(1,2)\otimes S_{U}(({\mbox{$\frac{1}{2}$}},0)))={\mbox{$\frac{2}{3}$}}

whereas

dU(αM((1,0)SU((12,1))),αM((1,2)SU((12,0))))=dU((12,13),(12,23))=13.d_{U}(\alpha_{M}((1,0)\otimes S_{U}(({\mbox{$\frac{1}{2}$}},1))),\alpha_{M}((1,2)\otimes S_{U}(({\mbox{$\frac{1}{2}$}},0))))=d_{U}(({\mbox{$\frac{1}{2}$}},{\mbox{$\frac{1}{3}$}}),({\mbox{$\frac{1}{2}$}},{\mbox{$\frac{2}{3}$}}))={\mbox{$\frac{1}{3}$}}.

We construct the initial algebra of these functors by iteration in ω\omega steps. For example, consider NN. We have the initial ω\omega-sequence of the functor NN\otimes-:

M0!=SNM0NM0N!N2M0N2!N3M0N3!NkM0Nk!Nk+1M0M_{0}\xrightarrow[]{!=S_{N\otimes M_{0}}}N\otimes M_{0}\xrightarrow[]{N\otimes!}N^{2}\otimes M_{0}\xrightarrow[]{N^{2}\otimes!}N^{3}\otimes M_{0}\xrightarrow[]{N^{3}\otimes!}\cdots N^{k}\otimes M_{0}\xrightarrow[]{N^{k}\otimes!}N^{k+1}\otimes M_{0}\cdots (3.1)

Unlike the situation with bipointed and tripointed sets, the maps in the chain are not isometric embeddings. Nevertheless, the colimit WW exists, and (by an argument) the colimit maps ik:NkM0Wi_{k}\colon N^{k}\otimes M_{0}\rightarrow W are injective. (The key point here is that each space NkM0N^{k}\otimes M_{0} has an injective short map into the carrier of an injective algebra, namely the unit square UU.)

Theorem 9.

The colimits of the initial ω\omega-sequences exist, and the functors preserve these colimits. Thus by Adámek’s Theorem [2] there are initial algebras MGGM\otimes G\to G and NWWN\otimes W\to W.

4 Final Coalgebras

4.1 Corecursive Algebras

As a technical tool to obtain the final coalgebras, it will be useful to use a different kind of structure.

Definition 2 (Capretta, Uustalu and Vene [6]).

Let H:𝒜𝒜H\colon\mathcal{A}\to\mathcal{A} be an endofunctor on any category. An algebra a:HAAa\colon HA\to A is corecursive if for every coalgebra e:XHXe\colon X\to HX there is a unique coalgebra-to-algebra morphism e:XAe^{\dagger}\colon X\to A. This means that e=aHeee^{\dagger}=a\circ He^{\dagger}\circ e:

X\textstyle{X\ignorespaces\ignorespaces\ignorespaces\ignorespaces\ignorespaces\ignorespaces\ignorespaces\ignorespaces}e\scriptstyle{e}e\scriptstyle{e^{\dagger}}HX\textstyle{HX\ignorespaces\ignorespaces\ignorespaces\ignorespaces}He\scriptstyle{He^{\dagger}}A\textstyle{A}HA\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces HA}a\scriptstyle{a}

The map ee^{\dagger} is also called the solution to ee in the algebra (A,a)(A,a).

This section provides a few examples, beginning with the following one on Set. First fix a real number 0δ<10\leq\delta<1. The rest of this example depends on this parameter, and in later sections we are going to take δ=13\delta=\frac{1}{3}. Let K=[0,1δ]K=[0,1-\delta]. (We mean this as a subset of the reals.) For the functor, we take H:SetSetH\colon\mbox{\sf Set}\to\mbox{\sf Set} to be given by HX=K×XHX=K\times X. For a function f:XYf\colon X\to Y, Hf:HXHYHf\colon HX\to HY is given by Hf(ξ,x)=(ξ,f(x))Hf(\xi,x)=(\xi,f(x)). We have an algebra (I,ι)(I,\iota), where II is the unit interval [0,1][0,1], and

ι:H[0,1]=K×[0,1][0,1]\iota\colon H[0,1]=K\times[0,1]\to[0,1]

is given by ι(ξ,x)=ξ+δx\iota(\xi,x)=\xi+\delta x, for ξK\xi\in K and xIx\in I.

Proposition 10 (cf. [3]).

ι:HII\iota\colon HI\to I is a corecursive algebra for HH.

Proposition 11 ([6]).

If a corecursive HH-algebra (A,a)(A,a) has an invertible structure map aa, then (A,a1)(A,a^{-1}) is a final coalgebra for the same functor. And if (A,a)(A,a) is a final coalgebra, then (A,a1)(A,a^{-1}) is a corecursive algebra.

Lemma 12.

Let e:XHXe\colon X\to HX and f:YHYf\colon Y\to HY be coalgebras, and let h:XYh\colon X\to Y be a coalgebra morphism. Let a:HAAa\colon HA\to A be corecursive algebra. Then e=fhe^{\dagger}=f^{\dagger}\circ h.

4.2 Square Sets

Lemma 13.

(U,αN:NUU)(U,\alpha_{N}\colon N\otimes U\to U) is a corecursive algebra for NN\otimes- on SquaSet.

4.3 Square Spaces

The next main result is that (U,αN1)(U,\alpha_{N}^{-1}) is a final NN\otimes- coalgebra on square spaces. As above, the metric on UU is the taxicab metric. We need a few preliminary lemmas. In these, we fix an NN\otimes- coalgebra on SquaMS, (B,β:BNB)(B,\beta:B\rightarrow N\otimes B). We already know that there is a unique SquaSet morphism β:BU\beta^{\dagger}\colon B\to U. Also, αN\alpha_{N} is an isometry, hence αN1\alpha_{N}^{-1} is short. Our main work in this section shows that β\beta^{\dagger} is short (on all of BB), of course using that β\beta is a short map. The surprising feature of our proof is that we must consider other coalgebras in order to prove the shortness of β\beta^{\dagger}. Notice that (NB,Nβ)(N\otimes B,N\otimes\beta) is also an NN\otimes- coalgebra. Furthermore, β:BNB\beta\colon B\to N\otimes B is a coalgebra morphism.

Lemma 14.

(Nβ)=αN(Nβ)(N\otimes\beta)^{\dagger}=\alpha_{N}\circ(N\otimes\beta^{\dagger}).

Definition 3.

Let ZBZ\subseteq B. We say that β\beta^{\dagger} is short on ZZ if for all b,cZb,c\in Z, dU(β(b),β(c))dB(b,c)d_{U}(\beta^{\dagger}(b),\beta^{\dagger}(c))\leq d_{B}(b,c).

Also, we write NZN\otimes Z for {nb:nN and bZ}\{n\otimes b:n\in N\mbox{ and }b\in Z\}.

Lemma 15.

For all n1,n2Nn_{1},n_{2}\in N and (r1,s1),(r2,s2)M0(r_{1},s_{1}),(r_{2},s_{2})\in M_{0},

dNB(n1SB((r1,s1)),n2SB((r2,s2)))dNU(n1(r1,s1),n2(r2,s2))d_{N\otimes B}(n_{1}\otimes S_{B}((r_{1},s_{1})),n_{2}\otimes S_{B}((r_{2},s_{2})))\geq d_{N\otimes U}(n_{1}\otimes(r_{1},s_{1}),n_{2}\otimes(r_{2},s_{2}))
Lemma 16.

Let ZBZ\subseteq B be any set that includes the image SB[M0]S_{B}[M_{0}]. If β\beta^{\dagger} is short on ZZ, then (Nβ)(N\otimes\beta)^{\dagger} is short on NZN\otimes Z.

Lemma 17.

Let (B,β:BNB)(B,\beta\colon B\to N\otimes B), and let kωk\in\omega. There is a coalgebra (C,γ:CNC)(C,\gamma\colon C\to N\otimes C), a coalgebra morphism h:BCh\colon B\to C, and a set ZCZ\subseteq C so that

  1. 1.

    SC[M0]ZS_{C}[M_{0}]\subseteq Z.

  2. 2.

    γ\gamma^{\dagger} is short on ZZ.

  3. 3.

    For every c1Cc_{1}\in C there is some c2Zc_{2}\in Z such that dC(c1,c2)23kd_{C}(c_{1},c_{2})\leq\frac{2}{3^{k}}, and also dU(γ(c1),γ(c2))23kd_{U}(\gamma^{{\dagger}}(c_{1}),\gamma^{\dagger}(c_{2}))\leq\frac{2}{3^{k}}.

Lemma 18.

β:BU\beta^{\dagger}\colon B\to U is short.

Proof.

Fix ε>0\varepsilon>0. Let b1,b2Bb_{1},b_{2}\in B. Let kk be large enough so that 2/3k<ε/42/3^{k}<\varepsilon/4. Let CC, hh, ZZ, c1c_{1}, and c2c_{2} be as in Lemma 17 so that c1,c2Zc_{1},c_{2}\in Z, dC(h(b1),c1)d_{C}(h(b_{1}),c_{1}) and dC(h(b2),c2)d_{C}(h(b_{2}),c_{2}) are each ε/4\leq\varepsilon/4, and also dU(γ(h(bi)),γ(ci))ε/4d_{U}(\gamma^{\dagger}(h(b_{i})),\gamma^{\dagger}(c_{i}))\leq\varepsilon/4 for i=1,2i=1,2. Then dC(c1,c2)dC(h(b1),h(b2))+ε/2d_{C}(c_{1},c_{2})\leq d_{C}(h(b_{1}),h(b_{2}))+\varepsilon/2. And

dU(β(b1),β(b2))=dU(γ(h(b1)),γ(h(b2)))(1)dU(γ(h(b1)),γ(c1))+dU(γ(c1),γ(c2))+dU(γ(c2),γ(h(b2)))ε/4+dC(c1,c2)+ε/4(2)ε/2+(dC(h(b1),h(b2))+ε/2)ε+dB(b1,b2).(3)\begin{array}[]{cll}&d_{U}(\beta^{\dagger}(b_{1}),\beta^{\dagger}(b_{2}))\\ =&d_{U}(\gamma^{\dagger}(h(b_{1})),\gamma^{\dagger}(h(b_{2})))&(1)\\ \leq&d_{U}(\gamma^{\dagger}(h(b_{1})),\gamma^{\dagger}(c_{1}))+d_{U}(\gamma^{\dagger}(c_{1}),\gamma^{\dagger}(c_{2}))+d_{U}(\gamma^{\dagger}(c_{2}),\gamma^{\dagger}(h(b_{2})))\\ \leq&\varepsilon/4+d_{C}(c_{1},c_{2})+\varepsilon/4&(2)\\ \leq&\varepsilon/2+(d_{C}(h(b_{1}),h(b_{2}))+\varepsilon/2)&\\ \leq&\varepsilon+d_{B}(b_{1},b_{2}).&(3)\\ \\ \end{array}

Point (1) uses Lemma 12. Point (2) uses the shortness of γ\gamma^{{\dagger}} on ZZ. Point (3) uses the shortness of hh. This for all ε>0\varepsilon>0 proves our result. ∎

Theorem 19.

(U,αN)(U,\alpha_{N}) is a corecursive algebra for NN\otimes- on SquaMS, and (U,αN1)(U,\alpha_{N}^{-1}) is a final coalgebra for this same functor.

Proof.

We already know that if we forget the metric, (U,αN)(U,\alpha_{N}) is a corecursive algebra for NN\otimes- on SquaSet. In the case that we have a short coalgebra structure, (B,β)(B,\beta), the unique SquaSet map β\beta^{\dagger} is short, by Lemma 18. The forgetful functor SquaMSSquaSet\mbox{\sf SquaMS}\to\mbox{\sf SquaSet} is faithful, and so β\beta^{\dagger} is the unique coalgebra-to-algebra map in SquaMS. This shows the first assertion in our result. The second follows since αN\alpha_{N} is invertible (Proposition 11). ∎

4.4 UU is Isomorphic to the Completion of the Initial Algebra NWWN\otimes W\to W

Recall the initial sequence of the functor NN\otimes- in (3.1). We write WW for the colimit. And we write ik:NkM0Wi_{k}\colon N^{k}\otimes M_{0}\to W for the canonical injection. There are canonical maps

k:NkM0U\ell_{k}\colon N^{k}\otimes M_{0}\to U

given by: 0=SU\ell_{0}=S_{U}, and k+1=αN(Nk)\ell_{k+1}=\alpha_{N}\circ(N\otimes\ell_{k}). The maps (k)kω(\ell_{k})_{k\in\omega} are a cocone. It is easy to see that k=βk\ell_{k}=\beta_{k}^{\dagger}, where

βk:NkM0Nk+1M0\beta_{k}\colon N^{k}\otimes M_{0}\to N^{k+1}\otimes M_{0} (4.1)

is given by βk=Nk!=NNNSNM0\beta_{k}=N^{k}\otimes!=N\otimes N\otimes\cdots\otimes N\otimes S_{N\otimes M_{0}}. Thus k\ell_{k} is short. By the colimit property of WW, we have a unique short map

ψ:WU\psi\colon W\to U

so that for all kk, ψik=k\psi\circ i_{k}=\ell_{k}.

Lemma 20.

The Cauchy completion operation on MS has a lift to C:SquaMSSquaMSC\colon\mbox{\sf SquaMS}\to\mbox{\sf SquaMS}. For all XX, C(NX)NC(X)C(N\otimes X)\cong N\otimes C(X).

Observe that since NWWN\otimes W\cong W (by Lambek’s Lemma), we have an isomorphism

η:NC(W)C(NW)C(W).\eta:N\otimes C(W)\cong C(N\otimes W)\cong C(W).
Lemma 21.

ψ:WU\psi\colon W\to U is an isometry, and ψ\psi extends to an isomorphism ψ¯:C(W)C(U)=U\overline{\psi}\colon C(W)\to C(U)=U.

Although we lack the space to show it, this last result is quite involved, requiring work with maps that are not short and also requiring special work on the relation between each space NkUN^{k}\otimes U and its “cousin” NkM0N^{k}\otimes M_{0}.

Theorem 22.

(V,η1:VNV)(V,\eta^{-1}\colon V\to N\otimes V) is the final coalgebra, where V=C(W)V=C(W) and η\eta is the map above.

Proof.

Let (B,β:BNB)(B,\beta\colon B\to N\otimes B) be a coalgebra. Consider the metric space VBV^{B}. As usual, this is complete because VV is. The subspace KVBK\subseteq V^{B} of short maps which preserve the square space structure is a closed subset, and (crucially) it is non-empty. This is because we have a short map BUB\to U by Lemma 18, and a short map UHU\to H by Lemma 21. We also have a 13\frac{1}{3}-contracting map Φ:KK\Phi\colon K\to K given by Φ(f)=e(Nf)η\Phi(f)=e\circ(N\otimes f)\otimes\eta. Thus, Φ\Phi has a unique fixed point. The fixed points of Φ\Phi are exactly the coalgebra morphisms BHB\to H. Thus, there is a unique coalgebra morphism BHB\to H. ∎

4.5 Final Coalgebra for MM\otimes-

Recall that MGGM\otimes G\cong G is the initial MM\otimes- algebra. Let Q=C(G)Q=C(G) be its completion and let γ:QMQ\gamma:Q\rightarrow M\otimes Q be the completion functor applied to the inverse of the isomorphism from MGM\otimes G to GG. We aim to show that (Q,γ)(Q,\gamma) is the final MM\otimes- coalgebra.

The main goal in this section is to exhibit a short map h:BQh\colon B\to Q, where (B,β)(B,\beta) is an arbitrary MM\otimes- coalgebra. With this in mind, let bBb\in B be given. Then we can choose m0,m1,Mm_{0},m_{1},\ldots\in M and b=b0,b1,Bb=b_{0},b_{1},\ldots\in B be such that for all kωk\in\omega

(Mk1β)(Mβ)β(b)=m0mk1bkMkB.(M^{k-1}\otimes\beta)\circ\ldots\circ(M\otimes\beta)\circ\beta(b)=m_{0}\otimes\ldots\otimes m_{k-1}\otimes b_{k}\in M^{k}\otimes B.

This is where we will use our work on the functor NN\otimes-. Note that the inclusion MBNBM\otimes B\hookrightarrow N\otimes B is a short map, since every path in MBM\otimes B is a path in NBN\otimes B, and thus, the inclusion is a morphism. So we can view any MM\otimes- coalgebra (B,β)(B,\beta) as an NN\otimes- coalgebra by taking the composition of the inclusion morphism with β\beta.

Let ik:MkUUi_{k}:M^{k}\otimes U\rightarrow U be (Mk1αM)αM(M^{k-1}\otimes\alpha_{M})\circ\ldots\circ\alpha_{M}.

By Lemmas 13 and 18, there is a morphism β:BU\beta^{\dagger}:B\rightarrow U, and for all kk,

β(b)=ik(m0mk1β(bk)).\beta^{\dagger}(b)=i_{k}(m_{0}\otimes\ldots\otimes m_{k-1}\otimes\beta^{\dagger}(b_{k})).

Now we have a short map from BB to UU. Our aim is to get to QQ, which is the completion of GG, which is a colimit of the chain MkM0M^{k}\otimes M_{0} (see (3.1)), but with MM instead of NN. So to connect these, we will restrict our attention to corner points in MkM0M^{k}\otimes M_{0}, and show that the inclusion into MkUM^{k}\otimes U restricted to these corner points is an isometry. This way, we will be able to define approximate maps from BB to MkUM^{k}\otimes U and in turn, to MkM0M^{k}\otimes M_{0} whose limit will be our required map from BB to QQ. Note that we cannot expect to define a morphism directly from the image of β\beta^{\dagger} in UU to QQ, since (as we will see in our discussion of bi-Lipschitz equivalence) such a map with the required properties will not be a short map.

Definition 4.

The set CPkMCP^{M}_{k} of corner points of MkM0M^{k}\otimes M_{0} is defined as follows:

CP0M={(0,0),(0,1),(1,0),(1,1)}CPk+1M=MCPkM(={mx:mM,xCPkM})\begin{array}[]{lcl}CP^{M}_{0}&=&\{(0,0),(0,1),(1,0),(1,1)\}\\ CP^{M}_{k+1}&=&M\otimes CP^{M}_{k}\quad(=\{m\otimes x:m\in M,x\in CP^{M}_{k}\})\\ \end{array}

For example, CP0MCP^{M}_{0}, CP1MCP^{M}_{1}, and CP2MCP^{M}_{2} are the intersections of segments in each of these squares, respectively.

Lemma 23.

Let xx and yy be corner points in MkUM^{k}\otimes U (via the inclusion MkM0MkUM^{k}\otimes M_{0}\hookrightarrow M^{k}\otimes U). Then there exists a geodesic as in Proposition 5 such that every entry on the path is also a corner point in MkUM^{k}\otimes U.

Corollary 24.

Let x,yCPkMx,y\in CP^{M}_{k}. Then for ι=SU:M0U\iota=S_{U}:M_{0}\rightarrow U,

dMkU(Mkι(x),Mkι(y))=dMkM0(x,y).d_{M^{k}\otimes U}(M^{k}\otimes\iota(x),M^{k}\otimes\iota(y))=d_{M^{k}\otimes M_{0}}(x,y).

That is, the distance between corners in MkUM^{k}\otimes U coincides with the distance in MkM0M^{k}\otimes M_{0}.

For each natural number kk, define hk:BMkM0h_{k}:B\rightarrow M^{k}\otimes M_{0} by

hk(b)=m0mk1(0,0).h_{k}(b)=m_{0}\otimes\ldots\otimes m_{k-1}\otimes(0,0).

Note that hkh_{k} is not a short map. Moreover, the map

hk:=ik(Mkι)hk:BUh^{\prime}_{k}:=i_{k}\circ(M^{k}\otimes\iota)\circ h_{k}:B\rightarrow U

is not a short map itself, but it approximates β\beta^{\dagger} in the following sense: for bBb\in B,

dU(hk(b),β(b))=dU(ik(m0mk1SU(0,0)),ik(m0mk1β(bk)))dMkU(m0mk1SU(0,0),m0mk1β(bk))since ik is short23k\begin{array}[]{lcll}&&d_{U}(h^{\prime}_{k}(b),\beta^{{\dagger}}(b))\\ &=&d_{U}(i_{k}(m_{0}\otimes\ldots\otimes m_{k-1}\otimes S_{U}(0,0)),i_{k}(m_{0}\otimes\ldots\otimes m_{k-1}\otimes\beta^{\dagger}(b_{k})))\\ &\leq&d_{M^{k}\otimes U}(m_{0}\otimes\ldots\otimes m_{k-1}\otimes S_{U}(0,0),m_{0}\otimes\ldots\otimes m_{k-1}\otimes\beta^{\dagger}(b_{k}))&\mbox{since $i_{k}$ is short}\\ &\leq&\frac{2}{3^{k}}\\ \end{array}

Finally, we define h:BQh:B\rightarrow Q by b([hk(b)])kQb\mapsto([h_{k}(b)])_{k}\in Q. This is a Cauchy sequence of elements of the initial algebra GG, since for m,n<ωm,n<\omega, dG(hn(b),hm(b))(23min(m,n))d_{G}(h_{n}(b),h_{m}(b))\leq(\frac{2}{3^{\min(m,n)}}).

Proposition 25.

h:BQh\colon B\to Q is a short map.

Theorem 26.

(Q,γ:QMQ)(Q,\gamma:Q\to M\otimes Q) is a final MM\otimes- coalgebra.

5 Bi-Lipschitz Equivalence

Two metric spaces MM and NN are bi-Lipschitz equivalent if there is a bijection b:MNb:M\to N and a number KK such that

1KdM(x,y)dN(b(x),b(y))KdM(x,y).\frac{1}{K}d_{M}(x,y)\leq d_{N}(b(x),b(y))\leq Kd_{M}(x,y).

Here we will show that the final MM\otimes- coalgebra QQ is bi-Lipschitz equivalent to 𝕊\mathbb{S}, the Sierpinski carpet as a subset of UU with the taxicab metric. Note that 𝕊\mathbb{S} with the taxicab metric is bi-Lipschitz equivalent to 𝕊\mathbb{S} with the Euclidean metric.

As in our proof that QQ is the final MM\otimes- coalgebra, we can view it as an NN\otimes- coalgebra, so by Lemmas 13 and 18, there is a morphism γ:QU\gamma^{\dagger}:Q\rightarrow U such that γ=αN(Nγ)γ\gamma^{\dagger}=\alpha_{N}\circ(N\otimes\gamma^{\dagger})\circ\gamma.

Proposition 27.

γ\gamma^{\dagger} is injective.

Clearly the image of QQ under γ\gamma^{\dagger} is non-empty, so to see that γ\gamma^{\dagger} is a bijection between QQ and 𝕊\mathbb{S}, we show that the image is compact with respect to the taxicab metric on UU, and that it is fixed under σ\sigma.

Proposition 28.

γ(Q)=𝕊\gamma^{\dagger}(Q)=\mathbb{S}.

Theorem 29.

The metric space QQ is bi-Lipschitz equivalent to the Sierpinski Carpet as a subset of the plane with the taxicab metric, and thus, the Euclidean metric. Specifically, for x,yQx,y\in Q,

12dQ(x,y)dU(γ(x),γ(y))2dQ(x,y).\frac{1}{2}d_{Q}(x,y)\leq d_{U}(\gamma^{\dagger}(x),\gamma^{\dagger}(y))\leq 2d_{Q}(x,y).

Since we can view the taxicab metric as the sum of the horizontal and vertical components of the distance, to prove this theorem, we will focus our attention on these. We use the following lemma, comparing distances in MnM0M^{n}\otimes M_{0} to those in UU.

Recall we have defined the morphisms in:MnUUi_{n}:M^{n}\otimes U\rightarrow U using αM\alpha_{M}. Then if ι:M0U\iota:M_{0}\rightarrow U is the inclusion map (that is, ι=SU\iota=S_{U}), we can define a morphism en:MnM0Ue_{n}:M^{n}\otimes M_{0}\rightarrow U by en=inMnιe_{n}=i_{n}\circ M^{n}\otimes\iota.

Lemma 30.

Let n0n\geq 0 and x,yMnM0x,y\in M^{n}\otimes M_{0} be such that en(x)e_{n}(x) and en(y)e_{n}(y) are on a horizontal or vertical line segment in the unit square, on which they are distance dd apart (via the Euclidean metric). Then 12dMnM0(x,y)d\frac{1}{2}d_{M^{n}\otimes M_{0}}(x,y)\leq d.

The idea is that a path between points on a line segment may require navigating around a hole, but the score of this path is not more than 22 times the length of the segment. Here is a typical case:

\bullet\bullet\bullet\bulleten(x)=(0,1)xe_{n}(x)=(0,1)\otimes x^{\prime}en(y)=(2,1)ye_{n}(y)=(2,1)\otimes y^{\prime}(0,1)v1(0,1)\otimes v_{1}(2,1)v2(2,1)\otimes v_{2}

Then, in calculating the taxicab metric, we may run into the situation where we must go around a corner to avoid a hole, but we find that this does not affect the score. The full proof is an induction on kk.

To prove Theorem 26 we approximate the distances in QQ to get the required inequality by looking at corresponding points in MkM0M^{k}\otimes M_{0} as kk\to\infty.

Conclusion

Stepping back, the main point of this paper has been to further the interaction between the subject of coalgebra broadly considered (including corecursive algebras) and continuous mathematics. The questions that we asked in this paper concerned the relationship between very natural and very concrete fractal sets on the one hand, and more abstract ideas like initial algebras and final coalgbebras on the other. We came to this work in order to explore these general issues. What we found in the expolaration was a set of ideas connecting category-theoretic and analytic concepts: colimits in metric spaces, short maps approximated by non-short maps, corecursive algebras as an alternative to infinite sums, and the like. We hope that the results in this paper further these connections.

References

  • [1]
  • [2] Jiří Adámek (1974): Free algebras and automata realizations in the language of categories. Commentationes Mathematicae Universitatis Carolinae 15(4), pp. 589–602.
  • [3] Jiří Adámek, Mahdieh Haddadi & Stefan Milius (2014): Corecursive Algebras, Corecursive Monads and Bloom Monads. Log. Methods Comput. Sci. 10(3:19), p. 51 pp., 10.2168/LMCS-10(3:19)2014.
  • [4] Prasit Bhattacharya, Lawrence S Moss, Jayampathy Ratnayake & Robert Rose (2013): Fractal Sets as Final Coalgebras Obtained by Completing an Initial Algebra. Topology, Algebra, and Categories in Logic, p. 157, 10.29007/pw5g.
  • [5] Prasit Bhattacharya, Lawrence S. Moss, Jayampathy Ratnayake & Robert Rose (2014): Fractal Sets as Final Coalgebras Obtained by Completing an Initial Algebra, pp. 146–167. Springer International Publishing, Cham. Available at https://doi.org/10.1007/978-3-319-06880-0_7.
  • [6] Venanzio Capretta, Tarmo Uustalu & Varmo Vene (2006): Recursive coalgebras from comonads. Inform. and Comput. 204, pp. 437–468, 10.1016/j.ic.2005.08.005.
  • [7] Peter Freyd (1999): Real coalgebra. Post on the Categories mailing list, December 22, 1999, available at www.mta.ca/\simcat-dist.
  • [8] Ichiro Hasuo, Bart Jacobs & Milad Niqui (2010): Coalgebraic representation theory of fractals. In: Proc. Mathematical Foundations of Programming Semantics (MFPS XXVI), 265, Elsevier, pp. 351–368, 10.1016/j.entcs.2010.08.021.
  • [9] John E. Hutchinson (1981): Fractals and Self Similarity. Indiana University Mathematics Journal 30(5), pp. 713–747, 10.1512/iumj.1981.30.30055.
  • [10] Tom Leinster (2011): A general theory of self-similarity. Advances in Mathematics 226(4), pp. 2935–3017, 10.1016/j.aim.2010.10.009.