In my math class, we are learning about direct proofs. Our lecturer tells us that you can prove an implication, by assuming the antecedent and then showing that the consequent must be true as well. But I am confused about two things. Namely
- Where does this "rule" come from?
- Why is it appropriate to deduce this relationship from this simple "checking"?
For (2), suppose that there is a true statement $P\implies Q$. A direct proof assumes $P$ and then shows $Q$ as well. But why does this infer specifically implication, rather than, $P \land Q$, since the only situation that was checked is shared by both those statements i.e. $P$ true and $Q$ true?
It's called the Deduction Theorem which is a theorem (or more properly, a "metatheorem", a theorem about theorems) from mathematical logic.
It establishes that if you have a formal proof of the implication $P\to Q$, then you can modify it to obtain a formal proof of $Q$ that starts from the additional assumption of $P$; and conversely, that if from the additional assumption of $P$ you can construct a formal proof of $Q$, then this proof can be used to construct a formal proof of $P\to Q$.
Thus, proving $P\to Q$ is equivalent to proving $Q$ from the additional assumption of $P$.