Double turnstile explained

In logic, the symbol ⊨, ⊧ or

\models

is called the double turnstile. It is often read as "entails", "models", "is a semantic consequence of" or "is stronger than".[1] It is closely related to the turnstile symbol

\vdash

, which has a single bar across the middle, and which denotes syntactic consequence (in contrast to semantic).

Meaning

The double turnstile is a binary relation. It has several different meanings in different contexts:

\Gamma\vDash\varphi

. This usage is closely related to the single-barred turnstile symbol which denotes syntactic consequence.

l{A}\models\Gamma

. This is typically done inductively along with restricting the range of a variable assignment, a function mapping each variable symbol to a value in

l{A}

it might hold.[2]

l{A}

, if

l{A}\models\Gamma

then

l{A}\vDash\varphi

".

\vDash\varphi

. which is to say that the expression

\varphi

is a semantic consequence of the empty set.

Typography

In TeX, the turnstile symbols ⊨ and

\models

are obtained from the commands \vDash and \models respectively.

In Unicode it is encoded at, and the opposite of it is .

In LaTeX there is the turnstile package, which issues this sign in many ways, including the double turnstile, and is capable of putting labels below or above it, in the correct places. The article A Tool for Logicians is a tutorial on using this package.

See also

References

  1. Book: Nederpelt, Rob . Logical Reasoning: A First Course . King's College Publications. 2004. 3rd revised . 62 . Chapter 7: Strengthening and weakening. 0-9543006-7-X.
  2. Open Logic Project, First-order logic (p.7). Accessed 4 January 2022.