Revision as of 04:50, 17 September 2004 editLkesteloot (talk | contribs)303 editsm Removed extraneous word← Previous edit |
Latest revision as of 18:52, 26 June 2022 edit undo1234qwer1234qwer4 (talk | contribs)Extended confirmed users, Page movers198,222 edits Added {{R from adjective}} and {{R from duplicated article}} tags to redirectTag: Twinkle |
(17 intermediate revisions by 10 users not shown) |
Line 1: |
Line 1: |
|
|
#REDIRECT ] |
|
In ], the '''contrapositive''' (or '''transposition''') of the statement "''p'' ] ''q''" is "not-''q'' implies not-''p''." A statement and its contrapositive are always ], unlike a statement's ] or its ]. |
|
|
|
{{Redirect category shell| |
|
|
|
|
|
{{R from adjective}} |
|
One can informally convince oneself of this equivalence by examining examples from ]. Consider the statement, "If there is fire here, then there is oxygen here." The contrapositive would be, "If there is no oxygen here, then there is no fire here." If the statement and its contrapositive are indeed logically equivalent, then these sentence should either both be true or both false. But they are indeed both true. (See ].) Thus logical equivalence holds, at least in this case. |
|
|
|
{{R from duplicated article}} |
|
|
|
|
|
}} |
|
Note that while a statement ''is'' logically equivalent to its contrapositive (where the two statements are both negated and "swapped"), it is ''not'' logically equivalent to its ] (with the two statements "swapped", but ''not'' negated). |
|
|
|
|
|
== Proofs of logical equivalence == |
|
|
|
|
|
That a statement and its contrapositive are ''always'' logically equivalent can be proven rigorously using formal logic. There are two basic methods for doing this: deriving the equivalence from the axioms of the ], or with a ]. |
|
|
|
|
|
=== Via the propositional calculus === |
|
|
|
|
|
The logical equivalence of a statement and its contrapositive is ''not'' one of the axioms of the ], at least those defined here on ]. However, the equivalence can be proved as follows: |
|
|
|
|
|
First, we can prove that p → q entails ¬q → ¬p: |
|
|
|
|
|
# Suppose p → q. Assuming this, we can reason as follows: |
|
|
## Suppose ¬q. Assuming this, we can reason as follows: |
|
|
### Suppose p. Assuming ''this'', we can reason as follows: |
|
|
#### q (], lines 1 and 1.1.1) |
|
|
#### ¬q (Copying from above) |
|
|
#### q and ¬q (]) |
|
|
### Since this is a contradiction, then ¬p (]) |
|
|
## Thus ¬q → ¬p (]) |
|
|
# Thus (p → q) → (¬q → ¬p) (]) |
|
|
|
|
|
A very similar proof will show that ¬q → ¬p also entails p → q. Combined, these facts show the two statements to be logically equivalent. |
|
|
|
|
|
=== Via a truth table === |
|
|
|
|
|
Alternatively, logical equivalence can be proved using the following ]: |
|
|
|
|
|
<table frame=border rules=all> |
|
|
<tr><th>p</th><th>q</th><th>p → q</th><th>¬p</td><th>¬q</th><th>¬q → ¬p</th></tr> |
|
|
<tr><td>T</td><td>T</td><td>T</td><td>F</td><td>F</td><td>T</td></tr> |
|
|
<tr><td>T</td><td>F</td><td>F</td><td>F</td><td>T</td><td>F</td></tr> |
|
|
<tr><td>F</td><td>T</td><td>T</td><td>T</td><td>F</td><td>T</td></tr> |
|
|
<tr><td>F</td><td>F</td><td>T</td><td>T</td><td>T</td><td>T</td></tr> |
|
|
</table> |
|
|
|
|
|
The first two columns can be taken as given. The third follows from the first two by the truth table definition of the ]. The fourth and fifth follow from the first two by ]. The sixth follows from the fourth and fifth, again by the definition of the ]. |
|
|
|
|
|
Since the third and sixth columns have the same truth values for all values of p and q, the two are logically equivalent. |
|
|
|
|
|
== In Aristotelian logic == |
|
|
|
|
|
In ] (or ]), moreover, ]s can have contrapositives. |
|
|
*The contrapositive of "All S is P" is "All P is S." (These are ].) |
|
|
*The contrapositive of "No S is P" is "No P is S." (These are ].) |
|
|
*The contrapositive of "Some S is P" is "Some P is S." (These are ].) |
|
|
*The contrapositive of "Some S is not P" is "Some P is not S." (These are ].) |
|
|
|
|
|
So-called "E" and "I" propositions are logically equivalent to their contrapositives. For example, we can always infer from "no bachelors are women" to "no women are bachelors" (as well as the converse inference) and from "some dogs are flea-bitten animals" to "some flea-bitten animals are dogs" (and conversely). |
|
|
|
|
|
However, so-called "A" and "O" propositions are ''not'' logically equivalent to their contrapositives. For example, from "all violins are musical instruments," we cannot infer "all musical instruments are violins." Similarly, from "some plants are not trees," we cannot infer "some trees are not plants." |
|
|
|
|
|
] |
|