{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\mathcal{C}$ be a category and let $F \\colon \\mathcal{C} \\to \\mathcal{C}$ be a [[functor|28NQ0KRHD3]].\nAn *$F$-coalgebra* is a pair $(A, \\alpha)$ of an object $A$ of $\\mathcal{C}$ and a morphism $\\alpha \\colon A \\to F(A)$.\nA *homomorphism* of $F$-coalgebras $f \\colon (A, \\alpha) \\to (B, \\beta)$ is a morphism $f \\colon A \\to B$ with $\\beta \\circ f = F(f) \\circ \\alpha$.\n\n## Remarks\n\nThe $F$-coalgebras and their homomorphisms form a category.\nAn $F$-coalgebra is the same as an algebra for the functor $F^{\\mathrm{op}}$ on $\\mathcal{C}^{\\mathrm{op}}$.\n\nExample: on the category of sets let $F(X) = \\N \\times X$, so $F(f) = \\id_{\\N} \\times f$.\nThe map $\\alpha \\colon \\N \\to \\N \\times \\N$ with $\\alpha(n) = (n, n + 1)$ makes $(\\N, \\alpha)$ an $F$-coalgebra.\nThe set $\\N^{\\N}$ of streams with $\\sigma(s) = (s_0, (s_1, s_2, \\dots))$ is the terminal $F$-coalgebra.\nThe unique homomorphism from $(\\N, \\alpha)$ sends $n$ to the stream $(n, n + 1, n + 2, \\dots)$.\n\nNon-example: the map $f \\colon \\N \\to \\N$ with $f(n) = n + 1$ is not a homomorphism from $(\\N, \\alpha)$ to itself.\nIndeed $\\alpha(f(n)) = (n + 1, n + 2)$, while $F(f)(\\alpha(n)) = (n, n + 2)$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "6BS0300CMV",
    "kind": "definition",
    "msc": [
      "18C15",
      "68Q85"
    ],
    "name": "F-coalgebra",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/F-coalgebra"
      }
    ],
    "tag": "TCWV185JKY",
    "uses": [
      "28NQ0KRHD3"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/TCWV185JKY/",
  "links": [
    {
      "field": "defines",
      "target": "6BS0300CMV"
    },
    {
      "field": "uses",
      "target": "28NQ0KRHD3"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/TCWV185JKY.md",
  "msc": [
    "18C15",
    "68Q85"
  ],
  "name": "F-coalgebra",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/TCW/TCWV185JKY.md",
  "status": null,
  "tag": "TCWV185JKY",
  "uri": "m2://TCWV185JKY",
  "url": "https://tamnd.github.io/math2/wiki/f-coalgebra-definition/",
  "writing": {
    "tag": "TCWV185JKY",
    "kind": "definition",
    "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
      }
    ]
  }
}
