Difference between revisions of "Modal Logic"

From Wiki Notes @ WuJiewen.com, by Jiewen Wu
Jump to: navigation, search
(Temporal Logic)
Line 14: Line 14:
  
 
==Semantics==
 
==Semantics==
 +
Modal logic can be interpreted using possible world semantics, at the level of frames and models.
 +
 +
A frame is a pair <math>\,\mathfrak{F}=(W, R)</math> where W is a non-empty set of worlds, and R is a binary relation on W, e.g., <math>\,R\subseteq W\times W</math>

Revision as of 13:44, 5 November 2009

Syntax

The basic modal logic is defined using a set of propositional letters <math>\,\Phi</math>, and a unary operator <math>\,\Box</math>. A well-formed formula is then given by the rule

<math>\phi := p\mid\perp\mid\neg\phi\mid\phi\wedge\phi\mid\Box\phi</math> ,

where p ranges over elements of <math>\,\Phi</math>. A dual operator of <math>\,\Box</math> is <math>\,\Diamond</math>: <math>\,\Diamond\phi\equiv\neg\Box\neg\phi</math>.


Temporal Logic

The basic temporal language is an extension to the basic modal logic. It is defined using two unary operators F and P. F<math>\,\phi</math> is interpreted as <math>\,\phi</math> will be true at some future time, while p<math>\,\phi</math> means <math>\,\phi</math> was true at some past time. Their duals are written as G and H respectively, meaning it is always going to be the case and it always has been the case.

Interesting assertions can be made about time in this logic. For instance, <math>P\,\phi\to GP\,\phi</math> means whatever has happened will always have happened, and <math>F\,\phi\to FF\,\phi</math> shows that we are thinking of time as dense: between any two instants there is always a third.

Semantics

Modal logic can be interpreted using possible world semantics, at the level of frames and models.

A frame is a pair <math>\,\mathfrak{F}=(W, R)</math> where W is a non-empty set of worlds, and R is a binary relation on W, e.g., <math>\,R\subseteq W\times W</math>