{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $(M, \\cdot)$ be a [[magma|9689SFPVE9]].\nIt is *medial* if\n$$(x \\cdot y) \\cdot (u \\cdot v) = (x \\cdot u) \\cdot (y \\cdot v)$$\nfor all $x, y, u, v \\in M$.\n\n## Remarks\n\nExample: $\\Q$ with $x \\circ y = (x + y)/2$.\nBoth $(x \\circ y) \\circ (u \\circ v)$ and $(x \\circ u) \\circ (y \\circ v)$ equal $(x + y + u + v)/4$.\nThis magma is medial but not associative.\n\nExample: every commutative semigroup is medial, since $(xy)(uv) = x(yu)v = x(uy)v = (xu)(yv)$.\n\nNon-example: $\\Z$ with $x \\cdot y = xy + 1$.\nTake $x = y = 1$ and $u = v = 0$.\nThen $1 \\cdot 1 = 2$ and $0 \\cdot 0 = 1$, so the left side is $2 \\cdot 1 = 3$.\nAlso $1 \\cdot 0 = 1$, so the right side is $1 \\cdot 1 = 2 \\ne 3$.\n\nA magma is medial if and only if the map $M \\times M \\to M$, $(x, y) \\mapsto x \\cdot y$, is a homomorphism from the product magma $M \\times M$ to $M$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "VZHN6GA3TA",
    "kind": "definition",
    "msc": [
      "20N02",
      "20N05"
    ],
    "name": "Medial magma",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Medial_magma"
      }
    ],
    "tag": "WVZ7F41S9Q",
    "uses": [
      "9689SFPVE9"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/WVZ7F41S9Q/",
  "links": [
    {
      "field": "defines",
      "target": "VZHN6GA3TA"
    },
    {
      "field": "uses",
      "target": "9689SFPVE9"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/WVZ7F41S9Q.md",
  "msc": [
    "20N02",
    "20N05"
  ],
  "name": "Medial magma",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/WVZ/WVZ7F41S9Q.md",
  "status": null,
  "tag": "WVZ7F41S9Q",
  "uri": "m2://WVZ7F41S9Q",
  "url": "https://tamnd.github.io/math2/wiki/medial-magma-definition/",
  "writing": {
    "tag": "WVZ7F41S9Q",
    "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
      }
    ]
  }
}
