Logic, Sets and Infinity

Why a False Premise Makes an Implication True

See why mathematicians call "if P then Q" true whenever P is false, with promises, set pictures and a short proof of the point.

Key takeaways

  • A conditional is false in exactly one case, when its "if" part is true and its "then" part is false.
  • General statements such as "if n is a multiple of 4, then n is even" must stay true for numbers that are not multiples of 4.
  • A statement that is true only because its condition never happens is called vacuously true, and it tells you nothing about the conclusion.
  • The logical conditional records a pattern of truth values and makes no claim about cause, relevance or time.

In mathematical logic, "if P then Q" claims only one thing: you will never find P true while Q is false. When P is false, that forbidden situation has not occurred, so the claim has not been broken, and logic records it as true.

This is a choice about what the symbol → means, but it is far from arbitrary. It is the only choice that lets ordinary mathematical statements such as "every multiple of 4 is even" come out true for every number you can feed them.

The table that causes the trouble

Here is the definition of the conditional. In P → Q, the statement P is the antecedent (the "if" part) and Q is the consequent (the "then" part).

P Q P → Q
true true true
true false false
false true true
false false true

The first two rows rarely bother anyone. The last two lead to sentences such as "if 5 is even, then Paris is in Japan", which this table calls true. Your instinct may be to call it nonsense, or to say it has no truth value at all.

Classical logic does not allow the second option. As explained in the introduction to truth tables, every compound statement must get a value for every combination of inputs. So the real question is which value serves best.

The promise that cannot be broken

Say a teacher announces, "If you score full marks, I will give you a sticker." Consider four students.

  • One scores full marks and gets a sticker. The promise held.
  • One scores full marks and gets nothing. The teacher broke the promise.
  • One scores less and gets a sticker anyway. Nothing was promised about that case.
  • One scores less and gets nothing. Again, nothing was broken.

Only the second student has grounds to complain. If "the promise is true" means "the teacher has not broken it", then three of the four cases are true.

The analogy has limits. In everyday speech, the third case might feel like cheating, because we often hear "if" as "only if". Mathematics keeps those apart. The two-way statement is written "if and only if", and you prove it in two separate halves, as described in proving if and only if statements.

The strongest reason: general statements

Consider this claim about whole numbers: for every n, if n is a multiple of 4, then n is even. Everyone agrees it is true. Being true "for every n" means that each individual substitution must produce a true statement. Try three.

n n is a multiple of 4 n is even the conditional must be
8 true true true
6 false true true
3 false false true

These three numbers supply exactly the rows with a true or false antecedent that we were arguing about. If the number 3 made the conditional false, then the claim about all multiples of 4 would be refuted by a number that is not a multiple of 4. That would be absurd.

So any definition of "if-then" that lets true general theorems stay true has to fill in rows 3 and 4 with "true". The fourth possible row, antecedent true and consequent false, is what a counterexample looks like. Disproving a general claim always means producing such a case.

Testing 'for every n: if A(n) then B(n)'
1 Pick any n Every value must pass 2 Is A(n) true? If not, n passes automatically 3 Then check B(n) True passes, false fails 4 One failure That n is a counterexample Pick any n Every value must pass 1 Is A(n) true? If not, n passes automatically 2 Then check B(n) True passes, false fails 3 One failure That n is a counterexample 4

What the other options would give

There are four ways to fill the two disputed rows. Compare each result with what you already know.

Row 3 (F, T) Row 4 (F, F) The resulting table is the same as
true true the conditional we use
true false just Q
false true P ↔ Q (if and only if)
false false P ∧ Q (and)

Check the second line: the output would be true, false, true, false, which simply copies Q and ignores P. The third line makes "if P then Q" identical to its converse "if Q then P". The fourth turns "if" into "and". Only the first choice yields a connective that has a direction and still depends on both inputs in the way a conditional should.

Vacuous truth and the empty set

A conditional that is true because its antecedent never holds is called vacuously true. "Every even prime greater than 2 is a perfect square" is an example. There are no even primes greater than 2, so there is nothing that could violate it. "Every even prime greater than 2 is not a perfect square" is true for the same reason, and the two do not clash.

Set language makes this vivid. "A is a subset of B" means: for every x, if x is in A, then x is in B. When A is the empty set, the set with no members, the antecedent is false for every x. So the empty set is a subset of every set. That fact is not a special rule added by hand. It falls out of the truth table, and it matters when you count subsets, as in power sets.

The same thing happens at the edges of definitions. A list with one item is sorted, because the condition "whenever two items are out of order" never applies.

A one-line argument from valid rules

You can also reach row 4 and row 3 from rules most people accept. Start with the statement (P ∧ Q) → P: "if both P and Q, then P". This should be true in all circumstances.

Now choose truth values. If P is true and Q is false, then P ∧ Q is false and P is true, giving a false antecedent with a true consequent. If P and Q are both false, the antecedent and consequent are both false. Since the whole statement is meant to be true every time, both of those patterns must come out true.

What this does not mean

A false antecedent does not let you conclude anything about Q. From "if 5 is even, then 5 is divisible by 2" you cannot deduce that 5 is divisible by 2, because the rule that detaches the consequent, called modus ponens, needs the antecedent to be true. See the standard rules of inference.

It is also not a claim about causes. "If the Moon is made of cheese, then 7 is prime" is true in this logic, but nobody should think cheese has any effect on 7. The symbol → is often called the material conditional to signal that it tracks truth values only. Philosophers have long discussed this gap, sometimes under the name "paradoxes of material implication". Other logics, including relevance logics and logics of counterfactuals, try to capture stronger senses of "if". They are real fields of study, while ordinary mathematics gets along with the material version.

A related idea is the principle of explosion: from a contradiction such as P ∧ ¬P, classical logic lets you derive any statement. It is one reason a consistent set of axioms matters so much.

Other ways to say the same thing

Seeing the conditional in different forms helps the odd rows feel normal. Each statement below has exactly the same truth table.

  • "If P then Q."
  • "Not P, or Q."
  • "It is not the case that P holds while Q fails."
  • "P is sufficient for Q."
  • "Q is necessary for P."
  • "P only if Q."

Take the second form. "Either this number is not a multiple of 4, or it is even" is plainly true of the number 7: the first half already holds. Nobody finds that strange, yet it says precisely what "if 7 is a multiple of 4, then 7 is even" says in mathematical logic.

How to use this when you prove things

  • To prove "if P then Q", assume P and derive Q. You never need to treat the case where P is false, because it takes care of itself.
  • To prove the same thing indirectly, assume Q is false and show P is false. This is proof by contrapositive.
  • To disprove it, find one case with P true and Q false.
  • To negate it, write "P and not Q". The negation is not another "if" sentence.

Here is a quick check. Is the claim "for all real x, if x² < 0, then x = 100" true? No real number has a negative square, so the antecedent fails every time. The claim is vacuously true, and it gives you no number equal to 100, because there is no x you could ever apply it to.

A reasonable way to feel comfortable

If the word "true" still grates, read it as "not falsified". A conditional is a guarantee about a certain kind of situation. When that situation does not arise, the guarantee stands unviolated. Once you hold on to that reading, the two strange rows stop looking like claims about nonsense and start looking like the quiet cases a good theorem is allowed to pass over.

Written for 4Mathematics with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 41 articles in Logic, Sets and Infinity →

Latest news on this topic