arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.13811cs.LO
收藏

部分量词消去与性质生成

Partial Quantifier Elimination And Property Generation

Eugene Goldberg

AI总结:

本文研究了命题CNF公式的部分量词消去(PQE),提出两种PQE求解器,并证明其在性质生成、验证有缺陷的FIFO缓冲区及电路不变式生成中优于完整量词消去。

摘要:

我们研究带有存在量词的命题CNF公式的部分量词消去(PQE)。PQE是量词消去的一种推广,其中可以将移出量词作用域的子句集合限制为一个小的子句子集。PQE的吸引力在于,许多验证问题(例如等价性检查和模型检查)可以通过PQE来解决,而后者可能比完整的量词消去简单得多。我们证明PQE可用于性质生成,这可以被视为测试的一种推广。此处的目标是产生设计实现的一个$\mathit{unwanted}$性质,从而暴露一个错误。我们引入了两个PQE求解器,分别称为$\mathit{EG}$-$\mathit{PQE}$和$\mathit{EG}$-$\mathit{PQE}^+$。$\mathit{EG}$-$\mathit{PQE}$是一个非常简单的基于SAT的算法。$\mathit{EG}$-$\mathit{PQE}^+$比$\mathit{EG}$-$\mathit{PQE}$更复杂且更稳健。我们使用这些PQE求解器来寻找有错误的FIFO缓冲区的一个不需要的性质(即一个不需要的不变式)。我们还将它们应用于HWMCC基准集中时序电路的不变式生成。最后,我们使用这些求解器来生成模拟符号模拟的组合电路的性质。

英文摘要:

We study partial quantifier elimination (PQE) for propositional CNF formulas with existential quantifiers. PQE is a generalization of quantifier elimination where one can limit the set of clauses taken out of the scope of quantifiers to a small subset of clauses. The appeal of PQE is that many verification problems (e.g. equivalence checking and model checking) can be solved in terms of PQE and the latter can be dramatically simpler than full quantifier elimination. We show that PQE can be used for property generation that can be viewed as a generalization of testing. The objective here is to produce an $\mathit{unwanted}$ property of a design implementation thus exposing a bug. We introduce two PQE solvers called $\mathit{EG}$-$\mathit{PQE}$ and $\mathit{EG}$-$\mathit{PQE}^+$. $\mathit{EG}$-$\mathit{PQE}$ is a very simple SAT-based algorithm. $\mathit{EG}$-$\mathit{PQE}^+$ is more sophisticated and robust than $\mathit{EG}$-$\mathit{PQE}$. We use these PQE solvers to find an unwanted property (namely, an unwanted invariant) of a buggy FIFO buffer. We also apply them to invariant generation for sequential circuits from a HWMCC benchmark set. Finally, we use these solvers to generate properties of a combinational circuit that mimic symbolic simulation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑