Skip to Main Content (Press Enter)

Logo UNICH
  • ×
  • Home
  • Corsi
  • Insegnamenti
  • Professioni
  • Persone
  • Pubblicazioni
  • Strutture
  • Terza Missione
  • Attività
  • Competenze

UNI-FIND
Logo UNICH

|

UNI-FIND

unich.it
  • ×
  • Home
  • Corsi
  • Insegnamenti
  • Professioni
  • Persone
  • Pubblicazioni
  • Strutture
  • Terza Missione
  • Attività
  • Competenze
  1. Pubblicazioni

Program Verification using Constraint Handling Rules and Array Constraint Generalizations

Articolo
Data di Pubblicazione:
2017
Abstract:
The transformation of constraint logic programs (CLP programs) has been shown to be an effective methodology for verifying properties of imperative programs. By following this methodology, we encode the negation of a partial correctness property of an imperative program prog as a predicate incorrect defined by a CLP program T, and we show that prog is correct by transforming T into the empty program (and thus incorrect does not hold) through the application of semantics preserving transformation rules. We can also show that prog is incorrect by transforming T into a program with the fact incorrect (and thus incorrect does hold). Some of the transformation rules perform replacements of constraints that are based on properties of the data structures manipulated by the program prog. In this paper we show that Constraint Handling Rules (CHR) are a suitable formalism for representing and applying constraint replacements during the transformation of CLP programs. In particular, we consider programs that manipulate integer arrays and we present a CHR encoding of a constraint replacement strategy based on the theory of arrays. We also propose a novel generalization strategy for constraints on integer arrays that combines CHR constraint replacements with various generalization operators on integer constraints, such as widening and convex hull. Generalization is controlled by additional constraints that relate the variable identifiers in the imperative program prog and the CLP representation of their values. The method presented in this paper has been implemented and we have demonstrated its effectiveness on a set of benchmark programs taken from the literature.
Tipologia CRIS:
1.1 Articolo in rivista
Keywords:
Constraint Handling Rules; Constraint logic programming; Program transformation; Program verification
Elenco autori:
DE ANGELIS, Emanuele; Fioravanti, Fabio; Pettorossi, Alberto; Proietti, Maurizio
Autori di Ateneo:
FIORAVANTI Fabio
Link alla scheda completa:
https://ricerca.unich.it/handle/11564/668149
Link al Full Text:
https://ricerca.unich.it//retrieve/handle/11564/668149/279539/2015_DFPP_IASI-08%20(1).pdf
Pubblicato in:
FUNDAMENTA INFORMATICAE
Journal
  • Dati Generali

Dati Generali

URL

https://content.iospress.com/articles/fundamenta-informaticae/fi1461
  • Utilizzo dei cookie

Realizzato con VIVO | Designed by Cineca | 26.5.2.0