Jump to content

Turnstile (symbol)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Yobot (talk | contribs) at 18:53, 14 January 2021 (Interpretations: References after punctuation per WP:REFPUNCT, WP:CITEFOOT, WP:PAIC + other fixes). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In mathematical logic and computer science the symbol has taken the name turnstile because of its resemblance to a typical turnstile if viewed from above. It is also referred to as tee and is often read as "yields", "proves", "satisfies" or "entails".

In TeX, the turnstile symbol is obtained from the command \vdash. In Unicode, the turnstile symbol () is called right tack and is at code point U+22A2.[1] (Code point U+22A6 is named assertion sign ().) On a typewriter, a turnstile can be composed from a vertical bar (|) and a dash (–). In LaTeX there is a turnstile package which issues this sign in many ways, and is capable of putting labels below or above it, in the correct places.[2]

Interpretations

The turnstile represents a binary relation. It has several different interpretations in different contexts:

  • In epistemology, Per Martin-Löf (1996) analyzes the symbol thus: "...[T]he combination of Frege's Urteilsstrich, judgement stroke [ | ], and Inhaltsstrich, content stroke [—], came to be called the assertion sign."[3] Frege's notation for a judgement of some content A
can then be read
I know A is true.[4]
In the same vein, a conditional assertion
can be read as:
From P, I know that Q
means that Q is derivable from P in the system.
Consistent with its use for derivability, a "⊢" followed by an expression without anything preceding it denotes a theorem, which is to say that the expression can be derived from the rules using an empty set of axioms. As such, the expression
means that Q is a theorem in the system.
  • In proof theory, the turnstile is used to denote "provability" or "derivability". For example, if T is a formal theory and S is a particular sentence in the language of the theory then
means that S is provable from T.[6] This usage is demonstrated in the article on propositional calculus. The syntactic consequence of provability should be contrasted to semantic consequence, denoted by the double turnstile symbol . One says that is a semantic consequence of , or , when all possible valuations in which is true, is also true. For propositional logic, it maybe be shown that semantic consequence and derivability are equivalent to one-another. That is, propositional logic is sound ( implies ) and complete ( implies )[7]
  • In the typed lambda calculus, the turnstile is used to separate typing assumptions from the typing judgment.[8][9]
  • In category theory, a reversed turnstile (), as in , is used to indicate that the functor F is left adjoint to the functor G.[10] More rarely, a turnstile (), as in , is used to indicate that the functor G is right adjoint to the functor F.[11]
  • In APL the symbol is called "right tack" and represents the ambivalent right identity function where both XY and ⊢Y are Y. The reversed symbol "⊣" is called "left tack" and represents the analogous left identity where XY is X and ⊣Y is Y.[12][13]
  • In combinatorics, means that λ is a partition of the integer n.[14]
  • In Hewlett-Packard's HP-41C/CV/CX and HP-42S series of calculators, the symbol (at code point 127 in the FOCAL character set) is called "Append character" and is used to indicate that the following characters will be appended to the alpha register rather than replacing the existing contents of the register. The symbol is also supported (at code point 148) in a modified variant of the HP Roman-8 character set used by other HP calculators.
  • On the Casio fx-92 Collège 2D and fx-92+ Spéciale Collège calculators,[15] the symbol represents the modulo operator; entering will produce an answer of , where Q is the quotient and R is the remainder. On other CASIO calculators (such as on the Belgian variants—the fx-92B Spéciale Collège and fx-92B Collège 2D calculators[16]—where the decimal separator is represented as a dot instead of a comma), the modulo operator is represented by ÷R instead.

Similar graphemes

  • (U+A714) Modifier Letter Mid Left-Stem Tone Bar
  • (U+251C) Box Drawings Light Vertical And Right
  • (U+314F) Korean Ah
  • Ͱ (U+0370) Greek Capital Letter Heta
  • ͱ (U+0371) Greek Small Letter Heta
  • (U+2C75) Latin Capital Letter Half H
  • (U+2C76) Latin Small Letter Half H
  • (U+23AB) Right curly bracket

See also

Notes

  1. ^ Unicode standard
  2. ^ http://www.ctan.org/tex-archive/macros/latex/contrib/turnstile
  3. ^ Martin-Löf 1996, pp. 6, 15
  4. ^ Martin-Löf 1996, p. 15
  5. ^ Chapter 6, Formal Language Theory
  6. ^ Troelstra & Schwichtenberg 2000
  7. ^ Dirk van Dalen, Logic and Structure (1980), Springer, ISBN 3-540-20879-8. See Chapter 1, section 1.5.
  8. ^ Peter Selinger, Lecture Notes on the Lambda Calculus
  9. ^ Schmidt 1994
  10. ^ adjoint functor in nLab
  11. ^ @FunctorFact (5 July 2016). "Functor Fact on Twitter" (Tweet) – via Twitter.
  12. ^ Iverson, APL dictionary
  13. ^ Iverson 1987
  14. ^ Stanley, Richard P. (1999). Enumerative Combinatorics. Vol. Vol. 2 (1st ed.). Cambridge: Cambridge University Press. p. 287. {{cite book}}: |volume= has extra text (help)
  15. ^ fx-92 Spéciale Collège Mode d'emploi (PDF). CASIO COMPUTER CO., LTD. 2015. p. 12.
  16. ^ "Remainder Calculations - Casio fx-92B User Manual [Page 13] | ManualsLib". www.manualslib.com. Retrieved 2020-12-24.

References