Semantics of Modal Logic #
A model is a frame equipped with a valuation of atoms at worlds.
- v : World → Atom → Prop
Valuation of atoms at a world.
Instances For
Satisfaction relation. Satisfies m w φ means that, in the model m, the world w satisfies
the proposition φ.
Equations
- Cslib.Logic.Modal.Satisfies m w (Cslib.Logic.Modal.Proposition.atom p) = m.v w p
- Cslib.Logic.Modal.Satisfies m w Cslib.Logic.Modal.Proposition.false = False
- Cslib.Logic.Modal.Satisfies m w φ.not = ¬Cslib.Logic.Modal.Satisfies m w φ
- Cslib.Logic.Modal.Satisfies m w (φ₁.or φ₂) = (Cslib.Logic.Modal.Satisfies m w φ₁ ∨ Cslib.Logic.Modal.Satisfies m w φ₂)
- Cslib.Logic.Modal.Satisfies m w (Cslib.Logic.Modal.Proposition.triangle op φs) = ∃ (ws : τ.B op → World), m.r op w ws ∧ ∀ (i : τ.B op), Cslib.Logic.Modal.Satisfies m (ws i) (φs i)
Instances For
Judgement, representing the conclusions one reaches in modal logic.
- m : Model World τ Atom
Model.
- w : World
The world satisfying the proposition
φ. - φ : Proposition τ Atom
The proposition satisfied by the world
w.
Instances For
Constructs a judgement.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Satisfaction for judgements. This just refers to the unbundled Satisfies.
Equations
Instances For
Equations
A world satisfies a proposition iff it does not satisfy the negation of the proposition.
Characterisation of the ∧ connective.
Conjunction is defined in terms of the more primitive connectives given in Proposition.
This result proves that the definition is correct.
Characterisation of the → connective.
Implication is defined in terms of the more primitive connectives given in Proposition.
This result proves that the definition is correct.
Characterisation of the ↔ connective.
Bi-implication is defined in terms of the more primitive connectives given in Proposition.
This result proves that the definition is correct.
Characterisation of ∇.
Necessity is defined in terms of the more primitive connectives given in Proposition.
This result proves that the definition is correct.
A state satisfies a finite conjunction iff it satisfies all conjuncts.
A state satisfies a finite disjunction iff it satisfies some disjunct.
The theory of a world in a model is the set of all propositions that it satisfies.
Equations
- Cslib.Logic.Modal.theory m w = {φ : Cslib.Logic.Modal.Proposition τ Atom | ⇓{ m := m, w := w, φ := φ }}
Instances For
Two worlds are theory-equivalent under a model if they have the same theory.
Equations
- Cslib.Logic.Modal.TheoryEq m w₁ w₂ = (Cslib.Logic.Modal.theory m w₁ = Cslib.Logic.Modal.theory m w₂)
Instances For
Any proposition satisfied by a world is in the theory of that world.
If two worlds are not theory equivalent, there exists a distinguishing proposition.
If two worlds are theory equivalent and the former satisfies a proposition, the latter does as well.
Every frame induces an inference system tag for proving valid axioms under the frame.
Instances For
A proposition φ is an axiom under a frame f if it holds for all valuations and worlds.
Equations
- One or more equations did not get rendered due to their size.
If a proposition is an axiom under the frame of a model, it is satisfied by every world.
Axiom K, valid for all frames.
This is from Definition 4.13 in [BRV01].
The dual axiom, valid for all frames.
This is from Definition 4.13 in [BRV01].
Possibility preserves conjunction.
Possibility can be combined with necessity.
This generalises the unimodal law ◇φ₁ ∧ □φ₂ → ◇(φ₁ ∧ φ₂).
If φ₁ is necessary and some successor exists, then some successor satisfies φ₁.
This generalises the unimodal law □φ₁ ∧ ◇φ₂ → ◇φ₁.
If the diagonal relation for op is reflexive, a world satisfying φ also satisfies Δ[op]
with φ at every argument position.
Axiom T, valid for all frames with reflexive diagonals.
This generalises the unimodal law φ → ◇φ.
Any frame admitting T for op has a reflexive diagonal relation.
In any model whose diagonal relation for op is reflexive, ∇[op]φ → φ is equivalent to
φ → Δ[op]φ.
Axiom B, valid for diagonally symmetric frames.
Any frame that admits B at op is diagonally symmetric at op.
The 4 axiom, valid for transitive frames.
Any frame that admits 4 at op is transitive at op.
Axiom 5, valid for right-Euclidean frames.
Any frame that admits 5 at op is right-Euclidean at op.
A proposition is valid in a class of models S (modelled as a set) if it is satisfied under
all models in S for all worlds.
Corresponds to Definition 1.28 (for classes of models) in [BRV01].
Equations
- Cslib.Logic.Modal.Proposition.valid S φ = ∀ m ∈ S, ∀ (w : World), ⇓{ m := m, w := w, φ := φ }
Instances For
The modal logic of a class of models S is the set of all propositions valid in S.
Corresponds to Definition 1.28 (for classes of models) in [BRV01].
Equations
Instances For
Modal logic is antitone (wrt the class of models).
The class of all models generated by a frame (relation).
Equations
- Cslib.Logic.Modal.modelsOfFrame f = {m : Cslib.Logic.Modal.Model World τ Atom | m.toFrame = f}
Instances For
A proposition is an axiom of a frame exactly when it belongs to the logic of all models over that frame.