{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nA [[category|A2DE66937D]] $\\mathcal{C}$ is *Cartesian closed* if:\n\n1. $\\mathcal{C}$ has a [[terminal object|EK85VSSRMR]].\n2. Any two objects $X$ and $Y$ of $\\mathcal{C}$ have a [[product|S5744QZV4N]] $X \\times Y$.\n3. Any two objects $Y$ and $Z$ of $\\mathcal{C}$ have an [[exponential object|RHWD8DY41R]] $Z^Y$.\n\n## Remarks\n\nClauses 1 and 2 say that $\\mathcal{C}$ has finite products.\nClause 3 then says that each functor $- \\times Y$ has a right adjoint $(-)^Y$.\nSo there are bijections $\\Hom(X \\times Y, Z) \\cong \\Hom(X, Z^Y)$, natural in $X$ and $Z$.\n\nExample: the category of sets is Cartesian closed.\nA one-point set is terminal, $X \\times Y$ is the Cartesian product, and $Z^Y$ is the set of maps $Y \\to Z$ with evaluation.\n\nNon-example: the category of abelian groups is not Cartesian closed, although clauses 1 and 2 hold.\nIn a Cartesian closed category, $- \\times Y$ is a left adjoint, so it preserves the initial object $0$, and $0 \\times Y \\cong 0$.\nIn abelian groups $0 \\times \\Z \\cong \\Z$, which is not $0$, so clause 3 fails.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "BFBNQ36QS8",
    "kind": "definition",
    "msc": [
      "18D15"
    ],
    "name": "Cartesian closed category",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Cartesian_closed_category"
      }
    ],
    "tag": "Q6W7PDWN4V",
    "uses": [
      "A2DE66937D",
      "EK85VSSRMR",
      "S5744QZV4N",
      "RHWD8DY41R"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/Q6W7PDWN4V/",
  "links": [
    {
      "field": "defines",
      "target": "BFBNQ36QS8"
    },
    {
      "field": "uses",
      "target": "A2DE66937D"
    },
    {
      "field": "uses",
      "target": "EK85VSSRMR"
    },
    {
      "field": "uses",
      "target": "S5744QZV4N"
    },
    {
      "field": "uses",
      "target": "RHWD8DY41R"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/Q6W7PDWN4V.md",
  "msc": [
    "18D15"
  ],
  "name": "Cartesian closed category",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/Q6W/Q6W7PDWN4V.md",
  "status": null,
  "tag": "Q6W7PDWN4V",
  "uri": "m2://Q6W7PDWN4V",
  "url": "https://tamnd.github.io/math2/wiki/cartesian-closed-category-definition/",
  "writing": {
    "tag": "Q6W7PDWN4V",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
