Demand Analysis with Partial Predicates
<|reference_start|>Demand Analysis with Partial Predicates: In order to alleviate the inefficiencies caused by the interaction of the logic and functional sides, integrated languages may take advantage of \emph{demand} information -- i.e. knowing in advance which computations are needed and, to which extent, in a particular context. This work studies \emph{demand analysis} -- which is closely related to \emph{backwards strictness analysis} -- in a semantic framework of \emph{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 \emph{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.<|reference_end|>
@article{marino2006demand,
    title={Demand Analysis with Partial Predicates},
    author={Julio Marino, Angel Herranz and Juan Jose Moreno-Navarro},
    journal={arXiv preprint arXiv:cs/0602008},
    year={2006},
    archivePrefix={arXiv},
    eprint={cs/0602008},
    primaryClass={cs.PL cs.SC}
}