2017
DOI: 10.1007/s10817-017-9431-7
|View full text |Cite
|
Sign up to set email alerts
|

Verifying the Correctness and Amortized Complexity of a Union-Find Implementation in Separation Logic with Time Credits

Abstract: Union-Find is a famous example of a simple data structure whose amortized asymptotic time complexity analysis is nontrivial. We present a Coq formalization of this analysis, following Alstrup et al.'s recent proof (2014). 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. In order to reason in Coq about imperative OCaml code, we use the CFML tool, which implements … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
4
1

Citation Types

0
58
0

Year Published

2018
2018
2020
2020

Publication Types

Select...
6

Relationship

2
4

Authors

Journals

citations
Cited by 43 publications
(58 citation statements)
references
References 60 publications
0
58
0
Order By: Relevance
“…For proofs of general graph algorithms, the situation is even more dire. Despite substantial improvements in the verification methodology for such algorithms [36,39], significant parts of the proof argument still typically need to be carried out using nonlocal reasoning [8,9,14,26]. This paper presents a general technique for local reasoning arXiv:1911.08632v1 [cs.LO] 19 Nov 2019 about global graph properties that can be used within off-the-shelf separation logics.…”
Section: Introductionmentioning
confidence: 99%
“…For proofs of general graph algorithms, the situation is even more dire. Despite substantial improvements in the verification methodology for such algorithms [36,39], significant parts of the proof argument still typically need to be carried out using nonlocal reasoning [8,9,14,26]. This paper presents a general technique for local reasoning arXiv:1911.08632v1 [cs.LO] 19 Nov 2019 about global graph properties that can be used within off-the-shelf separation logics.…”
Section: Introductionmentioning
confidence: 99%
“…Atkey [1] proposed to use separation logic with time credits to reason about the amortised running time of programs; he formalized his logic and its soundness in Coq. Similar ideas were used by Hoffmann et al [10] to prove lock-freedom of concurrent programs, and by Charguéraud and Pottier [7] to verify the amortised running time of the Union-Find data structure in Coq. Guéneau et al [8] recently extended their framework to also obtain O results for the running time of programs.…”
Section: Related Workmentioning
confidence: 88%
“…The need for such a study becomes apparent when browsing the related literature (e.g. [1,6,7]): (formalized) soundness results are of course provided, but completeness of logics and VCGs is missing.…”
Section: Introductionmentioning
confidence: 99%
See 1 more Smart Citation
“…As a starting point, we take Iris [11][12][13][14], a powerful evolution of Concurrent Separation Logic [3]. We extend Iris with two elementary time-related concepts, namely time credits [1,4,9] and time receipts.…”
Section: Introductionmentioning
confidence: 99%