English

Who Verifies the Verifiers? A Computer-Checked Implementation of the DPLL Algorithm in Dafny

Logic in Computer Science 2020-07-22 v1

Abstract

We build a SAT solver implementing the DPLL algorithm in the verification-enabled programming language Dafny. The resulting solver is fully verified (soundness, completeness and termination are computer checked). We benchmark our Dafny solver and we show that it is just as efficient as an equivalent DPLL solver implemented in C# and roughly two times less efficient than an equivalent solver written in C++. We conclude that auto-active verification is a promising approach to increasing trust in SAT solvers, as it combines a good trade-off between execution speed and degree of trustworthiness of the final product.

Keywords

Cite

@article{arxiv.2007.10842,
  title  = {Who Verifies the Verifiers? A Computer-Checked Implementation of the DPLL Algorithm in Dafny},
  author = {Cezar-Constantin Andrici and Ştefan Ciobâcă},
  journal= {arXiv preprint arXiv:2007.10842},
  year   = {2020}
}

Comments

18 pages. arXiv admin note: text overlap with arXiv:1909.01743

R2 v1 2026-06-23T17:17:00.804Z