On Bounding Space Usage of Streams Using Interpretation Analysis - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Article Dans Une Revue Science of Computer Programming Année : 2015

On Bounding Space Usage of Streams Using Interpretation Analysis

Marco Gaboardi
  • Fonction : Auteur
  • PersonId : 773127
  • IdRef : 130423904
Romain Péchoux
  • Fonction : Auteur
  • PersonId : 772669
  • IdRef : 131003232

Résumé

Interpretation methods are important tools in implicit computational complexity. They have been proved particularly useful to statically analyze and to limit the complexity of programs. However, most of this studies have been so far applied in the context of term rewriting systems over finite data. In this paper, we show how interpretations can also be used to study properties of lazy first-order functional programs over streams. In particular, we provide some interpretation criteria useful to ensure two kinds of stream properties: space upper bounds and input/output upper bounds. Our space upper bounds criteria ensures global and local upper bounds on the size of each output stream element expressed in term of the maximal size of the input stream elements. The input/output upper bounds criteria consider instead the relations between the number of elements read from the input stream and the number of elements produced on the output stream. This contribution can be seen as a first step in the development of a methodology aiming at using interpretation properties to ensure space safety properties of programs working on streams.
Fichier principal
Vignette du fichier
main-submitted.pdf (423.79 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01112161 , version 1 (02-04-2015)

Licence

Identifiants

  • HAL Id : hal-01112161 , version 1

Citer

Marco Gaboardi, Romain Péchoux. On Bounding Space Usage of Streams Using Interpretation Analysis. Science of Computer Programming, 2015, pp.44. ⟨hal-01112161⟩
196 Consultations
162 Téléchargements

Partager

Gmail Mastodon Facebook X LinkedIn More