Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:0904.4902

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Logic in Computer Science

arXiv:0904.4902 (cs)
[Submitted on 30 Apr 2009 (v1), last revised 27 May 2009 (this version, v2)]

Title:Simulating reachability using first-order logic with applications to verification of linked data structures

Authors:Tal Lev-Ami, Neil Immerman, Thomas Reps, Mooly Sagiv, Siddharth Srivastava, Greta Yorsh
View a PDF of the paper titled Simulating reachability using first-order logic with applications to verification of linked data structures, by Tal Lev-Ami and 5 other authors
View PDF
Abstract: This paper shows how to harness existing theorem provers for first-order logic to automatically verify safety properties of imperative programs that perform dynamic storage allocation and destructive updating of pointer-valued structure fields. One of the main obstacles is specifying and proving the (absence) of reachability properties among dynamically allocated cells.
The main technical contributions are methods for simulating reachability in a conservative way using first-order formulas--the formulas describe a superset of the set of program states that would be specified if one had a precise way to express reachability. These methods are employed for semi-automatic program verification (i.e., using programmer-supplied loop invariants) on programs such as mark-and-sweep garbage collection and destructive reversal of a singly linked list. (The mark-and-sweep example has been previously reported as being beyond the capabilities of ESC/Java.)
Comments: 30 pages, LMCS
Subjects: Logic in Computer Science (cs.LO); Programming Languages (cs.PL)
ACM classes: F.3.1; F.3.2; F.4.1
Cite as: arXiv:0904.4902 [cs.LO]
  (or arXiv:0904.4902v2 [cs.LO] for this version)
  https://doi.org/10.48550/arXiv.0904.4902
arXiv-issued DOI via DataCite
Journal reference: Logical Methods in Computer Science, Volume 5, Issue 2 (May 28, 2009) lmcs:680
Related DOI: https://doi.org/10.2168/LMCS-5%282%3A12%292009
DOI(s) linking to related resources

Submission history

From: Tal Lev-Ami [view email]
[v1] Thu, 30 Apr 2009 17:54:54 UTC (70 KB)
[v2] Wed, 27 May 2009 22:05:51 UTC (72 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Simulating reachability using first-order logic with applications to verification of linked data structures, by Tal Lev-Ami and 5 other authors
  • View PDF
  • TeX Source
  • Other Formats
view license
Current browse context:
cs.LO
< prev   |   next >
new | recent | 2009-04
Change to browse by:
cs
cs.PL

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Tal Lev-Ami
Neil Immerman
Thomas W. Reps
Mooly Sagiv
Siddharth Srivastava
…
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack