Title :
An automatic partial deduction system for constraint logic programs
Author :
Tao, Yi ; Grosky, William I. ; Liu, Chunnian
Author_Institution :
Dept. of Comput. Sci., Wayne State Univ., Detroit, MI, USA
Abstract :
Presents a new procedure of partial deduction of various constraint logic programs. The procedure takes a program-goal pair (P 0, Q0) as input and outputs a resultant program-goal pair (Pn, Qn). The procedure always terminates and the computational equivalence of the program-goal pairs (P0, Q0) and (Pn, Qn) is preserved. Pn is more efficient in solving Qn than P0 in solving Q0. Our procedure is based on the idea of program transformation, using transformation rules such as unfolding, constraint simplification, code deletion with respect to a goal, introduction of a newly defined clause, and folding. We have implemented the procedure in an integrated partial deduction system, which can work with Prolog, CLP(Bool), and CLP(R) programs. Our results are compared with those resulting from other partial deduction methods, and it is shown that our method generates more succinct and efficient resultant programs in general
Keywords :
constraint handling; inference mechanisms; partial evaluation (compilers); CLP(Bool) programs; CLP(R) programs; Prolog programs; automatic partial deduction system; code deletion; computational equivalence; constraint logic programs; constraint simplification; folding; newly defined clause; procedure termination; program efficiency; program succinctness; program transformation rules; program-goal pair; unfolding; Automatic logic units; Computer science; Constraint optimization; Digital arithmetic; Logic programming; Problem-solving; Sun; Termination of employment; Workstations;
Conference_Titel :
Tools with Artificial Intelligence, 1997. Proceedings., Ninth IEEE International Conference on
Conference_Location :
Newport Beach, CA
Print_ISBN :
0-8186-8203-5
DOI :
10.1109/TAI.1997.632249