<div class="csl-bib-body">
<div class="csl-entry">Sinn, M., Zuleger, F., & Veith, H. (2017). Complexity and Resource Bound Analysis of Imperative Programs Using Difference Constraints. <i>Journal of Automated Reasoning</i>, <i>59</i>(1), 3–45. https://doi.org/10.1007/s10817-016-9402-4</div>
</div>
-
dc.identifier.issn
0168-7433
-
dc.identifier.uri
http://hdl.handle.net/20.500.12708/28
-
dc.description.abstract
Difference constraints have been used for termination analysis in the literature, where they denote relational inequalities of the form x′≤y+c, and describe that the value of x in the current state is at most the value of y in the previous state plus some constant c∈Z. We believe that difference constraints are also a good choice for complexity and resource bound analysis because the complexity of imperative programs typically arises from counter increments and resets, which can be modeled naturally by difference constraints. In this article we propose a bound analysis based on difference constraints. We make the following contributions: (1) our analysis handles bound analysis problems of high practical relevance which current approaches cannot handle: we extend the range of bound analysis to a class of challenging but natural loop iteration patterns which typically appear in parsing and string-matching routines. (2) We advocate the idea of using bound analysis to infer invariants: our soundness proven algorithm obtains invariants through bound analysis, the inferred invariants are in turn used for obtaining bounds. Our bound analysis therefore does not rely on external techniques for invariant generation. (3) We demonstrate that difference constraints are a suitable abstract program model for automatic complexity and resource bound analysis: we provide efficient abstraction techniques for obtaining difference constraint programs from imperative code. (4) We report on a thorough experimental comparison of state-of-the-art bound analysis tools: we set up a tool comparison on (a) a large benchmark of real-world C code, (b) a benchmark built of examples taken from the bound analysis literature and (c) a benchmark of challenging iteration patterns which we found in real source code. (5) Our analysis is more scalable than existing approaches: we discuss how we achieve scalability.
en
dc.description.sponsorship
WWTF Wiener Wissenschafts-, Forschu und Technologiefonds
-
dc.language
English
-
dc.language.iso
en
-
dc.publisher
SPRINGER
-
dc.relation.ispartof
Journal of Automated Reasoning
-
dc.rights.uri
http://creativecommons.org/licenses/by/4.0/
-
dc.subject
Bound analysis
en
dc.subject
Complexity analysis
en
dc.subject
Amortized analysis
en
dc.subject
Difference constraints
en
dc.subject
Static analysis
en
dc.subject
Resource bound analysis
en
dc.subject
Automatic complexity analysis
en
dc.subject
Cost analysis
en
dc.title
Complexity and Resource Bound Analysis of Imperative Programs Using Difference Constraints
en
dc.type
Article
en
dc.type
Artikel
de
dc.rights.license
Creative Commons Namensnennung 4.0 International
de
dc.rights.license
Creative Commons Attribution 4.0 International
en
dc.description.startpage
3
-
dc.description.endpage
45
-
dc.relation.grantno
ICT12-059
-
dc.rights.holder
The Author(s) 2017
-
dc.type.category
Original Research Article
-
tuw.container.volume
59
-
tuw.container.issue
1
-
tuw.journal.peerreviewed
true
-
tuw.peerreviewed
true
-
tuw.version
vor
-
tuw.project.title
Automated Program Analysis for Bounds on Resource Consumption
-
dcterms.isPartOf.title
Journal of Automated Reasoning
-
tuw.publication.orgunit
E192 - Institut für Informationssysteme
-
tuw.publisher.doi
10.1007/s10817-016-9402-4
-
dc.identifier.eissn
1573-0670
-
dc.identifier.libraryid
AC15187473
-
dc.description.numberOfPages
43
-
dc.identifier.urn
urn:nbn:at:at-ubtuw:3-4002
-
dc.rights.identifier
CC BY 4.0
de
dc.rights.identifier
CC BY 4.0
en
item.openaccessfulltext
Open Access
-
item.grantfulltext
open
-
item.openairetype
research article
-
item.openairecristype
http://purl.org/coar/resource_type/c_2df8fbb1
-
item.languageiso639-1
en
-
item.fulltext
with Fulltext
-
item.cerifentitytype
Publications
-
crisitem.author.dept
E184 - Institut für Informationssysteme
-
crisitem.author.dept
E192-04 - Forschungsbereich Formal Methods in Systems Engineering
-
crisitem.author.dept
E184 - Institut für Informationssysteme
-
crisitem.author.orcid
0000-0003-1468-8398
-
crisitem.author.parentorg
E180 - Fakultät für Informatik
-
crisitem.author.parentorg
E192 - Institut für Logic and Computation
-
crisitem.author.parentorg
E180 - Fakultät für Informatik
-
crisitem.project.funder
WWTF Wiener Wissenschafts-, Forschu und Technologiefonds