Proves in LaTeX (\vdash)

⊢\vdash
LaTeX command
\vdash
Package
No package needed: built into LaTeX
Mode
Math mode only
Copy the Unicode character
⊢U+22A2

Where it is used

Turnstile, meaning the right-hand formula is derivable (provable) from the left-hand assumptions.

Proof theory writes \Gamma \vdash \varphi for syntactic consequence, and type theory uses it in typing judgments \Gamma \vdash e : \tau. It differs from \models, which states semantic consequence (truth in all models); soundness and completeness say the two coincide in first-order logic. Negate it with \nvdash. \vdash is a relation, so spacing is automatic. For inference rules, \frac or a dedicated proof-tree package produces the horizontal line, with judgments containing \vdash above and below. The mirror symbol is \dashv.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

Γ,x:σ⊢e:τ\Gamma, x : \sigma \vdash e : \tau
\documentclass{article}
\begin{document}
Proves: $\vdash$

\[ \Gamma, x : \sigma \vdash e : \tau \]
\end{document}

Related symbols

All Lohika at Proofs →

Frequently asked questions

How do I write Proves in LaTeX?
Type \vdash in math mode, for example $\Gamma, x : \sigma \vdash e : \tau$. It works in plain LaTeX without loading any package.
Which package do I need for \vdash?
None. \vdash is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \vdash in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\vdash$ in running text. If you only need the glyph in text, paste the Unicode character ⊢ instead (with XeLaTeX or LuaLaTeX and a font that has it).
Math poweredSumulat ng LaTeX gamit ang AI

Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf

Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI

  • Gumawa ng magagandang TikZ diagrams gamit ang AI
  • Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
  • Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers