Kripke Model in LaTeX (\mathcal{M}, w \models p)

M,w⊨p\mathcal{M}, w \models p
LaTeX command
\mathcal{M}, w \models p
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Satisfaction in a Kripke model: formula p is true at world w of model \mathcal{M}.

A Kripke model \mathcal{M} = (W, R, V) has worlds, an accessibility relation and a valuation, and truth is defined world by world, for instance \mathcal{M}, w \models \Box p iff p holds at all R-successors. \models is a relation with proper spacing; \vDash gives a similar double-turnstile glyph, and its negations are \not\models or \nvDash. Do not use \vdash, which means provability rather than truth. When the model is fixed, authors abbreviate to w \models p or w \Vdash p.

Minimal compilable example

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

M,w⊨□p  ⟺  ∀v (wRv⇒v⊨p)\mathcal{M}, w \models \Box p \iff \forall v\,(wRv \Rightarrow v \models p)
\documentclass{article}
\usepackage{amssymb}
\begin{document}
Kripke Model: $\mathcal{M}, w \models p$

\[ \mathcal{M}, w \models \Box p \iff \forall v\,(wRv \Rightarrow v \models p) \]
\end{document}

Related symbols

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

Frequently asked questions

How do I write Kripke Model in LaTeX?
Type \mathcal{M}, w \models p in math mode, for example $\mathcal{M}, w \models \Box p \iff \forall v\,(wRv \Rightarrow v \models p)$. It works in plain LaTeX without loading any package.
Which package do I need for \mathcal{M}, w \models p?
None. \mathcal{M}, w \models p is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \mathcal{M}, w \models p in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\mathcal{M}, w \models p$ in running text.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

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

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

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