arXiv · 2101.12029
Type-Based Analysis of Logarithmic Amortised Complexity
Abstract
We introduce a novel amortised resource analysis couched in a type-and-effect system. Our analysis is formulated in terms of the physicist's method of amortised analysis, and is potential-based. The type system makes use of logarithmic potential functions and is the first such system to exhibit *logarithmic amortised complexity*. With our approach we target the automated analysis of self-adjusting data structures, like splay trees, which so far have only manually been analysed in the literature. In particular, we have implemented a semi-automated prototype, which successfully analyses the zig-zig case of *splaying*, once the type annotations are fixed.
Explore related subjects
Keep this discovery
Martin Hofmann, Lorenz Leutgeb, Georg Moser, David Obwaller, Florian Zuleger. 2021-01-28. Type-Based Analysis of Logarithmic Amortised Complexity. https://doi.org/10.1017/s0960129521000232
Cite the original work for its findings. Save a collection to share your selection of sources.