{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\mathcal{V}$ be a [[variety of algebras|AJNZJD8442]].\nA *majority term* for $\\mathcal{V}$ is a ternary [[term|N9M2N27END]] $m(x, y, z)$ such that $\\mathcal{V}$ satisfies the [[identities|PKD440G2XW]]\n$$m(x, x, y) \\approx m(x, y, x) \\approx m(y, x, x) \\approx x.$$\nEquivalently, a majority term is a [[near-unanimity term|4CRH8NNFEF]] of arity $3$.\n\n## Remarks\n\nExample: on $\\set{0, 1}$ the Boolean majority function $m(x, y, z) = (x \\wedge y) \\vee (y \\wedge z) \\vee (x \\wedge z)$ is a majority term of the two-element Boolean algebra.\nCheck: if two arguments equal $a$, then one of the three meets equals $a$ and the other two are at most $a$, so the join is $a$.\nNon-example: the term $p(x, y, z) = x - y + z$ of abelian groups satisfies $p(x, x, y) \\approx y$, not $x$, so it fails the first identity.\nIn fact no variety of groups other than the trivial variety has a majority term, since such a variety is not congruence-distributive.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "9879ZMW5AA",
    "kind": "definition",
    "msc": [
      "08B05",
      "08B10"
    ],
    "name": "Majority term",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Majority_function"
      }
    ],
    "tag": "DQ14ERMRTZ",
    "uses": [
      "4CRH8NNFEF",
      "AJNZJD8442",
      "N9M2N27END",
      "PKD440G2XW"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/DQ14ERMRTZ/",
  "links": [
    {
      "field": "defines",
      "target": "9879ZMW5AA"
    },
    {
      "field": "uses",
      "target": "4CRH8NNFEF"
    },
    {
      "field": "uses",
      "target": "AJNZJD8442"
    },
    {
      "field": "uses",
      "target": "N9M2N27END"
    },
    {
      "field": "uses",
      "target": "PKD440G2XW"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/DQ14ERMRTZ.md",
  "msc": [
    "08B05",
    "08B10"
  ],
  "name": "Majority term",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/DQ1/DQ14ERMRTZ.md",
  "status": null,
  "tag": "DQ14ERMRTZ",
  "uri": "m2://DQ14ERMRTZ",
  "url": "https://tamnd.github.io/math2/wiki/majority-term-definition/",
  "writing": {
    "tag": "DQ14ERMRTZ",
    "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
      }
    ]
  }
}
