Material implication (rule of inference): Difference between revisions

From testwiki
Jump to navigation Jump to search
imported>ClueBot NG
m Reverting possible vandalism by 104.139.37.212 to version by Mikhail Ryazanov. Report False Positive? Thanks, ClueBot NG. (4325307) (Bot)
 
(No difference)

Latest revision as of 23:48, 21 May 2024

Template:Short description Template:Other usesTemplate:Distinguish Template:Technical Template:Infobox mathematical statement Template:Transformation rules

In propositional logic, material implication[1][2] is a valid rule of replacement that allows 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-P or Q and that either form can replace the other in logical proofs. In other words, if P is true, then Q must also be true, while if Q is Template:Em true, then P cannot be true either; additionally, when P is not true, Q may be either true or false.

PQ¬PQ,

where "" is a metalogical symbol representing "can be replaced in a proof with", P and Q are any given logical statements, and ¬PQ can be read as "(not P) or Q". To illustrate this, consider the following statements:

  • P: Sam ate an orange for lunch.
  • Q: Sam ate a fruit for lunch.

Then, to say "Sam ate an orange for lunch" Template:Em "Sam ate a fruit for lunch" (PQ). 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 PQ. Then we have ¬PP by the law of excluded middleTemplate:Clarify (i.e. either P must be true, or P must not be true).

Subsequently, since PQ, P can be replaced by Q in the statement, and thus it follows that ¬PQ (i.e. either Q must be true, or P must not be true).

Suppose, conversely, we are given ¬PQ. Then if P is true, that rules out the first disjunct, so we have Q. In short, PQ.[3] However, if P is false, then this entailment fails, because the first disjunct ¬P is true, which puts no constraint on the second disjunct Q. Hence, nothing can be said about PQ. In sum, the equivalence in the case of false P 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 ¬PQ, which is "it is not a bear" or "it can swim", where P is the statement "it is a bear" and Q is the statement "it can swim".

References

Template:Reflist

Template:Classical logic