9

Many authors treat algrebras of the powerset monad as a trivial example. It is really not trivial to me.

Can anyone help me with a detailed construction of such algebras. If you know of any article or book that explicitly construct such algebras which will be easy for a beginner to follow, please help out. Or if you can construct it as an answer here, I would really appreciate it.

Thank you.

Percy
  • 232

1 Answers1

16

Algebras for the powerset monad are essentially sup lattices, that is complete ordered sets $S$ with a given operation $\bigvee$ which takes a subset of $S$ to its least upper bound, and algebra maps are (weakly) monotone maps between them that preserve said operation.

Let's call our monad $(T,\mu,\eta)$.

An algebra for $T$ is a set $S$ with a map $h: TS\to S$ : this will be interpreted as the lub map $\bigvee$.

Define $\leq_h$ on $S$ as follows : for $x,y\in S$, $h(\{x,y\})\in S$. Define $x\leq_h y$ if and only if $h(\{x,y\}) = y$. This is a well-defined relation, let's now prove that it's a partial order.

It's clearly antisymmetric. To show that its reflexive, note that since $h:TS\to S$ defines a $T$-algebra, we have $S\to^{\eta_S} TS\to^h S = S\to^{id_S} S$, and so $h(\{x,x\}) = h(\{x\}) = h\circ\eta_S(x) = x$, thus $x\leq_h x$.

We now have to prove that it's transitive : assume $x\leq_h y, y\leq_h z$. Note that $\{x,y,z\} = \{x,y\}\cup\{y,z\}= \mu (\{\{x,y\}, \{y,z\}\})$. Since $h$ makes $S$ into a $T$-algebra, we have that $h\circ \mu_S = h\circ T(h)$. Thus $h(\{x,y,z\}) = h(\{h(\{x,y\}), h(\{y,z\})\})= h(\{y,z\}) = z$.

But also $\{x,y,z\}= \{x\}\cup \{y,z\} = \mu(\{\{x\}, \{y,z\}\})$ and so we get $h(\{x,y,z\}) = h(\{h(\{x\}), h(\{y,z\})\}) = h(\{x,z\})$. Thus $h(\{x,z\}) = z$ and so $x\leq_h z$.

Therefore $\leq_h$ defines an order on $S$. Let $A\subset S$ : we now want to prove that $h(A)$ is the least upper bound of $A$ for $\leq_h$.

Once we prove this, it will be clear that the desired result is true : indeed the definition of $\leq_h$ proves that a $T$-algebra map preserves the order, and the least upper bounds, and it will be clear that a map that preserves least upper bounds will be a $T$-algebra map.

Let $x\in A$. Then $A=A\cup\{x\}$ thus $h(A) = h\circ \mu_S (\{A,\{x\}\}) = h\circ T(h) (\{A, \{x\}\}) = h(\{h(A), h(\{x\})\}) = h(\{h(A), x\})$, therefore $x\leq_h h(A)$ : $h(A)$ is an upper bound of $A$.

Let $y$ be an upper bound of $A$. Then $h(\{y, h(A)\}) = h(\{h(\{y\}), h(A)\}) = h(\{y\}\cup A)$. So it suffices to prove that if $z$ is the maximum of $B$, then $h(B) = z$.

But $B = \displaystyle\bigcup_{x\in B}\{x,z\} = \mu_S(\{\{x,z\}\mid x\in B\})$, thus $h(B) = h\circ \mu_S(\{\{x,z\}\mid x\in B\})= h\circ T(h) (\{\{x,z\}\mid x\in B\})= h(\{h(\{x,z\})\mid x\in B\}) = h(\{z\mid x\in B\})$ because $h(\{x,z\}) = z$ for $x\in B$ by assumption, and thus $h(B) = h(\{z\}) = z$ : for $B=A\cup\{y\}, z=y$, this gets us $h(A)\leq_h y$ : $h(A)$ is the least upper bound of $A$, and we are done.

Of course my choice of sup lattices instead of inf lattices is arbitrary, but of course this comes from the fact that the category of sup lattices is isomorphic to the category of inf lattices, so there's no problem here.

Maxime Ramzi
  • 45,086
  • Thank you @Max . It is very clear now. Does this paragraph cater for the converse? "Once we prove this, it will be clear that the desired result is true : indeed the definition of $\leq_{h}$ proves that a $T$-algebra map preserves the order, and the least upper bounds, and it will be clear that a map that preserves least upper bounds will be a $T$-algebra map." – Percy Nov 26 '18 at 09:29
  • Yes (though obviously saying "it's clear" is not a proof, but I'm saying that it's easy enough that you should be able to do this exercise) – Maxime Ramzi Nov 26 '18 at 10:37
  • This is what I came out with as the converse: Let $h$ be a map preserving least upper bounds. Let $x\in S$, then $h(\eta_{S}(x))=h({x})=x$. Let ${A_{i}:i\in I}\in \mathcal{P}^{2}(S)$, then $h(\mu_{S}({A_{i}:i\in I}))=h(\bigcup_{i\in I}A_{i})$. Let $x=h(\bigcup_{i\in I}A_{i})$. On the other hand, $h(\mathcal{P}(h({A_{i}:i\in I})))=h({h(A_{i}):i\in I})$. How can I show that $h({h(A_{i}):i\in I})=x$? – Percy Nov 27 '18 at 13:16
  • Your computations don't make sense to me. Is that a different $h$ ? – Maxime Ramzi Nov 27 '18 at 15:27
  • @MaximeRamzi Shouldn't it be "partially ordered sets" instead of "complete ordered sets $S$ with a given operation ..."? – Max Demirdilek Feb 23 '22 at 08:37
  • 1
    @M.C. : by "complete" I mean that every subset has a least upper bound (equivalently, greatest lower bound) - but you are right that they are partially ordered and not necessarily linearly ordered .The terminology is a bit confusing... – Maxime Ramzi Feb 23 '22 at 08:39
  • Ah, fair enough. Thank you. – Max Demirdilek Feb 25 '22 at 10:02