Formal Definition For NP-completeness
There are many equivalent ways of describing NP-completeness.
Let be a language over a finite alphabet .
is NP-complete if, and only if, the following two conditions are satisfied:
- ; and
- any is polynomial-time-reducible to (written as ), where if, and only if, the following two conditions are satisfied:
- There exists such that
; and
- there exists a polynomial-time Turing machine that halts with on its tape on any input .
- There exists such that
Read more about this topic: P Versus NP Problem
Famous quotes containing the words formal and/or definition:
“The manifestation of poetry in external life is formal perfection. True sentiment grows within, and art must represent internal phenomena externally.”
—Franz Grillparzer (17911872)
“The man who knows governments most completely is he who troubles himself least about a definition which shall give their essence. Enjoying an intimate acquaintance with all their particularities in turn, he would naturally regard an abstract conception in which these were unified as a thing more misleading than enlightening.”
—William James (18421910)