Save this video free

NP-Complete

Kent Quanrud · 1:18:23 · Watch on YouTube

NP-Complete Watch on YouTube →

Overview

Kent Quanrud connects graph-coloring reductions to the central complexity-theory result that every problem with a polynomial-time-verifiable certificate can be encoded as a polynomial-size circuit, then reduced to 3-SAT. The chain of reductions explains why problems such as 3-coloring, independent set, Hamiltonian path, and subset sum are NP-complete, while the distinction between polynomial-time computation and verification remains the open P versus NP question.

Key takeaways

Chapters

0:00 From SAT to Graph Problems: Recapping the Hardness Toolkit
2:20 Graph Coloring and the Four-Color Lower Bound
6:15 List Coloring Encodes Allowed Colors with a Palette Triangle
13:30 Reducing 3-SAT Clauses to List-Coloring Gadgets
26:30 Why Programs with Memory Are Not Directly Circuits
35:00 Unrolling Time Turns a Polynomial-Time Program into a Circuit
41:30 Polynomial-Time Certificates: The Good Will Hunting Example
48:30 Verifier Circuits Make Circuit SAT a Universal Target
54:00 NP as Polynomial-Time Verification or Nondeterministic Computation
59:00 NP-Hard, NP-Complete, and the P Versus NP Question
1:01:00 Richard Karp’s 1972 Reductions Connected Classic Problems
1:06:00 Two Algorithmic Thinking Styles Behind the Complexity Picture
1:08:00 Why Proving P Is Not NP Is Hard
1:11:00 Cantor’s Diagonal Argument and Turing’s Halting Problem
1:16:00 New Models of Computation Can Change the Questions We Can Ask

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:03 Okay. All right. So, today's lecture is called polinomial times a flat circle, but it's going to it's going to bring together like kind of a lot of stuff we've been discussing. So, this one's kind of nice. So, what have we been discussing? Ah, same usual warm-up. We started with these kind of boolean formulas. They seem like a perfect fit for computers, but we don't know how to solve them, right? Computer can easily evaluate a boolean formula, but it can't solve a boolean formula. We don't really know why even when we pass to to simpler questions uh like CNFSAT or threes uh we don't seem to be able to solve those either. Um we can um however show that if you can solve three set or some other special case you can solve boolean sat and that's a different kind of result than

0:50 we're typically used to. uh two sat you know was just like this on steroids down to two variables. If it's two setat and you're solving exactly, it actually just turns out to be some kind of clever reachability problem. But if it's max two setat, then we don't have an algorithm. Again, if you can solve max two setat, you can solve boolean formulas. We also did subset sum. Even adding up numbers to a target is as strong as solving a boolean formula. We did longest path in a graph like Hamiltonian path. That also turns out to be hard. Although in a dab you can do anything as you may be finding out in your homework. And last time we did independent set. So you have a bunch bunch of vertices in a graph. You want to take as many as possible. That turns out hard to be to do in a general graph. But if we look at

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Kent Quanrud.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.