Inference, continued

Lecture 6, DSCI 220, 2026W1

Announcements

Inference Practice

https://us.prairielearn.com/pl/course_instance/209866/assessment/2733328

Build a proof

Premises

  1. D→R (deadline ⇒ review session)
  2. R→C (review ⇒ crowded café)
  3. D

Goal: C

Premises

  1. P∨Q (pizza or quinoa)
  2. ¬P∨R (not pizza or ramen)
  3. ¬Q (no quinoa)

Goal: R

Design a Trap

Your task:

  • Write one valid two-premise argument (any rule).
  • Write a fallacy using the same topic.

A Puzzle

Your friend _______ .

  1. If BC has Chunkys, they go to BC.
  2. If they go to BC, they miss the kitten.
  3. They did not miss the kitten.
  4. They went out today.
  5. They only go out for Chunkys or for kittens.
  6. Nobody goes out for a kitten unless they love kittens.


Do they love kittens?

Resolution Revisited

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: ________________________

Clauses

# 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\) ☐

Conjunctive Normal Form

An AND of clauses. Every expression has one…

Expression Law
\(\neg(p \rightarrow q) \vee r\)

Foreshadowing Wednesday

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.