Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
f-algebra [2014/09/22 23:19] nikolaj |
f-algebra [2014/09/23 10:32] nikolaj |
||
---|---|---|---|
Line 6: | Line 6: | ||
==== Discussion ==== | ==== Discussion ==== | ||
- | Think | + | Think types $\mathrm{a}$ and $\alpha$'s of type |
<code/Haskell> | <code/Haskell> | ||
Line 13: | Line 13: | ||
=== Example === | === Example === | ||
- | Addition of natural numbers is a binary relation: | + | The following examples assume that ${\bf C}$ contains all the relevant ingredients (e.g. products). |
- | $+:\mathbb{N}\times\mathbb{N}\to\mathbb{N}.$ | + | * Addition of natural numbers is a binary relation: $+:\mathbb{N}\times\mathbb{N}\to\mathbb{N}$. Hence $\langle \mathbb{N},+\rangle$ is an $F$-algebra for the endofunctor with object map $FX:=X\times X$. |
- | Hence $\langle \mathbb{N},+\rangle$ is an $F$-algebra for the endofunctor with object map $FX:=X\times X$. | + | * Group actions on $X$ are maps $m:G\times X\to X$, so consider $FX:=G\times X$. |
=== Reference === | === Reference === |