Accessibility in LaTeX (w R v)

wRvw R v
LaTeX command
w R v
Package
No package needed: built into LaTeX
Mode
Text and math mode

Where it is used

Accessibility relation in Kripke semantics: w R v means world v is accessible (considered possible) from world w.

Properties of R match modal axioms: reflexive gives T (\Box p \to p), transitive gives 4 (\Box p \to \Box\Box p), and an equivalence relation gives S5. Truth of \Box p at w requires p at every v with wRv. Typed as w R v, TeX treats R as an ordinary letter and the spaces vanish, producing wRv; use w \mathrel{R} v for relation spacing, or define a macro. Some authors write R(w, v) or w \to v instead.

Minimal compilable example

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

wRv∧v⊨p  ⟹  w⊨◊pw \mathrel{R} v \land v \models p \implies w \models \Diamond p
\documentclass{article}
\usepackage{amssymb,amsmath}
\begin{document}
Accessibility: $w R v$

\[ w \mathrel{R} v \land v \models p \implies w \models \Diamond p \]
\end{document}

Related symbols

All المنطق الشرطي →

Frequently asked questions

How do I write Accessibility in LaTeX?
Type w R v in math mode, for example $w \mathrel{R} v \land v \models p \implies w \models \Diamond p$. It works in plain LaTeX without loading any package.
Which package do I need for w R v?
None. w R v is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use w R v in text mode, or only in math mode?
Both. w R v compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث