Meta-Circular Abstract Interpretation in Prolog. Codish, M. & Søndergaard, H. In Mogensen, T., Schmidt, D., & Sudborough, I. H., editors, The Essence of Computation: Complexity, Analysis, Transformation, volume 2566, of Lecture Notes in Computer Science, pages 109–134. Springer, 2002.
doi  abstract   bibtex   
We give an introduction to the meta-circular approach to the abstract interpretation of logic programs. This approach is particularly useful for prototyping and for introductory classes on abstract interpretation. Using interpreters, students can immediately write, adapt, and experiment with interpreters and working dataflow analysers. We use a simple meta-circular interpreter, based on a ``non-ground TP'' semantics, as a generic analysis engine. Instantiating the engine is a matter of providing an appropriate domain of approximations, together with definitions of ``abstract'' unification and disjunction. Small changes of the interpreter let us vary both what can be ``observed'' by an analyser, and how fixed point computation is done. Amongst the dataflow analyses used to exemplify this approach are a parity analysis, groundness dependency analysis, call patterns, depth-k analysis, and a ``pattern'' analysis to establish most specific generalisations of calls and success sets.
@Incollection{Cod-Son_JonesFest02,
  author    = {Michael Codish and 
		Harald S{\o}ndergaard},
  title     = {Meta-Circular Abstract Interpretation in {Prolog}},
  editor    = {T. Mogensen and D. Schmidt and I. H. Sudborough},
  booktitle = {The Essence of Computation: Complexity, Analysis, Transformation},
  series    = {Lecture Notes in Computer Science},
  volume    = {2566},
  pages     = {109--134},
  publisher = {Springer},
  year      = {2002},
  doi       = {10.1007/3-540-36377-7_6},
  abstract  = {We give an introduction to the meta-circular approach to the
		abstract interpretation of logic programs.  This approach is
		particularly useful for prototyping and for introductory 
		classes on abstract interpretation.  Using interpreters, 
		students can immediately write, adapt, and experiment with 
		interpreters and working dataflow analysers.  We use a simple
		meta-circular interpreter, based on a ``non-ground T<sub>P</sup>'' 
		semantics, as a generic analysis engine.  Instantiating the
		engine is a matter of providing an appropriate domain of
		approximations, together with definitions of ``abstract'' 
		unification and disjunction.  Small changes of the interpreter
		let us vary both what can be ``observed'' by an analyser, and
		how fixed point computation is done.  Amongst the dataflow 
		analyses used to exemplify this approach are a parity analysis,
		groundness dependency analysis, call patterns, depth-<i>k</i>
		analysis, and a ``pattern'' analysis to establish most specific
		generalisations of calls and success sets.},
  keywords  = {Abstract interpretation, Abstract domains, Logic programming, Prolog},
}

Downloads: 0