In
propositional logic
The propositional calculus is a branch of logic. It is also called propositional logic, statement logic, sentential calculus, sentential logic, or sometimes zeroth-order logic. Sometimes, it is called ''first-order'' propositional logic to contra ...
, (; MP), also known as (), implication elimination, or affirming the antecedent, is a
deductive
Deductive reasoning is the process of drawing valid inferences. An inference is valid if its conclusion follows logically from its premises, meaning that it is impossible for the premises to be true and the conclusion to be false. For example, th ...
argument form and
rule of inference
Rules of inference are ways of deriving conclusions from premises. They are integral parts of formal logic, serving as norms of the Logical form, logical structure of Validity (logic), valid arguments. If an argument with true premises follows a ...
. 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. The first to explicitly describe the argument form ''modus ponens'' was
Theophrastus
Theophrastus (; ; c. 371 – c. 287 BC) was an ancient Greek Philosophy, philosopher and Natural history, naturalist. A native of Eresos in Lesbos, he was Aristotle's close colleague and successor as head of the Lyceum (classical), Lyceum, the ...
. 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
In physics, sound is a vibration that propagates as an acoustic wave through a transmission medium such as a gas, liquid or solid.
In human physiology and psychology, sound is the ''reception'' of such waves and their ''perception'' by the br ...
argument, the premises must be true for any true instances of the conclusion. An
argument
An argument is a series of sentences, statements, or propositions some of which are called premises and one is the conclusion. The purpose of an argument is to give reasons for one's conclusion via justification, explanation, and/or persu ...
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
Deductive reasoning is the process of drawing valid inferences. An inference is valid if its conclusion follows logically from its premises, meaning that it is impossible for the premises to be true and the conclusion to be false. For example, th ...
.
In single-conclusion
sequent calculi, ''modus ponens'' is the Cut rule. The
cut-elimination 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
In mathematics, function application is the act of applying a function to an argument from its domain so as to obtain the corresponding value from its range. In this sense, function application can be thought of as the opposite of function abs ...
: 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
Artificial intelligence (AI) is the capability of computer, computational systems to perform tasks typically associated with human intelligence, such as learning, reasoning, problem-solving, perception, and decision-making. It is a field of re ...
, ''modus ponens'' is often called
forward chaining.
Formal notation
The ''modus ponens'' rule may be written in
sequent notation as
:
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.
In classical two-valued logic, ''modus ponens'' is encoded in the
truth table
A truth table is a mathematical table used in logic—specifically in connection with Boolean algebra, Boolean functions, and propositional calculus—which sets out the functional values of logical expressions on each of their functional arg ...
of the
material conditional
The material conditional (also known as material implication) is a binary operation commonly used in logic. When the conditional symbol \to is interpreted as material implication, a formula P \to Q is true unless P is true and Q is false.
M ...
(implication) operator. A truth table lists all possible combinations of the truth values of the arguments, in this case ''p'' and ''q'', one case per row. ''Modus ponens'' is the case where both ''p'' → ''q'' and ''p'' may be assumed (denoted as true). Encoding ''modus ponens'' faithfully, ''q'' may also be assumed and therefore is also denoted as true. The truth table of implication also expresses other common inference rules, such as
modus tollens on the fourth row, assuming ''p'' → ''q'' and not ''q'' therefore not ''p'', and the
monotonicity of entailment on the first and third rows, assuming ''q'' and ''p'' → ''q'', expressing how ''p'' may or may not be assumed.
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". ''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 ever-lengthening string of symbols; for this reason modus ponens is sometimes called the rule of detachment or the law of detachment. Enderton, for example, observes that "modus ponens can produce shorter formulas from longer ones", and Russell observes that "the process of the inference cannot be reduced to symbols. Its sole record is the occurrence of ⊦q
he consequent... an inference is the dropping of a true premise; it is the dissolution of an implication".
[Whitehead and Russell 1927:9]
A justification for the "trust in inference is the belief that if the two former assertions
he antecedentsare not in error, the final assertion
he consequentis not in error".
In other words: if one
statement or
proposition
A proposition is a statement that can be either true or false. It is a central concept in the philosophy of language, semantics, logic, and related fields. Propositions are the object s denoted by declarative sentences; for example, "The sky ...
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.
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
lattice-like structure with a single element (the "always-true") at the top and another single element (the "always-false") at the bottom. Logical equivalence becomes identity, so that when
and
, for instance, are equivalent (as is standard), then
. Logical implication becomes a matter of relative position:
logically implies
just in case
, i.e., when either
or else
lies below
and is connected to it by an upward path.
In this context, to say that
and
together imply
—that is, to affirm ''modus ponens'' as valid—is to say that the highest point which lies below both
and
lies below
, i.e., that
. In the semantics for basic propositional logic, the algebra is
Boolean, with
construed as the
material conditional
The material conditional (also known as material implication) is a binary operation commonly used in logic. When the conditional symbol \to is interpreted as material implication, a formula P \to Q is true unless P is true and Q is false.
M ...
:
. Confirming that
is then straightforward, because
and
. With other treatments of
, the semantics becomes more complex, the algebra may be non-Boolean, and the validity of modus ponens cannot be taken for granted.
Probability calculus
If
and
, then
must lie in the interval