Title :
An automatic debugging approach for logic programming with a method for propagating constraints
Author :
Fukaya, Tetsuji ; Nagata, Morio
Author_Institution :
Toshiba Co., Kawasaki, Japan
Abstract :
Focusing on logic programming, a practical method is proposed for verifying and debugging large programs invoking many subprograms. If a programmer gives a few simple constraints on arguments of the top-level program, then the approach automatically verifies that these constraints hold with a method for propagating constraints to its subprograms. Using both propagated constraints and recursive structure of programs, the method verifies the correctness of there constraints with an inductive method. Moreover, when these exists a constraint which can not hold, the approach shows debugging information on the program. The authors have implemented a verifying and debugging system for Prolog programs based on their method. Some experimental results are described
Keywords :
logic programming; program debugging; program verification; Prolog programs; automatic debugging approach; correctness; inductive method; logic programming; propagating constraints; recursive structure; subprograms; top-level program; verifying system; Automatic logic units; Computational modeling; Computer bugs; Computer languages; Debugging; Laboratories; Logic programming; Programming profession; Software engineering; Writing;
Conference_Titel :
Computer Software and Applications Conference, 1991. COMPSAC '91., Proceedings of the Fifteenth Annual International
Conference_Location :
Tokyo
Print_ISBN :
0-8186-2152-4
DOI :
10.1109/CMPSAC.1991.170215