Eventually (temporal diamond) in LaTeX (\Diamond p)

◊p\Diamond p
LaTeX command
\Diamond p
Package
Add to your preamble:\usepackage{amssymb}
Mode
Math mode only

Where it is used

Temporal "eventually": \Diamond p says p holds at some present or future moment.

Linear temporal logic also writes it F p (future), and it can be defined from until as \Diamond p \equiv \top\,\mathcal{U}\,p. Liveness properties are typically of this shape, such as \Box(\mathit{req} \to \Diamond\mathit{grant}). \Diamond\Box p means p eventually holds forever. In alethic modal logic the same diamond means "possibly", so state the temporal reading. Use \Diamond, not \diamond, which is a smaller binary operator. In computation tree logic it is prefixed by a path quantifier, as in AF p or EF p.

Minimal compilable example

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

◊□p→□◊p\Diamond \Box p \to \Box \Diamond p
\documentclass{article}
\usepackage{amssymb}
\begin{document}
Eventually (temporal diamond): $\Diamond p$

\[ \Diamond \Box p \to \Box \Diamond p \]
\end{document}

Related symbols

All Modal Logic →

Frequently asked questions

How do I write Eventually (temporal diamond) in LaTeX?
Type \Diamond p in math mode, for example $\Diamond \Box p \to \Box \Diamond p$. Load amssymb first with \usepackage{amssymb}.
Which package do I need for \Diamond p?
\Diamond p needs amssymb: add \usepackage{amssymb} to your preamble before the document starts.
Can I use \Diamond p in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\Diamond p$ in running text.
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