{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $(M, \\cdot)$ be a [[magma|9689SFPVE9]].\nLet $\\sim$ be the smallest [[congruence|DCSXXT4SER]] on $M$ such that $(x \\cdot y) \\cdot z \\sim x \\cdot (y \\cdot z)$ for all $x, y, z \\in M$.\nThe *associative quotient* of $M$ is the [[quotient magma|N5KE7FH6CX]] $M/{\\sim}$, with the quotient map $\\pi \\colon M \\to M/{\\sim}$, $\\pi(x) = [x]$.\n\n## Remarks\n\nThe quotient $M/{\\sim}$ is a [[semigroup|0XMEM406JM]], since $([x][y])[z] = [(xy)z] = [x(yz)] = [x]([y][z])$.\nUniversal property: for every semigroup $S$ and every magma homomorphism $f \\colon M \\to S$, there is exactly one homomorphism $\\bar f \\colon M/{\\sim} \\to S$ with $\\bar f \\circ \\pi = f$.\nThis holds because the kernel of $f$ is a congruence that contains all the pairs $((xy)z, x(yz))$, so it contains $\\sim$.\n\nExample: if $M$ is already a semigroup, then $\\sim$ is equality and the associative quotient is $M$ itself.\nExample: for the free magma on one letter $a$, the associative quotient is the free semigroup on $a$.\nIt is isomorphic to the positive integers under addition, with a bracketed word sent to its length.\n\nNon-example: the one-element semigroup is a quotient of every nonempty magma, but it is not the associative quotient of the free magma on $a$.\nThe length map to $(\\Z_{\u003e0}, +)$ is a homomorphism to a semigroup that does not factor through the one-element quotient, so the universal property fails.\n\nIn Mathlib this construction is `Magma.AssocQuotient`.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "T22ZTQRXGB",
    "kind": "definition",
    "msc": [
      "20N02",
      "20M05"
    ],
    "name": "Associative quotient of a magma",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Magma_(algebra)"
      }
    ],
    "tag": "Y50YJMKRAM",
    "uses": [
      "9689SFPVE9",
      "DCSXXT4SER",
      "N5KE7FH6CX",
      "0XMEM406JM"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/Y50YJMKRAM/",
  "links": [
    {
      "field": "defines",
      "target": "T22ZTQRXGB"
    },
    {
      "field": "uses",
      "target": "9689SFPVE9"
    },
    {
      "field": "uses",
      "target": "DCSXXT4SER"
    },
    {
      "field": "uses",
      "target": "N5KE7FH6CX"
    },
    {
      "field": "uses",
      "target": "0XMEM406JM"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/Y50YJMKRAM.md",
  "msc": [
    "20N02",
    "20M05"
  ],
  "name": "Associative quotient of a magma",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/Y50/Y50YJMKRAM.md",
  "status": null,
  "tag": "Y50YJMKRAM",
  "uri": "m2://Y50YJMKRAM",
  "url": "https://tamnd.github.io/math2/wiki/associative-quotient-of-a-magma-definition/",
  "writing": {
    "tag": "Y50YJMKRAM",
    "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
      }
    ]
  }
}
