What Do Lost Keys Have to Do with P vs NP?
Recorded in English
I studied electronic information engineering in college and still never understood P vs NP, until I heard Avi Wigderson on The Peterman Pod explain it with lost keys: finding an answer can be hard, but checking it can be easy. It's kind of amazing that a story about lost keys leads to a question this big, and it makes me wonder how much we can really know.
00:00 Hi, I’m Helia.
00:02 So, I studied electronic information engineering in college,
00:06 and somehow,
00:08 I still had no idea what ‘P versus NP’ meant.
00:12 Like, at all.
00:14 But one day,
00:15 I heard Avi Wigderson explain it on The Peterman Pod,
00:20 and it finally clicked.
00:22 Okay, so imagine you’ve lost your keys.
00:25 You check the couch,
00:27 your bag,
00:28 and the kitchen.
00:30 Pretty much everywhere.
00:31 But nothing.
00:33 Then someone goes,
00:34 ‘Hey, aren’t they on the windowsill?’
00:37 And then you look over,
00:39 and you’re like,
00:40 ‘Oh! Yep,
00:41 there they are.’
00:43 So, you know,
00:44 finding them was hard, right?
00:46 But once someone pointed them out,
00:48 you knew right away.
00:49 And that’s the basic idea.
00:51 I mean, finding an answer can be hard,
00:54 even when checking it is easy.
00:57 Let’s say you’re stuck on a math problem.
01:00 Like, you could spend hours trying to solve it.
01:04 But if someone gives you an answer,
01:06 you might be able to check it in seconds.
01:10 And Avi’s point is,
01:12 pretty much every big problem we care about
01:15 works like that.
01:17 You know,
01:17 like a math proof,
01:19 a scientific theory,
01:20 even a detective solving a case.
01:23 And that is where P and NP come in.
01:26 So, P is basically about
01:29 problems computers can solve quickly.
01:31 And NP is about
01:34 problems where computers
01:35 can check a possible answer quickly.
01:38 Now, here’s the big question.
01:41 If we can check an answer quickly,
01:43 can we always find it quickly too?
01:46 And yeah, that’s it.
01:48 That’s P versus NP.
01:51 And if the answer is yes?
01:54 Well, that would change a lot.
01:56 And Avi even brings up something
01:59 as big as a cure for cancer.
02:01 But then again,
02:03 most computer scientists think the answer is no.
02:07 And the thing is,
02:09 nobody’s proved it either way.
02:11 And I don’t know,
02:14 it’s kind of wild that a story about lost keys
02:17 leads to such a big question.
02:19 Which makes me wonder...
02:21 How much can we really know?