| 1 |
%============================================================================% |
| 2 |
% DIRECTORY: reduct % |
| 3 |
% % |
| 4 |
% DESCRIPTION: General theorems about reflexive/symmetric/transitive % |
| 5 |
% closure of binary relations ("rstc.ml" / "rstc.sml"). % |
| 6 |
% % |
| 7 |
% Some basic theorems about confluence and termination of % |
| 8 |
% abstract reduction relations ("reduct.ml" / "reduct.sml"). % |
| 9 |
% % |
| 10 |
% AUTHOR: John Harrison % |
| 11 |
% University of Cambridge Computer Laboratory % |
| 12 |
% New Museums Site % |
| 13 |
% Pembroke Street % |
| 14 |
% Cambridge CB2 3QG % |
| 15 |
% England. % |
| 16 |
% [email protected] % |
| 17 |
% % |
| 18 |
% DATE: 31st May 1993 % |
| 19 |
%============================================================================% |
| 20 |
|
| 21 |
The file "rstc.[s]ml" is a general theory of reflexive, symmetric and transitive |
| 22 |
closures of arbitrary binary relations (represented as curried functions of type |
| 23 |
":*->*->bool"). All distinct combinations of these closures are defined, and a |
| 24 |
fairly extensive set of theorems proved about each. Although only a few of these |
| 25 |
are defined using the inductive definitions package (and some of those |
| 26 |
gratuitously), induction and cases theorems of the standard form are derived, to |
| 27 |
allow use of the standard rule induction tactics. |
| 28 |
|
| 29 |
The file "reduct.[s]ml" is a basic theory of abstract reduction relations (again |
| 30 |
the nature of the relations is arbitrary). This is far from complete, but provides |
| 31 |
some potentially useful theorems, e.g. Newman's Lemma (weak confluence /\ strong |
| 32 |
normalization ==> confluence). |
| 33 |
|
| 34 |
The files have been tested in HOL88 v2.01 and hol90.5 as appropriate, and appear |
| 35 |
to work. |
| 36 |
|
| 37 |
Any bug reports or suggestions for improvements should be sent by email to me |
| 38 |
at [email protected]. |
| 39 |
|
| 40 |
John Harrison, 31st May 1993. |