2015
DOI: 10.1007/978-3-319-22102-1_9
|View full text |Cite
|
Sign up to set email alerts
|

Machine-Checked Verification of the Correctness and Amortized Complexity of an Efficient Union-Find Implementation

Abstract: Abstract. Union-Find is a famous example of a simple data structure whose amortized asymptotic time complexity analysis is non-trivial. We present a Coq formalization of this analysis. Moreover, we implement Union-Find as an OCaml library and formally endow it with a modular specification that offers a full functional correctness guarantee as well as an amortized complexity bound. Reasoning in Coq about imperative OCaml code relies on the CFML tool, which is based on characteristic formulae and Separation Logi… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
4
1

Citation Types

0
30
0

Year Published

2015
2015
2020
2020

Publication Types

Select...
6
3
1

Relationship

0
10

Authors

Journals

citations
Cited by 32 publications
(30 citation statements)
references
References 27 publications
0
30
0
Order By: Relevance
“…The technique has been generalized to derive polynomial bounds [50,52,53,57,58], lower bounds [76], and to handle (strictly evaluated) programs with arrays and references [70], higher-order functions [51,61], lazy functional programs [86,90], object-oriented programs [56,59], and user defined data types [51,62]. It also has been integrated into separation logic [6] and proof assistants [25,81]. A distinctive common theme of sharing is compositionality and automatic bound inference via LP solving.…”
Section: Related Workmentioning
confidence: 99%
“…The technique has been generalized to derive polynomial bounds [50,52,53,57,58], lower bounds [76], and to handle (strictly evaluated) programs with arrays and references [70], higher-order functions [51,61], lazy functional programs [86,90], object-oriented programs [56,59], and user defined data types [51,62]. It also has been integrated into separation logic [6] and proof assistants [25,81]. A distinctive common theme of sharing is compositionality and automatic bound inference via LP solving.…”
Section: Related Workmentioning
confidence: 99%
“…However, none of these systems consider relational analysis of costs. Charguéraud and Pottier [2015] present an amortized resource analysis based on an extension of separation logic with time credits. Our use of triples and separation-based management of arrays references is similar to theirs.…”
Section: Related Workmentioning
confidence: 99%
“…A more precise approach is taken by Charguéraud and Pottier [7], who argue about the number of β-reduction steps taken by the program.…”
Section: Related Workmentioning
confidence: 99%