Material implication (rule of inference)

From HandWiki
Short description: Rule of replacement in propositional logic
Material implication
TypeRule of replacement
FieldPropositional calculus
StatementP implies Q is logically equivalent to not-[math]\displaystyle{ P }[/math] or [math]\displaystyle{ Q }[/math]. Either form can replace the other in logical proofs.

In propositional logic, material implication[1][2] is a valid rule of replacement that allows for a conditional statement to be replaced by a disjunction in which the antecedent is negated. The rule states that P implies Q is logically equivalent to not-[math]\displaystyle{ P }[/math] or [math]\displaystyle{ Q }[/math] and that either form can replace the other in logical proofs. In other words, if [math]\displaystyle{ P }[/math] is true, then [math]\displaystyle{ Q }[/math] must also be true, while if [math]\displaystyle{ Q }[/math] is not true, then [math]\displaystyle{ P }[/math] cannot be true either; additionally, when [math]\displaystyle{ P }[/math] is not true, [math]\displaystyle{ Q }[/math] may be either true or false.

Script error: No such module "in5".[math]\displaystyle{ P \to Q \Leftrightarrow \neg P \lor Q }[/math]

Where "[math]\displaystyle{ \Leftrightarrow }[/math]" is a metalogical symbol representing "can be replaced in a proof with," P and Q are any given logical statements, and [math]\displaystyle{ \neg P \lor Q }[/math] can be read as "(not P) or Q". To illustrate this, consider the following statements:

  • [math]\displaystyle{ P }[/math]: Sam ate an orange for lunch
  • [math]\displaystyle{ Q }[/math]: Sam ate a fruit for lunch

Then, to say, "Sam ate an orange for lunch" implies "Sam ate a fruit for lunch" ([math]\displaystyle{ P \to Q }[/math]). Logically, if Sam did not eat a fruit for lunch, then Sam also cannot have eaten an orange for lunch (by contraposition). However, merely saying that Sam did not eat an orange for lunch provides no information on whether or not Sam ate a fruit (of any kind) for lunch.

Partial proof

Suppose we are given that [math]\displaystyle{ P \to Q }[/math]. Then, we have [math]\displaystyle{ \neg P \lor P }[/math] by the law of excluded middle[clarification needed] (i.e. either [math]\displaystyle{ P }[/math] must be true, or [math]\displaystyle{ P }[/math] must not be true).

Subsequently, since [math]\displaystyle{ P \to Q }[/math], [math]\displaystyle{ P }[/math] can be replaced by [math]\displaystyle{ Q }[/math] in the statement, and thus it follows that [math]\displaystyle{ \neg P \lor Q }[/math] (i.e. either [math]\displaystyle{ Q }[/math] must be true, or [math]\displaystyle{ P }[/math] must not be true).

Suppose, conversely, we are given [math]\displaystyle{ \neg P \lor Q }[/math]. Then if [math]\displaystyle{ P }[/math] is true that rules out the first disjunct, so we have [math]\displaystyle{ Q }[/math]. In short, [math]\displaystyle{ P \to Q }[/math].[3] However if [math]\displaystyle{ P }[/math] is false, then this entailment fails, because the first disjunct [math]\displaystyle{ \neg P }[/math] is true which puts no constraint on the second disjunct [math]\displaystyle{ Q }[/math]. Hence, nothing can be said about [math]\displaystyle{ P \to Q }[/math]. In sum, the equivalence in the case of false [math]\displaystyle{ P }[/math] is only conventional, and hence the formal proof of equivalence is only partial.

This can also be expressed with a truth table:

P Q ¬P P→Q ¬P ∨ Q
T T F T T
T F F F F
F T T T T
F F T T T

Example

An example: we are given the conditional fact that if it is a bear, then it can swim. Then, all 4 possibilities in the truth table are compared to that fact.

  1. If it is a bear, then it can swim — T
  2. If it is a bear, then it can not swim — F
  3. If it is not a bear, then it can swim — T because it doesn’t contradict our initial fact.
  4. If it is not a bear, then it can not swim — T (as above)

Thus, the conditional fact can be converted to [math]\displaystyle{ \neg P \vee Q }[/math], which is "it is not a bear" or "it can swim", where [math]\displaystyle{ P }[/math] is the statement "it is a bear" and [math]\displaystyle{ Q }[/math] is the statement "it can swim".

References