src/Modal/s4.thy
author lcp
Fri, 19 Nov 1993 11:35:59 +0100
changeset 132 b5704e45d2d2
parent 0 a5a9c433f639
permissions -rw-r--r--
Trivial spacing corrections
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     1
(*  Title: 	91/Modal/S4
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     2
    ID:         $Id$
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     3
    Author: 	Martin Coen
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     4
    Copyright   1991  University of Cambridge
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     5
*)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     6
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     7
S4 = Modal0 +
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     8
rules
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     9
(* Definition of the star operation using a set of Horn clauses *)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    10
(* For system S4:  gamma * == {[]P | []P : gamma}               *)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    11
(*                 delta * == {<>P | <>P : delta}               *)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    12
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    13
  lstar0         "|L>"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    14
  lstar1         "$G |L> $H ==> []P, $G |L> []P, $H"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    15
  lstar2         "$G |L> $H ==>   P, $G |L>      $H"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    16
  rstar0         "|R>"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    17
  rstar1         "$G |R> $H ==> <>P, $G |R> <>P, $H"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    18
  rstar2         "$G |R> $H ==>   P, $G |R>      $H"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    19
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    20
(* Rules for [] and <> *)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    21
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    22
  boxR
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    23
   "[| $E |L> $E';  $F |R> $F';  $G |R> $G';  \
132
b5704e45d2d2 Trivial spacing corrections
lcp
parents: 0
diff changeset
    24
\           $E'         |- $F', P, $G'|] ==> $E          |- $F, []P, $G"
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    25
  boxL     "$E,P,$F,[]P |-         $G    ==> $E, []P, $F |-          $G"
132
b5704e45d2d2 Trivial spacing corrections
lcp
parents: 0
diff changeset
    26
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    27
  diaR     "$E          |- $F,P,$G,<>P   ==> $E          |- $F, <>P, $G"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    28
  diaL
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    29
   "[| $E |L> $E';  $F |L> $F';  $G |R> $G';  \
132
b5704e45d2d2 Trivial spacing corrections
lcp
parents: 0
diff changeset
    30
\           $E', P, $F' |-         $G'|] ==> $E, <>P, $F |- $G"
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    31
end