Using intersection types for cost-analysis of higher-order polymorphic functional programs

Hugo R. Simoes, Kevin Hammond, Mario Florido, Pedro Vasconcelos

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

Abstract

This paper presents a system of cost derivation for higher-order and polymorphic functional programs based on a notion of sized types and exploiting a type-and-effect system approach. The paper gives an operational semantics of cost for a simple strict functional language in terms of lambda-calculus beta-reduction steps and introduces type rules describing cost effects. The type system is based on intersection types. The use of discrete polymorphism (intersection types) instead of the usual parametric polymorphism approach improves the analysis and solves, in many cases, the "size aliasing problem" that has been identified as " limitation on previous type-and-effect approaches. Finally we provide " proof of the soundness of our effect system with respect to the cost semantics.

Original languageEnglish
Title of host publicationTypes for Proofs and Programs: International Workshop, TYPES 2006, Nottingham, UK, April 18-21, 2006, Revised Selected Papers
EditorsT. Altenkirch, C. McBride
PublisherSpringer
Pages221-236
Number of pages16
ISBN (Print)978-3-540-74463-4
DOIs
Publication statusPublished - 2007
EventInternational Workshop, TYPES 2006 - Nottingham, United Kingdom
Duration: 18 Apr 200621 Apr 2006

Publication series

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

Conference

ConferenceInternational Workshop, TYPES 2006
Country/TerritoryUnited Kingdom
CityNottingham
Period18/04/0621/04/06

Keywords

  • RANK-2 INTERSECTION

Fingerprint

Dive into the research topics of 'Using intersection types for cost-analysis of higher-order polymorphic functional programs'. Together they form a unique fingerprint.

Cite this