A Rely-Guarantee-Based Simulation for Verifying Concurrent Program Transformations

被引:0
作者
Liang, Hongjin [1 ]
Feng, Xinyu [1 ]
Fu, Ming [1 ]
机构
[1] Univ Sci & Technol China, Sch Comp Sci & Technol, Hefei 230026, Anhui, Peoples R China
来源
POPL 12: PROCEEDINGS OF THE 39TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES | 2012年
关键词
Concurrency; Program Transformation; Rely-Guarantee Reasoning; Simulation; ABSTRACTION; PARALLEL;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Verifying program transformations usually requires proving that the resulting program (the target) refines or is equivalent to the original one (the source). However, the refinement relation between individual sequential threads cannot be preserved in general with the presence of parallel compositions, due to instruction reordering and the different granularities of atomic operations at the source and the target. On the other hand, the refinement relation defined based on fully abstract semantics of concurrent programs assumes arbitrary parallel environments, which is too strong and cannot be satisfied by many well-known transformations. In this paper, we propose a Rely-Guarantee-based Simulation (RGSim) to verify concurrent program transformations. The relation is parametrized with constraints of the environments that the source and the target programs may compose with. It considers the interference between threads and their environments, thus is less permissive than relations over sequential programs. It is compositional w.r.t. parallel compositions as long as the constraints are satisfied. Also, RGSim does not require semantics preservation under all environments, and can incorporate the assumptions about environments made by specific program transformations in the form of rely/guarantee conditions. We use RGSim to reason about optimizations and prove atomicity of concurrent objects. We also propose a general garbage collector verification framework based on RGSim, and verify the Boehm et al. concurrent mark-sweep GC.
引用
收藏
页码:455 / 468
页数:14
相关论文
共 50 条
[41]   Efficacy of the computer simulation-based, interactive communication education program for nursing students [J].
Choi, Heeseung ;
Lee, Ujin ;
Jeon, Ye Seul ;
Kim, Chanhee .
NURSE EDUCATION TODAY, 2020, 91
[42]   An evaluation of a simulation and video-based training program to address adverse childhood experiences [J].
Miller-Cribbs, Julie ;
Bragg, Jedediah ;
Wen, Frances ;
Jelley, Martina ;
Coon, Kim A. ;
Hanks, Heather ;
Howell, Daniel ;
Randall, Ken ;
Isaacson, Mary ;
Rodriguez, Kristin ;
Sutton, Ginger .
INTERNATIONAL JOURNAL OF PSYCHIATRY IN MEDICINE, 2020, 55 (05) :366-375
[43]   A Qualitative Assessment of Barriers, Facilitators, and Outcomes in a Simulation-Based Collaborative Quality Improvement Program [J].
Alletag, Michelle J. ;
Kant, Shruti ;
Van Ittersum, Wendy L. ;
Walls, Theresa A. ;
Montgomery, Erin E. ;
Anderson, Hannah L. ;
Mannenbach, Mark S. ;
Auerbach, Marc A. .
PEDIATRIC EMERGENCY CARE, 2025, 41 (04) :273-280
[44]   Simulation-Based Outreach Program Improves Rural Hospitals' Team Confidence in Neonatal Resuscitation [J].
Zanno, Allison ;
Melendi, Misty ;
Cutler, Anya ;
Stone, Benjamin ;
Chipman, Micheline ;
Holmes, Jeffrey ;
Craig, Alexa .
CUREUS JOURNAL OF MEDICAL SCIENCE, 2022, 14 (09)
[45]   Distributed, Agent-Based Intelligent System for Demand Response Program Simulation in Smart Grids [J].
Gomes, Luis ;
Faria, Pedro ;
Morais, Hugo ;
Vale, Zita ;
Ramos, Carlos .
IEEE INTELLIGENT SYSTEMS, 2014, 29 (01) :56-65
[46]   Development and evaluation of a simulation-based respiratory pediatric nursing education program using SimBaby [J].
Choi, Nayoung .
ASIA LIFE SCIENCES, 2015, :59-70
[47]   Effectiveness of a Simulation-Based Education Program to Improve Novice Nurses' Clinical Judgment Skills [J].
Kawase, Yoshiko ;
Takahashi, Shoko ;
Okayasu, Masako ;
Hirai, Yuka ;
Matsumoto, Ichie .
CUREUS JOURNAL OF MEDICAL SCIENCE, 2024, 16 (06)
[48]   Impact and effectiveness of a mandatory competency-based simulation program for pediatric emergency medicine faculty [J].
Pirie, Jonathan ;
Fayyaz, Jabeen ;
Prinicipi, Tania ;
Kempinska, Anna ;
Gharib, Mireille ;
Simone, Laura ;
Glanfield, Carrie ;
Walsh, Catharine .
AEM EDUCATION AND TRAINING, 2023, 7 (02)
[49]   Comparison of peer assessment and faculty assessment in an interprofessional simulation-based team training program [J].
Hegg, Reime Marit ;
Ivan, Kvam Fred ;
Tone, Johnsgaard ;
Morten, Aarflot .
NURSE EDUCATION IN PRACTICE, 2020, 42
[50]   Exploring faculty perception of simulation-based education: Benefits and challenges of using simulation for improving patient safety in cardiovascular diploma program [J].
Alshehri, Ajlan A. ;
Alenazi, Fahaad S. ;
Alturki, Hamad ;
Khan, Farida Habib .
PAKISTAN JOURNAL OF MEDICAL SCIENCES, 2023, 39 (02) :354-360