Verification of Concurrent Programs by Temporal Petri Nets
丁志军,蒋昌俊
DOI: https://doi.org/10.3321/j.issn:0254-4164.2002.05.003
2002-01-01
Jisuanji Xuebao/Chinese Journal of Computers
Abstract:This paper introduces a new class of Petri nets, called temporal Petri nets, in which temporal constraints of a given net are represented by the temporal logic formulas. The Temporal Petri nets is used as a tool for modeling, analyzing and verifying concurrent programs. Firstly, the method of modeling concurrent programs is introduced. On the one hand, the basic frameworks of programs are described by net structures and the atomic actions of statements is execution are represented by the transition firing. On the other hand, temporal logic could describe effectively the changes and temporal relationships of share logic variants is evaluation, which are difficult to be represented by Petri nets. In addition, the fair requirements of statements is execution are stated by temporal logic formulas. Then, authors analyze and verify the safety and liveness properties of concurrent programs using temporal Petri net models. That is, combining the method of reachability of Petri nets and deduction of temporal logic formulas, we could use temporal logic formulas for describing and deducting dynamic behaviors and the states of markings. Not only safety properties of programs are analyzed and verified, but also liveness properties, which are difficult to be described by Petri net models, are verified formally through above method. Generally, proposition of safety properties could be stated formally by temporal logic, and proposition of liveness properties could be described by temporal logic. In short, the explanation in this paper indicates that temporal Petri nets provide a new and useful way for modeling concurrent programs and verifying correctness of programs.