2018
DOI: 10.1007/978-3-319-89884-1_19
|View full text |Cite
|
Sign up to set email alerts
|

A Fistful of Dollars: Formalizing Asymptotic Complexity Claims via Deductive Program Verification

Abstract: We present a framework for simultaneously verifying the functional correctness and the worst-case asymptotic time complexity of higher-order imperative programs. We build on top of Separation Logic with Time Credits, embedded in an interactive proof assistant. We formalize the O notation, which is key to enabling modular specifications and proofs. We cover the subtleties of the multivariate case, where the complexity of a program fragment depends on multiple parameters. We propose a way of integrating complexi… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

0
48
0

Year Published

2018
2018
2020
2020

Publication Types

Select...
7

Relationship

2
5

Authors

Journals

citations
Cited by 33 publications
(48 citation statements)
references
References 22 publications
0
48
0
Order By: Relevance
“…The most closely-related is the impressive work by Guéneau et al [12] for asymptotic time complexity analysis in Coq. We now take a closer look at the similarities and differences: -Guéneau et al give a structured overview of different problems that arise when working informally with asymptotic complexity in several variables, then solve this problem by rigorously defining asymptotic domination (which is essentially f ∈ O(g)) with filters and develop automation for reasoning about it.…”
Section: Related Workmentioning
confidence: 99%
See 2 more Smart Citations
“…The most closely-related is the impressive work by Guéneau et al [12] for asymptotic time complexity analysis in Coq. We now take a closer look at the similarities and differences: -Guéneau et al give a structured overview of different problems that arise when working informally with asymptotic complexity in several variables, then solve this problem by rigorously defining asymptotic domination (which is essentially f ∈ O(g)) with filters and develop automation for reasoning about it.…”
Section: Related Workmentioning
confidence: 99%
“…Interactive theorem provers are useful tools for performing such a verification, as their soundness is based on a small trusted kernel, hence long derivations can be made with a very high level of confidence. So far, the work of Guéneau et al [12,6] appears to be the only general framework for asympotic time complexity analysis of imperative programs in an interactive theorem prover. The framework is built in Coq, based on Charguéraud's CFML package [5] for verifying imperative programs using characteristic formulas.…”
Section: Introductionmentioning
confidence: 99%
See 1 more Smart Citation
“…Guéneau et al [7] use time credits to reason about asymptotic complexity, that is, about the manner in which a program's complexity grows as the size of its input grows towards infinity. Does such asymptotic reasoning make sense in Iris $ȯ , where no program is ever executed for N time steps or beyond?…”
Section: Marrying Time Credits and Time Receiptsmentioning
confidence: 99%
“…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. None of these works include verified VCGs.…”
Section: Related Workmentioning
confidence: 99%