A logic programming approach to the verification of functional-logic programs

  • Authors:
  • José Miguel Cleva;Javier Leach;Francisco J. López-Fraguas

  • Affiliations:
  • Univerisdad Complutense de Madrid, Madrid, Spain;Univerisdad Complutense de Madrid, Madrid, Spain;Univerisdad Complutense de Madrid, Madrid, Spain

  • Venue:
  • PPDP '04 Proceedings of the 6th ACM SIGPLAN international conference on Principles and practice of declarative programming
  • Year:
  • 2004

Quantified Score

Hi-index 0.02

Visualization

Abstract

We address in this paper the question of how to verify program properties in modern functional logic languages, where it is allowed the presence of non-deterministic functions with call-time choice semantics. The main problem to face is that for such kind of programs equational reasoning is not valid. We develop some logical conceptual tools providing sound reasoning mechanisms for these programs, in particular for proving properties valid in the initial model of a program. We show how CRWL, a well known logical framework for functional logic programming, can be easily mapped into logic programming, and we use this mapping as a starting point of our work. We explore then how to prove properties of the resulting logic programming translation by means of different existing interactive proof assistants, and afterwards we give some proposals trying to overcome the limitations of the approach, specially with respect to its theoretical strength.