{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "9P83YFRWDJ"
    },
    {
      "field": "uses",
      "target": "XYH30V13SE"
    },
    {
      "field": "defines",
      "target": "JKXTT55WCV"
    }
  ],
  "body": "\n## Summary\n\nAn end is a universal way of extracting from a [[functor|28NQ0KRHD3]] $S \\colon \\mathcal{C}^{\\mathrm{op}} \\times \\mathcal{C} \\to \\mathcal{D}$ an object that is compatible with all the diagonal values $S(c, c)$.\nA coend is the dual notion.\nEnds are special [[limits|CHS5AFJGWE]] and coends are special [[colimits|BJS1CGTKQ5]].\nThe set of [[natural transformations|KYCPCC57FT]] between two functors is an end, and many constructions such as tensor products and Kan extensions are coends or ends.\n\n## Explanations\n\n### L1 human\n\nSome functors take two inputs from the same category, one in a backward and one in a forward way, like $\\Hom(c, c')$.\nAn end picks out the families of diagonal elements, one for each object $c$, that are consistent along all arrows.\nFor example, a natural transformation between two functors is a family of maps, one per object, consistent with all arrows.\nSo the natural transformations form the end of the functor $(c, c') \\mapsto \\Hom(F c, G c')$.\nA coend glues the diagonal values together instead, and plays the role of a tensor product.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "18A30",
      "18A23"
    ],
    "name": "End and coend",
    "same_as": {
      "wikidata": "Q5375781",
      "wikipedia": "End (category theory)"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/End_(category_theory)"
      }
    ],
    "tag": "W9QTFV0Z8D"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/W9QTFV0Z8D/",
  "links": null,
  "markdown": "https://tamnd.github.io/math2/node/W9QTFV0Z8D.md",
  "msc": [
    "18A30",
    "18A23"
  ],
  "name": "End and coend",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/W9Q/W9QTFV0Z8D.md",
  "status": null,
  "tag": "W9QTFV0Z8D",
  "uri": "m2://W9QTFV0Z8D",
  "url": "https://tamnd.github.io/math2/wiki/end-and-coend/",
  "writing": {
    "tag": "W9QTFV0Z8D",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
