{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\mathcal{V}$ be a [[variety|AJNZJD8442]] of algebras.\nA *Mal'cev term* for $\\mathcal{V}$ is a ternary term $p(x, y, z)$ such that $\\mathcal{V}$ satisfies the [[identities|PKD440G2XW]]\n$$p(x, y, y) = x \\quad \\text{and} \\quad p(x, x, y) = y.$$\nAn algebra $A$ has a *Mal'cev operation* if some ternary [[term operation|N9M2N27END]] of $A$ satisfies these two equations for all elements of $A$.\n\n## Remarks\n\nExample: for groups, $p(x, y, z) = x y^{-1} z$ is a Mal'cev term, since $x y^{-1} y = x$ and $x x^{-1} z = z$.\nFor modules and rings, $p(x, y, z) = x - y + z$ is a Mal'cev term.\nNon-example: the variety of semilattices has no Mal'cev term.\nEvery semilattice term in the variables $x, y, z$ equals the join of the set $S$ of variables that occur in it.\nIf $p(x, y, y) = x$, then neither $y$ nor $z$ is in $S$, so $p = x$, and then $p(x, x, y) = x \\ne y$ in a semilattice with two elements.\nBy Mal'cev's theorem, a variety has a Mal'cev term if and only if it is a [[congruence-permutable variety|1B3N9T68YV]].\n\n## Explanations\n\n### L1 human\n\nA Mal'cev term is a three-input formula that returns the outer input when the other two inputs agree.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "Y203PPTS61",
    "kind": "definition",
    "msc": [
      "08B05"
    ],
    "name": "Mal'cev term",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Congruence-permutable_algebra"
      }
    ],
    "tag": "Y5BF0G0T9X",
    "uses": [
      "AJNZJD8442",
      "N9M2N27END",
      "PKD440G2XW"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/Y5BF0G0T9X/",
  "links": [
    {
      "field": "defines",
      "target": "Y203PPTS61"
    },
    {
      "field": "uses",
      "target": "AJNZJD8442"
    },
    {
      "field": "uses",
      "target": "N9M2N27END"
    },
    {
      "field": "uses",
      "target": "PKD440G2XW"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/Y5BF0G0T9X.md",
  "msc": [
    "08B05"
  ],
  "name": "Mal'cev term",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/Y5B/Y5BF0G0T9X.md",
  "status": null,
  "tag": "Y5BF0G0T9X",
  "uri": "m2://Y5BF0G0T9X",
  "url": "https://tamnd.github.io/math2/wiki/malcev-term-definition/",
  "writing": {
    "tag": "Y5BF0G0T9X",
    "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
      }
    ]
  }
}
