Ranking Abstraction as Companion to Predicate Abstraction
- Ittai BalabanAffiliated withNew York University
- , Amir PnueliAffiliated withNew York UniversityWeizmann Institute of Science
- , Lenore D. ZuckAffiliated withUniversity of Illinois at Chicago
Predicate abstraction has become one of the most successful methodologies for proving safety properties of programs. Recently, several abstraction methodologies have been proposed for proving liveness properties. This paper studies “ranking abstraction” where a program is augmented by a nonconstraining progress monitor, and further abstracted by predicate-abstraction, to allow for automatic verification of progress properties. Unlike most liveness methodologies, the augmentation does not require a complete ranking function that is expected to decrease with each step. Rather, the inputs are component rankings from which a complete ranking function may be formed.
The premise of the paper is an analogy between the methods of ranking abstraction and predicate abstraction, one ingredient of which is refinement: When predicate abstraction fails, one can refine it. When ranking abstraction fails, one must determine whether the predicate abstraction, or the ranking abstraction, need be refined. The paper presents strategies for determining which case is at hand.
The other part of the analogy is that of automatically deriving deductive proof constructs: Predicate abstraction is often used to derive program invariants for proving safety properties as a boolean combination of the given predicates. Deductive proof of progress properties requires well-founded ranking functions instead of invariants. We show how to obtain concrete global ranking functions from abstract programs.
We demonstrate the various methods on examples with nested loops, including a bubble sort algorithm on linked lists.
- Ranking Abstraction as Companion to Predicate Abstraction
- Book Title
- Formal Techniques for Networked and Distributed Systems - FORTE 2005
- Book Subtitle
- 25th IFIP WG 6.1 International Conference, Taipei, Taiwan, October 2-5, 2005. Proceedings
- pp 1-12
- Print ISBN
- Online ISBN
- Series Title
- Lecture Notes in Computer Science
- Series Volume
- Series ISSN
- Springer Berlin Heidelberg
- Copyright Holder
- Springer-Verlag Berlin Heidelberg
- Additional Links
- Industry Sectors
- eBook Packages
- Farn Wang (16)
- Editor Affiliations
- 16. Grad. Inst. of Electronic Engineering, National Taiwan University
- Author Affiliations
- 17. New York University, New York
- 18. Weizmann Institute of Science,
- 19. University of Illinois at Chicago,
To view the rest of this content please follow the download PDF link above.