Turnstile — Definition, Formula & Examples
The turnstile () is a symbol in formal logic meaning "proves" or "derives." It states that a conclusion can be reached from a set of premises using the rules of a logical system.
If is a set of formulas and is a formula, then asserts that is syntactically derivable from within a given formal proof system. When is empty, means is a theorem of the system.
Key Formula
Where:
- = A set of premise formulas (may be empty)
- = The conclusion formula derived from \Gamma
- = The turnstile, read as "proves" or "derives"
How It Works
Place premises on the left side of and the conclusion on the right. The statement says that can be derived from and by applying inference rules (here, modus ponens). The turnstile is purely syntactic: it concerns what you can prove by manipulating symbols, not what is true in a model. Its semantic counterpart is the double turnstile , which asserts that the conclusion is true in every model satisfying the premises.
Example
Problem: Using propositional logic, show that {P, P → Q} ⊢ Q.
Step 1: Assume premise .
Step 2: Assume premise .
Step 3: Apply modus ponens: from and , infer .
Answer: is syntactically derivable from the premises, so holds.
Why It Matters
The turnstile is central to proof theory, automated theorem proving, and programming language type systems. In type theory, the judgment states that expression has type in context , which is the foundation of type-checking in languages like Haskell and OCaml.
Common Mistakes
Mistake: Confusing the single turnstile (syntactic derivability) with the double turnstile (semantic entailment).
Correction: means "is provable from" using formal rules; means "is true in every model of." They coincide in complete systems (by the completeness theorem), but they are distinct concepts.
