## A Naïve Time Analysis and its Theory of Cost Equivalence (1995)

### Cached

### Download Links

- [www.cs.chalmers.se]
- [ftp.diku.dk]
- [www.cs.chalmers.se]
- [www.cse.chalmers.se]
- DBLP

### Other Repositories/Bibliography

Venue: | Journal of Logic and Computation |

Citations: | 39 - 7 self |

### BibTeX

@ARTICLE{Sands95anaïve,

author = {David Sands},

title = {A Naïve Time Analysis and its Theory of Cost Equivalence},

journal = {Journal of Logic and Computation},

year = {1995},

volume = {5},

pages = {495--541}

}

### Years of Citing Articles

### OpenURL

### Abstract

Techniques for reasoning about extensional properties of functional programs are well understood, but methods for analysing the underlying intensional or operational properties have been much neglected. This paper begins with the development of a simple but useful calculus for time analysis of non-strict functional programs with lazy lists. One limitation of this basic calculus is that the ordinary equational reasoning on functional programs is not valid. In order to buy back some of these equational properties we develop a non-standard operational equivalence relation called cost equivalence, by considering the number of computation steps as an `observable' component of the evaluation process. We define this relation by analogy with Park's definition of bisimulation in CCS. This formulation allows us to show that cost equivalence is a contextual congruence (and thus is substitutive with respect to the basic calculus) and provides useful proof techniques for establishing cost-equivalen...