Amortized Analysis via Coinduction

03/28/2023
by   Harrison Grodin, et al.
0

Amortized analysis is a program cost analysis technique for data structures in which the cost of operations is specified in aggregate, under the assumption of continued sequential use. Typically, amortized analyses are presented inductively, in terms of finite sequences of operations. We give an alternative coinductive formulation and prove that it is equivalent to the standard inductive definition. We describe a classic amortized data structure, the batched queue, and outline a coinductive proof of its amortized efficiency in calf, a type theory for cost analysis.

READ FULL TEXT

page 4

page 5

research
10/04/2019

RDMA vs. RPC for Implementing Distributed Data Structures

Distributed data structures are key to implementing scalable application...
research
10/24/2018

Lower Bounds for Oblivious Data Structures

An oblivious data structure is a data structure where the memory access ...
research
10/11/2021

Parallel Batched Interpolation Search Tree

Ordered set (and map) is one of the most used data type. In addition to ...
research
06/26/2022

Applications of Recursively Defined Data Structures

A circular program contains a data structure whose definition is self-re...
research
04/30/2021

Types are Internal ∞-Groupoids

By extending type theory with a universe of definitionally associative a...
research
05/18/2021

Durable Queues: The Second Amendment

We consider durable data structures for non-volatile main memory, such a...
research
08/28/2019

Performance Analysis of Zippers

A zipper is a powerful technique of representing a purely functional dat...

Please sign up or login with your details

Forgot password? Click here to reset