author | mueller |
Fri, 16 May 1997 16:10:19 +0200 | |
changeset 3219 | 9854e3ea09e7 |
parent 3210 | e80db1660614 |
child 3225 | cee363fc07d7 |
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 |
||
16 |
(*actually invoke the model checker*) |
|
17 |
by (mc_tac 1); |
|
18 |
||
3219
9854e3ea09e7
commented out qed (in case the MC is unavailable);
mueller
parents:
3210
diff
changeset
|
19 |
(*qed "reach_ex_thm1";*) |
3210 | 20 |
|
21 |
||
22 |