{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\mathbf{A}$ be an [[algebra|QJGPT2W0FT]] and let $\\mathbf{B}$ be a [[subalgebra|7CHG6SD365]] of $\\mathbf{A}$ with universe $B$.\nThe subalgebra $\\mathbf{B}$ is a *retract* of $\\mathbf{A}$ when there is a [[homomorphism|KBXSZC6BV1]] $r \\colon \\mathbf{A} \\to \\mathbf{B}$ with $r(b) = b$ for all $b \\in B$.\nSuch a map $r$ is called a *retraction*.\n\n## Remarks\n\nUp to isomorphism, an algebra $\\mathbf{C}$ is a retract of $\\mathbf{A}$ when there are homomorphisms $s \\colon \\mathbf{C} \\to \\mathbf{A}$ and $r \\colon \\mathbf{A} \\to \\mathbf{C}$ with $r \\circ s = \\id_C$.\nThen $s$ is injective and $s(\\mathbf{C})$ is a retract of $\\mathbf{A}$ in the sense above.\n\nExample: in the group $\\Z \\times \\Z$, the subgroup $\\Z \\times \\set{0}$ is a retract.\nThe map $r(m, n) = (m, 0)$ is a homomorphism onto $\\Z \\times \\set{0}$ and fixes each $(m, 0)$.\n\nNon-example: the subgroup $2\\Z$ of $\\Z$ is not a retract.\nA homomorphism $r \\colon \\Z \\to 2\\Z$ is determined by $x = r(1) \\in 2\\Z$, and then $r(2) = 2x$.\nThe condition $r(2) = 2$ forces $x = 1 \\notin 2\\Z$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "68PFSGP39B",
    "kind": "definition",
    "msc": [
      "08A30",
      "08A35"
    ],
    "name": "Retract",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Section_(category_theory)"
      }
    ],
    "tag": "GPWYZX03N8",
    "uses": [
      "QJGPT2W0FT",
      "KBXSZC6BV1"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/GPWYZX03N8/",
  "links": [
    {
      "field": "defines",
      "target": "68PFSGP39B"
    },
    {
      "field": "uses",
      "target": "QJGPT2W0FT"
    },
    {
      "field": "uses",
      "target": "KBXSZC6BV1"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/GPWYZX03N8.md",
  "msc": [
    "08A30",
    "08A35"
  ],
  "name": "Retract",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/GPW/GPWYZX03N8.md",
  "status": null,
  "tag": "GPWYZX03N8",
  "uri": "m2://GPWYZX03N8",
  "url": "https://tamnd.github.io/math2/wiki/retract-definition/",
  "writing": {
    "tag": "GPWYZX03N8",
    "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
      }
    ]
  }
}
