Can somebody explain the why if we eliminate RAA rule in natural deduction system on propositional logic, why
~$(p \wedge $~$p)$ is not inference from the resulting system, but ~~ $p \to p$ can deduce from this.
any idea or hint for this type of question is so appreciated.
We assume the usual abbreviation : $\lnot p$ for $p \to \bot$.
Here is the proof of $\lnot (p \land \lnot p)$ :
1) $p \land \lnot p$ --- assumed [a]
2) $p$ --- by $\land$-elimination
3) $\lnot p$ --- by $\land$-elimination
4) $\bot$ --- from 2) and 3) by $\to$-elimination, with the abbreviation
The proof nowhere uses RAA.
The RAA rule, or rule for indirect proof, can be expresses as :
and is equivalent to Double Negation : $\lnot \lnot p \to p$.
About : $(p∧ \lnot p) \to q$, we can derive it as follows :
1) $p∧ \lnot p$ --- assumed [a]
2) $p$ --- by $\land$-elimination
3) $\lnot p$ --- by $\land$-elimination
4) $\bot$ --- from 2) and 3) by $\to$-elimination
5) $q$ --- from 4) by $\bot$-rule
Neither this proof needs RAA.