kontraposition
Kontraposition is a rule of inference in propositional and predicate logic. It states that from a conditional statement of the form “If P then Q” one may infer its contrapositive, “If not Q then not P.” In classical logic the contrapositive is logically equivalent to the original statement: P → Q is true exactly when ¬Q → ¬P is true. Consequently, proving the contrapositive provides a proof of the original statement, and vice versa. The contrapositive is a common technique in mathematical proofs and formal reasoning.
Extensions and caveats: The same form applies to predicates in predicate logic. When quantifiers are present,
- If it is raining, then the streets are wet. Contrapositive: if the streets are not wet, then
- If a number n is even, then n^2 is even. Contrapositive: if n^2 is not even (i.e.,
Limitations: While contrapositive is valid for many mathematical and formal arguments, translating statements with vague natural-language