| ▲ | bluGill 16 hours ago | |
I haven't looked at the formal definitions in a long time. As I recall P=NP refers to NP complete, not NP hard. | ||
| ▲ | eru 4 hours ago | parent [-] | |
I think you are right. Sorry, I'm always mixing up NP-hard and NP-complete. If I looked up the definitions right: NP-hard problems can be outside of NP, they just have to be able to help you solve all NP problems. NP-complete problems need to be in NP. So the halting problem is NP-hard, but harder than NP-complete. As an additional wrinkle: all of these definitions are for decision problems, ie where the answer is just a single bit. But it's usually relatively easy to adapt everything so that you can extract more than a single bit. (Eg by running lots of slightly altered problems and piecing the answer together from that.) To give a silly example: we say that sorting is in P, but the output of sorting a list is a whole permutation, not just a single bit. | ||