← back to proofs

Statements and Logic

Jim Hefferon · GFDL + CC BY-SA 2.5 · Introduction to Proofs

A proposition is a statement that is either true or false. Logical connectives (and, or, not, implies) combine propositions into compound statements. The truth value of any compound statement is determined entirely by the truth values of its parts.

Propositions

A proposition is a declarative sentence with a definite truth value. "5 is prime" is a proposition (true). "Close the door" is not. "x + 1 = 3" is not, until you fix x. Questions and commands are never propositions.

Scheme

Connectives

The four main connectives: not (negation), and (conjunction), or (disjunction), and implies (conditional). "Or" in math is inclusive: P or Q is true when both are true.

Scheme

Truth tables

A truth table lists every possible combination of truth values for the inputs and shows the output. For two variables, that is four rows. The implication P implies Q is false only when P is true and Q is false. This is the row that trips everyone up.

P Q P → Q T T T T F F F T T F F T Only false when a true premise leads to a false conclusion
Scheme

Logical equivalence

Two compound statements are logically equivalent when they have the same truth value for every possible assignment. The most important equivalence: P implies Q is equivalent to (not Q) implies (not P). This is the contrapositive, and it is the basis of an entire proof technique.

Scheme

The conditional — why "false implies anything" is true

The conditional P implies Q is a promise: "if P happens, then Q will happen." It can only be broken when P happens and Q does not. If P never happens, the promise is vacuously kept. "If pigs fly, I will eat my hat" is true, because pigs do not fly. This is vacuous truth.

Scheme
Neighbors