{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $A$ be an algebra of a signature $\\sigma$ with only function symbols, and let $n \\ge 1$.\nLet $t$ be a [[term|6D3WA7N2W4]] over $\\sigma$ whose variables are among $x_1, \\ldots, x_n$.\nThe $n$-ary *term operation* of $t$ on $A$ is the map $t^A \\colon A^n \\to A$ given by\n$$t^A(a_1, \\ldots, a_n) = t^A[\\alpha].$$\nHere $\\alpha(x_i) = a_i$, and $t^A[\\alpha]$ is the [[value|DH30WTA26T]] of $t$ at the assignment $\\alpha$.\nAn operation on $A$ is a *term operation* of $A$ if it equals $t^A$ for some $n$ and some term $t$.\n\n## Remarks\n\nThe term operation of the variable $x_i$ is the projection $(a_1, \\ldots, a_n) \\mapsto a_i$.\nThe term operation of $f(t_1, \\ldots, t_k)$ is the composition $f^A(t_1^A, \\ldots, t_k^A)$.\nSo the set $\\operatorname{Clo}(A)$ of all term operations is the smallest set of operations on $A$ that contains the projections and the basic operations and is closed under composition.\nEvery homomorphism $h \\colon A \\to B$ satisfies $h(t^A(a_1, \\ldots, a_n)) = t^B(h(a_1), \\ldots, h(a_n))$.\n\nExample: in the group $(\\Z, +, -, 0)$ the map $(a, b) \\mapsto 2a - b$ is the term operation of $(x_1 + x_1) + (-x_2)$.\n\nNon-example: the map $a \\mapsto a + 1$ on $(\\Z, +, -, 0)$ is not a term operation.\nEvery term operation $t^A$ of this group satisfies $t^A(0, \\ldots, 0) = 0$, since $0 + 0 = -0 = 0$, while $0 + 1 \\ne 0$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "N9M2N27END",
    "kind": "definition",
    "msc": [
      "08A40"
    ],
    "name": "Term operation",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Clone_(algebra)"
      }
    ],
    "tag": "W8XWKYWV1D",
    "uses": [
      "6D3WA7N2W4",
      "DH30WTA26T",
      "983GZBQYT4"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/W8XWKYWV1D/",
  "links": [
    {
      "field": "defines",
      "target": "N9M2N27END"
    },
    {
      "field": "uses",
      "target": "6D3WA7N2W4"
    },
    {
      "field": "uses",
      "target": "DH30WTA26T"
    },
    {
      "field": "uses",
      "target": "983GZBQYT4"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/W8XWKYWV1D.md",
  "msc": [
    "08A40"
  ],
  "name": "Term operation",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/W8X/W8XWKYWV1D.md",
  "status": null,
  "tag": "W8XWKYWV1D",
  "uri": "m2://W8XWKYWV1D",
  "url": "https://tamnd.github.io/math2/wiki/term-operation-definition/",
  "writing": {
    "tag": "W8XWKYWV1D",
    "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
      }
    ]
  }
}
