{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "3CJ8XA1VAB"
    },
    {
      "field": "uses",
      "target": "DTNDR45FTH"
    },
    {
      "field": "uses",
      "target": "N84M16W19X"
    },
    {
      "field": "uses",
      "target": "Q6W7PDWN4V"
    },
    {
      "field": "defines",
      "target": "GD9JMCZHNY"
    }
  ],
  "body": "\n## Summary\n\nAn exponential object $Z^Y$ in a category with [[products|S5744QZV4N]] is an object of morphisms from $Y$ to $Z$, together with an evaluation morphism.\nIt is defined by a [[universal property|EN4DD2FAJH]] that expresses currying: maps $X \\times Y \\to Z$ match maps $X \\to Z^Y$.\nExponential objects are the defining feature of [[Cartesian closed categories|BFBNQ36QS8]].\nThey give the semantics of function types in [[lambda calculus|BD756KR8FM]].\n\n## Explanations\n\n### L1 human\n\nA function of two variables $g(x, y)$ can be seen as a function of $x$ whose values are functions of $y$.\nThis trick is called currying.\nFor sets, the exponential $Z^Y$ is the set of all functions from $Y$ to $Z$.\nFor example, if $Y$ has $2$ elements and $Z$ has $3$, then $Z^Y$ has $3^2 = 9$ elements.\nAn exponential object is the same idea in any category with products.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "18D15"
    ],
    "name": "Exponential object",
    "same_as": {
      "wikidata": "Q4391173",
      "wikipedia": "Exponential object"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Exponential_object"
      }
    ],
    "tag": "RHWD8DY41R"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/RHWD8DY41R/",
  "links": null,
  "markdown": "https://tamnd.github.io/math2/node/RHWD8DY41R.md",
  "msc": [
    "18D15"
  ],
  "name": "Exponential object",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/RHW/RHWD8DY41R.md",
  "status": null,
  "tag": "RHWD8DY41R",
  "uri": "m2://RHWD8DY41R",
  "url": "https://tamnd.github.io/math2/wiki/exponential-object/",
  "writing": {
    "tag": "RHWD8DY41R",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
