src/HOL/Modelcheck/Example.ML
author mueller
Fri, 30 May 1997 16:37:20 +0200
changeset 3380 2986e3b1f86a
parent 3225 cee363fc07d7
child 5069 3ea049f7979d
permissions -rw-r--r--
trivial changes to incorporate CTL.thy and Example.ML in html file;

(*  Title:      HOL/Modelcheck/Example.ML
    ID:         $Id$
    Author:     Olaf Mueller, Jan Philipps, Robert Sandner
    Copyright   1997  TU Muenchen
*)

val reach_rws = [reach_def,INIT_def,N_def];


goal thy "reach (True,True,True)";
by (simp_tac (MC_ss addsimps reach_rws) 1);

(*show the current proof state using the model checker syntax*)
setmp print_mode ["Eindhoven"] pr ();

(* actually invoke the model checker *)
(* try out after installing the model checker: see the README file *)

(* by (mc_tac 1); *)

(*qed "reach_ex_thm";*)



(* just to make a proof in this file :-) *)
goalw thy [INIT_def] "INIT (a,b,c) = (~a & ~b &~c)";
by (Simp_tac 1);
qed"init_state";