Skip to Main content Skip to Navigation
Conference papers

An Abstract Domain to Infer Octagonal Constraints with Absolute Value

Abstract : The octagon abstract domain, devoted to discovering octagonal constraints (also called Unit Two Variable Per Inequality or UTVPI constraints) of a program, is one of the most commonly used numerical abstractions in practice, due to its quadratic memory complexity and cubic time complexity. However, the octagon domain itself is restricted to express convex sets and has limitations in handling non-convex properties which are sometimes required for proving some numerical properties in a program. In this paper, we intend to extend the octagon abstract domain with absolute value, to infer certain non-convex properties by exploiting the absolute value function. More precisely, the new domain can infer relations of the form {±X ± Y ≤ c, ±X ± |Y| ≤ d, ±|X| ± |Y| ≤ e}. We provide algorithms for domain operations such that the new domain still enjoys the same asymptotic complexity as the octagon domain. Moreover, we present an approach to support strict inequalities over rational or real-valued variables in this domain, which also fits for the octagon domain. Experimental results of our prototype are encouraging; The new domain is scalable and able to find non-convex invariants of interest in practice but without too much overhead (compared with that using octagons).
Document type :
Conference papers
Complete list of metadata

Cited literature [26 references]  Display  Hide  Download

https://hal.inria.fr/hal-01105217
Contributor : Antoine Miné <>
Submitted on : Tuesday, January 20, 2015 - 3:31:03 PM
Last modification on : Tuesday, May 4, 2021 - 2:06:02 PM
Long-term archiving on: : Tuesday, April 21, 2015 - 10:11:16 AM

File

article-chen-al-sas14.pdf
Files produced by the author(s)

Identifiers

Collections

Citation

Liqian Chen, Jiangchao Liu, Antoine Miné, Deepak Kapur, Ji Wang. An Abstract Domain to Infer Octagonal Constraints with Absolute Value. 21st International Static Analysis Symposium (SAS'14), Sep 2014, Munich, Germany. pp.18, ⟨10.1007/978-3-319-10936-7_7⟩. ⟨hal-01105217⟩

Share

Metrics

Record views

398

Files downloads

338