Download PDFOpen PDF in browserOn Reducing Non-Occurrence of Specified Runtime Errors to All-Path Reachability Problems of Constrained RewritingEasyChair Preprint 867116 pages•Date: August 12, 2022AbstractA concurrent program with semaphore-based exclusive control can be transformed into a logically constrained term rewrite system that is computationally equivalent to the program. In this paper, we first propose a framework to reduce the non-occurrence of a specified runtime error in the program to an all-path reachability problem of the transformed logically constrained term rewrite system. Here, an all-path reachability problem is a pair of state sets and is demonically valid if every finite execution path starting with a state in the first set and ending with a terminating state includes a state in the second set. Then, as a case study, we show how to apply the framework to the race-freeness of semaphore-based exclusive control in the program. Finally, we show a simplified variant of a proof system for all-path reachability problems. Keyphrases: program transformation, runtime-error verification, term rewriting
|