Polynomial-time reduction
Builds on Formal languageTuring machineTime complexityMany-one reductionP
Definition
Let be a finite alphabet, and let be languages. A polynomial-time reduction from to is a function with two properties.
- Some deterministic Turing machine computes and halts within steps on every input , for some polynomial .
- For every , holds exactly when .
The language is polynomial-time reducible to , written , if such an exists.
Remarks
Example: let be the set of encodings of pairs where the graph has an independent set of size . Let be the set of pairs where has a clique of size . The map , with the complement graph, is computable in polynomial time. A set of vertices is independent in exactly when it is a clique in , so clause 2 holds and .
Non-example: the map that sends to a fixed yes-instance of when holds, and to a fixed no-instance otherwise, satisfies clause 2. No polynomial-time algorithm is known to compute it, so it is not known to satisfy clause 1.
Such reductions are also called Karp reductions or polynomial-time many-one reductions. The relation is reflexive and transitive. If and P, then . A Cook reduction is the weaker notion where is decided in polynomial time by a machine that may ask many questions about .
Reading path
To understand this page from the ground up, read these 6 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Formal language concept
- Many-one reduction concept
- P concept
- Time complexity concept
- Turing machine concept
- Polynomial-time reduction definition
Further reading
About this page
| Tag | QXPJTWGE4D |
|---|---|
| URI | m2://QXPJTWGE4D |
| Kind | definition |
| Writing | W0 stub |
| MSC | 68Q17, 68Q15 |
| Defines | Polynomial-time reduction |
| Uses | Formal language, Turing machine, Time complexity, Many-one reduction, P |
| Changed | 3 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.