Skip to main content

Advanced Topics in Logic

  • Chapter
  • First Online:
Mathematical Foundations of Software Engineering

Part of the book series: Texts in Computer Science ((TCS))

  • 1008 Accesses

Abstract

This chapter presents some advanced topics in logic including fuzzy logic, temporal logic, intuitionistic logic, undefined values, and the applications of logic to AI. Fuzzy logic is an extension of classical logic that acts as a mathematical model for vagueness. Temporal logic is concerned with the expression of properties that have time dependencies, and it allows temporal properties about the past, present, and future to be expressed. Intuitionism was a controversial theory on the foundations of mathematics based on a rejection of the law of the excluded middle and an insistence on constructive existence. We discuss three approaches to deal with undefined values, including the logic of partial functions; Diijkstra’s approach; and Parnas’s approach which preserves a classical two-valued logic.

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

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Free shipping worldwide - see info
Hardcover Book
USD 99.99
Price excludes VAT (USA)
  • Durable hardcover 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.

    David Hilbert was a famous German mathematician, and Hilbert’s program is discussed in Chap. 14.

  2. 2.

    It is best to avoid undefinedness by taking care with the definitions of terms and expressions.

  3. 3.

    The above expression would evaluate to true under Jones three-valued logic of partial functions.

  4. 4.

    The above expression evaluates to true for Parnas logic (a two-valued logic).

  5. 5.

    It seems strange to assign the value false to the primitive predicate calculus expression y = 1/ 0.

  6. 6.

    The approach avoids the undefined logical value (⊥) and preserves the two-valued logic.

  7. 7.

    John McCarthy received the Turing Award in 1971 for his contributions to artificial intelligence. He also developed the programming language LISP.

  8. 8.

    First-order logic allows quantification over objects but not functions or relations. Higher-order logics allow quantification of functions and relations.

  9. 9.

    For example, the statement ∃x such that x =  √4 states that there is an x such that x is the square root of 4, and the constructive existence yields that the answer is that x = 2 or x = −2; i.e., constructive existence provides more the truth of the statement of existence, and an actual object satisfying the existence criteria is explicitly produced.

References

  1. Temporal logic. Stanford enclyopedia of philosophy. http://plato.stanford.edu/entries/logic-temporal/

  2. Heyting A (1966) Intuitionist logic. An introduction. North-Holland Publishing

    Google Scholar 

  3. Löf PM. Intuitionist type theory. Notes by Giovanni Savin of lectures given

    Google Scholar 

  4. Parnas DL (1993) Predicate calculus for software engineering. IEEE Trans Softw Eng 19(9)

    Google Scholar 

  5. Jones C (1986) Systematic software development using VDM. Prentice Hall International

    Google Scholar 

  6. McCarthy J (1959) Programs with common sense. In: Proceedings of the Teddington conference on the mechanization of thought processes

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

O’Regan, G. (2023). Advanced Topics in Logic. In: Mathematical Foundations of Software Engineering. Texts in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-031-26212-8_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-26212-8_11

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-26211-1

  • Online ISBN: 978-3-031-26212-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics