计算机科学 > 计算机科学中的逻辑
[提交于 2020年3月11日]
标题:Animated Logic: Correct Functional Conversion to Conjunctive Normal Form
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We present an approach to obtain formally verified implementations of classical Computational Logic algorithms. We choose the Why3 platform because it allows to implement functions in a style very close to the mathematical definitions, as well as it allows a high degree of automation in the verification process. As proof of concept, we present a mathematical definition of the algorithm to convert propositional formulae to conjunctive normal form, implementations in WhyML (the Why3 language, very similar to OCaml), and proofs of correctness of the implementations. We apply our proposal on two variants of this algorithm: one in direct-style and another with an explicit stack structure. Being both first-order versions, Why3 processes the proofs naturally.
提交历史
来自:Pedro Miguel Laforêt Barroso[v1] 2020年3月11日 星期三 02:15:19 UTC