Logic Symbols: Names, Meanings and LaTeX Codes

This cheat sheet lists 18 Logic symbols from nyuyo. It includes because, double-turnstile, end-of-proof and more. Each entry shows the symbol, its meaning, LaTeX command, Unicode code point and HTML entity. Every entry also shows how to read an example aloud.

because

Character∵
NameBecause
MeaningPlaced before a reason that supports the next step of an argument. In LaTeX it needs the amssymb package. Compare with Therefore and Implies.
LaTeX\because
UnicodeU+2235
HTML entity∵
Example expression∵ x > 0
Read aloudbecause x is greater than zero
Related symbolsTherefore, Implies, If and Only If

double-turnstile

Character⊨
NameDouble Turnstile
MeaningStates that the formula on the right is true in every model where the assumptions on the left are true. With a single structure on the left, it says the formula holds in that structure.
LaTeX\models
UnicodeU+22A8
HTML entity⊨
Example expressionΓ ⊨ φ
Read aloudgamma entails phi
Related symbolsTurnstile, Implies

end-of-proof

Character∎
NameEnd of Proof
MeaningMarks the end of a proof, taking the place of the older QED. It is also called the tombstone or Halmos symbol, and a hollow square □ is used the same way.
LaTeX\blacksquare
UnicodeU+220E
HTML entity∎
Example expression… so n is even. ∎
Read aloudso n is even, end of proof
Related symbolsTherefore, Because, Square

exclusive-or

Character⊻
NameExclusive Or
MeaningJoins two statements into one that is true when exactly one of them is true. In LaTeX it needs the amssymb package.
LaTeX\veebar
UnicodeU+22BB
HTML entity⊻
Example expressionP ⊻ Q
Read aloudP exclusive or Q
Related symbolsLogical Or, Logical And, Logical Not, Direct Sum

for-all

Character∀
NameFor All
MeaningThe universal quantifier. It states that what follows holds for every object in the given range.
LaTeX\forall
UnicodeU+2200
HTML entity∀
Example expression∀x ∈ ℝ, x² ≥ 0
Read aloudfor all x in the real numbers, x squared is greater than or equal to zero
Related symbolsThere Exists, There Does Not Exist, Element Of

if-and-only-if

Character⇔
NameIf and Only If
MeaningStates that two statements imply each other, so they are either both true or both false.
LaTeX\Leftrightarrow
UnicodeU+21D4
HTML entity⇔
Example expressionP ⇔ Q
Read aloudP if and only if Q
Related symbolsImplies, Left Right Arrow

implied-by

Character⇐
NameImplied By
MeaningStates that the statement on the right implies the statement on the left. It often marks the converse direction of an if-and-only-if proof.
LaTeX\Leftarrow
UnicodeU+21D0
HTML entity⇐
Example expressionx² = 4 ⇐ x = 2
Read aloudx squared equals four is implied by x equals two
Related symbolsImplies, If and Only If

implies

Character⇒
NameImplies
MeaningStates that if the statement on the left is true, then the statement on the right is also true.
LaTeX\Rightarrow
UnicodeU+21D2
HTML entity⇒
Example expressionx = 2 ⇒ x² = 4
Read aloudx equals two implies x squared equals four
Related symbolsIf and Only If, Therefore, Right Arrow, Logical And

and

Character∧
NameLogical And
MeaningJoins two statements into one that is true only when both statements are true.
LaTeX\land
UnicodeU+2227
HTML entity∧
Example expressionP ∧ Q
Read aloudP and Q
Related symbolsLogical Or, Logical Not

not

Character¬
NameLogical Not
MeaningReverses the truth value of a statement: true becomes false and false becomes true.
LaTeX\neg
UnicodeU+00AC
HTML entity¬
Example expression¬P
Read aloudnot P
Related symbolsLogical And, Logical Or

or

Character∨
NameLogical Or
MeaningJoins two statements into one that is true when at least one of them is true.
LaTeX\lor
UnicodeU+2228
HTML entity∨
Example expressionP ∨ Q
Read aloudP or Q
Related symbolsLogical And, Logical Not, Union, Implies

nand

Character⊼
NameNand
MeaningJoins two statements into one that is false only when both of them are true. It is the negation of and. In LaTeX it needs the amssymb package.
LaTeX\barwedge
UnicodeU+22BC
HTML entity⊼
Example expressionP ⊼ Q ⇔ ¬(P ∧ Q)
Read aloudP nand Q if and only if not both P and Q
Related symbolsLogical And, Logical Not

there-does-not-exist

Character∄
NameThere Does Not Exist
MeaningStates that no object in the given range makes what follows true. In LaTeX it needs the amssymb package.
LaTeX\nexists
UnicodeU+2204
HTML entity∄
Example expression∄x ∈ ℝ, x² = −1
Read aloudthere is no real number x such that x squared equals minus one
Related symbolsThere Exists, For All, Logical Not

there-exists

Character∃
NameThere Exists
MeaningThe existential quantifier. It states that at least one object in the given range makes what follows true.
LaTeX\exists
UnicodeU+2203
HTML entity∃
Example expression∃x ∈ ℤ, x + 3 = 0
Read aloudthere exists an integer x such that x plus three equals zero
Related symbolsFor All, There Does Not Exist

exists-unique

Character∃!
NameThere Exists Unique
MeaningThe uniqueness quantifier. It states that exactly one object in the given range makes what follows true.
LaTeX\exists!
UnicodeU+2203 U+0021
HTML entity∃!
Example expression∃!x ∈ ℝ, x + 3 = 0
Read aloudthere exists a unique real number x such that x plus three equals zero
Related symbolsThere Exists, For All, There Does Not Exist

therefore

Character∴
NameTherefore
MeaningPlaced before a conclusion that follows from the preceding lines. In LaTeX it needs the amssymb package.
LaTeX\therefore
UnicodeU+2234
HTML entity∴
Example expression∴ x = 5
Read aloudtherefore x equals five
Related symbolsBecause, Implies

top

Character⊤
NameTop
MeaningStands for a statement that is always true. In order theory it also names the greatest element of a lattice.
LaTeX\top
UnicodeU+22A4
HTML entity⊤
Example expressionP ∨ ¬P ≡ ⊤
Read aloudP or not P is equivalent to top
Related symbolsPerpendicular, Logical Or

turnstile

Character⊢
NameTurnstile
MeaningStates that the formula on the right can be proved from the assumptions on the left using the rules of a formal system.
LaTeX\vdash
UnicodeU+22A2
HTML entity⊢
Example expressionΓ ⊢ φ
Read aloudgamma proves phi
Related symbolsDouble Turnstile, Implies, Therefore, Top

FAQ

How many Logic symbols are on this page?

This page lists 18 Logic symbols, including because, double-turnstile, end-of-proof.

How do I type Logic symbols in LaTeX?

Each symbol on this page has its LaTeX command shown next to it, for example \barwedge, \because, \blacksquare. Copy the command into your maths mode.

What are the Unicode code points for Logic symbols?

Every symbol lists its Unicode code point, such as U+00AC, U+21D0, U+21D2, so you can insert it in documents and web pages.

How do I write Logic symbols in HTML?

Each entry shows its HTML entity where one exists, for example ∧, ∵, ∃. You can paste it directly into your page.

How do I read Logic symbols aloud?

Each symbol has an example expression and a spoken version, such as … so n is even. ∎, ∀x ∈ ℝ, x² ≥ 0, ∃!x ∈ ℝ, x + 3 = 0 read as because x is greater than zero, for all x in the real numbers, x squared is greater than or equal to zero, gamma entails phi.

All cheat sheets