Tautology (verum, top) in LaTeX (\top)

⊤\top
LaTeX command
\top
Package
No package needed: built into LaTeX
Mode
Math mode only
Copy the Unicode character
⊤U+22A4

Where it is used

Down tack (top) symbol: verum, the always-true proposition, and the greatest element of a lattice.

In logic \top is a tautology, the identity for conjunction (p \land \top \equiv p). Lattices and domain theory use it for the top element, and type theory for the unit type. It is also widely used as a superscript for matrix transpose, A^\top, as an alternative to A^T or A^\intercal. \top is an ordinary symbol. Do not confuse it with the letter T, which sits on the baseline with different proportions. Its dual is \bot.

Also listed under: ブール代数

Minimal compilable example

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

p∨¬p≡⊤p \lor \neg p \equiv \top
\documentclass{article}
\begin{document}
Tautology (verum, top): $\top$

\[ p \lor \neg p \equiv \top \]
\end{document}

Related symbols

All 論理・証明 →

Frequently asked questions

How do I write Tautology (verum, top) in LaTeX?
Type \top in math mode, for example $p \lor \neg p \equiv \top$. It works in plain LaTeX without loading any package.
Which package do I need for \top?
None. \top is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \top in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\top$ 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に変換
  • 論文の執筆とフォーマットに即座にサポートを取得