A First Class Boolean Sort in First-Order Theorem Proving and TPTP
Paper in proceeding, 2015

To support reasoning about properties of programs operating with boolean values one needs theorem provers to be able to natively deal with the boolean sort. This way, program pro perties can be translated to first-order logic and theorem provers can be used to prove program properties efficiently. However, in the TPTP language, the input language of automated first-order theorem provers, the use of the boolean sort is limited compared to other sorts, thus hindering the use of first-order theorem provers in program analysis and verification. In this paper, we present an extension FOOL of many-sorted first-order logic, in which the boolean sort is treated as a first-class sort. Boolean terms are indistinguishable from formulas and can appear as arguments to functions. In addition, FOOL contains if-then-else and let-in constructs. We define the syntax and semantics of FOOL and its model-preserving translation to first-order logic. We also introduce a new technique of dealing with boolean sorts in superposition-based theorem provers. Finally, we discuss how the TPTP language can be changed to support FOOL.

Author

Evgenii Kotelnikov

Chalmers, Computer Science and Engineering (Chalmers), Software Technology (Chalmers)

Laura Kovacs

Chalmers, Computer Science and Engineering (Chalmers), Software Technology (Chalmers)

A. Voronkov

University of Manchester

Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)

03029743 (ISSN) 16113349 (eISSN)

Vol. 9150 71-86
978-3-319-20615-8 (ISBN)

Subject Categories

Software Engineering

Computer Vision and Robotics (Autonomous Systems)

DOI

10.1007/978-3-319-20615-8_5

ISBN

978-3-319-20615-8

More information

Latest update

2/28/2018