Hostname: page-component-6b989bf9dc-zrclq Total loading time: 0 Render date: 2024-04-15T02:36:47.481Z Has data issue: false hasContentIssue false

Parallelizing functional programs by generalization

Published online by Cambridge University Press:  01 November 1999

ALFONS GESER
Affiliation:
Wilhelm-Schickard-Institut für Informatik, University, D-72076 Tübingen, Germany
SERGEI GORLATCH
Affiliation:
University of Passau, D-94030 Passau, Germany
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.

List homomorphisms are functions that are parallelizable using the divide-and-conquer paradigm. We study the problem of finding homomorphic representations of functions in the Bird–Meertens constructive theory of lists, by means of term rewriting and theorem proving techniques. A previous work proved that to each pair of leftward and rightward sequential representations of a function, based on cons- and snoc-lists, respectively, there is also a representation as a homomorphism. Our contribution is a mechanizable method to extract the homomorphism representation from a pair of sequential representations. The method is decomposed to a generalization problem and an inductive claim, both solvable by term rewriting techniques. To solve the former we present a sound generalization procedure which yields the required representation, and terminates under reasonable assumptions. The inductive claim is provable automatically. We illustrate the method and the procedure by the systematic parallelization of the scan-function (parallel prefix) and of the maximum segment sum problem.

Type
Research Article
Copyright
© 1999 Cambridge University Press

Footnotes

A preliminary version of this paper was presented at the ALP'97 Conference, Southampton, UK.
Submit a response

Discussions

No Discussions have been published for this article.