A Naïve Time Analysis and its Theory of Cost Equivalence. Sands, D. Journal of Logic and Computation, 1995.
Paper abstract bibtex 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 \em 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 \sc 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-equivalence laws. It is shown that basic evaluation time can be derived by demonstrating a certain form of cost equivalence, and we give a axiomatisation of cost equivalence which complete is with respect to this application. This shows that cost equivalence subsumes the basic calculus. Finally we show how a new operational interpretation of evaluation demands can be used to provide a smooth interface between this time analysis and more compositional approaches, retaining the advantages of both.
@ARTICLE{Sands:JLC,
author = {David Sands},
title = {A Na\"{\i}ve Time Analysis and its
Theory of Cost Equivalence},
journal = {Journal of Logic and Computation},
year = {1995},
volume = {5},
number = {4},
optpages = {495--541},
optpostscript = {},
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 {\em 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 {\sc 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-equivalence laws.
It is shown that basic evaluation time can be derived
by demonstrating a certain form of cost equivalence, and we give a
axiomatisation of cost equivalence which complete is with respect to
this application. This shows that cost equivalence subsumes the basic
calculus.
Finally we show how a new operational interpretation of evaluation
demands can be used to provide a smooth interface between this time
analysis and more compositional approaches, retaining the advantages
of both.},
url_Paper = {http://www.cse.chalmers.se/~dave/papers/JLC-FINAL-VERSION.pdf},
}
Downloads: 0
{"_id":"876A9FfW4mD6YhYHW","bibbaseid":"sands-anavetimeanalysisanditstheoryofcostequivalence-1995","downloads":0,"creationDate":"2017-02-03T08:24:26.842Z","title":"A Naïve Time Analysis and its Theory of Cost Equivalence","author_short":["Sands, D."],"year":1995,"bibtype":"article","biburl":"http://www.cse.chalmers.se/~dave/davewww2016.bib","bibdata":{"bibtype":"article","type":"article","author":[{"firstnames":["David"],"propositions":[],"lastnames":["Sands"],"suffixes":[]}],"title":"A Naïve Time Analysis and its Theory of Cost Equivalence","journal":"Journal of Logic and Computation","year":"1995","volume":"5","number":"4","optpages":"495--541","optpostscript":"","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 \\em 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 \\sc 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-equivalence laws. It is shown that basic evaluation time can be derived by demonstrating a certain form of cost equivalence, and we give a axiomatisation of cost equivalence which complete is with respect to this application. This shows that cost equivalence subsumes the basic calculus. Finally we show how a new operational interpretation of evaluation demands can be used to provide a smooth interface between this time analysis and more compositional approaches, retaining the advantages of both.","url_paper":"http://www.cse.chalmers.se/~dave/papers/JLC-FINAL-VERSION.pdf","bibtex":"@ARTICLE{Sands:JLC,\n author = {David Sands},\n title = {A Na\\\"{\\i}ve Time Analysis and its \n Theory of Cost Equivalence},\n journal = {Journal of Logic and Computation},\n year = {1995},\n volume = {5},\n number = {4},\n optpages = {495--541},\n optpostscript = {},\n abstract = {Techniques for reasoning about extensional properties of\nfunctional programs are well-understood, but methods for analysing the\nunderlying intensional, or operational properties have been much neglected.\nThis paper begins with the development of a simple but useful\ncalculus for time analysis of non-strict functional programs with lazy\nlists. One limitation of this basic calculus is that the ordinary\nequational reasoning on functional programs is not valid. In order to buy\nback some of these equational properties we develop a non-standard\noperational equivalence relation called {\\em cost equivalence}, by\nconsidering the number of computation steps as an ``observable'' component\nof the evaluation process. We define this relation by analogy with Park's\ndefinition of bisimulation in {\\sc ccs}. This formulation allows us to show\nthat cost equivalence is a contextual congruence (and thus is substitutive\nwith respect to the basic calculus) and provides useful proof techniques\nfor establishing cost-equivalence laws.\n\nIt is shown that basic evaluation time can be derived\nby demonstrating a certain form of cost equivalence, and we give a\naxiomatisation of cost equivalence which complete is with respect to\nthis application. This shows that cost equivalence subsumes the basic\ncalculus.\n\nFinally we show how a new operational interpretation of evaluation\ndemands can be used to provide a smooth interface between this time\nanalysis and more compositional approaches, retaining the advantages\nof both.},\n url_Paper = {http://www.cse.chalmers.se/~dave/papers/JLC-FINAL-VERSION.pdf},\n}\n","author_short":["Sands, D."],"key":"Sands:JLC","id":"Sands:JLC","bibbaseid":"sands-anavetimeanalysisanditstheoryofcostequivalence-1995","role":"author","urls":{" paper":"http://www.cse.chalmers.se/~dave/papers/JLC-FINAL-VERSION.pdf"},"downloads":0},"search_terms":["time","analysis","theory","cost","equivalence","sands"],"keywords":[],"authorIDs":[],"dataSources":["SBHWXKotbthoEYKJv"]}