src/Sequents/S4.thy
author wenzelm
Sun Sep 18 15:20:08 2005 +0200 (2005-09-18)
changeset 17481 75166ebb619b
parent 2073 fb0655539d05
child 21426 87ac12bed1ab
permissions -rw-r--r--
converted to Isar theory format;
wenzelm@17481
     1
(*  Title:      Modal/S4.thy
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
wenzelm@17481
     7
theory S4
wenzelm@17481
     8
imports Modal0
wenzelm@17481
     9
begin
wenzelm@17481
    10
wenzelm@17481
    11
axioms
paulson@2073
    12
(* Definition of the star operation using a set of Horn clauses *)
paulson@2073
    13
(* For system S4:  gamma * == {[]P | []P : gamma}               *)
paulson@2073
    14
(*                 delta * == {<>P | <>P : delta}               *)
paulson@2073
    15
wenzelm@17481
    16
  lstar0:         "|L>"
wenzelm@17481
    17
  lstar1:         "$G |L> $H ==> []P, $G |L> []P, $H"
wenzelm@17481
    18
  lstar2:         "$G |L> $H ==>   P, $G |L>      $H"
wenzelm@17481
    19
  rstar0:         "|R>"
wenzelm@17481
    20
  rstar1:         "$G |R> $H ==> <>P, $G |R> <>P, $H"
wenzelm@17481
    21
  rstar2:         "$G |R> $H ==>   P, $G |R>      $H"
paulson@2073
    22
paulson@2073
    23
(* Rules for [] and <> *)
paulson@2073
    24
wenzelm@17481
    25
  boxR:
wenzelm@17481
    26
   "[| $E |L> $E';  $F |R> $F';  $G |R> $G';
paulson@2073
    27
           $E'         |- $F', P, $G'|] ==> $E          |- $F, []P, $G"
wenzelm@17481
    28
  boxL:     "$E,P,$F,[]P |-         $G    ==> $E, []P, $F |-          $G"
paulson@2073
    29
wenzelm@17481
    30
  diaR:     "$E          |- $F,P,$G,<>P   ==> $E          |- $F, <>P, $G"
wenzelm@17481
    31
  diaL:
wenzelm@17481
    32
   "[| $E |L> $E';  $F |L> $F';  $G |R> $G';
paulson@2073
    33
           $E', P, $F' |-         $G'|] ==> $E, <>P, $F |- $G"
wenzelm@17481
    34
wenzelm@17481
    35
ML {* use_legacy_bindings (the_context ()) *}
wenzelm@17481
    36
paulson@2073
    37
end