Hostname: page-component-89b8bd64d-n8gtw Total loading time: 0 Render date: 2026-05-06T04:15:51.513Z Has data issue: false hasContentIssue false

Work it, wrap it, fix it, fold it

Published online by Cambridge University Press:  16 April 2014

NEIL SCULTHORPE
Affiliation:
University of Kansas, USA (e-mail: neil@ittc.ku.edu)
GRAHAM HUTTON
Affiliation:
University of Nottingham, UK (e-mail: Graham.Hutton@nottingham.ac.uk)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

The worker/wrapper transformation is a general-purpose technique for refactoring recursive programs to improve their performance. The two previous approaches to formalising the technique were based upon different recursion operators and different correctness conditions. In this paper we show how these two approaches can be generalised in a uniform manner by combining their correctness conditions, extend the theory with new conditions that are both necessary and sufficient to ensure the correctness of the worker/wrapper technique, and explore the benefits that result. All the proofs have been mechanically verified using the Agda system.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 2014 
Supplementary material: File

SCULTHORPE and HUTTON supplementary material

Supplementary files

Download SCULTHORPE and HUTTON supplementary material(File)
File 679.2 KB
Submit a response

Discussions

No Discussions have been published for this article.