Research indexJournal article
Algorithmic program diagnosis
Shapiro
Proceedings of the 9th ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '821 Jan 1982
NobleIDark:/48914/w1/20260515/EF81EBEDDOI10.1145/582153.582185
Algorithmic program diagnosis
Shapiro · Proceedings of the 9th ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '82 · 1982 · Subscription
NobleIDark:/48914/w1/20260515/EF81EBEDDOI10.1145/582153.582185
The full text is at the publisher
You can read the abstract here, or open it at the publisher.
Abstract
The notion of program correctness with respect to an interpretation is defined for a class of programming languages. Under this definition, if a program terminates with an incorrect output then it contains an incorrect procedure. Algorithms for detecting incorrect procedures are developed. These algorithms formalize what experienced programmers may know already.A logic program implementation of these algorithms is described. Its performance suggests that the algorithms can be the backbone of debugging aids that go far beyond what is offered by current programming environments.Applications of algorithmic debugging to automatic program construction are explored.