{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $A$ be a nonempty set, let $B$ be a set and let $f \\colon A \\to B$ be a [[function|0XHDTE5YMZ]].\nThen $f$ is [[injective|0PVG1CRAJN]] if and only if $f$ has a [[left inverse|02486SD328]].\n\n## Remarks\n\nThe hypothesis that $A$ is nonempty is necessary. The empty function from $\\varnothing$ to a nonempty set is injective, but there is no function from a nonempty set to $\\varnothing$.\nTo build a left inverse, fix $a_0 \\in A$. Send each $b = f(a)$ to $a$, and send each $b \\notin f(A)$ to $a_0$.\n\n## Explanations\n\n### L1 human\n\nAn injective function loses no information, so you can go back from each value to its unique input.\nThe values that $f$ never takes can go anywhere, and you need one point $a_0$ to send them to.\n",
  "commit": "545acf83a9b75c8ddc375ef8b23d2ae101a4d7e4",
  "front": {
    "kind": "statement",
    "msc": [
      "03E20"
    ],
    "name": "Injective iff it has a left inverse",
    "role": "proposition",
    "sources": [
      {
        "locator": "Left inverses",
        "url": "https://en.wikipedia.org/wiki/Inverse_function"
      }
    ],
    "tag": "0HYFEEZAEM",
    "uses": [
      "0PVG1CRAJN",
      "02486SD328"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0HYFEEZAEM/",
  "links": [
    {
      "field": "uses",
      "target": "0PVG1CRAJN"
    },
    {
      "field": "uses",
      "target": "02486SD328"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0HYFEEZAEM.md",
  "msc": [
    "03E20"
  ],
  "name": "Injective iff it has a left inverse",
  "prov": null,
  "role": "proposition",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0HY/0HYFEEZAEM.md",
  "status": null,
  "tag": "0HYFEEZAEM",
  "uri": "m2://0HYFEEZAEM",
  "url": "https://math2.tamnd.com/wiki/injective-iff-it-has-a-left-inverse/",
  "writing": {
    "tag": "0HYFEEZAEM",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
