Turnstile (symbol)
In mathematical logic and computer science the symbol ⊢ ([math]\displaystyle{ \vdash }[/math]) 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".
Interpretations
The turnstile represents a binary relation. It has several different interpretations in different contexts:
- In epistemology, Per Martin-Löf (1996) analyzes the [math]\displaystyle{ \vdash }[/math] symbol thus: "...[T]he combination of Frege's Urteilsstrich, judgement stroke [ | ], and Inhaltsstrich, content stroke [—], came to be called the assertion sign."[1] Frege's notation for a judgement of some content A
- [math]\displaystyle{ \vdash A }[/math]
- can then be read
- I know A is true.[2]
- In the same vein, a conditional assertion
- [math]\displaystyle{ P \vdash Q }[/math]
- can be read as:
- From P, I know that Q
- In metalogic, the study of formal languages; the turnstile represents syntactic consequence (or "derivability"). This is to say, that it shows that one string can be derived from another in a single step, according to the transformation rules (i.e. the syntax) of some given formal system.[3] As such, the expression
- [math]\displaystyle{ P \vdash Q }[/math]
- 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
- [math]\displaystyle{ \vdash Q }[/math]
- 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
- [math]\displaystyle{ T \vdash S }[/math]
- means that S is provable from T.[4] 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 [math]\displaystyle{ \models }[/math]. One says that [math]\displaystyle{ S }[/math] is a semantic consequence of [math]\displaystyle{ T }[/math], or [math]\displaystyle{ T \models S }[/math], when all possible valuations in which [math]\displaystyle{ T }[/math] is true, [math]\displaystyle{ S }[/math] is also true. For propositional logic, it may be shown that semantic consequence [math]\displaystyle{ \models }[/math] and derivability [math]\displaystyle{ \vdash }[/math] are equivalent to one-another. That is, propositional logic is sound ([math]\displaystyle{ \vdash }[/math] implies [math]\displaystyle{ \models }[/math]) and complete ([math]\displaystyle{ \models }[/math] implies [math]\displaystyle{ \vdash }[/math])[5]
- In sequent calculus, the turnstile is used to denote a sequent. A sequent [math]\displaystyle{ A_1,\,\dots,A_m \,\vdash\, B_1,\,\dots,B_n }[/math] asserts that, if all the antecedents [math]\displaystyle{ A_1,\,\dots,A_m }[/math] are true, then at least one of the consequents [math]\displaystyle{ B_1,\,\dots,B_n }[/math] must be true.
- In the typed lambda calculus, the turnstile is used to separate typing assumptions from the typing judgment.[6][7]
- In category theory, a reversed turnstile ([math]\displaystyle{ \dashv }[/math]), as in [math]\displaystyle{ F \dashv G }[/math], is used to indicate that the functor F is left adjoint to the functor G.[8] More rarely, a turnstile ([math]\displaystyle{ \vdash }[/math]), as in [math]\displaystyle{ G \vdash F }[/math], is used to indicate that the functor G is right adjoint to the functor F.[9]
- In APL the symbol is called "right tack" and represents the ambivalent right identity function where both X⊢Y and ⊢Y are Y. The reversed symbol "⊣" is called "left tack" and represents the analogous left identity where X⊣Y is X and ⊣Y is Y.[10][11]
- In combinatorics, [math]\displaystyle{ \lambda \vdash n }[/math] means that λ is a partition of the integer n.[12]
- 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,[13] the symbol represents the modulo operator; entering [math]\displaystyle{ 5\vdash2 }[/math] will produce an answer of [math]\displaystyle{ Q=2;R=1 }[/math], 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[14]—where the decimal separator is represented as a dot instead of a comma), the modulo operator is represented by ÷R instead.
Typography
In TeX, the turnstile symbol [math]\displaystyle{ \vdash }[/math] is obtained from the command \vdash.
In Unicode, the turnstile symbol (⊢) is called right tack and is at code point U+22A2.[15] (Code point U+22A6 is named assertion sign (⊦).)
- U+22A2 ⊢ RIGHT TACK (HTML
⊢
)- = turnstile
- = proves, implies, yields
- = reducible
- U+22A3 ⊣ LEFT TACK (HTML
⊣
)- = reverse turnstile
- = non-theorem, does not yield
- U+22AC ⊬ DOES NOT PROVE (HTML
⊬
)- ≡ 22A2⊢ 0338$̸
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.[16]
Similar graphemes
- ꜔ (U+A714) Modifier Letter Mid Left-Stem Tone Bar
- ├ (U+251C) Box Drawings Light Vertical And Right
- ㅏ (U+314F) Hangul Letter A
- Ͱ (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+23AC) Right Curly Bracket Middle Piece
See also
- Double turnstile [math]\displaystyle{ \models }[/math]
- List of logic symbols
- List of mathematical symbols
Notes
- ↑ Martin-Löf 1996, pp. 6, 15
- ↑ Martin-Löf 1996, p. 15
- ↑ "Chapter 6, Formal Language Theory". http://dingo.sbs.arizona.edu/~hammond/ling178-sp06/mathCh6.pdf.
- ↑ Troelstra & Schwichtenberg 2000
- ↑ Dirk van Dalen, Logic and Structure (1980), Springer, ISBN:3-540-20879-8. See Chapter 1, section 1.5.
- ↑ "Peter Selinger, Lecture Notes on the Lambda Calculus". http://www.mscs.dal.ca/~selinger/papers/lambdanotes.pdf.
- ↑ Schmidt 1994
- ↑ "adjoint functor in nLab". https://ncatlab.org/nlab/show/adjoint+functor.
- ↑ @FunctorFact (5 July 2016). "Functor Fact on Twitter". https://twitter.com/FunctorFact/status/750413999649546245.
- ↑ "A Dictionary of APL". https://www.jsoftware.com/papers/APLDictionary.htm.
- ↑ Iverson 1987
- ↑ Stanley, Richard P. (1999). Enumerative Combinatorics. 2 (1st ed.). Cambridge: Cambridge University Press. p. 287.
- ↑ fx-92 Spéciale Collège Mode d'emploi. Casio. 2015. pp. 12. https://support.casio.com/storage/fr/manual/pdf/FR/004/fx-92%20Speciale_College_FR.pdf.
- ↑ "Remainder Calculations - Casio fx-92B User Manual [Page 13 | ManualsLib"]. https://www.manualslib.com/manual/564947/Casio-Fx-92b.html?page=13#manual.
- ↑ "Unicode standard". http://unicode.org/charts/PDF/U2200.pdf.
- ↑ "CTAN: /tex-archive/macros/latex/contrib/turnstile". https://ctan.org/tex-archive/macros/latex/contrib/turnstile.
References
- Begriffsschrift: Eine der arithmetischen nachgebildete Formelsprache des reinen Denkens. Halle. 1879.
- A Dictionary of APL. 1987.
- "On the meanings of the logical constants and the justifications of the logical laws". Nordic Journal of Philosophical Logic 1 (1): 11–60. 1996. http://docenti.lett.unisi.it/files/4/1/1/6/martinlof4.pdf. (Lecture notes to a short course at Università degli Studi di Siena, April 1983.)
- The Structure of Typed Programming Languages. MIT Press. 1994. ISBN 0-262-19349-3.
- Basic Proof Theory (2nd ed.). Cambridge University Press. 2000. ISBN 978-0-521-77911-1.
Original source: https://en.wikipedia.org/wiki/Turnstile (symbol).
Read more |