PLNL 2025 (series) / The 5th VERSEN Workshop on Programming Languages in The Netherlands /
The functional essence of imperative binary search trees
Fri 28 Nov 2025 14:30 - 14:45 at CWI L017 - Ada - Foundations, Verification, and Semantics
Algorithms on restructuring binary search trees are typically presented in imperative pseudocode. Understandably so, as their performance relies on in-place execution, rather than the repeated allocation of fresh nodes in memory. Unfortunately, these imperative algorithms are notoriously difficult to verify as their loop invariants must relate the unfinished tree fragments being rebalanced. This talk presents several novel functional algorithms for accessing and inserting elements in a restructuring binary search tree that are as fast as their imperative counterparts; yet the correctness of these functional algorithms is established using a simple inductive argument.
Fri 28 NovDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
Fri 28 Nov
Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
13:30 - 14:45 | |||
13:30 15mTalk | Modelling Coinductive Types with Restricted Branching PLNL 2025 | ||
13:45 15mTalk | Partial Reductions for Kleene Algebra with Single-Word Hypotheses PLNL 2025 | ||
14:00 15mTalk | Verified Translation of Guarded Programs PLNL 2025 David Läwen Radboud University | ||
14:15 15mTalk | Session Types with Explicit Exceptions PLNL 2025 | ||
14:30 15mTalk | The functional essence of imperative binary search trees PLNL 2025 Wouter Swierstra Utrecht University, Netherlands | ||
