Skip to content

Commit

Permalink
data473 today's lecture plan
Browse files Browse the repository at this point in the history
  • Loading branch information
gavryushkin committed Oct 5, 2023
1 parent 11471fe commit 24600a2
Showing 1 changed file with 38 additions and 6 deletions.
44 changes: 38 additions & 6 deletions teaching/DATA473.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ <h3>Table of contents</h3>
<li> <a href="#/L7">Lecture 7: Basic algorithms recap</a>
<li> <a href="#/L8">Lecture 8: Sorting</a>
<li> <a href="#/L9">Lecture 9: NP-hard problems</a>
<li> <a href="#/L10">Lecture 10: Proving NP-hardness</a>
</ul>
<!--
<li> <a href="#/P2">Part 2: Scalability in statistical learning</a>
Expand Down Expand Up @@ -675,6 +676,43 @@ <h3>The divide-and-conquer paradigm</h3>
A computational problem is NP-hard if a polynomial-time algorithm solving it would refute the P$\neq$NP conjecture.
</section>

<section data-markdown id="L10">
## Lecture 10: Proving NP-hardness
</section>

<section data-markdown>
Definitions recap
- P
- NP
- P$\neq$NP
- NP-hardness
</section>

<section data-markdown>
Proving NP-hardness

![](images/rai_proving_np_hardness.png)
</section>

<section>
<section data-markdown>
### Cook-Levine Theorem
</section>

<section data-markdown>
### Problem: Satisfiability
- **Input**: A list of Boolean decision variables $x_1, x_2,\ldots, x_n$; and a list of constraints, each a disjunction of one or more literals.
- **Output**: A truth assignment to $x_1, x_2,\ldots, x_n$ that satisfies every constraint, or a correct declaration that no such truth assignment exists.
</section>
</section>

<section data-markdown>
### The Exponential Time Hypothesis (ETH)

There is a constant $c > 1$ such that: Every algorithm that solves the 3-SAT problem requires time at least $c^n$ in the worst case, where n denotes the number of variables.
</section>


<section>
<h3>Three facts about NP-hard problems</h3>
<ol>
Expand All @@ -696,12 +734,6 @@ <h3>Three properties (you can't have them all)</h3>
</ol>
</section>

<section data-markdown>
Proving NP-hardness

![](images/rai_proving_np_hardness.png)
</section>

<section>
<h3>Rookie mistakes</h3>
<ol>
Expand Down

0 comments on commit 24600a2

Please sign in to comment.