An abstract interpretation based combinator for modelling while loops in constraint programming

  • Authors:
  • Tristan Denmat;Arnaud Gotlieb;Mireille Ducassé

  • Affiliations:
  • IRISA, INSA, Rennes Cedex, France;IRISA, INRIA, Rennes Cedex, France;IRISA, INSA, Rennes Cedex, France

  • Venue:
  • CP'07 Proceedings of the 13th international conference on Principles and practice of constraint programming
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present the w constraint combinator that models while loops in Constraint Programming. Embedded in a finite domain constraint solver, it allows programmers to develop non-trivial arithmetical relations using loops, exactly as in an imperative language style. The deduction capabilities of this combinator come from abstract interpretation over the polyhedra abstract domain. This combinator has already demonstrated its utility in constraint-based verification and we argue that it also facilitates the rapid prototyping of arithmetic constraints (e.g. power, gcd or sum).