|Cogito ergo sum|
Logic and rhetoric
Modus tollens ("mode of taking") is a logical argument, or rule of inference. (Compare with modus ponens, or "mode of putting.") It is also known as indirect proof or proof by contrapositive, and is a valid form of argument in formal logic.
As an argument
A modus tollens argument has the following form:
- P1: If X, then Y. (i. e. Either not X or Y)
- P2: Not Y.
- C: Therefore, not X.
- P1: If it is raining, the ground is wet. (i. e. It is not raining or the ground is wet.)
- P2: The ground is not wet.
- C: Therefore, it is not raining.
The contrapositive of "if X then Y" is "if not Y then not X"; if a proposition is true, then so is its contrapositive.
As a rule of inference
In propositional logic:
In first-order logic:
Denying the antecedent
It can be contrasted with the fallacy of denying the antecedent, for instance (using the above example) "it is not raining, therefore the ground is not wet" (obviously untrue if you're standing in a lake). Denying the antecedent asserts not-X rather than not-Y.