Lecture 6, DSCI 220, 2026W1
https://us.prairielearn.com/pl/course_instance/209866/assessment/2733328
Premises
D→R (deadline ⇒ review session)R→C (review ⇒ crowded café)DGoal: C
Premises
P∨Q (pizza or quinoa)¬P∨R (not pizza or ramen)¬Q (no quinoa)Goal: R
Your task:
Your friend _______ .
Do they love kittens?
From p∨q and ¬p∨r infer q∨r.
Both inputs have the same shape, and the result has the same shape.
Vocabulary:
Literal: ____________________
Clause: ____________________
That shape: ________________________
| # | Expression | Clause? |
|---|---|---|
| 1 | \(p \vee \neg q \vee r\) | ☐ |
| 2 | \(\neg p\) | ☐ |
| 3 | \(p \wedge \neg q\) | ☐ |
| 4 | \(\neg(p \vee q)\) | ☐ |
| 5 | \(p \vee (q \wedge r)\) | ☐ |
| 6 | \(\neg\neg p \vee q\) | ☐ |
An AND of clauses. Every expression has one…
| Expression | Law |
|---|---|
| \(\neg(p \rightarrow q) \vee r\) | |
Where we started. Given statements (premises), a conclusion, and ten rules. Pick a rule, pick what to apply it to, repeat until conclusion.
So why is that hard to hand to a machine?
________________________________________
With CNF we only need RES.