Hostname: page-component-89b8bd64d-72crv Total loading time: 0 Render date: 2026-05-12T06:55:40.619Z Has data issue: false hasContentIssue false

Demand analysis with partial predicates

Published online by Cambridge University Press:  01 January 2007

JULIO MARIÑO
Affiliation:
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.upm.es)
ÁNGEL HERRANZ
Affiliation:
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.upm.es)
JUAN JOSÉ MORENO-NAVARRO
Affiliation:
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.upm.es)

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.

Information

Type
Regular Papers
Copyright
Copyright © Cambridge University Press 2007

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable