Semantics of GL #
Here we supply the semantics of GL.
Kripke models for GL (note: we add the transitivity and con_wf conditions directly into our definition of a model, i.e. this is not a general definition of a Krike model!)
- R : α → α → Prop
- trans : Transitive self.R
- con_wf : WellFounded (Function.swap self.R)
Instances For
Standard semantics for Kripke models.
Equations
- evaluate (fst, snd) Formula.bottom = False
- evaluate (fst, snd) Formula.top = True
- evaluate (M, w) (at n) = M.V w n
- evaluate (M, w) (na n) = ¬M.V w n
- evaluate (M, w) (φ&ψ) = (evaluate (M, w) φ ∧ evaluate (M, w) ψ)
- evaluate (M, w) (φ v ψ) = (evaluate (M, w) φ ∨ evaluate (M, w) ψ)
- evaluate (M, w) (□φ) = ∀ (u : α), M.R w u → evaluate (M, u) φ
- evaluate (M, w) (◇φ) = ∃ (u : α), M.R w u ∧ evaluate (M, u) φ
Instances For
note: sequent are read disjunctively!
Equations
- evaluateSeq M_u Γ = ∃ φ ∈ Γ, evaluate M_u φ
Instances For
note: ignores the left/right annotation.
Instances For
Instances For
Equations
- «term⊨_» = Lean.ParserDescr.node `«term⊨_» 40 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "⊨") (Lean.ParserDescr.cat `term 40))
Instances For
Equations
- «term⊨__1» = Lean.ParserDescr.node `«term⊨__1» 40 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "⊨") (Lean.ParserDescr.cat `term 40))
Instances For
Equations
- «term⊨__2» = Lean.ParserDescr.node `«term⊨__2» 40 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "⊨") (Lean.ParserDescr.cat `term 40))