| author | wenzelm |
| Thu, 07 Sep 2000 20:51:31 +0200 | |
| changeset 9894 | c8ff37b637a7 |
| parent 5184 | 9b8547a9496a |
| child 11703 | 6e5de8d4290a |
| permissions | -rw-r--r-- |
| 3807 | 1 |
(* |
2 |
File: TLA/ex/inc/Pcount.thy |
|
3 |
Author: Stephan Merz |
|
4 |
Copyright: 1997 University of Munich |
|
5 |
||
6 |
Theory Name: Pcount |
|
7 |
Logic Image: TLA |
|
8 |
||
9 |
Data type "program counter" for the increment example. |
|
10 |
Isabelle/HOL's datatype package generates useful simplifications |
|
11 |
and case distinction tactics. |
|
12 |
*) |
|
13 |
||
| 5184 | 14 |
Pcount = Datatype + |
| 3807 | 15 |
|
16 |
datatype pcount = a | b | g |
|
17 |
||
18 |
end |
|
19 |
||
20 |
ML |