CSCI 301 L06 Notes

Lecture 6 - Notes

Logic 3

Announcements

Equivalences

You can check whether two statements are equivalent by seeing if their truth tables match exactly.

Example: Does \(\land\) distribute over \(\lor\)? In other words

\(A \land (B \lor C) \stackrel{?}{\equiv} (A \land B) \lor (A \land C)\)

Do Exercises Part A

Negation

In the last exercises, we saw some important equivalences that allow us to negate common expressions.

#4-5 - De Morgan’s laws can negate statements involving the and \((\land)\) and or \((\lor)\) operators: \[ \begin{align*} \neg{(P \land Q) \equiv (\neg P) \lor (\neg Q)}\\ \neg{(P \lor Q) \equiv (\neg P) \land (\neg Q)} \end{align*} \]

#6 - negate a conditional statement: \[ \neg (P \Rightarrow Q) \equiv P \land \neg Q \]

What about negating quantifiers - how would you negate each of the following?

See also the equivalences reference sheet.

Do Exercises Part B

Logical Inference

Given the truth value of one or more, deduce the truth value of another statement. Most of these are intuitive and you don’t need to memorize the names, but here they are: