Abstract
We adapt and extend existing approaches to termination in rule-based languages (logic programming and rewriting systems) to prove termination of actually implemented CHR constraint solvers. CHR (Constraint Handling Rules) are a declarative language especially designed for writing constraint solvers. CHR are a concurrent constraint logic programming language consisting of multi-headed guarded rules that rewrite constraints into simpler ones until they are solved. The approach allows to prove termination of many constraint solvers, from Boolean and arithmetic to terminological and path-consistent constraints. Because of multi-heads, our termination orders must consider conjunctions, while atomic formulas suffice in usual approaches. Our results indicate that in practice, proving termination for concurrent constraint logic programs may not be harder than for other classes of logic programming languages, contrary to what has been feared in the literature.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
S. Abdennadher, Operational Semantics and Confluence of Constraint Propagation Rules, 3rd Intl Conf on Principles and Practice of Constraint Programming (CP’97), Linz, Austria, Springer LNCS 1330, pp 252–265, October/November 1997.
S. Abdennadher and T. Frühwirth, Operational Equivalence of CHR Programs and Constraints, 5th Intl Conf on Principles and Practice of Constraint Programming (CP’99), Alexandra, Virginia, USA, Springer LNCS, 1999.
S. Abdennadher, T. Frühwirth and H. Meuss, Confluence and Semantics of Constraint Simplification Rules, Journal Constraints Vol. 4(2), Kluwer Academic Publishers, May 1999.
K.R. Apt and D. Pedreschi, Studies in Pure Prolog: Termination, ESPRIT Computational Logic Symposium, Springer 1990, pp 150–176.
F. Baader and P. Hanschke. A scheme for integrating concrete domains into concept languages. 12th International Joint Conference on Artificial Intelligence, 1991.
F. Baader and T. Nipkow, Term Rewriting and All That, Cambridge University Press, 1998.
F. Benhamou and W.J. Older, Bell Northern Research, Applying interval arithmetic to Integer and Boolean constraints, Technical Report, June 1992.
M. Bezem, Strong Termination of Logic Programs, Journal of Logic Programming Vol. 15(1,2), pp. 79–98, 1993.
H. Comon, M. Dincbas, J.-P. Jouannaud and C. Kirchner, A Methodological View of Constraint Solving, Constraints Journal Vol. 4(4), pp. 337–361, Kluwer Academic Publishers, December 1999.
L. Colussi, E. Marchiori and M. Marchiori, On Termination of Constraint Logic Programs, 1st Intl Conf on Principles and Practice of Constraint Programming (PPCP’95), Cassis, France, Springer LNCS 976, 1995.
N. Dershowitz, Termination of Rewriting, Journal of Symbolic Computation Vol. 3(1+2), pp. 69–116, 1987.
D. de Schreye and St. Decorte, Termination of Logic Programs: The Never-Ending Story, Journal of Logic Programming Vol. 19, 20, pp. 199–260, Elsevier, New York, USA, 1994.
T. Frühwirth and S. Abdennadher, Constraint-Programmierung (in German), Textbook, Springer Verlag, Heidelberg, Germany, September 1997.
T. Frühwirth and P. Brisset, Optimal Placement of Base Stations in Wireless Indoor Communication Networks, Special Issue of the IEEE Intelligent Systems Magazine on Practical Applications of Constraint Technology, (M. Wallace and G. Freuder, Eds.), IEEE Press, Vol. 15(1), pp. 49–53, January/February 2000.
T. Frühwirth and P. Hanschke, Terminological Reasoning with Constraint Handling Rules, in Principles and Practice of Constraint Programming, (P. van Hentenryck and V.J. Saraswat, Eds.), MIT Press, Cambridge, Mass., USA, 1995.
T. Frühwirth, Theory and Practice of Constraint Handling Rules, Special Issue on Constraint Logic Programming (P. J. Stuckey and K. Marriot, Eds., Journal of Logic Programming Vol. 37(1–3), pp. 95–138, Oct–Dec 1998.
C. Holzbaur and T. Frühwirth, A Prolog Constraint Handling Rules Compiler and Runtime System, Special Issue of the Journal of Applied Artificial Intelligence on Constraint Handling Rules (C. Holzbaur and T. Fr”uhwirth, Eds., Taylor & Francis, to appear 2000.
J.-L. J. Imbert, Linear Constraint Solving in CLP-Languages, in Constraint Programming: Basics and Trends, (A. Podelski, Ed.), LNCS 910, March 1995.
J. Jaffar and M. J. Maher, Constraint Logic Programming: A Survey, Journal of Logic Programming Vol. 19,20, pp. 503–581, 1994.
M.R.K. Krishna Rao, D. Kapur and R. K. Shyamasundar, Proving Termination of GHC Programs, New Generation Computing, 1997.
A. K. Mackworth and E. C. Freuder, The Complexity of Some Polynomial Network Consistency Algorithms for Constraint Satisfaction Problems, Journal of Artificial Intelligence Vol. 25, pp. 65–74, 1985.
K. Marriott and P. J. Stuckey, Programming with Constraints, MIT Press, USA, March 1998.
E. Marchiori and F. Teusink, Proving Termination of Logic Programs with Delay Declarations, ILPS 95, 1995.
M. J. Maher, Logic Semantics for a Class of Committed-Choice Programs, 4th Intl Conf on Logic Programming, Melbourne, Australia, pp 858–876, MIT Press, Cambridge, Mass., USA, 1987.
F. Mesnard, Inferring Left-terminating Classes of Queries for Constraint Logic Programs, Joint Intl Conf and Symposium on Logic Programming (JICSLP’96), (M. Maher, Ed.), pp 7–21, Bonn, Germany, MIT Press, September 1996.
L. Naish, Coroutining and the Construction of Terminating Logic Programs, Technical Report 92/5, Dept of Computer Science, University of Melbourne, Australia, 1992.
L. Plümer, Automatic Verification of GHC-Programs: Termination, Fifth Generation Computer Systems, (FGCS’92), Tokyo, Japan, June 1992.
S. Ruggieri, Termination of Constraint Logic Programs, ICALP 1997, Springer LNCS 1256, pp. 838–848, 1997.
P. van Hentenryck, H. Simonis and M. Dincbas, Constraint Satisfaction Using Constraint Logic Programming, Artificial Intelligence, 58(1–3):113–159, December 1992.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2000 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Frühwirth, T. (2000). Proving Termination of Constraint Solver Programs. In: Apt, K.R., Monfroy, E., Kakas, A.C., Rossi, F. (eds) New Trends in Constraints. WC 1999. Lecture Notes in Computer Science(), vol 1865. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44654-0_15
Download citation
DOI: https://doi.org/10.1007/3-540-44654-0_15
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-67885-4
Online ISBN: 978-3-540-44654-5
eBook Packages: Springer Book Archive