{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\sigma$ be an algebraic signature and let $K$ be a class of $\\sigma$-algebras.\nLet $\\mathcal{K}$ be the [[category|A2DE66937D]] whose objects are the members of $K$ and whose morphisms are the [[homomorphisms|KBXSZC6BV1]] between them.\nThe *forgetful functor* $U \\colon \\mathcal{K} \\to \\mathbf{Set}$ is the [[functor|28NQ0KRHD3]] that sends each algebra $A$ to its underlying set.\nIt sends each homomorphism $f \\colon A \\to B$ to the same map $f$ between the underlying sets.\n\nMore generally, let $\\sigma' \\subseteq \\sigma$.\nThe functor that sends a $\\sigma$-algebra to its reduct to the operations of $\\sigma'$, and each homomorphism to itself, is also called forgetful.\n\n## Remarks\n\n$U$ is a functor because the identity homomorphism is the identity map and the composite of homomorphisms is their composite as maps.\nIt is faithful: two homomorphisms $A \\to B$ with the same underlying map are equal.\n\nExample: the forgetful functor $\\mathbf{Ring} \\to \\mathbf{Ab}$ keeps the addition of a ring and drops its multiplication and unit.\nA ring homomorphism is additive, so it is sent to a group homomorphism.\n\nNon-example: consider the functor $\\mathbf{Grp} \\to \\mathbf{Set}$ that sends a group $G$ to the set of its subgroups, and a homomorphism $f$ to $H \\mapsto f(H)$.\nIt is a functor, but not a forgetful functor.\nIt does not send $G$ to its underlying set.\n\nThe term is also used informally for functors such as $\\mathbf{Top} \\to \\mathbf{Set}$, which forget a topology rather than operations.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "WV3BPYCHVG",
    "kind": "definition",
    "msc": [
      "18A22",
      "08C05"
    ],
    "name": "Forgetful functor",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Forgetful_functor"
      }
    ],
    "tag": "26RWFX4H2H",
    "uses": [
      "A2DE66937D",
      "28NQ0KRHD3",
      "KBXSZC6BV1"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/26RWFX4H2H/",
  "links": [
    {
      "field": "defines",
      "target": "WV3BPYCHVG"
    },
    {
      "field": "uses",
      "target": "A2DE66937D"
    },
    {
      "field": "uses",
      "target": "28NQ0KRHD3"
    },
    {
      "field": "uses",
      "target": "KBXSZC6BV1"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/26RWFX4H2H.md",
  "msc": [
    "18A22",
    "08C05"
  ],
  "name": "Forgetful functor",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/26R/26RWFX4H2H.md",
  "status": null,
  "tag": "26RWFX4H2H",
  "uri": "m2://26RWFX4H2H",
  "url": "https://tamnd.github.io/math2/wiki/forgetful-functor-definition/",
  "writing": {
    "tag": "26RWFX4H2H",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
