Vietnam Journal of Computer Science (Nov 2024)

On Verified Automated Reasoning in Propositional Logic: Teaching Sequent Calculus to Computer Science Students

  • Simon Tobias Lund,
  • Jørgen Villadsen

DOI
https://doi.org/10.1142/S2196888824500064
Journal volume & issue
Vol. 11, no. 04
pp. 621 – 644

Abstract

Read online

As the complexity of software systems is ever increasing, so is the need for practical tools for formal verification. Among these are automatic theorem provers, capable of solving various reasoning problems automatically, and proof assistants, capable of deriving more complex results when guided by a mathematician/programmer. In this paper we consider using the latter to build the former. In the proof assistant Isabelle/HOL we combine functional programming and logical program verification to build a theorem prover for propositional logic. We also consider how such a prover can be used to solve a reasoning task without much mental labor. The development is extended with a formalized proof system for writing machine-checked sequent calculus proofs. We consider how this can be used to teach computer science students about logic, automated reasoning and proof assistants.

Keywords