$\let\divisionsymbol\div \let\oldRe\Re \let\oldIm\Im$

Logic Notation

implication

$P \implies Q$

P \implies Q
Copy
implication 2

$P \Rightarrow Q$

P \Rightarrow Q
Copy

The right arrow is sometimes used to indicate "implication".

implication 3

$P \to Q$

P \to Q
Copy

The single line arrow may be used to indicate "implication".

implication reverse

$P \Leftarrow Q$

P \Leftarrow  Q
Copy
implication reverse 2

$P \gets Q$

P \gets  Q
Copy

A single arrow to the left.

equivalence

$P \iff Q$

P \iff Q
Copy

\iff means "if and only if".

equivalence 2

$P \Leftrightarrow Q$

P \Leftrightarrow Q
Copy

The left right double arrow may be used to indicate "equivalence".

equivalence 3

$P \leftrightarrow Q$

P \leftrightarrow Q
Copy

The left right arrow may be used to indicate "equivalence".

equivalence 4

$P \equiv Q$

P \equiv Q
Copy

\equiv comes from "equivalence".

therefore

$\therefore$

\therefore
Copy
because

$\because$

\because
Copy
for all

$\forall x$

\forall x
Copy

This is Turned A.

for some

$\exists x$

\exists x
Copy

This is Turned E.

not exists

$\nexists$

\nexists
Copy

\nexists come from "not" and "exists".

quantifier sample

$\begin{eqnarray} & & {}^\forall \varepsilon \gt 0, {}^\exists \delta \gt 0 \mbox{ s.t. } \\ & & {}^\forall x \in \mathbb{ R }, 0 \lt |x - a| \lt \delta \implies |f(x) - b| \lt \varepsilon \end{eqnarray}$

\begin{eqnarray}
& & {}^\forall \varepsilon \gt 0, {}^\exists \delta \gt 0 \mbox{ s.t. } \\
& & {}^\forall x \in \mathbb{ R }, 0 \lt |x - a| \lt \delta
\implies |f(x) - b| \lt \varepsilon 
\end{eqnarray}
Copy

This is the (ε, δ)-definition of limit.

logical conjunction

$P \land Q$

P \land Q
Copy

\land comes from "And in logic".

logical disjunction

$P \lor Q$

P \lor Q
Copy

\lor comes from "Or in logic".

negation

$\lnot P$

\lnot P
Copy

\lnot comes from "Not in logic".

negation 2

$\overline{ P }$

\overline{ P }
Copy

Another way to show negation is to draw a line over the letter.

negation 3

$!P$

!P
Copy

You can also write an "!" in front of the letter to indicate negation.

exclusive disjunction

$P \oplus Q$

P \oplus Q
Copy

A + ("plus") sign in a circle ("O") indicates an exclusive disjunction.

exclusive disjunction 2

$P \veebar Q$

P \veebar Q
Copy

This symbol is a combination of the letters V ("vee") and horizontal line ("bar"), and is sometimes used to represent an exclusive disjunction.

exclusive disjunction sample

$P \oplus Q = (P \land \lnot Q) \lor (\lnot P \land Q)$

P \oplus Q = (P \land \lnot Q) \lor (\lnot P \land Q)
Copy

This is a formula relating exclusive disjunction to logical disjunction, logical product, and negation.

tautology

$\top$

\top
Copy

This is used to show tautology. There's a horizontal line on top.

contradiction

$\bot$

\bot
Copy

This is used to show contradiction. There's a horizontal line on bottom.

provable

$P \vdash Q$

P \vdash Q
Copy

\vdash comes from "vertical line" and "dash".

logical consequence

$P \models Q$

P \models Q
Copy

The same notation applies when using \vDash instead of \models.