Logica & Bewijzen

Kwantoren, logische connectieven en bewijsnotatie.

Logic symbols in LaTeX

The connectives of propositional logic are \land (and), \lor (or) and \lnot (not); \wedge, \vee and \neg are identical aliases. Implication and equivalence are best written with \implies (from amsmath) and \iff, which add relation spacing around the arrows; the bare \Rightarrow and \Leftrightarrow work too. Quantifiers are \forall and \exists, with \nexists for “there is no”, and the constants true and false are \top and \bot.

Proof theory and semantics have their own turnstiles: \vdash means “proves” or syntactic entailment, \models (also \vDash) means “satisfies” or semantic entailment, and \nvdash negates the first. The inference markers \therefore and \because come from amssymb, as do \nexists and \vDash. Logical equivalence of formulas is often \equiv, exclusive or is \oplus, and the Sheffer stroke (NAND) is \uparrow. The modal operators \Box and \Diamond are listed on the modal logic symbols page.

Everything here is math-mode only, so wrap symbols in $...$ and load \usepackage{amsmath, amssymb} in the preamble. A typical formula: \forall x\, (P(x) \implies Q(x)). For how these combine with sets, functions and relations, read our guide to mathematical expressions in LaTeX.

∀\forall

For All

\forall
∃\exists

Exists

\exists
∄\nexists

Not Exists

\nexists
¬\neg
∧\land
∨\lor
⇒\Rightarrow

Implies

\Rightarrow
⇐\Leftarrow

Implied By

\Leftarrow
⇔\Leftrightarrow

If and Only If

\Leftrightarrow
  ⟹  \implies

Long Implies

\implies
  ⟺  \iff
⊢\vdash

Proves

\vdash
⊨\models

Models

\models
∴\therefore

Therefore

\therefore
∵\because

Because

\because
⊥\bot
⊤\top
□\square

QED

\square
≡\equiv
≢\not\equiv

Not Equivalent

\not\equiv