Hostname: page-component-89b8bd64d-b5k59 Total loading time: 0 Render date: 2026-05-11T06:16:59.950Z Has data issue: false hasContentIssue false

Long-run cost analysis by approximation of linear operators over dioids

Published online by Cambridge University Press:  03 June 2010

DAVID CACHERA
Affiliation:
IRISA/ENS Cachan (Bretagne), Campus de Beaulieu, F-35042 Rennes cedex, France Email: david.cachera@irisa.fr
THOMAS JENSEN
Affiliation:
IRISA/CNRS, Campus de Beaulieu, F-35042 Rennes cedex, France Email: thomas.jensen@irisa.fr
ARNAUD JOBIN
Affiliation:
Université Rennes 1, Campus de Beaulieu, F-35042 Rennes cedex, France Email: arnaud.jobin@irisa.fr
PASCAL SOTIN
Affiliation:
CNRS/DGA, F-35042 Rennes cedex, France Email: pascal.sotin@irisa.fr

Abstract

In this paper we present a semantics-based framework for analysing the quantitative behaviour of programs with respect to resource usage. We start from an operational semantics in which costs are modelled using a dioid structure. The dioid structure of costs allows the definition of the quantitative semantics as a linear operator. We then develop a theory of approximation of such a semantics, which is akin to what is offered by the theory of abstract interpretation for analysing qualitative properties, in order to compute effectively global cost information from the program. We focus on the notion of long-run cost, which models the asymptotic average cost of a program. The abstraction of the semantics has to take two distinct notions of order into account: the order on costs and the order on states. We prove that our abstraction technique provides a correct approximation of the concrete long-run cost of a program.

Information

Type
Paper
Copyright
Copyright © Cambridge University Press 2010

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