src/Sequents/S4.thy
author paulson
Wed Oct 09 13:32:33 1996 +0200 (1996-10-09)
changeset 2073 fb0655539d05
child 17481 75166ebb619b
permissions -rw-r--r--
New unified treatment of sequent calculi by Sara Kalvala
combines the old LK and Modal with the new ILL (Int. Linear Logic)
paulson@2073
     1
(*  Title:      Modal/S4
paulson@2073
     2
    ID:         $Id$
paulson@2073
     3
    Author:     Martin Coen
paulson@2073
     4
    Copyright   1991  University of Cambridge
paulson@2073
     5
*)
paulson@2073
     6
paulson@2073
     7
S4 = Modal0 +
paulson@2073
     8
rules
paulson@2073
     9
(* Definition of the star operation using a set of Horn clauses *)
paulson@2073
    10
(* For system S4:  gamma * == {[]P | []P : gamma}               *)
paulson@2073
    11
(*                 delta * == {<>P | <>P : delta}               *)
paulson@2073
    12
paulson@2073
    13
  lstar0         "|L>"
paulson@2073
    14
  lstar1         "$G |L> $H ==> []P, $G |L> []P, $H"
paulson@2073
    15
  lstar2         "$G |L> $H ==>   P, $G |L>      $H"
paulson@2073
    16
  rstar0         "|R>"
paulson@2073
    17
  rstar1         "$G |R> $H ==> <>P, $G |R> <>P, $H"
paulson@2073
    18
  rstar2         "$G |R> $H ==>   P, $G |R>      $H"
paulson@2073
    19
paulson@2073
    20
(* Rules for [] and <> *)
paulson@2073
    21
paulson@2073
    22
  boxR
paulson@2073
    23
   "[| $E |L> $E';  $F |R> $F';  $G |R> $G';  
paulson@2073
    24
           $E'         |- $F', P, $G'|] ==> $E          |- $F, []P, $G"
paulson@2073
    25
  boxL     "$E,P,$F,[]P |-         $G    ==> $E, []P, $F |-          $G"
paulson@2073
    26
paulson@2073
    27
  diaR     "$E          |- $F,P,$G,<>P   ==> $E          |- $F, <>P, $G"
paulson@2073
    28
  diaL
paulson@2073
    29
   "[| $E |L> $E';  $F |L> $F';  $G |R> $G';  
paulson@2073
    30
           $E', P, $F' |-         $G'|] ==> $E, <>P, $F |- $G"
paulson@2073
    31
end