{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $\\mathcal{V}$ be a variety of algebras.\nThen $\\mathcal{V}$ is a [[congruence-permutable variety|1B3N9T68YV]] if and only if $\\mathcal{V}$ has a [[Mal'cev term|Y203PPTS61]].\nThat is a ternary term $p$ such that $\\mathcal{V}$ satisfies $p(x, y, y) = x$ and $p(x, x, y) = y$.\n\n## Remarks\n\nSuppose $p$ is a Mal'cev term, $A \\in \\mathcal{V}$, and $a \\mathrel{\\alpha} b \\mathrel{\\beta} c$ for [[congruences|DCSXXT4SER]] $\\alpha$ and $\\beta$ of $A$.\nPut $d = p(a, b, c)$.\nThen $d \\mathrel{\\beta} p(a, b, b) = a$ and $d \\mathrel{\\alpha} p(b, b, c) = c$, so $a \\mathrel{\\beta} d \\mathrel{\\alpha} c$, and the two compositions are equal.\nConversely, work in the [[free algebra|GTS4DRRMZR]] $F$ of $\\mathcal{V}$ on $x, y, z$, with $\\alpha$ generated by $(x, y)$ and $\\beta$ generated by $(y, z)$.\nSince $x \\mathrel{\\alpha} y \\mathrel{\\beta} z$, permutability gives $w = p(x, y, z) \\in F$ with $x \\mathrel{\\beta} w \\mathrel{\\alpha} z$, and identifying $z$ with $y$, or $y$ with $x$, turns these relations into the two identities.\n\nExample: groups have the Mal'cev term $x y^{-1} z$, so the congruences of every group permute; this is the familiar fact that $MN = NM$ for normal subgroups.\nLattices have no Mal'cev term, since the three-element chain has two congruences that do not permute.\n\n## Explanations\n\n### L1 human\n\nThe theorem says that a property of all congruences of all algebras in a variety is the same as the existence of one formula with two simple equations.\nTo show that a variety has permuting congruences, it is enough to find this formula.\n\n### L2 human\n\nThis is the first Mal'cev condition, and it is the model for later ones, such as Jónsson's characterisation of congruence distributivity and Day's characterisation of congruence modularity.\nThe proof pattern is general: an implication in the free algebra on few generators gives terms, and terms give the property in every algebra.\nQuasigroups, with $p(x, y, z) = (x / (y \\backslash y)) \\cdot (y \\backslash z)$, also have a Mal'cev term, so their congruences permute.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "about": [
      "1B3N9T68YV",
      "Y203PPTS61"
    ],
    "kind": "statement",
    "msc": [
      "08B05"
    ],
    "name": "Mal'cev's theorem on congruence permutability",
    "role": "theorem",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Congruence-permutable_algebra"
      }
    ],
    "tag": "DFZ7ZKRZCQ",
    "uses": [
      "1B3N9T68YV",
      "Y203PPTS61",
      "GTS4DRRMZR",
      "DCSXXT4SER"
    ]
  },
  "kind": "statement",
  "link": "https://tamnd.github.io/math2/node/DFZ7ZKRZCQ/",
  "links": [
    {
      "field": "about",
      "target": "1B3N9T68YV"
    },
    {
      "field": "about",
      "target": "Y203PPTS61"
    },
    {
      "field": "uses",
      "target": "1B3N9T68YV"
    },
    {
      "field": "uses",
      "target": "Y203PPTS61"
    },
    {
      "field": "uses",
      "target": "GTS4DRRMZR"
    },
    {
      "field": "uses",
      "target": "DCSXXT4SER"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/DFZ7ZKRZCQ.md",
  "msc": [
    "08B05"
  ],
  "name": "Mal'cev's theorem on congruence permutability",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/DFZ/DFZ7ZKRZCQ.md",
  "status": null,
  "tag": "DFZ7ZKRZCQ",
  "uri": "m2://DFZ7ZKRZCQ",
  "url": "https://tamnd.github.io/math2/wiki/malcevs-theorem-on-congruence-permutability/",
  "writing": {
    "tag": "DFZ7ZKRZCQ",
    "kind": "statement",
    "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
      }
    ]
  }
}
