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

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

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

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