We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
有几种解决方案。
Limboole 是一个开源工具,我相信它包含一个单独的“命题逻辑到 CNF”转换器。
更一般地说,您还可以使用本身支持命题逻辑的工具;一些示例包括 Z3、CVC3 和 哎呀。
There are a couple of solutions.
Limboole is an open source tool which I believe includes a separate 'propositional logic to CNF' converter.
More generally, you could also use a tool that supports propositional logic natively; some examples include Z3, CVC3, and Yices.
SBSAT 是一个基于状态的 SAT 求解器,能够接受各种输入格式。您可以采用一个简单的表达式并将其交给 SBSAT 以转换为 CNF。 手册第 4.10 节描述了如何执行此操作。
SBSAT is a state based SAT solver that is able to accept a variety of input formats. You could take a simple expression and give it to SBSAT to convert to CNF. The manual, section 4.10, describes how to do this.