Inference and Direct Proof
What follows from what, and how to write it down
Adapted from Kameron Decker Harris’s Fall 2026 lecture notes “Logic 4, Proofs Intro, Direct Proof”, which are typed transcriptions of Scott Wehrwein’s Spring 2025 handwritten lecture notes. The rules of inference, the definition of “divides”, the observation that a definition’s “if” means “if and only if”, the template for a direct proof, and the ideas of proof by cases and “without loss of generality” come from those notes; the exercises are new.
The definitions of logical entailment, the integers, even and odd integers, and proof are included from the mathematics prerequisites notes, so they read the same in both places.
1 Rules of inference
Proof. For each rule, suppose every premise is true, and show that the conclusion is true.
- \(P \Rightarrow Q\) is false when \(P\) is true and \(Q\) is false (Definition: Implies). \(P\) is true and \(P \Rightarrow Q\) is true, so \(Q\) is not false.
- \(\neg Q\) is true, so \(Q\) is false (Definition: Not). If \(P\) were true, \(P \Rightarrow Q\) would be false, so \(P\) is false and \(\neg P\) is true.
- \(\neg P\) is true, so \(P\) is false. \(P \lor Q\) is true only if \(P\) or \(Q\) is true (Definition: Or), so \(Q\) is true.
- \(P \land Q\) is true only if both \(P\) and \(Q\) are true (Definition: And), so \(P\) is true.
- \(P\) and \(Q\) are both true, so \(P \land Q\) is true (Definition: And).
- \(P\) is true, so \(P \lor Q\) is true (Definition: Or).