基于SMT的基本并行进程建模(完整版)
BPPChecker: An SMT-based Model Checker on Basic Parallel Processes(Full Version)
摘要:
并发程序的程序验证是一个很大的挑战,由于一般的不可判定的结果。Petri网及其扩展在大多数工作中使用。然而,现有的基于Petri网的验证器很难是完整的和有效的。基本并行进程(BPP)作为Petri网的一个子类,可以作为描述和验证并发程序的模型,具有较低的复杂度。我们提出并实现了BPP的,第一个模型检查器,用于验证一个子类的CTL BPP。针对BPP的模型检验问题,提出了基于约束的算法,并用SMT求解器Z3处理公式。对于EF算子,我们将EF公式的模型检验归结为存在Presburger公式的可满足性问题。对于EG算子,我们给出了k步有界语义,并将EG公式的模型检验问题归结为线性整数运算的可满足性问题。此外,我们给演员通信系统(ACS)的过近似BPP的语义和评估BPP的演员通信系统从真正的Erlang程序生成。实验结果表明,BPPPERT在一系列Erlang程序的分支时间属性验证问题上比现有工具有更高的效率。
英文摘要:
Program verification on concurrent programs is a big challenge due to general undecidable results. Petri nets and its extensions are used in most works. However, existing verifiers based on Petri nets are difficult to be complete and efficient. Basic Parallel Process (BPP), as a subclass of Petri nets, can be used as a model for describing and verifying concurrent programs with lower complexity. We propose and implement BPPChecker, the first model checker for verifying a subclass of CTL on BPP. We propose constraint-based algorithms for the problem of model checking on BPPs and handle formulas by SMT solver Z3. For EF operator, we reduce the model checking of EF-formulas to the satisfiability problem of existential Presburger formula. For EG operator, we provide a k-step bounded semantics and reduce the model checking of EG-formulas to the satisfiability problem of linear integer arithmetic. Besides, we give Actor Communicating System (ACS) the over-approximation BPP-based semantics and evaluate BPPChecker on ACSs generated from real Erlang programs. Experimental results show that BPPChecker performs more efficiently than the existing tools for a series of branching-time property verification problems of Erlang programs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。