2

I am having trouble with the following question:

Give natural deduction proofs of the following formulas (from no assumptions): $p \to p$.

Here is what I have so far:

$$\begin{array}{|l}\hline~~\begin{array}{|l}1.~p \\\hline 2.~p \end{array}&\raise {1ex}{\rm A\\\rm R,1} \\n.~ p\to p &\rm I\to,1{-}2\end{array}$$

How do I proceed if I want to prove that $p\to p$ follows from the assumption $p$? I know that this question is poorly formatted, but any help would still be appreciated.

Thanks

1 Answers1

1

Yes, your proof is correct. Here are the steps you provided in a proof checker showing they are correct:

enter image description here

This proof checker would accept even a shorter proof:

enter image description here


Kevin Klement's JavaScript/PHP Fitch-style natural deduction proof editor and checker http://proofs.openlogicproject.org/

Frank Hubeny
  • 1,527