Using real relaxations during program specialization

  • Authors:
  • Fabio Fioravanti;Alberto Pettorossi;Maurizio Proietti;Valerio Senni

  • Affiliations:
  • Dipartimento di Scienze, University ‘G. D'Annunzio', Pescara, Italy;DISP, University of Rome Tor Vergata, Rome, Italy;CNR-IASI, Rome, Italy;DISP, University of Rome Tor Vergata, Rome, Italy,LORIA-INRIA, Villers-les-Nancy, France

  • Venue:
  • LOPSTR'11 Proceedings of the 21st international conference on Logic-Based Program Synthesis and Transformation
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

We propose a program specialization technique for locally stratified CLP(ℤ) programs, that is, logic programs with linear constraints over the set ℤ of the integer numbers. For reasons of efficiency our technique makes use of a relaxation from integers to reals. We reformulate the familiar unfold/fold transformation rules for CLP programs so that: (i) the applicability conditions of the rules are based on the satisfiability or entailment of constraints over the set ℝ of the real numbers, and (ii) every application of the rules transforms a given program into a new program with the same perfect model constructed over ℤ. Then, we introduce a strategy which applies the transformation rules for specializing CLP(ℤ) programs with respect to a given query. Finally, we show that our specialization strategy can be applied for verifying properties of infinite state reactive systems specified by constraints over ℤ.