ABSTRACT
Specification languages have long featured ways to describe what does not change when an imperative procedure is executed: the so-called frame problem. Solutions to the frame problem are needed for formal verification in imperative programming, as otherwise a verification would not be able to accumulate information from one statement to the next. Region logic is one of the approaches to solving the frame problem. We present a modified version of region logic with fine granularity and introduce conditional effects that allows one to specify more precise frame conditions.
- A. Banerjee and D. Naumann. A logical analysis of framing for specifications with pure method calls. In D. Giannakopoulou and D. Kroening, editors, Verified Software: Theories, Tools and Experiments, Lecture Notes in Computer Science, pages 3--20. Springer International Publishing, 2014.Google Scholar
- A. Banerjee, D. A. Naumann, and S. Rosenberg. Regional logic for local reasoning about global invariants. In J. Vitek, editor, European Conference on Object-Oriented Programming (ECOOP), volume 5142 of Lecture Notes in Computer Science, pages 387--411, New York, NY, 2008. Springer-Verlag. Google ScholarDigital Library
- A. Banerjee, D. A. Naumann, and S. Rosenberg. Local reasoning for global invariants, part i: Region logic. J. ACM, 60(3):18:1--18:56, June 2013. Google ScholarDigital Library
- Y. Bao, G. T. Leavens, and G. Ernst. Conditional framing in fine-grained region logic. Technical Report CS-TR-15-01, Computer Science, University of Central Florida, Orlando, Florida, Mar. 2015. http://www.eecs.ucf.edu/~leavens/tech-reports/UCF/CS-TR-15-01/TR.pdf.Google Scholar
- A. Borgida, J. Mylopoulos, and R. Reiter. On the frame problem in procedure specifications. IEEE Transactions on Software Engineering, 21(10):785--798, Oct. 1995. Google ScholarDigital Library
- P. Chalin, J. R. Kiniry, G. T. Leavens, and E. Poll. Beyond assertions: Advanced specification and verification with JML and ESC/Java2. In Formal Methods for Components and Objects (FMCO) 2005, Revised Lectures, volume 4111 of Lecture Notes in Computer Science, pages 342--363, Berlin, 2006. Springer-Verlag. Google ScholarDigital Library
- I. T. Kassios. Dynamic frames: Support for framing, dependencies and sharing without restrictions. In E. S. J. Misra, T. Nipkow, editor, Formal Methods (FM), volume 4085 of Lecture Notes in Computer Science, pages 268--283, Berlin, 2006. Springer-Verlag. Google ScholarDigital Library
- I. T. Kassios. The dynamic frames theory. Formal Aspects of Computing, 23(3):267--288, May 2011. Google ScholarCross Ref
- G. T. Leavens and A. L. Baker. Enhancing the pre- and postcondition technique for more expressive specifications. In J. M. Wing, J. Woodcock, and J. Davies, editors, FM'99 --- Formal Methods: World Congress on Formal Methods in the Development of Computing Systems, Toulouse, France, September 1999, Proceedings, volume 1709 of Lecture Notes in Computer Science, pages 1087--1106. Springer-Verlag, 1999. Google ScholarDigital Library
- K. R. M. Leino and R. Monahan. Dafny meets the verification benchmarks challenge. In Proceedings of the Third international conference on Verified software: theories, tools, experiments, volume 6217 of Lecture Notes in Computer Science, pages 112--126, Berlin, 2010. Springer-Verlag. Google ScholarDigital Library
- S. Rosenberg. Verifier for region logic. Web page at http://www.cs.stevens.edu/ naumann/pub/VERL/., 2011.Google Scholar
- B. W. Weide, M. Sitaraman, H. K. Harton, B. Adcock, P. Bucci, D. Bronish, W. D. Heym, J. Kirschenbaum, and D. Frazier. Incremental benchmarks for software verification tools and technique. In Verified Software: Theories, Tools, Experiments (VSTTE), volume 5925 of Lecture Notes in Computer Science, pages 84--98, Berlin, 2008. Springer-Verlag. Google ScholarDigital Library
- A. Wills. Specification in Fresco. In S. Stepney, R. Barden, and D. Cooper, editors, Object Orientation in Z, Workshops in Computing, chapter 11, pages 127--135. Springer-Verlag, Cambridge CB2 1LQ, UK, 1992. Google ScholarDigital Library
- J. M. Wing. A two-tiered approach to specifying programs. Technical Report TR-299, Massachusetts Institute of Technology, Laboratory for Computer Science, 1983. Google ScholarDigital Library
Index Terms
- Conditional effects in fine-grained region logic
Recommendations
Unifying separation logic and region logic to allow interoperability
AbstractFraming is important for specification and verification, especially in programs that mutate data structures with shared data, such as DAGs. Both separation logic and region logic are successful approaches to framing, with separation logic ...
Substructural logic and partial correctness
We formulate a noncommutative sequent calculus for partial correctness that subsumes propositional Hoare Logic. Partial correctness assertions are represented by intuitionistic linear implication. We prove soundness and completeness over relational and ...
Extending hoare logic to real-time
AbstractClassical Hoare triples are modified to specify and design distributed real-time systems. The assertion language is extended with primitives to express the timing of observable actions. Further the interpretation of triples is adapted such that ...
Comments