{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $A$ and $B$ be subsets of $\\N$.\nA *many-one reduction* from $A$ to $B$ is a total [[computable function|KZSB5E471K]] $f \\colon \\N \\to \\N$ such that for every $x \\in \\N$,\n$$x \\in A \\iff f(x) \\in B.$$\nThe set $A$ is *many-one reducible* to $B$, written $A \\le_m B$, if such an $f$ exists.\nThe sets $A$ and $B$ are *many-one equivalent*, written $A \\equiv_m B$, if $A \\le_m B$ and $B \\le_m A$.\n\n## Remarks\n\nExample: let $E$ be the set of even numbers and let $f(x) = 0$ for even $x$ and $f(x) = 1$ for odd $x$.\nThen $f$ is total and computable, and $x \\in E$ holds exactly when $f(x) \\in \\set{0}$, so $E \\le_m \\set{0}$.\n\nNon-example: the empty set is not many-one reducible to $\\N$.\nFor any $f$, the point $0 \\notin \\emptyset$ would need $f(0) \\notin \\N$, which is impossible.\n\nThe relation $\\le_m$ is reflexive and transitive.\nIf $A \\le_m B$ and $B$ is a [[computable set|PPGD5KW8JC]], then $A$ is computable.\nIf $A \\le_m B$ and $B$ is [[computably enumerable|TN9G24VABN]], then $A$ is computably enumerable.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "JTAH37JTHD",
    "kind": "definition",
    "msc": [
      "03D30"
    ],
    "name": "Many-one reduction",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Many-one_reduction"
      }
    ],
    "tag": "H5CW67CCST",
    "uses": [
      "KZSB5E471K",
      "PPGD5KW8JC",
      "TN9G24VABN"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/H5CW67CCST/",
  "links": [
    {
      "field": "defines",
      "target": "JTAH37JTHD"
    },
    {
      "field": "uses",
      "target": "KZSB5E471K"
    },
    {
      "field": "uses",
      "target": "PPGD5KW8JC"
    },
    {
      "field": "uses",
      "target": "TN9G24VABN"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/H5CW67CCST.md",
  "msc": [
    "03D30"
  ],
  "name": "Many-one reduction",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/H5C/H5CW67CCST.md",
  "status": null,
  "tag": "H5CW67CCST",
  "uri": "m2://H5CW67CCST",
  "url": "https://math2.tamnd.com/wiki/many-one-reduction-definition/",
  "writing": {
    "tag": "H5CW67CCST",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
