author | wenzelm |
Tue, 27 May 1997 15:45:07 +0200 | |
changeset 3362 | 0b268cff9344 |
parent 3225 | cee363fc07d7 |
child 3380 | 2986e3b1f86a |
permissions | -rw-r--r-- |
3210 | 1 |
(* Title: HOL/Modelcheck/Example.ML |
2 |
ID: $Id$ |
|
3 |
Author: Olaf Mueller, Jan Philipps, Robert Sandner |
|
4 |
Copyright 1997 TU Muenchen |
|
5 |
*) |
|
6 |
||
7 |
val reach_rws = [reach_def,INIT_def,N_def]; |
|
8 |
||
9 |
||
10 |
goal thy "reach (True,True,True)"; |
|
11 |
by (simp_tac (MC_ss addsimps reach_rws) 1); |
|
12 |
||
13 |
(*show the current proof state using the model checker syntax*) |
|
14 |
setmp print_mode ["Eindhoven"] pr (); |
|
15 |
||
3225 | 16 |
(* actually invoke the model checker *) |
17 |
(* try out after installing the model checker: see the README file *) |
|
18 |
||
19 |
(* by (mc_tac 1); *) |
|
3210 | 20 |
|
3219
9854e3ea09e7
commented out qed (in case the MC is unavailable);
mueller
parents:
3210
diff
changeset
|
21 |
(*qed "reach_ex_thm1";*) |
3210 | 22 |
|
23 |
||
24 |