{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $(\\mathcal{C}, \\otimes, I, \\alpha, \\lambda, \\rho)$ be a [[monoidal category|M3MSQ3NKAE]].\nA *monoid object* in $\\mathcal{C}$ is an object $M$ together with morphisms $\\mu \\colon M \\otimes M \\to M$ (multiplication) and $\\eta \\colon I \\to M$ (unit) such that:\n\n1. associativity: $\\mu \\circ (\\mu \\otimes \\id_M) = \\mu \\circ (\\id_M \\otimes \\mu) \\circ \\alpha_{M,M,M}$ as morphisms $(M \\otimes M) \\otimes M \\to M$;\n2. left unit: $\\mu \\circ (\\eta \\otimes \\id_M) = \\lambda_M$ as morphisms $I \\otimes M \\to M$;\n3. right unit: $\\mu \\circ (\\id_M \\otimes \\eta) = \\rho_M$ as morphisms $M \\otimes I \\to M$.\n\nA morphism of monoid objects $(M, \\mu, \\eta) \\to (M', \\mu', \\eta')$ is a morphism $f \\colon M \\to M'$ with $f \\circ \\mu = \\mu' \\circ (f \\otimes f)$ and $f \\circ \\eta = \\eta'$.\n\n## Remarks\n\nExample: in $(\\mathbf{Set}, \\times, \\set{*})$, a monoid object is a set $M$ with $\\mu(a, b) = ab$ and $\\eta(*) = e$; the three axioms say $(ab)c = a(bc)$, $ea = a$ and $ae = a$, so it is an ordinary [[monoid|0N6R902FG1]].\nExample: in $(\\mathbf{Ab}, \\otimes, \\Z)$, a monoid object is a ring, since a bilinear multiplication is a morphism $R \\otimes R \\to R$.\nNon-example: in $(\\mathbf{Set}, \\times, \\set{*})$, the set $\\Z$ with $\\mu(a, b) = a - b$ and $\\eta(*) = 0$ fails associativity, because $(1 - 1) - 1 = -1$ while $1 - (1 - 1) = 1$.\nA monoid object in a symmetric monoidal category is *commutative* if $\\mu \\circ \\gamma_{M,M} = \\mu$, where $\\gamma$ is the symmetry.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "9G1XS1XZ1F",
    "kind": "definition",
    "msc": [
      "18M05",
      "18C40"
    ],
    "name": "Monoid object",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Monoid_(category_theory)"
      }
    ],
    "tag": "H4JSMZK622",
    "uses": [
      "M3MSQ3NKAE",
      "0N6R902FG1"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/H4JSMZK622/",
  "links": [
    {
      "field": "defines",
      "target": "9G1XS1XZ1F"
    },
    {
      "field": "uses",
      "target": "M3MSQ3NKAE"
    },
    {
      "field": "uses",
      "target": "0N6R902FG1"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/H4JSMZK622.md",
  "msc": [
    "18M05",
    "18C40"
  ],
  "name": "Monoid object",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/H4J/H4JSMZK622.md",
  "status": null,
  "tag": "H4JSMZK622",
  "uri": "m2://H4JSMZK622",
  "url": "https://tamnd.github.io/math2/wiki/monoid-object-definition/",
  "writing": {
    "tag": "H4JSMZK622",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
