2021
DOI: 10.1017/s0960129521000232
|View full text |Cite
|
Sign up to set email alerts
|

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 potentialbased. 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… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
28
0

Year Published

2021
2021
2024
2024

Publication Types

Select...
3
2
2

Relationship

2
5

Authors

Journals

citations
Cited by 7 publications
(28 citation statements)
references
References 53 publications
0
28
0
Order By: Relevance
“…These data structures have so far only (semi-)manually been analysed in the literature. Our analysis is based on a novel type-and-effect system, which constitutes a generalisation of the type system studied in [13,17] to the non-deterministic and probabilistic setting, as well as an extension of the type system introduced in [34] to sublinear bounds and non-determinism. We provide a prototype implementation that is able to fully automatically analyse the case studies mentioned above.…”
Section: Introductionmentioning
confidence: 99%
See 1 more Smart Citation
“…These data structures have so far only (semi-)manually been analysed in the literature. Our analysis is based on a novel type-and-effect system, which constitutes a generalisation of the type system studied in [13,17] to the non-deterministic and probabilistic setting, as well as an extension of the type system introduced in [34] to sublinear bounds and non-determinism. We provide a prototype implementation that is able to fully automatically analyse the case studies mentioned above.…”
Section: Introductionmentioning
confidence: 99%
“…the cost assigned to non-terminating computations. (iii) Based on [13,17], we develop a novel type-and-effect system that strictly generalises the prior approaches from the literature. (iv) We state two soundness theorems (see Section 5.3) based on two different-but strongly related-typing rules of ticking.…”
Section: Introductionmentioning
confidence: 99%
“…This may not be insurmountable, as the demotion rule showed here, but new ideas are needed overall. Logarithmic potential has been explored in [32], though the approach there departs from the automatable AARA framework of linear constraint solving.…”
Section: Exponentials Polynomials and Logarithmsmentioning
confidence: 99%
“…Our work is based on AARA, which was initially introduced [Hofmann and Jost 2003] to automatically derive linear heap-space bounds for first-order functional programs. AARA has been extended to polynomial bounds [Hoffmann et al 2011;Hoffmann and Hofmann 2010b;Hofmann and Moser 2015], exponential bounds [Kahn and Hoffmann 2020], logarithmic bounds [Hofmann and Moser 2018], higher-order functions Jost et al 2010], user-defined datatypes Jost et al 2009], and separation logic [Atkey 2010]. The technique has also been generalized to imperative arithmetic programs [Carbonneaux et al 2017[Carbonneaux et al , 2015, as well as integrated into formal proof assistants [Charguéraud and Pottier 2015;Nipkow 2015].…”
Section: Related Workmentioning
confidence: 99%