Monitoring refinement via symbolic reasoning

Michael Emmi, Constantin Enea, Jad Hamza
2015 SIGPLAN notices  
Efficient implementations of concurrent objects such as semaphores, locks, and atomic collections are essential to modern computing. Programming such objects is error prone: in minimizing the synchronization overhead between concurrent object invocations, one risks the conformance to reference implementations -or in formal terms, one risks violating observational refinement. Precisely testing this refinement even within a single execution is intractable, limiting existing approaches to
more » ... s with very few object invocations. We develop scalable and effective algorithms for detecting refinement violations. Our algorithms are founded on incremental, symbolic reasoning, and exploit foundational insights into the refinement-checking problem. Our approach is sound, in that we detect only actual violations, and scales far beyond existing violationdetection algorithms. Empirically, we find that our approach is practically complete, in that we detect the violations arising in actual executions.
doi:10.1145/2813885.2737983 fatcat:mid2kiysl5fv3e53zyj764n2yu