|
14052
|
1 |
(* Title: ZF/UNITY/Increasing
|
|
|
2 |
ID: $Id$
|
|
|
3 |
Author: Sidi O Ehmety, Cambridge University Computer Laboratory
|
|
|
4 |
Copyright 2001 University of Cambridge
|
|
|
5 |
|
|
|
6 |
The "Increasing" relation of Charpentier.
|
|
|
7 |
|
|
|
8 |
Increasing's parameters are a state function f, a domain A and an order
|
|
|
9 |
relation r over the domain A.
|
|
|
10 |
*)
|
|
|
11 |
|
|
|
12 |
Increasing = Constrains + Monotonicity +
|
|
|
13 |
constdefs
|
|
|
14 |
|
|
|
15 |
increasing :: [i, i, i=>i] => i ("increasing[_]'(_, _')")
|
|
|
16 |
"increasing[A](r, f) ==
|
|
|
17 |
{F:program. (ALL k:A. F: stable({s:state. <k, f(s)>:r})) &
|
|
|
18 |
(ALL x:state. f(x):A)}"
|
|
|
19 |
|
|
|
20 |
Increasing :: [i, i, i=>i] => i ("Increasing[_]'(_, _')")
|
|
|
21 |
"Increasing[A](r, f) ==
|
|
|
22 |
{F:program. (ALL k:A. F:Stable({s:state. <k, f(s)>:r})) &
|
|
|
23 |
(ALL x:state. f(x):A)}"
|
|
|
24 |
|
|
|
25 |
syntax
|
|
|
26 |
IncWrt :: [i=>i, i, i] => i ("(_ IncreasingWrt _ '/ _)" [60, 0, 60] 60)
|
|
|
27 |
|
|
|
28 |
translations
|
|
|
29 |
"IncWrt(f,r,A)" => "Increasing[A](r,f)"
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
end
|