An ACL2 Mechanization of an Axiomatic Framework for Weak Memory
Benjamin Selfridge (University of Texas at Austin)

TL;DR
This paper presents an ACL2 mechanization of an axiomatic weak memory model, enabling formal reasoning about multi-processor program correctness under weaker memory guarantees.
Contribution
It introduces a formal ACL2 implementation of a weak memory axiomatic framework and offers a new proof of an existing theorem in this domain.
Findings
Successful formalization of the weak memory model in ACL2
New proof of an established theorem in weak memory axioms
Enhanced tools for reasoning about multi-processor correctness
Abstract
Proving the correctness of programs written for multiple processors is a challenging problem, due in no small part to the weaker memory guarantees afforded by most modern architectures. In particular, the existence of store buffers means that the programmer can no longer assume that writes to different locations become visible to all processors in the same order. However, all practical architectures do provide a collection of weaker guarantees about memory consistency across processors, which enable the programmer to write provably correct programs in spite of a lack of full sequential consistency. In this work, we present a mechanization in the ACL2 theorem prover of an axiomatic weak memory model (introduced by Alglave et al.). In the process, we provide a new proof of an established theorem involving these axioms.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Logic, programming, and type systems · Computability, Logic, AI Algorithms
