Skip to main content

Metamorphic Testing of Logic Theorem Prover

  • Conference paper
  • First Online:
Testing Software and Systems (ICTSS 2021)

Abstract

The use of Artificial Intelligence methodologies including machine learning for object recognition and other tasks as well as reasoning has recently gained more attention. This is due to the fact of applications like autonomous driving but also apps for providing recommendations or schedules. In this paper, we focus on testing applications utilizing logic theorem proving for implementing their functionalities. Testing logic theorem prover is important in order to assure that the obtained results are correct and complete as specified. We show how metamorphic testing can be used in this context. In particular, the proposed method takes a logic sentence and modifies it without changing its logical status, i.e., satisfiability. The testing method can be applied to assure the correctness of reasoning via generating logic sentences of arbitrary sizes, but also for performance testing. We applied the presented testing method to 2 different theorem provers and report on obtained results.

ArchitectECA2030 receives funding within the Electronic Components and Systems For European Leadership Joint Undertaking (ESCEL JU) in collaboration with the European Union’s Horizon2020 Framework Programme and National Authorities, under grant agreement n\(^\circ \) 877539. The work was partially funded by the Austrian Federal Ministry of Climate Action, Environment, Energy, Mobility, Innovation and Technology (BMK) under the program “ICT of the Future” project 877587.

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 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
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

References

  1. Chen, T., Cheung, S., Yiu, S.: Metamorphic Testing: A New Approach for Generating Next Test Cases (1998)

    Google Scholar 

  2. Chen, T., Feng, J., Tse, T.: Metamorphic testing of programs on partial differential equations: a case study. In: Proceedings of the 26th Annual International Computer Software and Applications Conference (COMPSAC 2002), pp. 327–333. IEEE Computer Society, Los Alamitos, CA (2002)

    Google Scholar 

  3. Christopher S. Gray, Roxane Koitz, S.P., Wotawa, F.: An abductive diagnosis and modeling concept for wind power plants. In: 9th IFAC Symposium on Fault Detection, Supervision and Safety of Technical Processes (2015)

    Google Scholar 

  4. Davis, M., Logemann, G., Loveland, D.: A machine program for theorem-proving. Commun. ACM 5(7), 394–397 (1962). https://doi.org/10.1145/368273.368557

    Article  MathSciNet  MATH  Google Scholar 

  5. Felfernig, A., Friedrich, G., Jannach, D., Zanker, M.: An integrated environment for the development of knowledge-based recommender applications. Int. J. Electr. Commer. (IJEC) 11(2), 11–34 (2006)

    Article  Google Scholar 

  6. Felfernig, A., Friedrich, G., Jannach, D., Stumptner, M.: An integrated development environment for the design and maintenance of large configuration knowledge bases. In: Proceedings Artificial Intelligence in Design. Kluwer Academic Publishers, Worcester MA (2000)

    Google Scholar 

  7. de Kleer, J.: An assumption-based TMS. Artif. Intell. 28, 127–162 (1986)

    Article  Google Scholar 

  8. Kuhn, D.R., Bryce, R., Duan, F., Ghandehari, L.S., Lei, Y., Kacker, R.N.: Combinatorial testing: theory and practice. In: Advances in Computers, vol. 99, pp. 1–66 (2015)

    Google Scholar 

  9. Kuhn, D., Kacker, R., Lei, Y.: Introduction to Combinatorial Testing. Chapman & Hall/CRC Innovations in Software Engineering and Software Development Series, Taylor & Francis (2013)

    Google Scholar 

  10. Minoux, M.: LTUR: a simplified linear-time unit resolution algorithm for horn formulae and computer implementation. Inf. Process. Lett. 29, 1–12 (1988)

    Article  MathSciNet  Google Scholar 

  11. Plant, R.T.: Expert system development and testing: a knowledge engineer’s perspective. J. Syst. Softw. 19(2), 141–146 (1992)

    Article  Google Scholar 

  12. Reiter, R.: A theory of diagnosis from first principles. Artif. Intell. 32(1), 57–95 (1987)

    Article  MathSciNet  Google Scholar 

  13. Wotawa, F.: Combining combinatorial testing and metamorphic testing for testing a logic-based non-monotonic reasoning system. In: Proceedings of the International Workshop on Combinatorial Testing (IWCT) (2018)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Franz Wotawa .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 IFIP International Federation for Information Processing

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Tazl, O.A., Wotawa, F. (2022). Metamorphic Testing of Logic Theorem Prover. In: Clark, D., Menendez, H., Cavalli, A.R. (eds) Testing Software and Systems. ICTSS 2021. Lecture Notes in Computer Science, vol 13045. Springer, Cham. https://doi.org/10.1007/978-3-031-04673-5_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-04673-5_10

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-04672-8

  • Online ISBN: 978-3-031-04673-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics