I've been working through the book First Course in Mathematical Logic by Patrick Suppes and Shirley Hill. I'm trying to determine if I'm misunderstanding DeMorgan's law, or there is simply a typo in the book's examples.
My understanding is that the conversions between sentences can be made by the following three steps...
- Convert between disjunction and conjunction
- Negate each symbol in the conjunction/disjunction
- Negate the whole formula
The book provides the following example, with step 1 being the premise, and 2 being the output of applying those steps for DeMorgan's law
- $\lnot(P \land Q)$
- $P \lor \lnot Q$
It looks like a typo to me, as I would expect
- $\lnot(P \land Q)$
- $\lnot P \lor \lnot Q$
Is my understanding correct, or am I misunderstanding the steps? Thanks!