Proving Theorems by Program Transformation

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

  • Affiliations:
  • University of Chieti-Pescara, Pescara, Italy. fioravanti@unich.it;University of Rome Tor Vergata, Via del Politecnico 1, 00133 Rome, Italy. pettorossi@disp.uniroma2.it;IASI-CNR, Viale Manzoni 30, 00185 Rome, Italy. maurizio.proietti@iasi.cnr.it;IMT, Institute for Advanced Studies, Lucca, Italy. valerio.senni@imtlucca.it

  • Venue:
  • Fundamenta Informaticae - To Andrzej Skowron on His 70th Birthday
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper we present an overview of the unfold/fold proof method, a method for proving theorems about programs, based on program transformation. As a metalanguage for specifying programs and program properties we adopt constraint logic programming CLP, and we present a set of transformation rules including the familiar unfolding and folding rules which preserve the semantics of CLP programs. Then, we show how program transformation strategies can be used, similarly to theorem proving tactics, for guiding the application of the transformation rules and inferring the properties to be proved. We work out three examples: i the proof of predicate equivalences, applied to the verification of equality between CCS processes, ii the proof of first order formulas via an extension of the quantifier elimination method, and iii the proof of temporal properties of infinite state concurrent systems, by using a transformation strategy that performs program specialization.