Necessary Implication in LaTeX (\Box(p \to q))
- LaTeX command
\Box(p \to q)- Package
- Add to your preamble:
\usepackage{amssymb} - Mode
- Math mode only
Where it is used
Necessitated implication: \Box(p \to q) says that in every accessible world, p implies q (strict implication).
This is the antecedent of the distribution axiom K, \Box(p \to q) \to (\Box p \to \Box q), which every normal modal logic includes. C. I. Lewis introduced strict implication as exactly this formula, so \Box(p \to q) is often read as p strictly implies q. \to and \rightarrow give the same arrow; \implies is a long arrow with extra space, better for meta-level reasoning than object-language connectives. The parentheses are required, since \Box binds tighter than \to. Necessitation lets you derive \Box(p \to q) from any theorem p \to q.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amssymb}
\begin{document}
Necessary Implication: $\Box(p \to q)$
\[ \Box(p \to q) \to (\Box p \to \Box q) \]
\end{document}Related symbols
- Possible Conjunction
\Diamond(p \land q) - Not Possible
\neg\Diamond - Knows
K_a p - Not Necessary
\neg\Box - Believes
B_a p - Possibly
\Diamond
Frequently asked questions
- How do I write Necessary Implication in LaTeX?
- Type \Box(p \to q) in math mode, for example $\Box(p \to q) \to (\Box p \to \Box q)$. Load amssymb first with \usepackage{amssymb}.
- Which package do I need for \Box(p \to q)?
- \Box(p \to q) needs amssymb: add \usepackage{amssymb} to your preamble before the document starts.
- Can I use \Box(p \to q) in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\Box(p \to q)$ in running text.
أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf
يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي
- أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
- ارفع صورة وحولها إلى LaTeX بسلاسة
- احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث