skip to main content
10.1145/1181195.1181213acmconferencesArticle/Chapter ViewAbstractPublication PagesfseConference Proceedingsconference-collections
Article

Reasoning about iterators with separation logic

Published: 10 November 2006 Publication History

Abstract

Separation logic is an extension of Hoare logic which permits reasoning about imperative programs that use shared mutable heap structure. In this note, we show how to use higher-order separation logic to reason abstractly about an iterator protocol.

References

[1]
J. Berdine, C. Calcagno, and P. W. O'Hearn. Smallfoot: Modular automatic assertion checking with separation logic. In Proceedings of the Fourth International Symposium on Formal Methods for Components and Objects, Amsterdam, The Netherlands, 2001.
[2]
B. Biering, L. Birkedal, and N. Torp-Smith. BI-hyperdoctrines and higher order separation logic. In Proc. of ESOP 2005: The European Symposium on Programming, pages 233--247, Edinburgh, Scotland, April 2005.
[3]
E. Gamma, R. Helm, R. Johnson, and J. Vlissides. Design Patterns. Elements of reusable object-oriented software. Addison-Wesley, 1995.
[4]
C. A. R. Hoare. An axiomatic approach to computer programming. Communications of the ACM, 12(583):576--580, 1969.
[5]
S. Ishtiaq and P. W. O'Hearn. BI as an assertion language for mutable data structures. In Proceedings of the 28th Annual ACM SIGPLAN - SIGACT Symposium on Principles of Programming Languages (POPL'01), London, 2001.
[6]
J. C. Reynolds. Separation logic: A logic for shared mutable data structures. In Proc. of the 17th Annual IEEE Symposium on Logic in Computer Science (LICS'02), pages 55--74, Copenhagen, Denmark, July 2002. IEEE Press.

Cited By

View all

Index Terms

  1. Reasoning about iterators with separation logic

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    SAVCBS '06: Proceedings of the 2006 conference on Specification and verification of component-based systems
    November 2006
    87 pages
    ISBN:159593586X
    DOI:10.1145/1181195
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 10 November 2006

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. aliasing
    2. challenge problem
    3. iterators
    4. separation logic

    Qualifiers

    • Article

    Conference

    SIGSOFT06/FSE-14
    Sponsor:

    Acceptance Rates

    SAVCBS '06 Paper Acceptance Rate 14 of 14 submissions, 100%;
    Overall Acceptance Rate 37 of 46 submissions, 80%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)5
    • Downloads (Last 6 weeks)1
    Reflects downloads up to 25 Dec 2024

    Other Metrics

    Citations

    Cited By

    View all

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media