International Conference on Relational and Algebraic Methods in Computer Science

Relational and Algebraic Methods in Computer Science pp 241-256 | Cite as

Towards Interactive Verification of Programmable Logic Controllers Using Modal Kleene Algebra and KIV

Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 9348)

Abstract

In this paper we develop an approach to interactive verification of programmable logic controllers which often serve as controllers in safety critical systems and hence need thorough verification. As a verification tool we use the KIV system, whereas the formalization is done in modal Kleene algebra. We first prove a bunch of theorems from modal Kleene algebra in KIV, subsequently translate the desired properties of a program for a programmable logic controller in modal Kleene algebra, and finally prove these encoded properties interactively with KIV.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Coq. https://coq.inria.fr/ (Online; accessed July 7, 2015)
  2. 2.
  3. 3.
    Isabelle. https://isabelle.in.tum.de/ (Online; accessed July 7, 2015)
  4. 4.
    The KIV system. http://www.informatik.uni-augsburg.de/lehrstuehle/swt/se/kiv/ (Online; accessed November 5, 2014)
  5. 5.
    NuSMV. http://nusmv.fbk.eu/ (Online; accessed July 7, 2015)
  6. 6.
    Prover9. https://www.cs.unm.edu/~mccune/mace4/ (Online; accessed July 7, 2015)
  7. 7.
  8. 8.
    Armstrong, A., Struth, G., Weber, T.: Program analysis and verification based on kleene algebra in isabelle/hol. In: Blazy, S., Paulin-Mohring, C., Pichardie, D. (eds.) ITP 2013. LNCS, vol. 7998, pp. 197–212. Springer, Heidelberg (2013)CrossRefGoogle Scholar
  9. 9.
    Balser, M., Reif, W., Schellhorn, G., Stenzel, K., Thums, A.: Formal system development with KIV. In: Maibaum, T. (ed.) FASE 2000. LNCS, vol. 1783, pp. 363–366. Springer, Heidelberg (2000)CrossRefGoogle Scholar
  10. 10.
    Berghammer, R., Höfner, P., Stucke, I.: Automated verification of relational while-programs. In: Höfner, P., Jipsen, P., Kahl, W., Müller, M.E. (eds.) RAMiCS 2014. LNCS, vol. 8428, pp. 173–190. Springer, Heidelberg (2014)CrossRefGoogle Scholar
  11. 11.
    Carlsson, H., Svensson, B., Danielson, F., Lennartson, B.: Methods for reliable simulation-based PLC code verification. IEEE Trans. Industrial Informatics 8(2), 267–278 (2012)CrossRefGoogle Scholar
  12. 12.
    Dang, H., Höfner, P.: Automated higher-order reasoning about quantales. In: Schmidt, R.A., Schulz, S., Konev, B. (eds.) Proceedings of the 2nd Workshop on Practical Aspects of Automated Reasoning, PAAR 2010. EPiC Series, vol. 9, pp. 40–51. EasyChair, Edinburgh (2010)Google Scholar
  13. 13.
    Desharnais, J., Möller, B., Struth, G.: Modal kleene algebra and applications - a survey. Journal on Relational Methods in Computer Science 1, 93–131 (2004)MATHGoogle Scholar
  14. 14.
    Desharnais, J., Möller, B., Struth, G.: Kleene algebra with domain. ACM Transactions on Computational Logic 7, 798–833 (2006)MathSciNetCrossRefGoogle Scholar
  15. 15.
    Höfner, P.: Automated reasoning for hybrid systems - two case studies -. In: Berghammer, R., Möller, B., Struth, G. (eds.) RelMiCS/AKA 2008. LNCS, vol. 4988, pp. 191–205. Springer, Heidelberg (2008)CrossRefGoogle Scholar
  16. 16.
    Höfner, P., Struth, G.: Automated reasoning in Kleene algebra. In: Pfenning, F. (ed.) CADE 2007. LNCS (LNAI), vol. 4603, pp. 279–294. Springer, Heidelberg (2007)CrossRefGoogle Scholar
  17. 17.
    Jee, E., Yoo, J., Cha, S.D., Bae, D.: A data flow-based structural testing technique for FBD programs. Information & Software Technology 51(7), 1131–1139 (2009)CrossRefGoogle Scholar
  18. 18.
    Kozen, D.: A completeness theorem for kleene algebras and the algebra of regular events. Information and Computation 110(2), 366–390Google Scholar
  19. 19.
    Möller, B., Höfner, P., Struth, G.: Quantales and temporal logics. In: Johnson, M., Vene, V. (eds.) AMAST 2006. LNCS, vol. 4019, pp. 263–277. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  20. 20.
    Ortmeier, F., Schellhorn, G., Thums, A., Reif, W., Hering, B., Trappschuh, H.: Safety analysis of the height control system for the elbtunnel. Rel. Eng. & Sys. Safety 81(3), 259–268 (2003)CrossRefGoogle Scholar
  21. 21.
    Pavlovic, O., Ehrich, H.: Model checking PLC software written in function block diagram. In: Third International Conference on Software Testing, Verification and Validation, ICST 2010, Paris, France, April 7-9. CEUR Workshop Proceedings. IEEE Computer Society (2010)Google Scholar
  22. 22.
    Pavlovic, O., Pinger, R., Kollmann, M.: Automation of formal verification of PLC programs written in IL. In: Beckert, B. (ed.) Proceedings of 4th International Verification Workshop in connection with CADE-21, Bremen, Germany, July 15-16. CEUR Workshop Proceedings, vol. 259. CEUR-WS.org (2007)Google Scholar
  23. 23.
    Schmitt, J., Hoffmann, A., Balser, M., Reif, W., Marcos, M.: Interactive verification of medical guidelines. In: Misra, J., Nipkow, T., Sekerinski, E. (eds.) FM 2006. LNCS, vol. 4085, pp. 32–47. Springer, Heidelberg (2006)CrossRefGoogle Scholar

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  1. 1.German Aerospace CenterCologneGermany

Personalised recommendations