{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "TCWV185JKY"
    }
  ],
  "body": "\n## Summary\n\nFor an endofunctor $F$ of a category, an $F$-coalgebra is an object $A$ with a morphism $A \\to F(A)$.\nIt is the dual of an $F$-algebra.\nCoalgebras model state-based systems such as automata, streams and transition systems.\nThe map describes what one can observe of a state and where it goes next.\nTerminal coalgebras give infinite data such as streams, and the uniqueness of maps into them gives proofs by coinduction.\n\n## Explanations\n\n### L1 human\n\nThink of $A$ as a set of states of a machine.\nThe coalgebra map tells, for each state, what the machine shows and what state comes next.\nFor example, with $F(X) = \\N \\times X$ on sets, take $A = \\N$ and send $n$ to $(n, n + 1)$.\nStarting at $0$, the machine shows $0, 1, 2, \\dots$ forever, which is an infinite stream.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "18C15",
      "68Q85"
    ],
    "name": "F-coalgebra",
    "same_as": {
      "wikidata": "Q3062935",
      "wikipedia": "F-coalgebra"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/F-coalgebra"
      }
    ],
    "tag": "6BS0300CMV"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/6BS0300CMV/",
  "links": null,
  "markdown": "https://tamnd.github.io/math2/node/6BS0300CMV.md",
  "msc": [
    "18C15",
    "68Q85"
  ],
  "name": "F-coalgebra",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/6BS/6BS0300CMV.md",
  "status": null,
  "tag": "6BS0300CMV",
  "uri": "m2://6BS0300CMV",
  "url": "https://tamnd.github.io/math2/wiki/f-coalgebra/",
  "writing": {
    "tag": "6BS0300CMV",
    "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
      }
    ]
  }
}
