Causality Checking for Complex System Models

  • Florian Leitner-Fischer
  • Stefan Leue
Part of the Lecture Notes in Computer Science book series (LNCS, volume 7737)


We present an approach for the algorithmic computation of causalities in system models that we refer to as causality checking. We base our notion of causality on counterfactual reasoning, in particular using the structural equation model approach by Halpern and Pearl that we recently have extended to reason about computational models. In this paper we present a search-based on-the-fly approach that nicely integrates into finite state verification techniques, such as explicit-state model checking. We demonstrate the applicability of our approach using an industrial case study.


Model Check Transition System Event Variable Fault Tree Execution Trace 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Clarke, E.M., Grumberg, O., Peled, D.A.: Model Checking, 3rd edn. The MIT Press (2001)Google Scholar
  2. 2.
    Lewis, D.: Counterfactuals. Wiley-Blackwell (2001)Google Scholar
  3. 3.
    Halpern, J.Y., Pearl, J.: Causes and explanations: A structural-model approach. Part I: Causes. The British Journal for the Phil. of Science (2005)Google Scholar
  4. 4.
    Kuntz, M., Leitner-Fischer, F., Leue, S.: From Probabilistic Counterexamples via Causality to Fault Trees. In: Flammini, F., Bologna, S., Vittorini, V. (eds.) SAFECOMP 2011. LNCS, vol. 6894, pp. 71–84. Springer, Heidelberg (2011)CrossRefGoogle Scholar
  5. 5.
    Holzmann, G.J.: The SPIN Model Checker: Primer and Reference Manual. Addision–Wesley (2003)Google Scholar
  6. 6.
    Baier, C., Katoen, J.-P.: Principles of Model Checking. The MIT Press (2008)Google Scholar
  7. 7.
    Manna, Z., Pnueli, A.: The temporal logic of reactive and concurrent systems. Springer-Verlag New York, Inc. (1992)Google Scholar
  8. 8.
    Collins, J. (ed.): Causation and Counterfactuals. MIT Press (2004)Google Scholar
  9. 9.
    Leitner-Fischer, F., Leue, S.: Causality checking for complex system models. Chair for Software Engineering, University of Konstanz, Technical Report soft-12-02 (2012),
  10. 10.
    Eiter, T., Lukasiewicz, T.: Complexity results for structure-based causality. Artificial Intelligence (2002)Google Scholar
  11. 11.
    Eiter, T., Lukasiewicz, T.: Causes and explanations in the structural-model approach: Tractable cases. Artificial Intelligence (2006)Google Scholar
  12. 12.
    de Jonge, M., Ruys, T.C.: The SpinJa Model Checker. In: van de Pol, J., Weber, M. (eds.) Model Checking Software. LNCS, vol. 6349, pp. 124–128. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  13. 13.
    Leitner-Fischer, F., Leue, S.: QuantUM: Quantitative safety analysis of UML models. In: Proc. of the 9th Workshop on Quantitative Aspects of Programming Languages, QAPL 2011 (2011)Google Scholar
  14. 14.
    Aljazzar, H., Fischer, M., Grunske, L., Kuntz, M., Leitner-Fischer, F., Leue, S.: Safety Analysis of an Airbag System Using Probabilistic FMEA and Probabilistic Counterexamples. In: Proc. of QEST 2009. IEEE Computer Society (2009)Google Scholar
  15. 15.
    Zeller, A.: Why Programs Fail: A Guide to Systematic Debugging. Elsevier (2009)Google Scholar
  16. 16.
    Beer, I., Ben-David, S., Chockler, H., Orni, A., Trefler, R.: Explaining Counterexamples Using Causality. In: Bouajjani, A., Maler, O. (eds.) CAV 2009. LNCS, vol. 5643, pp. 94–108. Springer, Heidelberg (2009)CrossRefGoogle Scholar
  17. 17.
    Gössler, G., Le Métayer, D., Raclet, J.-B.: Causality Analysis in Contract Violation. In: Barringer, H., Falcone, Y., Finkbeiner, B., Havelund, K., Lee, I., Pace, G., Roşu, G., Sokolsky, O., Tillmann, N. (eds.) RV 2010. LNCS, vol. 6418, pp. 270–284. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  18. 18.
    Lamport, L.: Time, clocks, and the ordering of events in a distributed system. Communications of the ACM 21, 558–565 (1978)zbMATHCrossRefGoogle Scholar
  19. 19.
    Groce, A., Chaki, S., Kroening, D., Strichman, O.: Error explanation with distance metrics. International Journal on Software Tools for Technology Transfer (STTT) 8(3) (2006)Google Scholar
  20. 20.
    Schwartz, R.L., Melliar-Smith, P.M., Vogt, F.H.: An interval logic for higher-level temporal reasoning. In: Proc. of the 2nd Annual ACM Symposium on Principles of Distributed Computing. ACM (1983)Google Scholar
  21. 21.
    Dillon, L., Kutty, G., Moser, L., Melliar-Smith, P., Ramakrishna, Y.: A graphical interval logic for specifying concurrent systems. ACM Transactions on Software Engineering and Methodology (TOSEM) 3(2), 131–165 (1994)CrossRefGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2013

Authors and Affiliations

  • Florian Leitner-Fischer
    • 1
  • Stefan Leue
    • 1
  1. 1.University of KonstanzGermany

Personalised recommendations