Using parametric set constraints for locating
errors in CLP programs
-
Published:2002-07
Issue:4-5
Volume:2
Page:549-610
-
ISSN:1471-0684
-
Container-title:Theory and Practice of Logic Programming
-
language:en
-
Short-container-title:Theory and Practice of Logic Programming
Author:
DRABENT WŁODZIMIERZ,MAŁUSZYŃSKI JAN,PIETRZAK PAWEŁ
Abstract
This paper introduces a framework of parametric descriptive directional types for Constraint
Logic Programming (CLP). It proposes a method for locating type errors in CLP programs,
and presents a prototype debugging tool. The main technique used is checking correctness
of programs w.r.t. type specifications. The approach is based on a generalization of known
methods for proving the correctness of logic programs to the case of parametric specifications.
Set constraint techniques are used for formulating and checking verification conditions for
(parametric) polymorphic type specifications. The specifications are expressed in a parametric
extension of the formalism of term grammars. The soundness of the method is proved, and
the prototype debugging tool supporting the proposed approach is illustrated on examples.
The paper is a substantial extension of the previous work by the same authors concerning
monomorphic directional types.
Publisher
Cambridge University Press (CUP)
Subject
Artificial Intelligence,Computational Theory and Mathematics,Hardware and Architecture,Theoretical Computer Science,Software
Cited by
6 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Typed SLD-Resolution: Dynamic Typing for Logic Programming;Logic-Based Program Synthesis and Transformation;2022
2. Data Type Inference for Logic Programming;Logic-Based Program Synthesis and Transformation;2022
3. A practical type analysis for verification of modular prolog programs;Proceedings of the 2008 ACM SIGPLAN symposium on Partial evaluation and semantics-based program manipulation - PEPM '08;2008
4. Towards Types for Web Rule Languages;Reasoning Web;2005
5. On Types for XML Query Language Xcerpt;Principles and Practice of Semantic Web Reasoning;2003