Modus tollens
It has been suggested that this article be merged with Contraposition, Proof by contrapositive, Contraposition (traditional logic) and Transposition (logic). (Discuss) Proposed since May 2015. 
Transformation rules 

Propositional calculus 
Rules of inference 
Rules of replacement 

Predicate logic 
In propositional logic, modus tollens^{}^{}^{}^{} (or modus tollendo tollens and also denying the consequent)^{} (Latin for "the way that denies by denying")^{} is a valid argument form and a rule of inference. It is an application of the general truth that if a statement is true, then so is its contrapositive.
The first to explicitly describe the argument form modus tollens were the Stoics.^{}
The inference rule modus tollens validates the inference from implies and the contradictory of to the contradictory of .
The modus tollens rule can be stated formally as:
where stands for the statement "P implies Q". stands for "it is not the case that Q" (or in brief "not Q"). Then, whenever "" and "" each appear by themselves as a line of a proof, then "" can validly be placed on a subsequent line. The history of the inference rule modus tollens goes back to antiquity.^{}
Modus tollens is closely related to modus ponens. There are two similar, but invalid, forms of argument: affirming the consequent and denying the antecedent. See also contraposition and .
Formal notation
The modus tollens rule may be written in sequent notation:
where is a metalogical symbol meaning that is a syntactic consequence of and in some logical system;
or as the statement of a functional tautology or theorem of propositional logic:
where and are propositions expressed in some formal system;
or including assumptions:
though since the rule does not change the set of assumptions, this is not strictly necessary.
More complex rewritings involving modus tollens are often seen, for instance in set theory:
("P is a subset of Q. x is not in Q. Therefore, x is not in P.")
Also in firstorder predicate logic:
("For all x if x is P then x is Q. There exists some x that is not Q. Therefore, there exists some x that is not P.")
Strictly speaking these are not instances of modus tollens, but they may be derived from modus tollens using a few extra steps.
Explanation
The argument has two premises. The first premise is a conditional or "ifthen" statement, for example that if P then Q. The second premise is that it is not the case that Q . From these two premises, it can be logically concluded that it is not the case that P.
Consider an example:
 If the watchdog detects an intruder, the watchdog will bark.
 The watchdog did not bark.
 Therefore, no intruder was detected by the watchdog.
Supposing that the premises are both true (the dog will bark if it detects an intruder, and does indeed not bark), it follows that no intruder has been detected. This is a valid argument since it is not possible for the conclusion to be false if the premises are true. (It is conceivable that there may have been an intruder that the dog did not detect, but that does not invalidate the argument; the first premise is "if the watchdog detects an intruder." The thing of importance is that the dog detects or doesn't detect an intruder, not if there is one.)
Another example:
 If I am the axe murderer, then I can use an axe.
 I cannot use an axe.
 Therefore, I am not the axe murderer.
Relation to modus ponens
Every use of modus tollens can be converted to a use of modus ponens and one use of transposition to the premise which is a material implication. For example:
 If P, then Q. (premise  material implication)
 If not Q , then not P. (derived by transposition)
 Not Q . (premise)
 Therefore, not P. (derived by modus ponens)
Likewise, every use of modus ponens can be converted to a use of modus tollens and transposition.
Justification via truth table
The validity of modus tollens can be clearly demonstrated through a truth table.
p  q  p → q 

T  T  T 
T  F  F 
F  T  T 
F  F  T 
In instances of modus tollens we assume as premises that p → q is true and q is false. There is only one line of the truth table—the fourth line—which satisfies these two conditions. In this line, p is false. Therefore, in every instance in which p → q is true and q is false, p must also be false.
Formal proof
Via disjunctive syllogism
Step  Proposition  Derivation 

1  Given  
2  Given  
3  Material implication (1)  
4  Disjunctive syllogism (2,3) 
Via reductio ad absurdum
Step  Proposition  Derivation 

1  Given  
2  Given  
3  Assumption  
4  Modus ponens (1,3)  
5  Conjunction introduction (2,4)  
6  Reductio ad absurdum (3,5) 
See also
Notes
External link
 Modus Tollens at Wolfram MathWorld