Common Knowledge in LaTeX (C_G p)
- LaTeX command
C_G p- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Common knowledge in group G: everyone knows p, everyone knows that everyone knows p, and so on without end.
With E_G p meaning everyone in G knows p, common knowledge is the infinite conjunction E_G p \land E_G E_G p \land \cdots, and it satisfies the fixed-point axiom C_G p \leftrightarrow E_G(p \land C_G p). The muddy children and coordinated attack puzzles turn on the gap between E_G and C_G. Distributed knowledge is written D_G p. G is a set of agents, so write it as a capital italic letter and define it explicitly.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Common Knowledge: $C_G p$
\[ C_G p \leftrightarrow E_G(p \land C_G p) \]
\end{document}Related symbols
- Always (temporal box)
\Box p - Believes
B_a p - Eventually (temporal diamond)
\Diamond p - Knows
K_a p - Until
p \mathcal{U} q - Possible Conjunction
\Diamond(p \land q)
Frequently asked questions
- How do I write Common Knowledge in LaTeX?
- Type C_G p in math mode, for example $C_G p \leftrightarrow E_G(p \land C_G p)$. It works in plain LaTeX without loading any package.
- Which package do I need for C_G p?
- None. C_G p is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use C_G p in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $C_G 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