Content area

Abstract

In this paper, we present the first fully-automated expected amortised cost analysis of self-adjusting data structures, that is, of randomised splay trees, randomised splay heaps and randomised meldable heaps, which so far have only (semi-) manually been analysed in the literature. Our analysis is stated as a type-and-effect system for a first-order functional programming language with support for sampling over discrete distributions, non-deterministic choice and a ticking operator. The latter allows for the specification of fine-grained cost models. We state two soundness theorems based on two different -- but strongly related -- typing rules of ticking, which account differently for the cost of non-terminating computations. Finally we provide a prototype implementation able to fully automatically analyse the aforementioned case studies.

Details

1009240
Title
Automated Expected Amortised Cost Analysis of Probabilistic Data Structures
Publication title
arXiv.org; Ithaca
Publication year
2024
Publication date
Jun 3, 2024
Section
Computer Science
Publisher
Cornell University Library, arXiv.org
Source
arXiv.org
Place of publication
Ithaca
Country of publication
United States
University/institution
Cornell University Library arXiv.org
e-ISSN
2331-8422
Source type
Working Paper
Language of publication
English
Document type
Working Paper
Publication history
 
 
Online publication date
2024-06-04
Milestone dates
2022-06-07 (Submission v1); 2024-06-03 (Submission v2)
Publication history
 
 
   First posting date
04 Jun 2024
ProQuest document ID
2674531188
Document URL
https://www.proquest.com/working-papers/automated-expected-amortised-cost-analysis/docview/2674531188/se-2?accountid=208611
Full text outside of ProQuest
Copyright
© 2024. This work is published under http://arxiv.org/licenses/nonexclusive-distrib/1.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Last updated
2024-06-05
Database
ProQuest One Academic