Skip to main content
Erschienen in: Acta Informatica 8/2018

23.10.2017 | Original Article

Spanning the spectrum from safety to liveness

verfasst von: Rachel Faran, Orna Kupferman

Erschienen in: Acta Informatica | Ausgabe 8/2018

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Of special interest in formal verification are safety specifications, which assert that the system stays within some allowed region, in which nothing “bad” happens. Equivalently, a computation violates a safety specification if it has a “bad prefix”—a prefix all whose extensions violate the specification. The theoretical properties of safety specifications as well as their practical advantages with respect to general specifications have been widely studied. Safety is binary: a specification is either safety or not safety. We introduce a quantitative measure for safety. Intuitively, the safety level of a language L measures the fraction of words not in L that have a bad prefix. In particular, a safety language has safety level 1 and a liveness language has safety level 0. Thus, our study spans the spectrum between traditional safety and liveness. The formal definition of safety level is based on probability and measures the probability of a random word not in L to have a bad prefix. We study the problem of finding the safety level of languages given by means of deterministic and nondeterministic automata as well as LTL formulas, and the problem of deciding their membership in specific classes along the spectrum (safety, almost-safety, fraction-safety, etc.). We also study properties of the different classes and the structure of deterministic automata for them.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Fußnoten
1
The definition of safety we consider here is given in [1, 2], it coincides with the definition of limit closure defined in [8], and is different from the definition in [19], which also refers to the property being closed under stuttering.
 
2
Note that \(\Sigma =2^{AP}\) and our probability distribution is such that for each atomic proposition a and for each position in a computation, the probability that a holds in the position is \(\frac{1}{2}\).
 
3
An anomaly of this definition is the language \(L=\Sigma ^\omega \). While \(Pr(L)=1\), making its safety level 0, we also have that L is a safety language. Thus, L is the only language that is both safety and has safety level 0.
 
Literatur
2.
Zurück zum Zitat Alpern, B., Schneider, F.B.: Recognizing safety and liveness. Distrib. Comput. 2, 117–126 (1987)CrossRef Alpern, B., Schneider, F.B.: Recognizing safety and liveness. Distrib. Comput. 2, 117–126 (1987)CrossRef
3.
Zurück zum Zitat Biere, A., Cimatti, A., Clarke, E.M., Zhu, Y.: Symbolic model checking without BDDs. In: Proceedings of the 5th International Conference on Tools and Algorithms for the Construction and Analysis of Systems. Lecture Notes in Computer Science, vol. 1579. Springer (1999) Biere, A., Cimatti, A., Clarke, E.M., Zhu, Y.: Symbolic model checking without BDDs. In: Proceedings of the 5th International Conference on Tools and Algorithms for the Construction and Analysis of Systems. Lecture Notes in Computer Science, vol. 1579. Springer (1999)
4.
Zurück zum Zitat Bloem, R., Gabow, H.N., and Somenzi, F.: An algorithm for strongly connected component analysis in \(n \log n\) symbolic steps. In: Proceedings of the 3rd International Conference on Formal Methods in Computer-Aided Design. Lecture Notes in Computer Science, vol. 1954, pp. 37–54. Springer (2000) Bloem, R., Gabow, H.N., and Somenzi, F.: An algorithm for strongly connected component analysis in \(n \log n\) symbolic steps. In: Proceedings of the 3rd International Conference on Formal Methods in Computer-Aided Design. Lecture Notes in Computer Science, vol. 1954, pp. 37–54. Springer (2000)
5.
Zurück zum Zitat Courcoubetis, C., Yannakakis, M.: Markov decision processes and regular events. In: Proceedings of the 17th International Colloquium on Automata, Languages, and Programming. Lecture Notes in Computer Science, vol. 443, pp. 336–349. Springer (1990) Courcoubetis, C., Yannakakis, M.: Markov decision processes and regular events. In: Proceedings of the 17th International Colloquium on Automata, Languages, and Programming. Lecture Notes in Computer Science, vol. 443, pp. 336–349. Springer (1990)
6.
7.
Zurück zum Zitat Ben David, S., Kupferman, O.: A framework for ranking vacuity results. In: 11th International Symposium on Automated Technology for Verification and Analysis. Lecture Notes in Computer Science, vol. 8172, pp. 148–162. Springer (2013) Ben David, S., Kupferman, O.: A framework for ranking vacuity results. In: 11th International Symposium on Automated Technology for Verification and Analysis. Lecture Notes in Computer Science, vol. 8172, pp. 148–162. Springer (2013)
9.
Zurück zum Zitat Filiot, E., Jin, N., Raskin, J.-F.: An antichain algorithm for LTL realizability. In: Proceedings of the 21st International Conference on Computer Aided Verification, vol. 5643, pp. 263–277 (2009)CrossRef Filiot, E., Jin, N., Raskin, J.-F.: An antichain algorithm for LTL realizability. In: Proceedings of the 21st International Conference on Computer Aided Verification, vol. 5643, pp. 263–277 (2009)CrossRef
10.
Zurück zum Zitat Gumm, H.P.: Another glance at the Alpern–Schneider characterization of safety and liveness in concurrent executions. Inf. Process. Lett. 47, 291–294 (1993)MathSciNetCrossRef Gumm, H.P.: Another glance at the Alpern–Schneider characterization of safety and liveness in concurrent executions. Inf. Process. Lett. 47, 291–294 (1993)MathSciNetCrossRef
11.
Zurück zum Zitat Harel, D., Katz, G., Marron, A., Weiss, G.: Non-intrusive repair of reactive programs. In: ICECCS, pp. 3–12 (2012) Harel, D., Katz, G., Marron, A., Weiss, G.: Non-intrusive repair of reactive programs. In: ICECCS, pp. 3–12 (2012)
12.
Zurück zum Zitat Havelund, K., Rosu, G.: Synthesizing monitors for safety properties. In: Proceedings of the 8th International Conference on Tools and Algorithms for the Construction and Analysis of Systems. Lecture Notes in Computer Science, vol. 2280, pp. 342–356. Springer (2002) Havelund, K., Rosu, G.: Synthesizing monitors for safety properties. In: Proceedings of the 8th International Conference on Tools and Algorithms for the Construction and Analysis of Systems. Lecture Notes in Computer Science, vol. 2280, pp. 342–356. Springer (2002)
13.
Zurück zum Zitat Jones, N.D.: Space-bounded reducibility among combinatorial problems. J. Comput. Syst. Sci. 11, 68–75 (1975)MathSciNetCrossRef Jones, N.D.: Space-bounded reducibility among combinatorial problems. J. Comput. Syst. Sci. 11, 68–75 (1975)MathSciNetCrossRef
14.
Zurück zum Zitat Kemeny, J.G., Snell, J.L., Knapp, A.W.: Denumerable Markov Chains. Springer, Berlin (1976)CrossRef Kemeny, J.G., Snell, J.L., Knapp, A.W.: Denumerable Markov Chains. Springer, Berlin (1976)CrossRef
15.
Zurück zum Zitat Kupferman, O., Vardi, G.: On relative and probabilistic finite counterability. In: Proceedings of the 24th Annual Conference of the European Association for Computer Science Logic. Leibniz International Proceedings in Informatics (LIPIcs), vol. 41, pp. 175–192 (2015) Kupferman, O., Vardi, G.: On relative and probabilistic finite counterability. In: Proceedings of the 24th Annual Conference of the European Association for Computer Science Logic. Leibniz International Proceedings in Informatics (LIPIcs), vol. 41, pp. 175–192 (2015)
16.
Zurück zum Zitat Kupferman, O., Vardi, M.Y.: Model checking of safety properties. Form. Methods Syst. Des. 19(3), 291–314 (2001)CrossRef Kupferman, O., Vardi, M.Y.: Model checking of safety properties. Form. Methods Syst. Des. 19(3), 291–314 (2001)CrossRef
17.
Zurück zum Zitat Kupferman, O., Vardi, M.Y.: On bounded specifications. In Proceedings of the 8th International Conference on Logic for Programming Artificial Intelligence and Reasoning. Lecture Notes in Computer Science, vol. 2250, pp. 24–38. Springer (2001) Kupferman, O., Vardi, M.Y.: On bounded specifications. In Proceedings of the 8th International Conference on Logic for Programming Artificial Intelligence and Reasoning. Lecture Notes in Computer Science, vol. 2250, pp. 24–38. Springer (2001)
18.
Zurück zum Zitat Kupferman, O., Vardi, M.Y.: Synthesizing distributed systems. In: Proceedings of the 16th IEEE Symposium on Logic in Computer Science, pp. 389–398 (2001) Kupferman, O., Vardi, M.Y.: Synthesizing distributed systems. In: Proceedings of the 16th IEEE Symposium on Logic in Computer Science, pp. 389–398 (2001)
19.
Zurück zum Zitat Lamport, L.: Logical foundation. In: Distributed Systems—Methods and Tools for Specification. Lecture Notes in Computer Science, vol. 190. Springer (1985) Lamport, L.: Logical foundation. In: Distributed Systems—Methods and Tools for Specification. Lecture Notes in Computer Science, vol. 190. Springer (1985)
20.
21.
Zurück zum Zitat Manna, Z., Pnueli, A.: The anchored version of the temporal framework. In: Linear Time, Branching Time, and Partial Order in Logics and Models for Concurrency. Lecture Notes in Computer Science, vol. 345, pp. 201–284. Springer (1989) Manna, Z., Pnueli, A.: The anchored version of the temporal framework. In: Linear Time, Branching Time, and Partial Order in Logics and Models for Concurrency. Lecture Notes in Computer Science, vol. 345, pp. 201–284. Springer (1989)
22.
Zurück zum Zitat Manna, Z., Pnueli, A.: The Temporal Logic of Reactive and Concurrent Systems: Specification. Springer, Berlin (1992)CrossRef Manna, Z., Pnueli, A.: The Temporal Logic of Reactive and Concurrent Systems: Specification. Springer, Berlin (1992)CrossRef
23.
Zurück zum Zitat Manna, Z., Pnueli, A.: The Temporal Logic of Reactive and Concurrent Systems: Safety. Springer, Berlin (1995)MATH Manna, Z., Pnueli, A.: The Temporal Logic of Reactive and Concurrent Systems: Safety. Springer, Berlin (1995)MATH
24.
Zurück zum Zitat Meyer, A.R., Stockmeyer, L.J.: The equivalence problem for regular expressions with squaring requires exponential time. In: Proceedings of the 13th IEEE Symposium on Switching and Automata Theory, pp. 125–129 (1972) Meyer, A.R., Stockmeyer, L.J.: The equivalence problem for regular expressions with squaring requires exponential time. In: Proceedings of the 13th IEEE Symposium on Switching and Automata Theory, pp. 125–129 (1972)
25.
Zurück zum Zitat Meyer, A.R., Stockmeyer, L.J.: Word problems requiring exponential time: preliminary report. In: Proceedings of the 5th ACM Symposium on Theory of Computing, pp. 1–9 (1973) Meyer, A.R., Stockmeyer, L.J.: Word problems requiring exponential time: preliminary report. In: Proceedings of the 5th ACM Symposium on Theory of Computing, pp. 1–9 (1973)
26.
Zurück zum Zitat Piterman, N.: From nondeterministic Büchi and Streett automata to deterministic parity automata. In: Proceedings of the 21st IEEE Symposium on Logic in Computer Science, pp. 255–264. IEEE press (2006) Piterman, N.: From nondeterministic Büchi and Streett automata to deterministic parity automata. In: Proceedings of the 21st IEEE Symposium on Logic in Computer Science, pp. 255–264. IEEE press (2006)
27.
Zurück zum Zitat Pnueli, A., Shahar, E.: Liveness and acceleration in parameterized verification. In: Proceedings of the 12th International Conference on Computer Aided Verification. Lecture Notes in Computer Science, pp. 328–343. Springer (2000) Pnueli, A., Shahar, E.: Liveness and acceleration in parameterized verification. In: Proceedings of the 12th International Conference on Computer Aided Verification. Lecture Notes in Computer Science, pp. 328–343. Springer (2000)
28.
Zurück zum Zitat Safra, S.: On the complexity of \(\omega \)-automata. In: Proceedings of the 29th IEEE Symposium on Foundations of Computer Science, pp. 319–327 (1988) Safra, S.: On the complexity of \(\omega \)-automata. In: Proceedings of the 29th IEEE Symposium on Foundations of Computer Science, pp. 319–327 (1988)
29.
Zurück zum Zitat Sistla, A.P.: Safety, liveness and fairness in temporal logic. Form. Asp. Comput. 6, 495–511 (1994)CrossRef Sistla, A.P.: Safety, liveness and fairness in temporal logic. Form. Asp. Comput. 6, 495–511 (1994)CrossRef
30.
Zurück zum Zitat Sistla, A.P., Clarke, E.M.: The complexity of propositional linear temporal logic. J. ACM 32, 733–749 (1985)MathSciNetCrossRef Sistla, A.P., Clarke, E.M.: The complexity of propositional linear temporal logic. J. ACM 32, 733–749 (1985)MathSciNetCrossRef
31.
32.
Metadaten
Titel
Spanning the spectrum from safety to liveness
verfasst von
Rachel Faran
Orna Kupferman
Publikationsdatum
23.10.2017
Verlag
Springer Berlin Heidelberg
Erschienen in
Acta Informatica / Ausgabe 8/2018
Print ISSN: 0001-5903
Elektronische ISSN: 1432-0525
DOI
https://doi.org/10.1007/s00236-017-0307-4

Weitere Artikel der Ausgabe 8/2018

Acta Informatica 8/2018 Zur Ausgabe

Premium Partner