Type-Based Analysis of Logarithmic Amortised Complexity

01/28/2021
by   Martin Hofmann, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/22/2018

Analysis of Logarithmic Amortised Complexity

We introduce a novel amortised resource analysis based on a potential-ba...
research
06/07/2022

Automated Expected Amortised Cost Analysis of Probabilistic Data Structures

In this paper, we present the first fully-automated expected amortised c...
research
04/26/2023

Automatic Amortized Resource Analysis with Regular Recursive Types

The goal of automatic resource bound analysis is to statically infer sym...
research
06/29/2020

Liquid Resource Types

This article presents liquid resource types, a technique for automatical...
research
06/28/2023

Error analysis of a first-order IMEX scheme for the logarithmic Schrödinger equation

The logarithmic Schrödinger equation (LogSE) has a logarithmic nonlinear...
research
03/09/2020

Smoothed Analysis of Trie Height by Star-like PFAs

Tries are general purpose data structures for information retrieval. The...

Please sign up or login with your details

Forgot password? Click here to reset