So I'm new to Discrete math and I'm having difficulty proving this proof: $$¬ (¬ p∧q)$$ $$p → r$$ $$¬ r$$ therefore, ¬ q So far I've only managed to get this far:
- $¬ r$ - Premise
- $p → r$ - Premise
- $¬ p$ - Modus tollens (1)(2)
- $¬ (¬ p∧q)$- Premise
- $(p∧q)$- Double Negation (4)
- $p$ - by Simplification (5)
At this point I have no idea what to do next. Any help will be appreciated.
$\def\fitch#1#2{~\begin{array}{|l}#1\\\hline#2\end{array}}$
No, you cannot apply double negation elimination to $\neg(\neg p\wedge q)$. That is not a double negated term; it is the negation of a conjunction where one of the conjuncts is a negation.
Still, the modus tollens is correct (if that is an available rule). Now as you wish to prove $\neg q$, you should have first assumed $q$ and demonstrated that would produce a contradiction.
$$\fitch{ 1.\quad ¬ (¬ p∧q) \\ 2.\quad p → r \\3.\quad ¬ r }{\fitch{4.\quad q\qquad\quad\text{assumption}}{5.\quad\neg p\qquad~~\text{2, 3, modus tollens }\\\vdots\\?.\quad\bot}\\\Box.\quad\neg q\qquad\quad\text{4 - ?, negation introduction}}$$
You should be able to complete this.
Alternatively, if deMorgan's Rules are accepted, it sets things up nicely.
$$\fitch{ 1.\quad ¬ (¬ p∧q) \\ 2.\quad p → r \\3.\quad ¬ r }{4.\quad\neg p\qquad\qquad~~~\text{2, 3, modus tollens}\\5.\quad \neg\neg p\vee \neg q\qquad\text{1, de Morgan's}\\\Box.\quad\neg q\qquad\qquad~~\text{4,5, some reason}}$$
(PS: Still not double negation)