{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $K \\colon \\mathcal{A} \\to \\mathcal{B}$ and $F \\colon \\mathcal{A} \\to \\mathcal{C}$ be [[functors|28NQ0KRHD3]].\nA *left Kan extension* of $F$ along $K$ is a functor $L \\colon \\mathcal{B} \\to \\mathcal{C}$ together with a [[natural transformation|KYCPCC57FT]] $\\eta \\colon F \\Rightarrow L \\circ K$ with this property.\nFor every functor $G \\colon \\mathcal{B} \\to \\mathcal{C}$ and every natural transformation $\\alpha \\colon F \\Rightarrow G \\circ K$, there is a unique natural transformation $\\beta \\colon L \\Rightarrow G$ such that $\\alpha = (\\beta K) \\circ \\eta$.\nHere $\\beta K$ is the natural transformation with components $\\beta_{K(a)}$ for $a$ in $\\mathcal{A}$.\n\nA *right Kan extension* of $F$ along $K$ is a functor $R \\colon \\mathcal{B} \\to \\mathcal{C}$ together with a natural transformation $\\varepsilon \\colon R \\circ K \\Rightarrow F$ with this property.\nFor every functor $G \\colon \\mathcal{B} \\to \\mathcal{C}$ and every natural transformation $\\alpha \\colon G \\circ K \\Rightarrow F$, there is a unique natural transformation $\\beta \\colon G \\Rightarrow R$ such that $\\alpha = \\varepsilon \\circ (\\beta K)$.\n\n## Remarks\n\nThe usual notation is $\\mathrm{Lan}_K F$ for the left and $\\mathrm{Ran}_K F$ for the right Kan extension.\nBoth are unique up to a unique natural isomorphism when they exist.\nSuppose these extensions exist for all $F$.\nThen, between the [[functor categories|1X0WKFQX8K]], $\\mathrm{Lan}_K$ is left adjoint and $\\mathrm{Ran}_K$ is right adjoint to the restriction $G \\mapsto G \\circ K$ from $[\\mathcal{B}, \\mathcal{C}]$ to $[\\mathcal{A}, \\mathcal{C}]$.\n\nExample: let $\\mathcal{B} = \\mathbf{1}$ be the category with one object and one morphism, and $K$ the unique functor.\nA functor $G \\colon \\mathbf{1} \\to \\mathcal{C}$ is an object $c$, and $G \\circ K$ is the constant functor at $c$.\nA natural transformation $F \\Rightarrow G \\circ K$ is then a cocone from $F$ to $c$.\nSo the clause of the definition says exactly that $\\eta$ is a universal cocone, and $\\mathrm{Lan}_K F$ is the colimit of $F$.\n\nNon-example: let $\\mathcal{A}$ be the empty category, $\\mathcal{B} = \\mathbf{1}$ and $\\mathcal{C}$ the category of sets.\nThen $F$ and $\\eta$ are empty, and a left Kan extension is an initial object of $\\mathcal{C}$, namely the empty set.\nThe constant functor $L$ at a one-point set is not a left Kan extension.\nFor $G$ the constant functor at the empty set there is no natural transformation $L \\Rightarrow G$, so the existence part of the clause fails.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "RN9D96ESWN",
    "kind": "definition",
    "msc": [
      "18A40"
    ],
    "name": "Kan extension",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Kan_extension"
      }
    ],
    "tag": "DS6TC7FSDQ",
    "uses": [
      "28NQ0KRHD3",
      "KYCPCC57FT",
      "1X0WKFQX8K"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/DS6TC7FSDQ/",
  "links": [
    {
      "field": "defines",
      "target": "RN9D96ESWN"
    },
    {
      "field": "uses",
      "target": "28NQ0KRHD3"
    },
    {
      "field": "uses",
      "target": "KYCPCC57FT"
    },
    {
      "field": "uses",
      "target": "1X0WKFQX8K"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/DS6TC7FSDQ.md",
  "msc": [
    "18A40"
  ],
  "name": "Kan extension",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/DS6/DS6TC7FSDQ.md",
  "status": null,
  "tag": "DS6TC7FSDQ",
  "uri": "m2://DS6TC7FSDQ",
  "url": "https://tamnd.github.io/math2/wiki/kan-extension-definition/",
  "writing": {
    "tag": "DS6TC7FSDQ",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
