Proceedings of the 34th ACM SIGPLAN Conference on Programming Language Design and Implementation 2013
DOI: 10.1145/2491956.2462160
|View full text |Cite
|
Sign up to set email alerts
|

Rely-guarantee references for refinement types over aliased mutable data

Abstract: Reasoning about side effects and aliasing is the heart of verifying imperative programs. Unrestricted side effects through one reference can invalidate assumptions about an alias. We present a new type system approach to reasoning about safe assumptions in the presence of aliasing and side effects, unifying ideas from reference immutability type systems and rely-guarantee program logics. Our approach, rely-guarantee references, treats multiple references to shared objects similarly to multiple threads in rely-… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
7
0

Year Published

2014
2014
2022
2022

Publication Types

Select...
4
3
2

Relationship

0
9

Authors

Journals

citations
Cited by 17 publications
(7 citation statements)
references
References 54 publications
0
7
0
Order By: Relevance
“…This is a common pattern. Monotonic state has been studied in several contexts, beginning with ghost monotonic references [Pilkiewicz and Pottier 2011] or simple type systems equipped with monotonic references [Gordon et al 2013], and continuing with more powerful dependent type systems and program logics, such as 𝐹 ★ 𝐹 ★ 𝐹 ★ [Ahman et al. 2018] and Iris [Timany and Birkedal 2021].…”
Section: Verification Framework and Techniquesmentioning
confidence: 99%
“…This is a common pattern. Monotonic state has been studied in several contexts, beginning with ghost monotonic references [Pilkiewicz and Pottier 2011] or simple type systems equipped with monotonic references [Gordon et al 2013], and continuing with more powerful dependent type systems and program logics, such as 𝐹 ★ 𝐹 ★ 𝐹 ★ [Ahman et al. 2018] and Iris [Timany and Birkedal 2021].…”
Section: Verification Framework and Techniquesmentioning
confidence: 99%
“…There have been a number of concurrent separation logics that incorporate rely-guarantee reasoning [Dodds et al 2009;Feng 2009;Vafeiadis and Parkinson 2007]. There are even type systems that incorporate rely-guarantee [Gordon et al 2013]. There are also a number of metatheoretic frameworks for defining the semantics of separation logics that can support rely-guarantee reasoning [Bizjak and Birkedal 2017;Calcagno et al 2007;Dinsdale-Young et al 2013].…”
Section: Related Workmentioning
confidence: 99%
“…Since FCSL's model is predicative, it does not provide a way to dynamically allocate an invariant, making it impossible to model certain kinds of synchronization primitives, e.g., our generic interface for locks does not seem to be expressible in FCSL. On the other hand, FCSL provides several constructs for reasoning about concurrent programs mixing styles of reasoning from CSL with rely-guarantee reasoning, something which we haven't explored much: our use of monotonic references may play a role in this direction, particularly in connection with other related work on rely-guarantee references (Gordon et al 2013).…”
Section: Related Workmentioning
confidence: 99%