src/Modal/S4.thy
author clasohm
Mon Feb 05 14:44:09 1996 +0100 (1996-02-05)
changeset 1474 3f7d67927fe2
parent 1150 66512c9e6bd6
permissions -rw-r--r--
expanded tabs
clasohm@1474
     1
(*  Title:      91/Modal/S4
clasohm@0
     2
    ID:         $Id$
clasohm@1474
     3
    Author:     Martin Coen
clasohm@0
     4
    Copyright   1991  University of Cambridge
clasohm@0
     5
*)
clasohm@0
     6
clasohm@0
     7
S4 = Modal0 +
clasohm@0
     8
rules
clasohm@0
     9
(* Definition of the star operation using a set of Horn clauses *)
clasohm@0
    10
(* For system S4:  gamma * == {[]P | []P : gamma}               *)
clasohm@0
    11
(*                 delta * == {<>P | <>P : delta}               *)
clasohm@0
    12
clasohm@0
    13
  lstar0         "|L>"
clasohm@0
    14
  lstar1         "$G |L> $H ==> []P, $G |L> []P, $H"
clasohm@0
    15
  lstar2         "$G |L> $H ==>   P, $G |L>      $H"
clasohm@0
    16
  rstar0         "|R>"
clasohm@0
    17
  rstar1         "$G |R> $H ==> <>P, $G |R> <>P, $H"
clasohm@0
    18
  rstar2         "$G |R> $H ==>   P, $G |R>      $H"
clasohm@0
    19
clasohm@0
    20
(* Rules for [] and <> *)
clasohm@0
    21
clasohm@0
    22
  boxR
clasohm@1150
    23
   "[| $E |L> $E';  $F |R> $F';  $G |R> $G';  
clasohm@1150
    24
           $E'         |- $F', P, $G'|] ==> $E          |- $F, []P, $G"
clasohm@0
    25
  boxL     "$E,P,$F,[]P |-         $G    ==> $E, []P, $F |-          $G"
lcp@132
    26
clasohm@0
    27
  diaR     "$E          |- $F,P,$G,<>P   ==> $E          |- $F, <>P, $G"
clasohm@0
    28
  diaL
clasohm@1150
    29
   "[| $E |L> $E';  $F |L> $F';  $G |R> $G';  
clasohm@1150
    30
           $E', P, $F' |-         $G'|] ==> $E, <>P, $F |- $G"
clasohm@0
    31
end