The quantifiers in LaTeX are \forall (for all, ∀) and \exists (there exists, ∃), both built in; \nexists for there does not exist comes from amssymb, and unique existence is written \exists!. Quantified statements usually combine them with element of, \in, and a separator such as a comma or a colon: \forall x \in \mathbb{R},\ x^2 \geq 0. Negation is \neg, and implication and equivalence are \implies and \iff. The table lists the quantifier symbols people use most, with the package each one needs; the full list follows below.
| Symbol | Command | Use | Package | Copy |
|---|---|---|---|---|
\forall | For all | built in | ||
\exists | There exists | built in | ||
\nexists | There does not exist | amssymb | ||
\exists! | There exists exactly one | built in | ||
\forall x \in A | For all x in A | built in | ||
\in | Element of | built in | ||
\notin | Not an element of | built in | ||
\neg | Not | built in | ||
\land | And | built in | ||
\lor | Or | built in | ||
\implies | Implies | amsmath | ||
\iff | If and only if | built in |
More connectives and proof symbols are on the logic symbols page, and subsets and set-builder notation on the set theory symbols page.
\forall\exists\nexists\exists!\in\notin\ni\forall x\exists x\forall x \in A\exists x \in A\mid\{ x \mid P(x) \}\forall x \exists y : P(x, y)