The form of a modus tollens argument is a mixed hypothetical syllogism, with two premises and a conclusion:
The first premise is a conditional ("if-then") claim, such as P implies Q. The second premise is an assertion that Q, the consequent of the conditional claim, is not the case. From these two premises it can be logically concluded that P, the antecedent of the conditional claim, is also not the case.
For example:
Supposing that the premises are both true (the dog will bark if he or she detects an intruder, and does indeed not bark), it logically 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 dog detects an intruder". The thing of importance is that the dog detects or does not detect an intruder, not whether there is one.)
Example 1:
Example 2:
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:
Likewise, every use of modus ponens can be converted to a use of modus tollens and transposition.
The modus tollens rule can be stated formally as:
where P → Q {\displaystyle P\to Q} stands for the statement "P implies Q". ¬ Q {\displaystyle \neg Q} stands for "it is not the case that Q" (or in brief "not Q"). Then, whenever " P → Q {\displaystyle P\to Q} " and " ¬ Q {\displaystyle \neg Q} " each appear by themselves as a line of a proof, then " ¬ P {\displaystyle \neg P} " can validly be placed on a subsequent line.
The modus tollens rule may be written in sequent notation:
where ⊢ {\displaystyle \vdash } is a metalogical symbol meaning that ¬ P {\displaystyle \neg P} is a syntactic consequence of P → Q {\displaystyle P\to Q} and ¬ Q {\displaystyle \neg Q} in some logical system;
or as the statement of a functional tautology or theorem of propositional logic:
where P {\displaystyle P} and Q {\displaystyle Q} 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 first-order predicate logic:
("For all x if x is P then x is Q. y is not Q. Therefore, y 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.
The validity of modus tollens can be clearly demonstrated through a truth table.
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.
Modus tollens represents an instance of the law of total probability combined with Bayes' theorem expressed as:
Pr ( P ) = Pr ( P ∣ Q ) Pr ( Q ) + Pr ( P ∣ ¬ Q ) Pr ( ¬ Q ) , {\displaystyle \Pr(P)=\Pr(P\mid Q)\Pr(Q)+\Pr(P\mid \lnot Q)\Pr(\lnot Q)\,,}
where the conditionals Pr ( P ∣ Q ) {\displaystyle \Pr(P\mid Q)} and Pr ( P ∣ ¬ Q ) {\displaystyle \Pr(P\mid \lnot Q)} are obtained with (the extended form of) Bayes' theorem expressed as:
Pr ( P ∣ Q ) = Pr ( Q ∣ P ) a ( P ) Pr ( Q ∣ P ) a ( P ) + Pr ( Q ∣ ¬ P ) a ( ¬ P ) {\displaystyle \Pr(P\mid Q)={\frac {\Pr(Q\mid P)\,a(P)}{\Pr(Q\mid P)\,a(P)+\Pr(Q\mid \lnot P)\,a(\lnot P)}}\;\;\;} and Pr ( P ∣ ¬ Q ) = Pr ( ¬ Q ∣ P ) a ( P ) Pr ( ¬ Q ∣ P ) a ( P ) + Pr ( ¬ Q ∣ ¬ P ) a ( ¬ P ) . {\displaystyle \Pr(P\mid \lnot Q)={\frac {\Pr(\lnot Q\mid P)\,a(P)}{\Pr(\lnot Q\mid P)\,a(P)+\Pr(\lnot Q\mid \lnot P)\,a(\lnot P)}}.}
In the equations above Pr ( Q ) {\displaystyle \Pr(Q)} denotes the probability of Q {\displaystyle Q} , and a ( P ) {\displaystyle a(P)} denotes the base rate (aka. prior probability) of P {\displaystyle P} . The conditional probability Pr ( Q ∣ P ) {\displaystyle \Pr(Q\mid P)} generalizes the logical statement P → Q {\displaystyle P\to Q} , i.e. in addition to assigning TRUE or FALSE we can also assign any probability to the statement. Assume that Pr ( Q ) = 1 {\displaystyle \Pr(Q)=1} is equivalent to Q {\displaystyle Q} being TRUE, and that Pr ( Q ) = 0 {\displaystyle \Pr(Q)=0} is equivalent to Q {\displaystyle Q} being FALSE. It is then easy to see that Pr ( P ) = 0 {\displaystyle \Pr(P)=0} when Pr ( Q ∣ P ) = 1 {\displaystyle \Pr(Q\mid P)=1} and Pr ( Q ) = 0 {\displaystyle \Pr(Q)=0} . This is because Pr ( ¬ Q ∣ P ) = 1 − Pr ( Q ∣ P ) = 0 {\displaystyle \Pr(\lnot Q\mid P)=1-\Pr(Q\mid P)=0} so that Pr ( P ∣ ¬ Q ) = 0 {\displaystyle \Pr(P\mid \lnot Q)=0} in the last equation. Therefore, the product terms in the first equation always have a zero factor so that Pr ( P ) = 0 {\displaystyle \Pr(P)=0} which is equivalent to P {\displaystyle P} being FALSE. Hence, the law of total probability combined with Bayes' theorem represents a generalization of modus tollens.5
Modus tollens represents an instance of the abduction operator in subjective logic expressed as:
ω P ‖ ~ Q A = ( ω Q | P A , ω Q | ¬ P A ) ⊚ ~ ( a P , ω Q A ) , {\displaystyle \omega _{P{\tilde {\|}}Q}^{A}=(\omega _{Q|P}^{A},\omega _{Q|\lnot P}^{A}){\widetilde {\circledcirc }}(a_{P},\,\omega _{Q}^{A})\,,}
where ω Q A {\displaystyle \omega _{Q}^{A}} denotes the subjective opinion about Q {\displaystyle Q} , and ( ω Q | P A , ω Q | ¬ P A ) {\displaystyle (\omega _{Q|P}^{A},\omega _{Q|\lnot P}^{A})} denotes a pair of binomial conditional opinions, as expressed by source A {\displaystyle A} . The parameter a P {\displaystyle a_{P}} denotes the base rate (aka. the prior probability) of P {\displaystyle P} . The abduced marginal opinion on P {\displaystyle P} is denoted ω P ‖ ~ Q A {\displaystyle \omega _{P{\tilde {\|}}Q}^{A}} . The conditional opinion ω Q | P A {\displaystyle \omega _{Q|P}^{A}} generalizes the logical statement P → Q {\displaystyle P\to Q} , i.e. in addition to assigning TRUE or FALSE the source A {\displaystyle A} can assign any subjective opinion to the statement. The case where ω Q A {\displaystyle \omega _{Q}^{A}} is an absolute TRUE opinion is equivalent to source A {\displaystyle A} saying that Q {\displaystyle Q} is TRUE, and the case where ω Q A {\displaystyle \omega _{Q}^{A}} is an absolute FALSE opinion is equivalent to source A {\displaystyle A} saying that Q {\displaystyle Q} is FALSE. The abduction operator ⊚ ~ {\displaystyle {\widetilde {\circledcirc }}} of subjective logic produces an absolute FALSE abduced opinion ω P ‖ ~ Q A {\displaystyle \omega _{P{\widetilde {\|}}Q}^{A}} when the conditional opinion ω Q | P A {\displaystyle \omega _{Q|P}^{A}} is absolute TRUE and the consequent opinion ω Q A {\displaystyle \omega _{Q}^{A}} is absolute FALSE. Hence, subjective logic abduction represents a generalization of both modus tollens and of the Law of total probability combined with Bayes' theorem.6
Stone, Jon R. (1996). Latin for the Illiterati: Exorcizing the Ghosts of a Dead Language. London: Routledge. p. 60. ISBN 978-0-415-91775-9. 978-0-415-91775-9 ↩
Sanford, David Hawley (2003). If P, Then Q: Conditionals and the Foundations of Reasoning (2nd ed.). London: Routledge. p. 39. ISBN 978-0-415-28368-7. [Modus] tollens is always an abbreviation for modus tollendo tollens, the mood that by denying denies. 978-0-415-28368-7 ↩
Susanne Bobzien (2002). "The Development of Modus Ponens in Antiquity", Phronesis 47. /wiki/Susanne_Bobzien ↩
"Ancient Logic: Forerunners of Modus Ponens and Modus Tollens". Stanford Encyclopedia of Philosophy. http://plato.stanford.edu/entries/logic-ancient/#StoSyl ↩
Audun Jøsang 2016:p.2 ↩
Audun Jøsang 2016:p.92 ↩