{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $A$ be an algebra whose universe is a [[finite set|070R982G4B]] with at least two elements.\nThe algebra $A$ is *primal* if every operation $f \\colon A^n \\to A$ with $n \\ge 1$ is a [[term operation|N9M2N27END]] of $A$.\nEquivalently, the set of basic operations of $A$ is [[functionally complete|TDZVCWYJ9F]].\n\n## Remarks\n\nExample: the ring $(\\Z_p, +, \\cdot, -, 0, 1)$ for a prime $p$ is primal.\nCheck: the polynomial $\\delta(x) = 1 - x^{p - 1}$ equals $1$ at $0$ and $0$ elsewhere, by Fermat's little theorem.\nThen $f(a_1, \\dots, a_n) = \\sum_{b \\in \\Z_p^n} f(b) \\prod_{i} \\delta(a_i - b_i)$, and each $f(b)$ is a sum of copies of $1$.\nNon-example: the field $\\F_4$ with its ring operations is not primal.\nIts Frobenius map $x \\mapsto x^2$ is an automorphism, and term operations commute with automorphisms.\nA constant operation with value outside $\\F_2$ does not commute with it, so it is not a term operation.\nEvery primal algebra is [[quasi-primal|QWSBDFM47K]].\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "XD01Y7B6XW",
    "kind": "definition",
    "msc": [
      "08A40"
    ],
    "name": "Primal algebra",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Functional_completeness"
      }
    ],
    "tag": "T440VB9JJM",
    "uses": [
      "TDZVCWYJ9F",
      "N9M2N27END",
      "070R982G4B",
      "QWSBDFM47K"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/T440VB9JJM/",
  "links": [
    {
      "field": "defines",
      "target": "XD01Y7B6XW"
    },
    {
      "field": "uses",
      "target": "TDZVCWYJ9F"
    },
    {
      "field": "uses",
      "target": "N9M2N27END"
    },
    {
      "field": "uses",
      "target": "070R982G4B"
    },
    {
      "field": "uses",
      "target": "QWSBDFM47K"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/T440VB9JJM.md",
  "msc": [
    "08A40"
  ],
  "name": "Primal algebra",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/T44/T440VB9JJM.md",
  "status": null,
  "tag": "T440VB9JJM",
  "uri": "m2://T440VB9JJM",
  "url": "https://tamnd.github.io/math2/wiki/primal-algebra-definition/",
  "writing": {
    "tag": "T440VB9JJM",
    "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
      }
    ]
  }
}
