Modaaliloogika
Modaaliloogika is a branch of logic that studies modalities, which are linguistic expressions that describe possibility, necessity, contingency, and impossibility. It extends classical propositional or first-order logic by introducing modal operators. The most common modal operators are "necessarily" (often symbolized as $\Box$) and "possibly" (often symbolized as $\Diamond$). These operators are typically defined in relation to each other, such that $\Diamond A$ is equivalent to $\neg \Box \neg A$, meaning "it is possible that A" is the same as "it is not necessary that not A."
The semantics for modal logic are often provided by Kripke semantics, which involve a set of "possible
Modal logic has applications in various fields beyond pure philosophy, including computer science (for reasoning about