{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "G24036DJ5K"
    },
    {
      "field": "uses",
      "target": "TCD8SZW95Z"
    },
    {
      "field": "defines",
      "target": "T440VB9JJM"
    },
    {
      "field": "about",
      "target": "TCD8SZW95Z"
    }
  ],
  "body": "\n## Summary\n\nA primal algebra is a finite algebra in which every finitary operation on its universe is a term operation.\nEquivalently, its basic operations form a [[functionally complete|TDZVCWYJ9F]] set.\nThe two-element Boolean algebra and the rings $\\Z_p$ for a prime $p$ are primal.\nBy [[Foster's theorem|TCD8SZW95Z]], the variety generated by a primal algebra looks just like the variety of Boolean algebras.\n\n## Explanations\n\n### L1 human\n\nIn a primal algebra, the given operations can express every function on the set.\nThe two-element Boolean algebra is the model: every truth table is a Boolean formula.\nAnother example is arithmetic modulo a prime $p$: every function on $\\set{0, 1, \\dots, p - 1}$ is a polynomial with integer coefficients, reduced modulo $p$.\nFor instance, modulo $3$ the function equal to $1$ at $0$ and $0$ elsewhere is $1 - x^2$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "08A40"
    ],
    "name": "Primal algebra",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Functional_completeness"
      }
    ],
    "specializes": [
      "QWSBDFM47K"
    ],
    "tag": "XD01Y7B6XW"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/XD01Y7B6XW/",
  "links": [
    {
      "field": "specializes",
      "target": "QWSBDFM47K"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/XD01Y7B6XW.md",
  "msc": [
    "08A40"
  ],
  "name": "Primal algebra",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/XD0/XD01Y7B6XW.md",
  "status": null,
  "tag": "XD01Y7B6XW",
  "uri": "m2://XD01Y7B6XW",
  "url": "https://tamnd.github.io/math2/wiki/primal-algebra/",
  "writing": {
    "tag": "XD01Y7B6XW",
    "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
      }
    ]
  }
}
