src/Sequents/Modal0.ML
author paulson
Tue, 07 Mar 2006 16:49:48 +0100
changeset 19208 3e8006cbc925
parent 17481 75166ebb619b
permissions -rw-r--r--
Tidying and restructuring.

(*  Title:      Modal/modal0
    ID:         $Id$
    Author:     Martin Coen
    Copyright   1991  University of Cambridge
*)

structure Modal0_rls =
struct

val rewrite_rls = [strimp_def,streqv_def];

local
  val iffR = prove_goal (the_context ())
      "[| $H,P |- $E,Q,$F;  $H,Q |- $E,P,$F |] ==> $H |- $E, P <-> Q, $F"
   (fn prems=>
    [ (rewtac iff_def),
      (REPEAT (resolve_tac (prems@[conjR,impR]) 1)) ]);

  val iffL = prove_goal (the_context ())
     "[| $H,$G |- $E,P,Q;  $H,Q,P,$G |- $E |] ==> $H, P <-> Q, $G |- $E"
   (fn prems=>
    [ rewtac iff_def,
      (REPEAT (resolve_tac (prems@[conjL,impL,basic]) 1)) ])
in
val safe_rls   = [basic,conjL,conjR,disjL,disjR,impL,impR,notL,notR,iffL,iffR];
val unsafe_rls = [allR,exL];
val bound_rls  = [allL,exR];
end

end;