Skip to main content
Top
Published in: Formal Methods in System Design 2/2018

12-04-2017

On relative and probabilistic finite counterability

Authors: Orna Kupferman, Gal Vardi

Published in: Formal Methods in System Design | Issue 2/2018

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

A counterexample to the satisfaction of a linear property \(\psi \) in a system \({\mathcal {S}}\) is an infinite computation of \({\mathcal {S}}\) that violates \(\psi \). When \(\psi \) is a safety property, a counterexample to its satisfaction need not be infinite. Rather, it is a bad-prefix for \(\psi \): a finite word all whose extensions violate \(\psi \). The existence of finite counterexamples is very helpful in practice. Liveness properties do not have bad-prefixes and thus do not have finite counterexamples. We extend the notion of finite counterexamples to non-safety properties. We study counterable languages—ones that have at least one bad-prefix. Thus, a language is counterable iff it is not liveness. Three natural problems arise: (1) given a language, decide whether it is counterable, (2) study the length of minimal bad-prefixes for counterable languages, and (3) develop algorithms for detecting bad-prefixes for counterable languages. We solve the problems for languages given by means of LTL formulas or nondeterministic Büchi automata. In particular, our EXPSPACE-completeness proof for the problem of deciding whether a given LTL formula is counterable, and hence also for deciding liveness, settles a long-standing open problem. In addition, we make finite counterexamples more relevant and helpful by introducing two variants of the traditional definition of bad-prefixes. The first adds a probabilistic component to the definition. There, a prefix is bad if almost all its extensions violate the property. The second makes it relative to the system. There, a prefix is bad if all its extensions in the system violate the property. We also study the combination of the probabilistic and relative variants. Our framework suggests new variants also for safety and liveness languages. We solve the above three problems for the different variants. Interestingly, the probabilistic variant not only increases the chances to return finite counterexamples, but also makes the solution of the three problems exponentially easier.

Dont have a licence yet? Then find out more about our products and how to get one now:

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!

Footnotes
1
In [21], the authors study safety and liveness in probabilistic systems. The setting, definitions, and goals are different from ours here, and focus on the safety and liveness fragments of the probabilistic branching-time logic PCTL.
 
2
Our definitions and results apply for all distributions in which all letters are drawn with a positive probability.
 
3
Indeed \(K_{AP}\) is exponential in |AP|, but safety is known to be PSPACE-hard also when the number of atomic propositions is fixed.
 
Literature
1.
go back to reference Ábrahám E, Becker B, Dehnert C, Jansen N, Katoen JP, Wimmer R (2014) Counterexample generation for discrete-time markov models: an introductory survey. In: Bernardo M, Damiani F, Hähnle R, Johnsen EB, Schaefer I (eds) Formal methods for executable software models. Springer, Berlin, pp 65–121CrossRef Ábrahám E, Becker B, Dehnert C, Jansen N, Katoen JP, Wimmer R (2014) Counterexample generation for discrete-time markov models: an introductory survey. In: Bernardo M, Damiani F, Hähnle R, Johnsen EB, Schaefer I (eds) Formal methods for executable software models. Springer, Berlin, pp 65–121CrossRef
3.
4.
5.
go back to reference Biere A, Artho C, Schuppan V (2002) Liveness checking as safety checking. In: Proceedings of 7th international workshop on formal methods for industrial critical systems, volume 66:2 of Electronic Notes in Theoretical Computuer Science Biere A, Artho C, Schuppan V (2002) Liveness checking as safety checking. In: Proceedings of 7th international workshop on formal methods for industrial critical systems, volume 66:2 of Electronic Notes in Theoretical Computuer Science
6.
go back to reference Büchi JR (1962) On a decision method in restricted second order arithmetic. In: Proceedings of international congress on logic, method, and philosophy of science, 1960. Stanford University Press, pp 1–12 Büchi JR (1962) On a decision method in restricted second order arithmetic. In: Proceedings of international congress on logic, method, and philosophy of science, 1960. Stanford University Press, pp 1–12
7.
go back to reference Clarke EM, Bierea A, Raimi R, Zhu Y (2001) Bounded model checking using satisfiability solving. Form Methods Syst Des 19(1):7–34CrossRefMATH Clarke EM, Bierea A, Raimi R, Zhu Y (2001) Bounded model checking using satisfiability solving. Form Methods Syst Des 19(1):7–34CrossRefMATH
8.
go back to reference Clarke EM, Grumberg O, Jha S, Lu Y, Veith H (2000) Counterexample-guided abstraction refinement. In: Proceedings of 12th international conference on computer aided verification, volume 1855 of Lecture Notes in Computer Science. Springer, Berlin, pp 154–169 Clarke EM, Grumberg O, Jha S, Lu Y, Veith H (2000) Counterexample-guided abstraction refinement. In: Proceedings of 12th international conference on computer aided verification, volume 1855 of Lecture Notes in Computer Science. Springer, Berlin, pp 154–169
9.
go back to reference Clarke EM, Grumberg O, McMillan KL, Zhao X (1995) Efficient generation of counterexamples and witnesses in symbolic model checking. In: Proceedings of 32st design automation conference. IEEE Computer Society, pp 427–432 Clarke EM, Grumberg O, McMillan KL, Zhao X (1995) Efficient generation of counterexamples and witnesses in symbolic model checking. In: Proceedings of 32st design automation conference. IEEE Computer Society, pp 427–432
10.
go back to reference Cormen TH, Leiserson CE (1990) Introduction to algorithms. MIT Press and McGraw-Hill, CambridgeMATH Cormen TH, Leiserson CE (1990) Introduction to algorithms. MIT Press and McGraw-Hill, CambridgeMATH
12.
go back to reference Couvreur JM, Saheb N, Sutre G (2003) An optimal automata approach to LTL model checking of probabilistic systems. In: Proceedings 10th international conference on logic for programming artificial intelligence and reasoning. Springer, Berlin, pp 361–375 Couvreur JM, Saheb N, Sutre G (2003) An optimal automata approach to LTL model checking of probabilistic systems. In: Proceedings 10th international conference on logic for programming artificial intelligence and reasoning. Springer, Berlin, pp 361–375
13.
go back to reference David BS, Kupferman O (2013) A framework for ranking vacuity results. 11th international symposium on automated technology for verification and analysis, volume 8172 of Lecture Notes in Computer Science. Springer, Berlin, pp 148–162 David BS, Kupferman O (2013) A framework for ranking vacuity results. 11th international symposium on automated technology for verification and analysis, volume 8172 of Lecture Notes in Computer Science. Springer, Berlin, pp 148–162
14.
go back to reference Diekert V, Muscholl A, Walukiewicz I (2015) A note on monitors and büchi automata. In: 12th international colloquium cali, vol 9399, pp 39–57 Diekert V, Muscholl A, Walukiewicz I (2015) A note on monitors and büchi automata. In: 12th international colloquium cali, vol 9399, pp 39–57
15.
go back to reference Faran R, Kupferman O (2015) Spanning the spectrum from safety to liveness. International symposium on automated technology for verification and analysis. Springer, pp 183–200 Faran R, Kupferman O (2015) Spanning the spectrum from safety to liveness. International symposium on automated technology for verification and analysis. Springer, pp 183–200
16.
go back to reference Gabbay D, Pnueli A, Shelah S, Stavi J (1980) On the temporal analysis of fairness. In: Proceedings of 7th ACM symposium on principles of programming languages, pp 163–173 Gabbay D, Pnueli A, Shelah S, Stavi J (1980) On the temporal analysis of fairness. In: Proceedings of 7th ACM symposium on principles of programming languages, pp 163–173
17.
go back to reference Grinstead CM, Snell JL (2003) Introduction to probability, 2nd edn. American Mathematical Society, Rhode Island Grinstead CM, Snell JL (2003) Introduction to probability, 2nd edn. American Mathematical Society, Rhode Island
18.
go back to reference Havelund K, Rosu G (2004) Efficient monitoring of safety properties. Softw Tools Technol Transf 6(2):18–173 Havelund K, Rosu G (2004) Efficient monitoring of safety properties. Softw Tools Technol Transf 6(2):18–173
19.
go back to reference Henzinger TA, Kupferman O, Qadeer S (1998) From pre-historic to post-modern symbolic model checking. In: Proceedings of 10th international conference on computer aided verification, volume 1427 of Lecture Notes in Computer Science. Springer, Berlin Henzinger TA, Kupferman O, Qadeer S (1998) From pre-historic to post-modern symbolic model checking. In: Proceedings of 10th international conference on computer aided verification, volume 1427 of Lecture Notes in Computer Science. Springer, Berlin
21.
go back to reference Katoen J-P, Song L, Zhang L (2014) Probably safe or live. In: Proceedings of 29th IEEE symposium on logic in computer science, pp 55:1–55:10 Katoen J-P, Song L, Zhang L (2014) Probably safe or live. In: Proceedings of 29th IEEE symposium on logic in computer science, pp 55:1–55:10
22.
23.
go back to reference Kupferman O, Lampert R (2006) On the construction of fine automata for safety properties. In: 4th international symposium on automated technology for verification and analysis, volume 4218 of Lecture Notes in Computer Science. Springer, Berlin, pp 110–124 Kupferman O, Lampert R (2006) On the construction of fine automata for safety properties. In: 4th international symposium on automated technology for verification and analysis, volume 4218 of Lecture Notes in Computer Science. Springer, Berlin, pp 110–124
24.
go back to reference Kupferman O, Sheinvald-Faragy S (2006) Finding shortest witnesses to the nonemptiness of automata on infinite words. In: Proceedings of 17th international conference on concurrency theory, volume 4137 of Lecture Notes in Computer Science. Springer, Berlin, pp 492–508 Kupferman O, Sheinvald-Faragy S (2006) Finding shortest witnesses to the nonemptiness of automata on infinite words. In: Proceedings of 17th international conference on concurrency theory, volume 4137 of Lecture Notes in Computer Science. Springer, Berlin, pp 492–508
25.
go back to reference Kupferman O, Vardi MY (2001) Model checking of safety properties. Form Methods Syst Des 19(3):291–314CrossRefMATH Kupferman O, Vardi MY (2001) Model checking of safety properties. Form Methods Syst Des 19(3):291–314CrossRefMATH
26.
go back to reference Kupferman O, Vardi MY (2004) From complementation to certification. In: Proceedings of 10th international conference on tools and algorithms for the construction and analysis of systems, volume 2988 of Lecture Notes in Computer Science. Springer, Berlin, pp 591–606 Kupferman O, Vardi MY (2004) From complementation to certification. In: Proceedings of 10th international conference on tools and algorithms for the construction and analysis of systems, volume 2988 of Lecture Notes in Computer Science. Springer, Berlin, pp 591–606
27.
go back to reference Kupferman O, Vardi MY (2010) Synthesis of trigger properties. In: Proceedings of 16th international conference on logic for programming artificial intelligence and reasoning, volume 6355 of Lecture Notes in Computer Science. Springer, Berlin, pp 312–331 Kupferman O, Vardi MY (2010) Synthesis of trigger properties. In: Proceedings of 16th international conference on logic for programming artificial intelligence and reasoning, volume 6355 of Lecture Notes in Computer Science. Springer, Berlin, pp 312–331
28.
go back to reference Lippmann M (2014) Temporalised description logics for monitoring partially observable events. PhD thesis, TU Dresden Lippmann M (2014) Temporalised description logics for monitoring partially observable events. PhD thesis, TU Dresden
29.
go back to reference Manna Z, Pnueli A (1984) Adequate proof principles for invariance and liveness properties of concurrent programs. Sci Comput Program 4:257–289MathSciNetCrossRefMATH Manna Z, Pnueli A (1984) Adequate proof principles for invariance and liveness properties of concurrent programs. Sci Comput Program 4:257–289MathSciNetCrossRefMATH
30.
go back to reference Meyer AR, Stockmeyer LJ (1972) The equivalence problem for regular expressions with squaring requires exponential time. In: Proceedings of 13th IEEE symposium on switching and automata theory, pp 125–129 Meyer AR, Stockmeyer LJ (1972) The equivalence problem for regular expressions with squaring requires exponential time. In: Proceedings of 13th IEEE symposium on switching and automata theory, pp 125–129
31.
go back to reference Nitsche U, Wolper P (1997) Relative liveness and behavior abstraction. In: Proceedings of 24th ACM symposium on principles of programming languages. ACM, New York, pp 45–52 Nitsche U, Wolper P (1997) Relative liveness and behavior abstraction. In: Proceedings of 24th ACM symposium on principles of programming languages. ACM, New York, pp 45–52
32.
go back to reference Owicki S, Lamport L (1982) Proving liveness properties of concurrent programs. ACM Trans Program Lang Syst 4(3):455–495CrossRefMATH Owicki S, Lamport L (1982) Proving liveness properties of concurrent programs. ACM Trans Program Lang Syst 4(3):455–495CrossRefMATH
33.
go back to reference Piterman N (2007) From nondeterministic Büchi and Streett automata to deterministic parity automata. Log Methods Comput Sci 3(3):5MathSciNetCrossRefMATH Piterman N (2007) From nondeterministic Büchi and Streett automata to deterministic parity automata. Log Methods Comput Sci 3(3):5MathSciNetCrossRefMATH
35.
go back to reference Schuppan V, Biere A (2005) Shortest counterexamples for symbolic model checking of LTL with past. In: Proceedings of 11th international conference on tools and algorithms for the construction and analysis of systems, volume 3440 of Lecture Notes in Computer Science. Springer, Berlin, pp 493–509 Schuppan V, Biere A (2005) Shortest counterexamples for symbolic model checking of LTL with past. In: Proceedings of 11th international conference on tools and algorithms for the construction and analysis of systems, volume 3440 of Lecture Notes in Computer Science. Springer, Berlin, pp 493–509
36.
go back to reference Schuppan V, Biere A (2006) Liveness checking as safety checking for infinite state spaces. Electron Notes Theor Comput Sci 149(1):79–96MathSciNetCrossRefMATH Schuppan V, Biere A (2006) Liveness checking as safety checking for infinite state spaces. Electron Notes Theor Comput Sci 149(1):79–96MathSciNetCrossRefMATH
37.
go back to reference Sistla AP (1994) Safety, liveness and fairness in temporal logic. Form Aspects Comput 6:495–511CrossRefMATH Sistla AP (1994) Safety, liveness and fairness in temporal logic. Form Aspects Comput 6:495–511CrossRefMATH
39.
go back to reference van Emde Boas P (1997) The convenience of tilings. Lecture Notes on Pure and Applied Mathematics, pp 331–363 van Emde Boas P (1997) The convenience of tilings. Lecture Notes on Pure and Applied Mathematics, pp 331–363
40.
go back to reference Vardi MY (1985) Automatic verification of probabilistic concurrent finite-state programs. In: Proceedings of 26th IEEE symposium on foundations of computer science, pp 327–338 Vardi MY (1985) Automatic verification of probabilistic concurrent finite-state programs. In: Proceedings of 26th IEEE symposium on foundations of computer science, pp 327–338
Metadata
Title
On relative and probabilistic finite counterability
Authors
Orna Kupferman
Gal Vardi
Publication date
12-04-2017
Publisher
Springer US
Published in
Formal Methods in System Design / Issue 2/2018
Print ISSN: 0925-9856
Electronic ISSN: 1572-8102
DOI
https://doi.org/10.1007/s10703-017-0277-8

Premium Partner