Symbolic execution is an important technique for software analysis, which enables systematic model exploration by following all possible execution paths for a given program. For multithreaded shared variable programs, this technique leads to a state space explosion. Partial order reduction is a technique which allows equivalent execution paths to be recognized, reducing the state space explosion problem. This paper provides formal justifications for these techniques in a multithreaded setting by proving the correctness and completeness of symbolic execution for multithreaded shared variable programs, with and without the use of partial order reduction. We then show how these formal justifications carry over to prove the soundness and relative completeness of a proof system for such multithreaded shared variable programs in dynamic logic, such that partial order reduction can be used to simplify the proof construction by mitigating the state space explosion.

W. Ahrendt (Wolfgang) , B. Beckert (Bernhard) , R. Bubel (Richard) , R. Hähnle (Reiner) , M. Ulbrich (Mattias)
doi.org/10.1007/978-3-030-64354-6_13
Lecture Notes in Computer Science
Centrum Wiskunde & Informatica, Amsterdam (CWI), The Netherlands

de Boer, F., Bonsangue, M., Johnsen, E. B., Pun, V. K., Tapia Tarifa, L., & Tveito, L. (2020). SymPaths: Symbolic Execution Meets Partial Order Reduction. In W. Ahrendt, B. Beckert, R. Bubel, R. Hähnle, & M. Ulbrich (Eds.), Deductive Software Verification: Future Perspectives (pp. 313–338). doi:10.1007/978-3-030-64354-6_13