World Library  
Flag as Inappropriate
Email this Article

List of logic symbols

Article Id: WHEBN0002498388
Reproduction Date:

Title: List of logic symbols  
Author: World Heritage Encyclopedia
Language: English
Subject: List of XML and HTML character entity references, Logic, Double turnstile, Tee (symbol), Sheffer stroke
Publisher: World Heritage Encyclopedia

List of logic symbols

In logic, a set of symbols is commonly used to express logical representation. As logicians are familiar with these symbols, they are not explained each time they are used. So, for students of logic, the following table lists many common symbols together with their name, pronunciation, and the related field of mathematics. Additionally, the third column contains an informal definition, and the fourth column gives a short example.

Be aware that, outside of logic, different symbols have the same meaning, and the same symbol has, depending on the context, different meanings.

Basic logic symbols

Name Explanation Examples Unicode
Read as

material implication AB is true only in the case that either A is false or B is true, or both.

→ may mean the same as ⇒ (the symbol may also indicate the domain and codomain of a function; see table of mathematical symbols).

⊃ may mean the same as ⇒ (the symbol may also mean superset).
x = 2  ⇒  x2 = 4 is true, but x2 = 4   ⇒  x = 2 is in general false (since x could be −2). U+21D2



implies; if .. then
propositional logic, Heyting algebra

material equivalence A ⇔ B is true only if both A and B are false, or both A and B are true. x + 5 = y + 2  ⇔  x + 3 = y U+21D4



if and only if; iff; means the same as
propositional logic


negation The statement ¬A is true if and only if A is false.

A slash placed through another operator is the same as "¬" placed in front.
¬(¬A) ⇔ A
x ≠ y  ⇔  ¬(x = y)


˜ ~
\neg\lnot or \neg
propositional logic

logical conjunction The statement AB is true if A and B are both true; else it is false. n < 4  ∧  n >2  ⇔  n = 3 when n is a natural number. U+2227


\wedge\wedge or \land
propositional logic, Boolean algebra


logical (inclusive) disjunction The statement AB is true if A or B (or both) are true; if both are false, the statement is false. n ≥ 4  ∨  n ≤ 2  ⇔ n ≠ 3 when n is a natural number. U+2228 \lor\lor or \vee
propositional logic, Boolean algebra

exclusive disjunction The statement AB is true when either A or B, but not both, are true. A B means the same. A) ⊕ A is always true, AA is always false. U+2295

propositional logic, Boolean algebra


Tautology The statement ⊤ is unconditionally true. A ⇒ ⊤ is always true. U+22A4 T \top\top
top, verum
propositional logic, Boolean algebra


Contradiction The statement ⊥ is unconditionally false. ⊥ ⇒ A is always true. U+22A5 ⊥ F \bot\bot
bottom, falsum
propositional logic, Boolean algebra

universal quantification ∀ xP(x) or (xP(x) means P(x) is true for all x. ∀ n ∈ : n2 ≥ n. U+2200 \forall\forall
for all; for any; for each
first-order logic
existential quantification ∃ x: P(x) means there is at least one x such that P(x) is true. ∃ n ∈ : n is even. U+2203 \exists\exists
there exists
first-order logic
uniqueness quantification ∃! x: P(x) means there is exactly one x such that P(x) is true. ∃! n ∈ : n + 5 = 2n. U+2203 U+0021 ∃ ! \exists !\exists !
there exists exactly one
first-order logic

definition x := y or x ≡ y means x is defined to be another name for y (but note that ≡ can also mean other things, such as congruence).

P :⇔ Q means P is defined to be logically equivalent to Q.
cosh x := (1/2)(exp x + exp (−x))

A XOR B :⇔ (A ∨ B) ∧ ¬(A ∧ B)
U+2254 (U+003A U+003D)


U+003A U+229C

is defined as
( )
precedence grouping Perform the operations inside the parentheses first. (8 ÷ 4) ÷ 2 = 2 ÷ 2 = 1, but 8 ÷ (4 ÷ 2) = 8 ÷ 2 = 4. U+0028 U+0029 ( ) (~) ( )
parentheses, brackets
Turnstile x y means y is provable from x (in some specified formal system). AB ¬B → ¬A U+22A2 \vdash\vdash
propositional logic, first-order logic
double turnstile xy means x semantically entails y AB ⊨ ¬B → ¬A U+22A8 \models\models
propositional logic, first-order logic

Advanced and rarely used logical symbols

These symbols are sorted by their Unicode value:

  • U+00B7 · middle dot, an outdated way for denoting AND, still in use in electronics; for example "A·B" is the same as "A&B"
  • ·: Center dot with a line above it. Outdated way for denoting NAND, for example "A·B" is the same as "A NAND B" or "A|B" or "¬(A & B)". See also Unicode U+22C5 dot operator.
  • U+0305  ̅  combining overline, used as abbreviation for standard numerals (Typographical Number Theory). For example, using HTML style "" is a shorthand for the standard numeral "SSSS0".
  • Overline, is also a rarely used format for denoting Gödel numbers, for example "AVB" says the Gödel number of "(AVB)"
  • Overline is also an outdated way for denoting negation, still in use in electronics; for example "AVB" is the same as "¬(AVB)"
  • U+2191 upwards arrow or U+007C | vertical line: Sheffer stroke, the sign for the NAND operator.
  • U+2201 complement
  • U+2204 there does not exist: strike out existential quantifier same as "¬∃"
  • U+2234 therefore
  • U+2235 because
  • U+22A7 models: is a model of
  • U+22A8 true: is true of
  • U+22AC does not prove: negated ⊢, the sign for "does not prove", for example TP says "P is not a theorem of T"
  • U+22AD not true: is not true of
  • U+22BC nand: another NAND operator, can also be rendered as
  • U+22BD nor: another NOR operator, can also be rendered as V
  • U+22C4 diamond operator: modal operator for "it is possible that", "it is not necessarily not" or rarely "it is not provable not" (in most modal logics it is defined as "¬◻¬")
  • U+22C6 star operator: usually used for ad-hoc operators
  • U+22A5 up tack or U+2193 downwards arrow: Webb-operator or Peirce arrow, the sign for NOR. Confusingly, "⊥" is also the sign for contradiction or absurdity.
  • U+2310 reversed not sign
  • U+231C top left corner and U+231D top right corner: corner quotes, also called "Quine quotes"; for quasi-quotation, i.e. quoting specific context of unspecified ("variable") expressions;[2] also the standard symbol used for denoting Gödel number; for example "⌜G⌝" denotes the Gödel number of G. (Typographical note: although the quotes appears as a "pair" in unicode (231C and 231D), they are not symmetrical in some fonts. And in some fonts (for example Arial) they are only symmetrical in certain sizes. Alternatively the quotes can be rendered as ⌈ and ⌉ (U+2308 and U+2309) or by using a negation symbol and a reversed negation symbol ⌐ ¬ in superscript mode. )

Note that the following operators are rarely supported by natively installed fonts. If you wish to use these in a web page, you should always embed the necessary fonts so the page viewer can see the web page without having the necessary fonts installed in their computer.

  • U+27E1 white concave-sided diamond
  • U+27E2 white concave-sided diamond with leftwards tick: modal operator for was never
  • U+27E3 white concave-sided diamond with rightwards tick: modal operator for will never be
  • U+27E4 white square with leftwards tick: modal operator for was always
  • U+27E5 white square with rightwards tick: modal operator for will always be
  • U+297D right fish tail: sometimes used for "relation", also used for denoting various ad hoc relations (for example, for denoting "witnessing" in the context of Rosser's trick) The fish hook is also used as strict implication by C.I.Lewis p q \equiv \Box(p\rightarrow q), the corresponding LaTeX macro is \strictif. See here for an image of glyph. Added to Unicode 3.2.0.


As of 2014 in Poland, the universal quantifier is sometimes written \wedge and the existential quantifier as \vee.

See also


  1. ^ Although this character is available in LaTeX, the MediaWiki TeX system doesn't support this character.
  2. ^ Quine, W.V. (1981): Mathematical Logic, §6

External links

  • Named character entities in HTML 4.0
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.