Abstract Interpretation of Logic Programs: The Denotational Approach. Marriott, K. & Søndergaard, H. In Proceedings of the Fifth Italian Conference on Logic Programming, pages 399–425, 1990. Gruppo Ricercatori ed Utenti di Logic Programming, Padova, Italy. Invited paper
abstract   bibtex   
Logic programming languages are based on a principle of separation of ``logic'' and ``control.'' This means that they can be given simple model-theoretic semantics without regard to any particular execution mechanism. While this is desirable from a semantical point of view, it does make sound, efficient implementation of logic programming languages difficult. The lack of ``control information'' in programs calls for complex dataflow analyses to guide execution. Since dataflow analysis also finds extensive use in error-finding and transformation tools, there is a need for a simple and powerful theory of dataflow analysis of logic programs. We offer such a theory, inspired by F. Nielson's extension of P. and R. Cousot's abstract interpretation. We then present a denotational definition of the semantics of definite logic programs. This definition is of interest in its own right because of its novel application of parametric substitutions which makes it very compact and yet transparent. Stepwise we develop the definition into a generic dataflow analysis which encompasses a large class of dataflow analyses based on the SLD execution model. We exemplify one instance of the definition by developing a provably correct groundness analysis to predict how variables may be bound to ground terms during execution. We also discuss related work and other applications.
@Inproceedings{Mar-Son_GULP90,
  author    = {Kim Marriott and 
		Harald S{\o}ndergaard},
  title	    = {Abstract Interpretation of Logic Programs:
			The Denotational Approach},
  editor    = {A. Bossi},
  booktitle = {Proceedings of the Fifth Italian Conference on Logic Programming},
  pages     = {399--425},
  organization = {Gruppo Ricercatori ed Utenti di Logic Programming,
			Padova, Italy}, 
  year	    = {1990},
  note	    = {Invited paper},
  abstract  = {Logic programming languages are based on a principle of 
		separation of ``logic'' and ``control.'' This means that 
		they can be given simple model-theoretic semantics
		without regard to any particular execution mechanism.
		While this is desirable from a semantical point of view, 
		it does make sound, efficient implementation of logic 
		programming languages difficult. The lack of ``control 
		information'' in programs calls for complex dataflow
		analyses to guide execution. Since dataflow analysis also 
		finds extensive use in error-finding and transformation 
		tools, there is a need for a simple and powerful theory
		of dataflow analysis of logic programs.
		We offer such a theory, inspired by F. Nielson's extension
		of P. and R. Cousot's <i>abstract interpretation</i>.
		We then present a denotational definition of the semantics 
 		of definite logic programs. This definition is of interest 
		in its own right because of its novel application of 
		<i>parametric substitutions</i> which makes it very compact
		and yet transparent. Stepwise we develop the definition 
		into a generic dataflow analysis which encompasses a large 
		class of dataflow analyses based on the SLD execution model.
		We exemplify one instance of the definition by developing a 
		provably correct groundness analysis to predict how 
		variables may be bound to ground terms during execution.
		We also discuss related work and other applications.},
  keywords  = {Abstract interpretation, Abstract domains, Groundness analysis, Logic programming},
}

Downloads: 0