mlsanityData to 14 Oct 2026

A Theory of Changes for Higher-Order Languages - Incrementalizing λ-Calculi by Static Differentiation

arXiv 1312.0658 ↗First posted 2 Dec 2013cs.PLcited by 1

Not on the map. Why?

Abstract (arXiv)

If the result of an expensive computation is invalidated by a small change to the input, the old result should be updated incrementally instead of reexecuting the whole computation. We incrementalize programs through their derivative. A derivative maps changes in the program's input directly to changes in the program's output, without reexecuting the original program. We present a program transformation taking programs to their derivatives, which is fully static and automatic, supports first-class functions, and produces derivatives amenable to standard optimization. We prove the program transformation correct in Agda for a family of simply-typed λ-calculi, parameterized by base types and primitives. A precise interface specifies what is required to incrementalize the chosen primitives. We investigate performance by a case study: We implement in Scala the program transformation, a plugin and improve performance of a nontrivial program by orders of magnitude.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). First posted on arXiv 2 Dec 2013.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.