categories - Category Theory list
 help / color / mirror / Atom feed
From: "Wojtowicz, Ralph" <wojtowicz@metsci.com>
To: <categories@mta.ca>
Subject: logics for model checking
Date: Tue, 2 Sep 2008 10:24:13 -0400	[thread overview]
Message-ID: <E1KaYuZ-00062n-6E@mailserv.mta.ca> (raw)

I am trying to understand model-checking logics such as 
linear temporal logic (LTL), computation tree logic (CTL),
and probabilistic extensions such as probabilistic computation
tree logic (PCTL).  These logics seem to be useful in model-
checking because of correspondences between recursive 
definitions of formulas and recursive algorithms for
computing them.  Syntactic inference and any semantics
other than the few (transition systems, DTMCs, MDPs, etc.) for 
which the logics were developed seem not to be of interest, 
however.  Translation theorems such as D1.4.7, D1.4.12, and
D4.3.13 of Johnstone's "Elephant" are not applied, as far as 
I have found.

Here are some initial thoughts based on my very limited 
knowledge of categorical logic.  The temporal logic operators 
"next", "eventually", and "always" may, for example, 
be formulated using a propositional signature. Let A be a set 
whose elements are thought of as state labels.  The set of 
atomic propositions is {a_n | a in A, n in N}.  The following 
are Horn formulas:

Next^n[a]       = a_n

Always^k[a]     = a_0 \wedge ... \wedge a_k

T^k[a, b]       = a_0 \wedge ... \wedge a_{k-1} \wedge b_k

The following are coherent formulas:

Until^k[a, b]   = T^0[a, b] \vee ... \vee T^k[a, b]

Eventually^k[a] = a_0 \vee ... \vee a_k

The following are geometric formulas:

Until[a, b]     = \vee_i T^i[a, b]

Eventually[a]   = \vee_i a_i

The following is infinitary:

Always[a]       = \wedge_i a_i.

Alternatively, these notions can be formulated as a 
first-order theory with basic sorts "States" and "Paths".  
It has function symbols

start : Paths -> States

shift : Paths -> Paths

and a set A of of relation symbols 

a |-> States.

PCTL can be formulated as a \tau-theory.  It has basic sorts 
States and Paths as above as well as the function symbols 
start and shift.  It also has function symbols 

Prob_{<p}:P(Paths) -> P(States) 

(similarly for \leq, >, and \geq) for 0 \leq p\leq 1 and

Cost_{<c}:P(S) -> P(S) 

(similarly for \leq, >, and \geq) for 0 \leq c.

There are certainly other presentations of these theories.  
Finally, here are a few questions.

Has anyone studied the model-checking logics using the tools
of categorical logic?

What interactions exist between bisimulation/probabilistic 
bisimulation and the logics?

What role could categorical logic have in developing model-
checking algorithms?

How can the usual semantics of these theories (e.g., DTMC 
semantics for PCTL) be viewed categorically (e.g., in the 
topos Set by interpreting the sorts simply as sets of states
and paths)?

Any other thoughts, suggestions, or references would be 
appreciated.


References:

Arnold.  "Finite Transition Systems".  Prentice-Hall.  1994.

Johnstone.  "Sketches of an Elephant: A Topos Theory Compendium".  
Oxford University Press.  2002.

Rutten, Kwiatkowska, Norman, and Parker.  "Mathematical Techniques
for Analyzing Concurrent and Probabilistic Systems".  AMS.  2004.

Thanks,
Ralph Wojtowicz
Metron, Inc.
11911 Freedom Drive, Suite 800
Reston, VA  USA
wojtowicz@metsci.com




             reply	other threads:[~2008-09-02 14:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-02 14:24 Wojtowicz, Ralph [this message]
2008-09-02 18:07 Claudio Hermida
2008-09-03 20:59 Luigi Santocanale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1KaYuZ-00062n-6E@mailserv.mta.ca \
    --to=wojtowicz@metsci.com \
    --cc=categories@mta.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).