Hostname: page-component-89b8bd64d-ksp62 Total loading time: 0 Render date: 2026-05-14T05:22:55.452Z Has data issue: false hasContentIssue false

Functional Pearls

The Third Homomorphism Theorem

Published online by Cambridge University Press:  07 November 2008

Jeremy Gibbons
Affiliation:
Department of Computer Science, University of AucklandPrivate Bag 92019, Auckland, New Zealand (e-mail:jeremy@cs.auckland.ac.nz)
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 Third Homomorphism Theorem is a folk theorem of the constructive algorithmics community. It states that a function on lists that can be computed both from left to right and from right to left is necessarily a list homomorphism – it can be computed according to any parenthesization of the list. We formalize and prove the theorem, and use it to improve an O(n2) sorting algorithm to O(n log n).

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 1996
Submit a response

Discussions

No Discussions have been published for this article.