Skip to main content

Abstract

First-order logic augments the expressive power of propositional logic as it links the logical assertions to properties of objects of some non-empty universe: the domain of discourse. This is achieved by allowing the propositional symbols to take arguments that range over elements of the domain of discourse. These are now called predicate symbols and are interpreted as relations on the domain. Elements of the domain of discourse are denoted by terms built up from variables, constants, and functions applied to other terms. First-order logic also expands the lexicon of propositional logic with the quantifiers “for all” and “there exists” that are interpreted consistently with their natural language meaning.

This chapter is devoted to classical first-order logic. Our presentation is similar to the one conducted for propositional logic. We first define the syntax of first-order logic, followed by its semantics. Next we define a proof system for it and present the fundamental theoretical results of soundness and completeness. We also discuss the decision problems related to this logic. The remaining sections of the chapter cover variations and extensions of first-order logic, as well as first-order theories.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.95
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    This argument assumes a fixed interpretation of equality, but can easily be rephrased without that assumption.

  2. 2.

    This is an immediate corollary of Gödel’s incompleteness theorem, see Sect. 4.7.2. Note however that there exists an alternative semantics of second-order logic, Henkin models, that support complete proof systems and results such as compactness. Thisgeneral semantics, as opposed to thestandard semantics that we have been considering, essentially reduce second-order logic to many-sorted first-order logic [9].

  3. 3.

    Note that in fact reflexivity is redundant as it follows from symmetry and transitivity.

  4. 4.

    http://isabelle.in.tum.de/.

  5. 5.

    http://coq.inria.fr/.

  6. 6.

    http://www.smtlib.org/.

  7. 7.

    http://www.smtcomp.org/.

References

  1. Barendregt, H.P.: Lambda calculi with types. In: Abramsky, S., Gabbay, D., Maibaum, T. (eds.) Handbook of Logic in Computer Science, vol. 2, pp. 117–310. Oxford University Press, New York (1992)

    Google Scholar 

  2. Barrett, C., Tinelli, C.: CVC3. In: Damm, W., Hermanns, H. (eds.) Proceedings of the 19th International Conference on Computer Aided Verification (CAV ’07). Lecture Notes in Computer Science, vol. 4590, pp. 298–302. Springer, Berlin (2007)

    Chapter  Google Scholar 

  3. Ben-Ari, M.: Mathematical Logic for Computer Science, 2nd edn. Springer, Berlin (2001)

    Book  MATH  Google Scholar 

  4. Bertot, Y., Castran, P.: Interactive Theorem Proving and Program Development. Coq’Art: The Calculus of Inductive Constructions. Texts in Theoretical Computer Science. Springer, Berlin (2004)

    Book  Google Scholar 

  5. Bradley, A.R., Manna, Z.: Calculus of Computation: Decision Procedures with Applications to Verification. Springer, Berlin (2007)

    MATH  Google Scholar 

  6. Conchon, S., Contejean, E., Kanig, J.: Ergo: A theorem prover for polymorphic first-order logic modulo theories (2006)

    Google Scholar 

  7. De Moura, L., Bjørner, N.: Z3: An efficient smt solver. In: Conference on Tools and Algorithms for the Construction and Analysis of Systems (TACAS), 2008

    Google Scholar 

  8. Dutertre, B., De Moura, L.: The Yices SMT solver. Technical report, SRI (2006)

    Google Scholar 

  9. Enderton, H.B.: A Mathematical Introduction to Logic, 2nd edn. Academic Press, New York (2001)

    MATH  Google Scholar 

  10. Gallier, J.: Logic for Computer Science: Foundations of Automatic Theorem Proving. Wiley, New York (1986). Out of print. Corrected online version available from the authors webpagehttp://www.cis.upenn.edu/~jean/gbooks/logic.html

    MATH  Google Scholar 

  11. Goubault-Larrecq, J., Mackie, I.: Proof Theory and Automated Deduction. Applied Logic Series, vol. 6. Kluwer Academic, Dordrecht (1997)

    Book  MATH  Google Scholar 

  12. Harrison, J.: Handbook of Practical Logic and Automated Reasoning. Cambridge University Press, Cambridge (2009)

    Book  MATH  Google Scholar 

  13. Hedman, S.: A First Course in Logic: An Introduction to Model Theory, Proof Theory, Computability, and Complexity. Oxford Texts in Logic, vol. 1. Oxford University Press, Oxford (2004)

    MATH  Google Scholar 

  14. Huth, M., Ryan, M.: Logic in Computer Science: Modelling and Reasoning About Systems, 2nd edn. Cambridge University Press, Cambridge (2004)

    Book  MATH  Google Scholar 

  15. Kroening, D., Strichman, O.: Decision Procedures: An Algorithmic Point of View. Springer, Berlin (2008)

    MATH  Google Scholar 

  16. Mendonça de Moura, L., Bjørner, N.: Satisfiability modulo theories: An appetizer. In: Vinicius Medeiros Oliveira, M., Woodcock, J. (eds.) SBMF. Lecture Notes in Computer Science, vol. 5902, pp. 23–36. Springer, Berlin (2009)

    Google Scholar 

  17. Paulson, L.: Isabelle: A Generic Theorem Prover. Lecture Notes in Computer Science, vol. 828. Springer, Berlin (1994)

    MATH  Google Scholar 

  18. Robinson, J.A., Voronkov, A. (eds.): Handbook of Automated Reasoning (in 2 volumes). Elsevier and MIT Press (2001)

    Google Scholar 

  19. Shankar, N.: Automated deduction for verification. ACM Comput. Surv.41(4), 1–56 (2009)

    Article  MathSciNet  Google Scholar 

  20. Smullyan, R.M.: First-Order Logic. Dover, New York (1995)

    Google Scholar 

  21. van Dalen, D.: Logic and Structure, 4th edn. Universitext. Springer, Berlin (2004)

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to José Bacelar Almeida .

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag London Limited

About this chapter

Cite this chapter

Almeida, J.B., Frade, M.J., Pinto, J.S., Melo de Sousa, S. (2011). First-Order Logic. In: Rigorous Software Development. Undergraduate Topics in Computer Science. Springer, London. https://doi.org/10.1007/978-0-85729-018-2_4

Download citation

  • DOI: https://doi.org/10.1007/978-0-85729-018-2_4

  • Publisher Name: Springer, London

  • Print ISBN: 978-0-85729-017-5

  • Online ISBN: 978-0-85729-018-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics