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 논리 및 증명 →

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 poweredAI로 LaTeX 작성

최고의 AI LaTeX 편집기, Overleaf 대안

Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움

  • AI로 아름다운 TikZ 다이어그램 생성
  • 이미지를 업로드하고 LaTeX로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기