An Abstract Domain for Heap Commutativity

Jared Pincus, Eric Koskinen

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Commutativity of program code (i.e. the equivalence of two code fragments composed in alternate orders) is of ongoing interest in many settings such as program verification, scalable concurrency, and security analysis. While some have explored static analysis for code commutativity, few have specifically catered to heap-manipulating programs. We introduce an abstract domain in which commutativity synthesis or verification techniques can safely be performed on abstract mathematical models and, from those results, one can directly obtain commutativity conditions for concrete heap programs. This approach offloads challenges of concrete heap reasoning into the simpler abstract space. We show this reasoning supports framing and composition, and conclude with commutativity analysis of programs operating on example heap data structures. Our work has been mechanized in Coq and is available in the supplement.

Original languageEnglish
Title of host publicationVerification, Model Checking, and Abstract Interpretation - 26th International Conference, VMCAI 2025, Proceedings
EditorsKrishna Shankaranarayanan, Sriram Sankaranarayanan, Ashutosh Trivedi
Pages26-49
Number of pages24
DOIs
StatePublished - 2025
Event26th International Conference on Verification, Model Checking, and Abstract Interpretation, VMCAI 2025 - Denver, United States
Duration: 20 Jan 202521 Jan 2025

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume15530 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference26th International Conference on Verification, Model Checking, and Abstract Interpretation, VMCAI 2025
Country/TerritoryUnited States
CityDenver
Period20/01/2521/01/25

Keywords

  • Abstract Interpretation
  • Commutativity
  • Observational Equivalence
  • Separation Logic

Fingerprint

Dive into the research topics of 'An Abstract Domain for Heap Commutativity'. Together they form a unique fingerprint.

Cite this