# Converse (logic)

Logical connectives :
| NOT | $\neg A,-A,{\overline {A}},\sim A$ |
| AND | $A\land B,A\cdot B,AB,A\ \&\ B,A\ \&\&\ B$ |
| NAND | $A{\overline {\land }}B,A\uparrow B,A\mid B,{\overline {A\cdot B}}$ |
| OR | $A\lor B,A+B,A\mid B,A\parallel B$ |
| NOR | $A{\overline {\lor }}B,A\downarrow B,{\overline {A+B}}$ |
| XNOR | $A\odot B,{\overline {A{\overline {\lor }}B}}$ |
| └ equivalent | $A\equiv B,A\Leftrightarrow B,A\leftrightharpoons B$ |
| XOR | $A{\underline {\lor }}B,A\oplus B$ |
| └nonequivalent | $A\not \equiv B,A\not \Leftrightarrow B,A\nleftrightarrow B$ |
| implies | $A\Rightarrow B,A\supset B,A\rightarrow B$ |
| nonimplication (NIMPLY) | $A\not \Rightarrow B,A\not \supset B,A\nrightarrow B$ |
| converse | $A\Leftarrow B,A\subset B,A\leftarrow B$ |
| converse nonimplication | $A\not \Leftarrow B,A\not \subset B,A\nleftarrow B$ |
Related concepts :
Propositional calculusPredicate logicBoolean algebraTruth tableTruth functionBoolean functionFunctional completenessScope (logic) :
Applications :
Digital logicProgramming languagesMathematical logicPhilosophy of logic :
Category :
vte :
In logic and mathematics, the converse of a categorical or implicational statement is the result of reversing its two constituent statements. For the implication P → Q, the converse is Q → P. For the categorical proposition All S are P, the converse is All P are S. Either way, the truth of the converse is generally independent from that of the original statement.

## Implicational converse

Let S be a statement of the form P implies Q (P → Q). Then the converse of S is the statement Q implies P (Q → P). In general, the truth of S says nothing about the truth of its converse, unless the antecedent P and the consequent Q are logically equivalent.
For example, consider the true statement "If I am a human, then I am mortal." The converse of that statement is "If I am mortal, then I am a human," which is not necessarily true.
However, the converse of a statement with mutually inclusive terms remains true, given the truth of the original proposition. This is equivalent to saying that the converse of a definition is true. Thus, the statement "If I am a triangle, then I am a three-sided polygon" is logically equivalent to "If I am a three-sided polygon, then I am a triangle," because the definition of "triangle" is "three-sided polygon".
A truth table makes it clear that S and the converse of S are not logically equivalent, unless both terms imply each other:
| $P$ | $Q$ | $P\rightarrow Q$ | $P\leftarrow Q$ (converse) |
| F | F | T | T |
| F | T | T | F |
| T | F | F | T |
| T | T | T | T |
Going from a statement to its converse is the fallacy of affirming the consequent. However, if the statement S and its converse are equivalent (i.e., P is true if and only if Q is also true), then affirming the consequent will be valid.
Converse implication is logically equivalent to the disjunction of $P$ and $\neg Q$
| $P\leftarrow Q$ | $\Leftrightarrow$ | $P$ | $\lor$ | $\neg Q$ |
| | $\Leftrightarrow$ | | $\lor$ | |
In natural language, this could be rendered "not Q without P".

### Converse of a theorem

In mathematics, the converse of a theorem of the form P → Q will be Q → P. The converse may or may not be true, and even if true, the proof may be difficult. For example, the four-vertex theorem was proved in 1912, but its converse was proved only in 1997.
In practice, when determining the converse of a mathematical theorem, aspects of the antecedent may be taken as establishing context. That is, the converse of "Given P, if Q then R" will be "Given P, if R then Q". For example, the Pythagorean theorem can be stated as:
   Given a triangle with sides of length $a$, $b$, and $c$, if the angle opposite the side of length $c$ is a right angle, then $a^{2}+b^{2}=c^{2}$.
The converse, which also appears in Euclid's Elements (Book I, Proposition 48), can be stated as:
   Given a triangle with sides of length $a$, $b$, and $c$, if $a^{2}+b^{2}=c^{2}$, then the angle opposite the side of length $c$ is a right angle.

### Converse of a relation

If $R$ is a binary relation with $R\subseteq A\times B,$ then the converse relation $R^{T}=\{(b,a):(a,b)\in R\}$ is also called the transpose.

## Notation

The converse of the implication P → Q may be written Q → P, $P\leftarrow Q$, but may also be notated $P\subset Q$, or "Bpq" (in Bocheński notation).

## Categorical converse

In traditional logic, the process of switching the subject term with the predicate term is called conversion. For example, going from "No S are P" to its converse "No P are S". In the words of Asa Mahan:
   "The original proposition is called the exposita; when converted, it is denominated the converse. Conversion is valid when, and only when, nothing is asserted in the converse which is not affirmed or implied in the exposita."
The "exposita" is more usually called the "convertend". In its simple form, conversion is valid only for E and I propositions:
| Type | Convertend | Simple converse | Converse per accidens (valid if P exists) |
| A | All S are P | not valid | Some P is S |
| E | No S is P | No P is S | Some P is not S |
| I | Some S is P | Some P is S | – |
| O | Some S is not P | not valid | – |
The validity of simple conversion only for E and I propositions can be expressed by the restriction that "No term must be distributed in the converse which is not distributed in the convertend." For E propositions, both subject and predicate are distributed, while for I propositions, neither is.
For A propositions, the subject is distributed while the predicate is not, and so the inference from an A statement to its converse is not valid. As an example, for the A proposition "All cats are mammals", the converse "All mammals are cats" is obviously false. However, the weaker statement "Some mammals are cats" is true. Logicians define conversion per accidens to be the process of producing this weaker statement. Inference from a statement to its converse per accidens is generally valid. However, as with syllogisms, this switch from the universal to the particular causes problems with empty categories: "All unicorns are mammals" is often taken as true, while the converse per accidens "Some mammals are unicorns" is clearly false.
In first-order predicate calculus, All S are P can be represented as $\forall x.S(x)\to P(x)$. It is therefore clear that the categorical converse is closely related to the implicational converse, and that S and P cannot be swapped in All S are P.