Skip to content

Research at St Andrews

Type-based allocation analysis for co-recursion in lazy functional languages

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Author(s)

Pedro Baltazar Vasconcelos, Steffen Jost, Mario Florido, Kevin Hammond

School/Research organisations

Abstract

This paper presents a novel type-and-effect analysis for pre-dicting upper-bounds on memory allocation costs for co-recursive def-initions in a simple lazily-evaluated functional language. We show thesoundness of this system against an instrumented variant of Launch-bury’s semantics for lazy evaluation which serves as a formal cost model.Our soundness proof requires an intermediate semantics employing indi-rections. Our proof of correspondence between these semantics that weprovide is thus a crucial part of this work.The analysis has been implemented as an automatic inference system.We demonstrate its effectiveness using several example programs thatpreviously could not be automatically analysed.
Close

Details

Original languageEnglish
Title of host publicationProgramming Languages and Systems
Subtitle of host publication24th European Symposium on Programming, ESOP 2015, Held as Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2015, London, UK, April 11-18, 2015, Proceedings
EditorsJan Vitek
PublisherSpringer-Verlag
Pages787-811
Number of pages25
Volume9032
ISBN (Electronic)978-3-662-46669-8
ISBN (Print)978-3-662-46668-1
DOIs
StatePublished - 2015
Event24th European Symposium on Programming, ESOP 2015 - Queen Mary, University of London, London, United Kingdom
Duration: 14 Apr 201516 Apr 2015
http://conf.researchr.org/home/esop-2015

Publication series

NameLecture Notes in Computer Science
ISSN (Print)0302-9743

Conference

Conference24th European Symposium on Programming, ESOP 2015
CountryUnited Kingdom
CityLondon
Period14/04/1516/04/15
Internet address

Discover related content
Find related publications, people, projects and more using interactive charts.

View graph of relations

Related by author

  1. Automatically deriving cost models for structured parallel processes using hylomorphisms

    Castro, D., Hammond, K., Sarkar, S. & Alguwaifli, Y. Feb 2018 In : Future Generation Computer Systems. 79, Part 2, p. 653-668

    Research output: Contribution to journalArticle

  2. The Missing Link! A new skeleton for evolutionary multi-agent systems in Erlang

    Stypka, J., Turek, W., Byrski, A., Kisiel-Dorohinicki, M., Barwell, A. D., Brown, C. M., Hammond, K. & Janjic, V. Feb 2018 In : International Journal of Parallel Programming. 46, 1, p. 4-22 19 p.

    Research output: Contribution to journalArticle

  3. Proof-relevant Horn clauses for dependent type inference and term synthesis

    Farka, F., Komendantskya, E. & Hammond, K. 2018 In : Theory and Practice of Logic Programming. 18, 3-4, p. 484-501

    Research output: Contribution to journalArticle

  4. Type-based cost analysis for lazy functional languages

    Jost, S., Vasconcelos, P., Florido, M. & Hammond, K. Jun 2017 In : Journal of Automated Reasoning. 59, 1, p. 87-120 34 p.

    Research output: Contribution to journalArticle

ID: 159586916