author | paulson |
Fri, 19 Sep 1997 16:12:21 +0200 | |
changeset 3685 | 5b8c0c8f576e |
parent 3380 | 2986e3b1f86a |
child 5069 | 3ea049f7979d |
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 |
|
3380
2986e3b1f86a
trivial changes to incorporate CTL.thy and Example.ML in html file;
mueller
parents:
3225
diff
changeset
|
21 |
(*qed "reach_ex_thm";*) |
3210 | 22 |
|
23 |
||
24 |
||
3380
2986e3b1f86a
trivial changes to incorporate CTL.thy and Example.ML in html file;
mueller
parents:
3225
diff
changeset
|
25 |
(* just to make a proof in this file :-) *) |
2986e3b1f86a
trivial changes to incorporate CTL.thy and Example.ML in html file;
mueller
parents:
3225
diff
changeset
|
26 |
goalw thy [INIT_def] "INIT (a,b,c) = (~a & ~b &~c)"; |
2986e3b1f86a
trivial changes to incorporate CTL.thy and Example.ML in html file;
mueller
parents:
3225
diff
changeset
|
27 |
by (Simp_tac 1); |
2986e3b1f86a
trivial changes to incorporate CTL.thy and Example.ML in html file;
mueller
parents:
3225
diff
changeset
|
28 |
qed"init_state"; |