Modus ponens
Type 


Field  
Statement  [math]\displaystyle{ P }[/math] implies [math]\displaystyle{ Q }[/math]. [math]\displaystyle{ P }[/math] is true. Therefore, [math]\displaystyle{ Q }[/math] must also be true. 
Transformation rules 

Propositional calculus 
Rules of inference 
Rules of replacement 
Predicate logic 
In propositional logic, modus ponens (/ˈmoʊdəs ˈpoʊnɛnz/; MP), also known as modus ponendo ponens (from la 'method of putting by placing'),^{[1]} implication elimination, or affirming the antecedent,^{[2]} is a deductive argument form and rule of inference.^{[3]} It can be summarized as "P implies Q. P is true. Therefore, Q must also be true."
Modus ponens is a mixed hypothetical syllogism and is closely related to another valid form of argument, modus tollens. Both have apparently similar but invalid forms: affirming the consequent and denying the antecedent. Constructive dilemma is the disjunctive version of modus ponens.
The history of modus ponens goes back to antiquity.^{[4]} The first to explicitly describe the argument form modus ponens was Theophrastus.^{[5]} It, along with modus tollens, is one of the standard patterns of inference that can be applied to derive chains of conclusions that lead to the desired goal.
Explanation
The form of a modus ponens argument is a mixed hypothetical syllogism, with two premises and a conclusion:
 If P, then Q.
 P.
 Therefore, Q.
The first premise is a conditional ("if–then") claim, namely that P implies Q. The second premise is an assertion that P, the antecedent of the conditional claim, is the case. From these two premises it can be logically concluded that Q, the consequent of the conditional claim, must be the case as well.
An example of an argument that fits the form modus ponens:
 If today is Tuesday, then John will go to work.
 Today is Tuesday.
 Therefore, John will go to work.
This argument is valid, but this has no bearing on whether any of the statements in the argument are actually true; for modus ponens to be a sound argument, the premises must be true for any true instances of the conclusion. An argument can be valid but nonetheless unsound if one or more premises are false; if an argument is valid and all the premises are true, then the argument is sound. For example, John might be going to work on Wednesday. In this case, the reasoning for John's going to work (because it is Wednesday) is unsound. The argument is only sound on Tuesdays (when John goes to work), but valid on every day of the week. A propositional argument using modus ponens is said to be deductive.
In singleconclusion sequent calculi, modus ponens is the Cut rule. The cutelimination theorem for a calculus says that every proof involving Cut can be transformed (generally, by a constructive method) into a proof without Cut, and hence that Cut is admissible.
The Curry–Howard correspondence between proofs and programs relates modus ponens to function application: if f is a function of type P → Q and x is of type P, then f x is of type Q.
In artificial intelligence, modus ponens is often called forward chaining.
Formal notation
The modus ponens rule may be written in sequent notation as
 [math]\displaystyle{ P \to Q,\; P\;\; \vdash\;\; Q }[/math]
where P, Q and P → Q are statements (or propositions) in a formal language and ⊢ is a metalogical symbol meaning that Q is a syntactic consequence of P and P → Q in some logical system.
Justification via truth table
The validity of modus ponens in classical twovalued logic can be clearly demonstrated by use of a truth table.
p  q  p → q 

T  T  T 
T  F  F 
F  T  T 
F  F  T 
In instances of modus ponens we assume as premises that p → q is true and p is true. Only one line of the truth table—the first—satisfies these two conditions (p and p → q). On this line, q is also true. Therefore, whenever p → q is true and p is true, q must also be true.
Status
While modus ponens is one of the most commonly used argument forms in logic it must not be mistaken for a logical law; rather, it is one of the accepted mechanisms for the construction of deductive proofs that includes the "rule of definition" and the "rule of substitution".^{[6]} Modus ponens allows one to eliminate a conditional statement from a logical proof or argument (the antecedents) and thereby not carry these antecedents forward in an everlengthening string of symbols; for this reason modus ponens is sometimes called the rule of detachment^{[7]} or the law of detachment.^{[8]} Enderton, for example, observes that "modus ponens can produce shorter formulas from longer ones",^{[9]} and Russell observes that "the process of the inference cannot be reduced to symbols. Its sole record is the occurrence of ⊦q [the consequent] ... an inference is the dropping of a true premise; it is the dissolution of an implication".^{[10]}
A justification for the "trust in inference is the belief that if the two former assertions [the antecedents] are not in error, the final assertion [the consequent] is not in error".^{[10]} In other words: if one statement or proposition implies a second one, and the first statement or proposition is true, then the second one is also true. If P implies Q and P is true, then Q is true.^{[11]}
Correspondence to other mathematical frameworks
Algebraic semantics
In mathematical logic, algebraic semantics treats every sentence as a name for an element in an ordered set. Typically, the set can be visualized as a latticelike structure with a single element (the "alwaystrue") at the top and another single element (the "alwaysfalse") at the bottom. Logical equivalence becomes identity, so that when [math]\displaystyle{ \neg{(P \wedge Q)} }[/math] and [math]\displaystyle{ \neg{P} \vee \neg{Q} }[/math], for instance, are equivalent (as is standard), then [math]\displaystyle{ \neg{(P \wedge Q)} = \neg{P} \vee \neg{Q} }[/math]. Logical implication becomes a matter of relative position: [math]\displaystyle{ P }[/math] logically implies [math]\displaystyle{ Q }[/math] just in case [math]\displaystyle{ P \leq Q }[/math], i.e., when either [math]\displaystyle{ P = Q }[/math] or else [math]\displaystyle{ P }[/math] lies below [math]\displaystyle{ Q }[/math] and is connected to it by an upward path.
In this context, to say that [math]\displaystyle{ P }[/math] and [math]\displaystyle{ P \rightarrow Q }[/math] together imply [math]\displaystyle{ Q }[/math]—that is, to affirm modus ponens as valid—is to say that the highest point which lies below both [math]\displaystyle{ P }[/math] and [math]\displaystyle{ P \rightarrow Q }[/math] lies below [math]\displaystyle{ P }[/math], i.e., that [math]\displaystyle{ P \wedge (P \rightarrow Q) \leq Q }[/math].^{[loweralpha 1]} In the semantics for basic propositional logic, the algebra is Boolean, with [math]\displaystyle{ \rightarrow }[/math] construed as the material conditional: [math]\displaystyle{ P \rightarrow Q = \neg{P} \vee Q }[/math]. Confirming that [math]\displaystyle{ P \wedge (P \rightarrow Q) \leq Q }[/math] is then straightforward, because [math]\displaystyle{ P \wedge (P \rightarrow Q) = P \wedge Q }[/math] and [math]\displaystyle{ P \wedge Q \leq Q }[/math]. With other treatments of [math]\displaystyle{ \rightarrow }[/math], the semantics becomes more complex, the algebra may be nonBoolean, and the validity of modus ponens cannot be taken for granted.
Probability calculus
If [math]\displaystyle{ \Pr(P \rightarrow Q) = x }[/math] and [math]\displaystyle{ \Pr(P) = y }[/math], then [math]\displaystyle{ \Pr(Q) }[/math] must lie in the interval [math]\displaystyle{ [x + y  1, x] }[/math].^{[loweralpha 2]}^{[12]} For the special case [math]\displaystyle{ x = y = 1 }[/math], [math]\displaystyle{ \Pr(Q) }[/math] must equal [math]\displaystyle{ 1 }[/math].
Subjective logic
Modus ponens represents an instance of the binomial deduction operator in subjective logic expressed as:
[math]\displaystyle{ \omega^{A}_{Q\P} = (\omega^{A}_{QP},\omega^{A}_{Q\lnot P})\circledcirc \omega^{A}_{P}\,, }[/math]
where [math]\displaystyle{ \omega^{A}_{P} }[/math] denotes the subjective opinion about [math]\displaystyle{ P }[/math] as expressed by source [math]\displaystyle{ A }[/math], and the conditional opinion [math]\displaystyle{ \omega^{A}_{QP} }[/math] generalizes the logical implication [math]\displaystyle{ P \to Q }[/math]. The deduced marginal opinion about [math]\displaystyle{ Q }[/math] is denoted by [math]\displaystyle{ \omega^{A}_{Q\P} }[/math]. The case where [math]\displaystyle{ \omega^{A}_{P} }[/math] is an absolute TRUE opinion about [math]\displaystyle{ P }[/math] is equivalent to source [math]\displaystyle{ A }[/math] saying that [math]\displaystyle{ P }[/math] is TRUE, and the case where [math]\displaystyle{ \omega^{A}_{P} }[/math] is an absolute FALSE opinion about [math]\displaystyle{ P }[/math] is equivalent to source [math]\displaystyle{ A }[/math] saying that [math]\displaystyle{ P }[/math] is FALSE. The deduction operator [math]\displaystyle{ \circledcirc }[/math] of subjective logic produces an absolute TRUE deduced opinion [math]\displaystyle{ \omega^{A}_{Q\P} }[/math] when the conditional opinion [math]\displaystyle{ \omega^{A}_{QP} }[/math] is absolute TRUE and the antecedent opinion [math]\displaystyle{ \omega^{A}_{P} }[/math] is absolute TRUE. Hence, subjective logic deduction represents a generalization of both modus ponens and the Law of total probability.^{[13]}
Alleged cases of failure
Philosophers and linguists have identified a variety of cases where modus ponens appears to fail. Vann McGee, for instance, argued that modus ponens can fail for conditionals whose consequents are themselves conditionals.^{[14]} The following is an example:
 Either Shakespeare or Hobbes wrote Hamlet.
 If either Shakespeare or Hobbes wrote Hamlet, then if Shakespeare did not do it, Hobbes did.
 Therefore, if Shakespeare did not write Hamlet, Hobbes did it.
Since Shakespeare did write Hamlet, the first premise is true. The second premise is also true, since starting with a set of possible authors limited to just Shakespeare and Hobbes and eliminating one of them leaves only the other. However, the conclusion is doubtful, since ruling out Shakespeare as the author of Hamlet would leave numerous possible candidates, many of them more plausible alternatives than Hobbes (if the ifthens in the inference are read as material conditionals, the conclusion comes out true simply by virtue of the false antecedent. This is one of the paradoxes of material implication).
The general form of McGeetype counterexamples to modus ponens is simply [math]\displaystyle{ P, P \rightarrow (Q \rightarrow R) }[/math], therefore, [math]\displaystyle{ Q \rightarrow R }[/math]; it is not essential that [math]\displaystyle{ P }[/math] be a disjunction, as in the example given. That these kinds of cases constitute failures of modus ponens remains a controversial view among logicians, but opinions vary on how the cases should be disposed of.^{[15]}^{[16]}^{[17]}
In deontic logic, some examples of conditional obligation also raise the possibility of modus ponens failure. These are cases where the conditional premise describes an obligation predicated on an immoral or imprudent action, e.g., "If Doe murders his mother, he ought to do so gently," for which the dubious unconditional conclusion would be "Doe ought to gently murder his mother."^{[18]} It would appear to follow that if Doe is in fact gently murdering his mother, then by modus ponens he is doing exactly what he should, unconditionally, be doing. Here again, modus ponens failure is not a popular diagnosis but is sometimes argued for.^{[19]}
Possible fallacies
The fallacy of affirming the consequent is a common misinterpretation of the modus ponens.^{[20]}
See also
 Philosophy:Condensed detachment
 Philosophy:ImportExport (logic) – Principle of classical logic
 Modus tollens – Rule of logical inference
 Stoic logic – System of propositional logic developed by the Stoic philosophers
 What the Tortoise Said to Achilles – Allegorical dialogue by Lewis Carroll
Notes
 ↑ The highest point that lies below both [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math] is the "meet" of [math]\displaystyle{ X }[/math] and [math]\displaystyle{ Y }[/math], denoted by [math]\displaystyle{ X \wedge Y }[/math].
 ↑ Since [math]\displaystyle{ \neg P }[/math] implies [math]\displaystyle{ P \rightarrow Q }[/math], [math]\displaystyle{ x }[/math] must always be greater than or equal to [math]\displaystyle{ 1  y }[/math], and therefore [math]\displaystyle{ x+y1 }[/math] will be greater than or equal to [math]\displaystyle{ 0 }[/math]. And since [math]\displaystyle{ y }[/math] must always be less than or equal to [math]\displaystyle{ 1 }[/math], [math]\displaystyle{ x+y1 }[/math] must always be less than or equal to [math]\displaystyle{ x }[/math].
References
 ↑ Stone, Jon R. (1996). Latin for the Illiterati: Exorcizing the Ghosts of a Dead Language. London: Routledge. p. 60. ISBN 0415917751. https://archive.org/details/latinforillitera0000ston.
 ↑ "Oxford reference: affirming the antecedent". Oxford Reference.
 ↑ Enderton 2001:110
 ↑ Susanne Bobzien (2002). "The Development of Modus Ponens in Antiquity", Phronesis 47, No. 4, 2002.
 ↑ "Ancient Logic: Forerunners of Modus Ponens and Modus Tollens". Stanford Encyclopedia of Philosophy.
 ↑ Alfred Tarski 1946:47. Also Enderton 2001:110ff.
 ↑ Tarski 1946:47
 ↑ "Modus ponens  Encyclopedia of Mathematics". https://www.encyclopediaofmath.org/index.php/Modus_ponens.
 ↑ Enderton 2001:111
 ↑ ^{10.0} ^{10.1} Whitehead and Russell 1927:9
 ↑ Jago, Mark (2007). Formal Logic. HumanitiesEbooks LLP. ISBN 9781847600417.
 ↑ Hailperin, Theodore (1996). Sentential Probability Logic: Origins, Development, Current Status, and Technical Applications. London: Associated University Presses. p. 203. ISBN 0934223459.
 ↑ Audun Jøsang 2016:92
 ↑ Vann McGee (1985). "A Counterexample to Modus Ponens", The Journal of Philosophy 82, 462–471.
 ↑ SinnottArmstrong, Moor, and Fogelin (1986). "A Defense of Modus Ponens", The Journal of Philosophy 83, 296–300.
 ↑ D. E. Over (1987). "Assumption and the Supposed Counterexamples to Modus Ponens", Analysis 47, 142–146.
 ↑ Bledin (2015). "Modus Ponens Defended", The Journal of Philosophy 112, 462–471.
 ↑ "Deontic Logic". April 21, 2010. https://plato.stanford.edu/entries/logicdeontic/#4.5. Stanford Encyclopedia of Philosophy.
 ↑ E.g., by Kolodny and MacFarlane (2010). "Ifs and Oughts", The Journal of Philosophy 107, 115–143.
 ↑ "Fallacies  Internet Encyclopedia of Philosophy". https://www.iep.utm.edu/fallacy/.
Sources
 Herbert B. Enderton, 2001, A Mathematical Introduction to Logic Second Edition, Harcourt Academic Press, Burlington MA, ISBN:9780122384523.
 Audun Jøsang, 2016, Subjective Logic; A formalism for Reasoning Under Uncertainty Springer, Cham, ISBN:9783319423371
 Alfred North Whitehead and Bertrand Russell 1927 Principia Mathematica to *56 (Second Edition) paperback edition 1962, Cambridge at the University Press, London UK. No ISBN, no LCCCN.
 Alfred Tarski 1946 Introduction to Logic and to the Methodology of the Deductive Sciences 2nd Edition, reprinted by Dover Publications, Mineola NY. ISBN:048628462X (pbk).
External links
 Hazewinkel, Michiel, ed. (2001), "Modus ponens", Encyclopedia of Mathematics, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 9781556080104, https://www.encyclopediaofmath.org/index.php?title=p/m064570
 Modus ponens at PhilPapers
 Modus ponens at Wolfram MathWorld
Original source: https://en.wikipedia.org/wiki/Modus ponens.
Read more 