Abstract interpretation of resolution-based semantics

  • Authors:
  • Patrick Cousot;Radhia Cousot;Roberto Giacobazzi

  • Affiliations:
  • École Normale Supérieure, 45 rue dUlm, 75230 Paris cedex 05, France and Courant Institute of Math. Sciences, New York University, New York, NY 10012, United States;CNRS, France and École Normale Supérieure, 45 rue dUlm, 75230 Paris cedex 05, France;Universitá degli Studi di Verona, Dipartimento di Informatica, Cá Vignal 2, Strada Le Grazie 15, 37134 Verona, Italy

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2009

Quantified Score

Hi-index 5.23

Visualization

Abstract

We extend the abstract interpretation point of view on context-free grammars by Cousot and Cousot to resolution-based logic programs and proof systems. Starting from a transition-based small-step operational semantics of Prolog programs (akin to the Warren Machine), we consider maximal finite derivations for the transition system from most general goals. This semantics is abstracted by instantiation to terms and furthermore to ground terms, following the so-called c- and s-semantics approach. Orthogonally, these sets of derivations can be abstracted to SLD-trees, call patterns and models, as well as interpreters providing effective implementations (such as Prolog). These semantics can be presented in bottom-up fixpoint form. This abstract interpretation-based construction leads to classical bottom-up semantics (such as the s-semantics of computed answers, the c-semantics of correct answers of Keith Clark, and the minimal-model semantics of logical consequences of Maarten van Emden and Robert Kowalski). The approach is general and can be applied to infinite and top-down semantics in a straightforward way.