{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "98F5NBDR0V"
    },
    {
      "field": "specializes",
      "target": "R76EC56V9R"
    },
    {
      "field": "uses",
      "target": "TT0HJQ6QD7"
    }
  ],
  "body": "\n## Summary\n\nFor an endofunctor $F$ of a category $\\mathcal{C}$, an $F$-algebra is an object $A$ with a morphism $F A \\to A$.\nFor a suitable functor on sets, $F$-algebras are exactly the algebras of a given signature, so the notion generalizes universal algebra without equations.\nInductive data types are [[initial F-algebras|R76EC56V9R]], and the dual notion, [[F-coalgebra|6BS0300CMV]], models state-based systems.\nUnlike an algebra over a monad, an $F$-algebra need not satisfy any unit or associativity law.\n\n## Explanations\n\n### L1 human\n\nA structure map $F A \\to A$ says how to combine data of the \"shape\" $F$ into a single element of $A$.\nFor $F X = 1 \\sqcup X$, an $F$-algebra is a set with a chosen element and a function from the set to itself.\nThe natural numbers with $0$ and $n \\mapsto n + 1$ are such an algebra.\nFor $F X = 1 \\sqcup X \\times X$, an $F$-algebra is a set with a constant and a binary operation, which is the signature of monoids.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "18C15",
      "08C05",
      "08A70"
    ],
    "name": "F-algebra",
    "same_as": {
      "wikidata": "Q1386213",
      "wikipedia": "F-algebra"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/F-algebra"
      }
    ],
    "tag": "4RB8834SEJ"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/4RB8834SEJ/",
  "links": null,
  "markdown": "https://tamnd.github.io/math2/node/4RB8834SEJ.md",
  "msc": [
    "18C15",
    "08C05",
    "08A70"
  ],
  "name": "F-algebra",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/4RB/4RB8834SEJ.md",
  "status": null,
  "tag": "4RB8834SEJ",
  "uri": "m2://4RB8834SEJ",
  "url": "https://tamnd.github.io/math2/wiki/f-algebra/",
  "writing": {
    "tag": "4RB8834SEJ",
    "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
      }
    ]
  }
}
