Mechanised Operational Reasoning for C11 Programs with Relaxed Dependencies
نویسندگان
چکیده
Verification techniques for C11 programs have advanced significantly in recent years with the development of operational semantics and associated logics increasingly large fragments C11. However, these been developed a restricted setting to avoid thin-air-read problem. In this article, we propose an that leverages intra-thread partial order (called semantic dependencies ) induced by recently denotational event-structure-based semantics. We prove our is sound complete respect present logic generalises Owicki–Gries framework RC11 RAR (repaired C11) relaxed release-acquire accesses. describe mechanisation Isabelle/HOL theorem prover, which use correctness number examples.
منابع مشابه
Reasoning about Relaxed Programs
Approximate program transformations such as task skipping [27, 28], loop perforation [20, 21, 32], multiple selectable implementations [3, 4, 15], approximate function memoization [10], and approximate data types [31] produce programs that can execute at a variety of points in an underlying performance versus accuracy tradeoff space. Namely, these transformed programs trade accuracy of their re...
متن کاملMechanised Formal Reasoning About Modular Programs
lattices introduce special constructs to operate with – binary meets and joins, general meets and joins, tops and bottoms. It is convenient to work with them using the style of natural deduction, with special inference rules for introduction and elimination of different lattice constructs. Such rules are useful when the aim is to prove a theorem of the form ` t v t′ by stepwise transformational...
متن کاملAn Integration of Mechanised Reasoning
Mechanised reasoning systems and computer algebra systems have apparently di erent objectives. Their integration is, however, highly desirable, since in many formal proofs both of the two di erent tasks, proving and calculating, have to be performed. Even more importantly, proof and computation are often interwoven and not easily separable. In the context of producing reliable proofs, the quest...
متن کاملOperational Reasoning for Concurrent Caml Programs and Weak Memory Models
This paper concerns the formal semantics of programming languages, and the specification and verification of software. We are interested in the verification of real programs, written in real programming languages, running on machines with real memory models. To this end, we verify a Caml implementation of a concurrent algorithm, Peterson’s mutual exclusion algorithm, down to the operational sem...
متن کاملAn Integration of Mechanised Reasoning andComputer
Mechanised reasoning systems and computer algebra systems have apparently diierent objectives. Their integration is, however, highly desirable, since in many formal proofs both of the two diierent tasks, proving and calculating, have to be performed. Even more importantly, proof and computation are often interwoven and not easily separable. In the context of producing reliable proofs, the quest...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Formal Aspects of Computing
سال: 2023
ISSN: ['1433-299X', '0934-5043']
DOI: https://doi.org/10.1145/3580285