Debian Codegraph @

doc/refman/TODO

raw
1 20140401 mail futatsugi
2
3 {{
4
5 Definition of reduction and interpretation of variables of
6 RD =def "S =( , )=> P suchThat C withStateEq E {I}"
7
8 (a) Let {V1, V2, ...,Vn} =def (vars(P) \setminus vars(S)).
9 (a.1) Treat variables in
10 ((vars(S) U vars(P) U vars (C) U vars(I))
11 \setminus {V1, V2, ...,Vn})
12 as fresh constants.
13 (a.2) Treat variables in {V1, V2, ...,Vn} as "variables"
14 for making bindings.
15 (a.3) (vars(E) = {S1,S2}) and
16 ((((vars(S) U vars(P) U vars (C) U vars(I))
17 \setintersection(\cap) {S1,S2}) = \emptyset);
18 S1 and S2 are variables for indicating two arguments of a
19 predicate over sort(S) (=sort(P))
20
21 (b) The reduction of RD works as follows.
22 Search next term T such that (S =( , )=> T).
23 E is used for terminating the search for T.
24 Do the followings for each T.
25 (b.1) Get all bindings b1,b2,...,bm such that (bi(P) = T).
26 where bi = {V1->t1, V2->t2, ..., Vn->tn}
27 (b.2) Output (to the standard output stream) the binding bi and the term
28    bi(I) if (bi(C) = true).
29
30 (C) The returned value of RD is defined as follows
31 if the reduction of RD terminates.
32 (c.1) Return "true" if there exits some term T such that (S =( , )=> T)
33 and ((bi(C) = true) for some binding bi).
34 (C.2) Return "false" otherwise.
35
36 }}
37