Bottom-Up Dataflow Analysis of Normal Logic Programs. Marriott, K. & Søndergaard, H. Journal of Logic Programming, 13(2 & 3):181–204, 1992.
doi  abstract   bibtex   
A theory of semantics-based dataflow analysis using a notion of ``insertion'' is presented. This notion relaxes the Galois connections used in P. and R. Cousot's theory of abstract interpretation. The aim is to obtain a firm basis for the development of dataflow analyses of normal logic programs. A dataflow analysis is viewed as a non-standard semantics that approximates the standard semantics by manipulating descriptions of data objects rather than the objects themselves. A Kleene logic-based semantics for normal logic programs is defined, similar to Fitting's ΦP semantics. This provides the needed semantic base for ``bottom-up'' dataflow analyses. Such analyses give information about the success and failure sets of a program. A major application of bottom-up analysis is therefore type inference. We detail a dataflow analysis using descriptions similar to Sato and Tamaki's depth k abstractions and another using Marriott, Naish and Lassez's ``singleton'' abstractions. We show that both are sound with respect to our semantics and outline various uses of the analyses. Finally we justify our choice of semantics by showing that it is the most abstract of a number of possible semantics. This means that every analysis based on our semantics is correct with respect to these other semantics, including Kunen's semantics, SLDNF resolution, and the common (sound) Prolog semantics.
@Article{Mar-Son_JLP92,
  author    = {Kim Marriott and 
		Harald S{\o}ndergaard},
  title	    = {Bottom-Up Dataflow Analysis of Normal Logic Programs},
  journal   = {Journal of Logic Programming},
  volume    = {13},
  number    = {2 \& 3},
  pages	    = {181--204}, 
  year	    = {1992},
  doi       = {10.1016/0743-1066(92)90031-W},
  abstract  = {A theory of semantics-based dataflow analysis using a notion of
		``insertion'' is presented. This notion relaxes the Galois 
		connections used in P. and R. Cousot's theory of abstract 
		interpretation. The aim is to obtain a firm basis for the 
		development of dataflow analyses of normal logic programs.
		A dataflow analysis is viewed as a non-standard semantics that
		approximates the standard semantics by manipulating descriptions
		of data objects rather than the objects themselves. A Kleene 
		logic-based semantics for normal logic programs is defined, 
		similar to Fitting's &Phi;<sub>P</sub> semantics. This provides
		the needed semantic base for ``bottom-up'' dataflow analyses. 
		Such analyses give information about the success and failure 
		sets of a program. A major application of bottom-up analysis 
		is therefore type inference. We detail a dataflow analysis 
		using descriptions similar to Sato and Tamaki's depth <i>k</i>
		abstractions and another using Marriott, Naish and Lassez's
		``singleton'' abstractions. We show that both are sound with 
		respect to our semantics and outline various uses of the 
		analyses. Finally we justify our choice of semantics by showing
		that it is the most abstract of a number of possible semantics.
		This means that every analysis based on our semantics is 
		correct with respect to these other semantics, including 
		Kunen's semantics, SLDNF resolution, and the common (sound) 
		Prolog semantics.},
  keywords  = {Abstract interpretation, Logic programming, Many-valued logic, Depth k analysis, Semantics},
}

Downloads: 0