{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "Y77K0TEKN7"
    }
  ],
  "body": "\n## Summary\n\nUniversal coalgebra is the general study of coalgebras for an endofunctor of the category of sets.\nSuch a coalgebra is a set of states $X$ with a map $X \\to F(X)$.\nThe map tells what can be observed of a state and which states come next.\nIt is the dual of [[universal algebra|W82R6N0GM9]]: algebras build elements from smaller ones, coalgebras unfold states into their behaviour.\nStreams, automata, labelled transition systems and many other state-based systems are coalgebras, and the theory treats their behaviour and their bisimulations in one framework.\nThe general notion over any category is the [[F-coalgebra|6BS0300CMV]].\n\n## Explanations\n\n### L1 human\n\nThink of a machine with hidden states that you can only watch from outside.\nAt each state it shows you something and then moves to a next state.\nA coalgebra records exactly this: for each state, what you see and where you go.\nFor example, a stream of numbers is a coalgebra for $F(X) = \\N \\times X$: each state gives a head $n \\in \\N$ and a next state.\nTwo states are treated as equal when no experiment can tell them apart.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "08C05",
      "18C10",
      "68Q55"
    ],
    "name": "Universal coalgebra",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/F-coalgebra"
      }
    ],
    "tag": "2BG03EJT8D"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/2BG03EJT8D/",
  "links": null,
  "markdown": "https://tamnd.github.io/math2/node/2BG03EJT8D.md",
  "msc": [
    "08C05",
    "18C10",
    "68Q55"
  ],
  "name": "Universal coalgebra",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/2BG/2BG03EJT8D.md",
  "status": null,
  "tag": "2BG03EJT8D",
  "uri": "m2://2BG03EJT8D",
  "url": "https://tamnd.github.io/math2/wiki/universal-coalgebra/",
  "writing": {
    "tag": "2BG03EJT8D",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
