Completeness Theorems for First-Order Logic Analysed in Constructive Type Theory Yannick Forster , Dominik Kirst , Dominik Wehr Saarland University, Saarland Informatics Campus, Saarbrücken, Germany {forster,kirst}@ps.uni-saarland.de
[email protected] Abstract. We study various formulations of the completeness of first- order logic phrased in constructive type theory and mechanised in the Coq proof assistant. Specifically, we examine the completeness of variants of classical and intuitionistic natural deduction and sequent calculi with respect to model-theoretic, algebraic, and game semantics. As complete- ness with respect to standard model-theoretic semantics is not readily constructive, we analyse the assumptions necessary for particular syntax fragments and discuss non-standard semantics admitting assumption- free completeness. We contribute a reusable Coq library for first-order logic containing all results covered in this paper. 1 Introduction Completeness theorems are central to the field of mathematical logic. Once com- pleteness of a sound deduction system with respect to a semantic account of the syntax is established, the typically infinitary notion of semantic validity is reduced to the finitary, and hence algorithmically more tractable, notion of syntactic deduction. In the case of first-order logic, being the formalism under- lying traditional mathematics based on a set-theoretic foundation, completeness enables the use of semantic techniques to study the deductive consequence of axiomatic systems. The seminal completeness theorem for first-order logic proven by Gödel [18] and later refined by Henkin [21,20] yields a syntactic deduction of every formula valid in the canonical Tarski semantics based on interpreting the non-logical function and relation symbols in models providing the corresponding structure.