Appalachian State University
Browse

Short Cut Fusion is Correct

Download (308.94 kB)
journal contribution
posted on 2025-08-08, 17:06 authored by Patricia Johann
Fusion is the process of removing intermediate data structures from modularly constructed functional programs. Short cut fusion is a particular fusion technique which uses a single, local transformation rule to fuse compositions of list-processing functions. Short cut fusion has traditionally been treated purely syntactically, and justifications for it have appealed either to intuition or to "free theorems" - even though the latter have not been known to hold in languages supporting higher-order polymorphic functions and fixpoint recursion. In this paper we use Pitts' recent demonstration that contextual equivalence in such languages is parametric to provide the first formal proof of the correctness in short cut fusion for them. In particular, we show that programs which have undergone short cut fusion are contextually equivalent to their unfused counterparts.

History

Related Materials

AI-Assisted

  • No

Year Created

2003

College or School

  • College of Arts and Sciences

Department

Computer Science

Language

English

Access Rights

  • Open

Content Genre or Classification

Journal article

Usage metrics

    Research, Scholarly, & Creative Outputs

    Categories

    No categories selected

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC