Demand analysis with partial predicates

  • Authors:
  • Julio Mariñ/o;&AACUTE/ngel Herranz;Juan José/ Moreno-navarro

  • Affiliations:
  • Facultad de Informá/tica, Universidad Polité/cnica de Madrid Campus de Montegancedo s//u, 28660 Boadilla del Monte, Spain (e-mail: jmarino@fi.upm.es, aherranz@fi.upm.es, jjmoreno@fi. ...;Facultad de Informá/tica, Universidad Polité/cnica de Madrid Campus de Montegancedo s//u, 28660 Boadilla del Monte, Spain (e-mail: jmarino@fi.upm.es, aherranz@fi.upm.es, jjmoreno@fi. ...;Facultad de Informá/tica, Universidad Polité/cnica de Madrid Campus de Montegancedo s//u, 28660 Boadilla del Monte, Spain (e-mail: jmarino@fi.upm.es, aherranz@fi.upm.es, jjmoreno@fi. ...

  • Venue:
  • Theory and Practice of Logic Programming
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

To alleviate the inefficiencies caused by the interaction of the logic and functional sides, integrated languages may take advantage of demand information, i.e. knowing in advance which computations are needed and, to which extent, in a particular context. This work studies demand analysis – which is closely related to backwards strictness analysis – in a semantic framework of partial predicates, which in turn are constructive realizations of ideals in a domain. This will allow us to give a concise, unified presentation of demand analysis, to relate it to other analyses based on abstract interpretation or strictness logics, some hints for the implementation, and, more important, to prove the soundness of our analysis based on demand equations. There are also some innovative results. One of them is that a set constraint-based analysis has been derived in a stepwise manner using ideas taken from the area of program transformation. The other one is the possibility of using program transformation itself to perform the analysis, specially in those domains of properties where algorithms based on constraint solving are too weak.