Is my understanding of the three categories correct?
To show a problem X is NP:
To show a problem X is NP-Complete:
To show a problem X is NP-Hard:
You almost got it.
Given a problem X, to show it is NPC, you don't need to show X ≤p L, for some NPC problem L.
In fact, this is guaranteed, since you already showed that X is in NP (in 1), and you know L is NP-Complete. By definition of NP-Complete, this means there is a polynomial time reduction from ALL problems in NP to L, including from X, so basically your step (3) in proving NPC is redundant.
A more elegant way to show the statements of what needs to be done to prove each property:
To show X is NP:
To show X is NP-Hard:
OR
L in NP, L ≤p X (this is done only once actually, for SAT, and is the definition of NP-Hard).To show a problem X is NP-Complete:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With