author | berghofe |
Fri, 24 Jul 1998 13:19:38 +0200 | |
changeset 5184 | 9b8547a9496a |
parent 3883 | acc1347cf2a0 |
permissions | -rw-r--r-- |
3210 | 1 |
(* Title: HOL/Modelcheck/Example.thy |
2 |
ID: $Id$ |
|
3 |
Author: Olaf Mueller, Jan Philipps, Robert Sandner |
|
4 |
Copyright 1997 TU Muenchen |
|
5 |
*) |
|
6 |
||
3380
2986e3b1f86a
trivial changes to incorporate CTL.thy and Example.ML in html file;
mueller
parents:
3225
diff
changeset
|
7 |
Example = CTL + MCSyn + |
3210 | 8 |
|
9 |
||
10 |
types |
|
11 |
state = "bool * bool * bool" |
|
12 |
||
13 |
consts |
|
14 |
||
15 |
INIT :: "state pred" |
|
16 |
N :: "[state,state] => bool" |
|
3883 | 17 |
reach:: "state pred" |
3210 | 18 |
|
19 |
defs |
|
20 |
||
21 |
INIT_def "INIT x == ~(fst x)&~(fst (snd x))&~(snd (snd x))" |
|
22 |
||
3225 | 23 |
N_def "N == % (x1,x2,x3) (y1,y2,y3). |
24 |
(~x1 & ~x2 & ~x3 & y1 & ~y2 & ~y3) | |
|
25 |
( x1 & ~x2 & ~x3 & ~y1 & ~y2 & ~y3) | |
|
26 |
( x1 & ~x2 & ~x3 & y1 & y2 & y3) " |
|
3210 | 27 |
|
28 |
reach_def "reach == mu (%Q x. INIT x | (? y. Q y & N y x))" |
|
3883 | 29 |
|
3210 | 30 |
|
31 |
end |