Skip to main content

17.05.2023

Compositional verification of priority systems using sharp bisimulation

verfasst von: Luca Di Stefano, Frédéric Lang

Erschienen in: Formal Methods in System Design

Einloggen

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

search-config
loading …

Abstract

Sharp bisimulation is a refinement of branching bisimulation, parameterized by a subset of the system’s actions, called strong actions. This parameterization allows the sharp bisimulation to be tailored by the property under verification, whichever property of the modal \(\mu\)-calculus is considered, while potentially reducing more than strong bisimulation. Sharp bisimulation equivalence is a congruence for process algebraic operators such as parallel composition, hide, cut, and rename, and hence can be used in a compositional verification setting. In this paper, we prove that sharp bisimulation equivalence is also a congruence for action priority operators under some conditions on strong actions. We compare sharp bisimulation with orthogonal bisimulation, whose equivalence is also a congruence for action priority. We show that, if the internal action \(\tau\) neither gives priority to nor takes priority over other actions, then the quotient of a system with respect to sharp bisimulation equivalence (called sharp minimization) cannot be larger than the quotient of the same system with respect to orthogonal bisimulation equivalence. We then describe a signature-based partition refinement algorithm for sharp minimization, implemented in the BCG_MIN and BCG_CMP tools of the CADP software toolbox. This algorithm can be adapted to implement orthogonal minimization. We show on a crafted example that using compositional sharp minimization may yield state space reductions that outperform compositional orthogonal minimization by several orders of magnitude. Finally, we illustrate the use of sharp minimization and priority to verify a bully leader election algorithm.

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!

Anhänge
Nur mit Berechtigung zugänglich
Fußnoten
2
LNT stands for LOTOS New Technology [9].
 
3
MCL stands for Model Checking Language [33].
 
7
Note that sharp bisimulation as defined in [32] corresponds to divsharp bisimulation in the current paper. We prefer this naming, which is more in line with the distinction between branching and divbranching bisimulations.
 
8
Adequacy of an equivalence and a logic means that two LTSs are equivalent iff they verify exactly the same formulas of the logic.
 
9
It was shown that such a smallest fragment is not unique [31]. Also, given \(A_s\), deciding whether a formula belongs to \(L_{\mu }^{ strong }(A_s)\) is still an open problem.
 
10
A partition of a set S is a set of non-empty disjoint subsets of S (called blocks), whose union is S itself.
 
11
The difference between \(O(m \log n)\) and \(O(m n^2)\) may seem big, and it is, indeed. However, \(O(m n^2)\) is the complexity upper bound, reached only in few corner cases (e.g., long sequences or large trees of transitions all labelled by the same action). Moreover, the bottleneck for state space reduction is usually memory rather than time. Even though they may be sensibly slower, signature-based partition refinement algorithms behave well in terms of memory consumption.
 
12
We only considered the “parallel CTL” category, because it turned out that the LTL formulas proposed in the “parallel LTL” category in 2019 were all preserved by divbranching bisimulation, for which we already had a minimization algorithm.
 
15
For the sake of simplicity, we assume that timestamps are provided by a global clock, so that there cannot be two different values with the same timestamp.
 
17
Our case study features only one such variable, namely \(\ell\). However, we always rely on a single gate stig; to signal all updates, and put the name of the variable as data sent over the gate. This way, our encoding procedure is highly decoupled from the specific system being encoded.
 
18
For the anecdote, branching minimization was based on Groote & Vaandrager’s algorithm in version 1 of BCG_MIN. In 2010, we released version 2, whose implementation based on signatures was found 20 times faster on a benchmark of 3700 realistic examples systematically collected over time.
 
Literatur
1.
Zurück zum Zitat Alur R, Brayton RK, Henzinger TA, Qadeer S, Rajamani SK (1997) Partial-order reduction in symbolic state space exploration. In: Grumberg O (ed) 9th International conference on computer aided verification (CAV). Lecture notes in computer science, vol 1254, pp 340–351. Springer, Haifa, Israel. https://doi.org/10.1007/3-540-63166-6_34 Alur R, Brayton RK, Henzinger TA, Qadeer S, Rajamani SK (1997) Partial-order reduction in symbolic state space exploration. In: Grumberg O (ed) 9th International conference on computer aided verification (CAV). Lecture notes in computer science, vol 1254, pp 340–351. Springer, Haifa, Israel. https://​doi.​org/​10.​1007/​3-540-63166-6_​34
2.
Zurück zum Zitat Baeten JCM, Bergstra JA, Klop JW (1986) Syntax and defining equations for an interrupt mechanism in process algebra. Fund Inform IX:127–168MathSciNetMATH Baeten JCM, Bergstra JA, Klop JW (1986) Syntax and defining equations for an interrupt mechanism in process algebra. Fund Inform IX:127–168MathSciNetMATH
3.
Zurück zum Zitat Bergstra JA, Ponse A, van der Zwaag MB (2003) Branching time and orthogonal bisimulation equivalence. Theor Comput Sci 309(1–3):313–355MathSciNetCrossRefMATH Bergstra JA, Ponse A, van der Zwaag MB (2003) Branching time and orthogonal bisimulation equivalence. Theor Comput Sci 309(1–3):313–355MathSciNetCrossRefMATH
4.
Zurück zum Zitat Blom S, Orzan S (2003) Distributed branching bisimulation reduction of state spaces. Electron Notes Theor Comput Sci 89(1):99–113CrossRefMATH Blom S, Orzan S (2003) Distributed branching bisimulation reduction of state spaces. Electron Notes Theor Comput Sci 89(1):99–113CrossRefMATH
5.
Zurück zum Zitat Blom S, Orzan S (2005) A distributed algorithm for strong bisimulation reduction of state spaces. Softw Tools Technol Transf 7(1):74–86CrossRefMATH Blom S, Orzan S (2005) A distributed algorithm for strong bisimulation reduction of state spaces. Softw Tools Technol Transf 7(1):74–86CrossRefMATH
6.
Zurück zum Zitat Blom S, Orzan S (2005) Distributed state space minimization. Softw Tools Technol Transf 7(3):280–291CrossRef Blom S, Orzan S (2005) Distributed state space minimization. Softw Tools Technol Transf 7(3):280–291CrossRef
8.
Zurück zum Zitat Burch JR, Clarke EM, McMillan KL, Dill DL (1990) Sequential circuit verification using symbolic model checking. In: Smith RC (ed) Proceedings of the 27th ACM/ieee design automation conference. Orlando, Florida, USA, June 24-28, 1990. pp. 46–51. IEEE Computer Society Press. https://doi.org/10.1145/123186.123223 Burch JR, Clarke EM, McMillan KL, Dill DL (1990) Sequential circuit verification using symbolic model checking. In: Smith RC (ed) Proceedings of the 27th ACM/ieee design automation conference. Orlando, Florida, USA, June 24-28, 1990. pp. 46–51. IEEE Computer Society Press. https://​doi.​org/​10.​1145/​123186.​123223
9.
Zurück zum Zitat Champelovier D, Clerc X, Garavel H, Guerte Y, McKinty C, Powazny V, Lang F, Serwe W, Smeding G (2021) Reference manual of the LNT to LOTOS translator (Version 7.0) INRIA. Grenoble, France Champelovier D, Clerc X, Garavel H, Guerte Y, McKinty C, Powazny V, Lang F, Serwe W, Smeding G (2021) Reference manual of the LNT to LOTOS translator (Version 7.0) INRIA. Grenoble, France
10.
Zurück zum Zitat Cleaveland R, Lüttgen G, Natarajan V (2001) Priority in process algebras. In: Bergstra JA, Ponse A, Smolka SA (eds) Handbook of Process Algebra, chap. 12, pp 711–765. North-Holland Cleaveland R, Lüttgen G, Natarajan V (2001) Priority in process algebras. In: Bergstra JA, Ponse A, Smolka SA (eds) Handbook of Process Algebra, chap. 12, pp 711–765. North-Holland
12.
Zurück zum Zitat Di Stefano L, Lang F (2021) Verifying temporal properties of stigmergic collective systems using CADP. In: Margaria T, Steffen B (eds) 10th international symposium on leveraging applications of formal methods, Verification and Validation (ISoLA). Lecture notes in computer science, vol. 13036, pp. 473–489. Springer. https://doi.org/10.1007/978-3-030-89159-6_29 Di Stefano L, Lang F (2021) Verifying temporal properties of stigmergic collective systems using CADP. In: Margaria T, Steffen B (eds) 10th international symposium on leveraging applications of formal methods, Verification and Validation (ISoLA). Lecture notes in computer science, vol. 13036, pp. 473–489. Springer. https://​doi.​org/​10.​1007/​978-3-030-89159-6_​29
13.
Zurück zum Zitat Di Stefano L, Lang F (2023) Compositional verification of stigmergic collective systems. In: Dragoi C, Emmi M, Wang J (eds) 24th international conference on verification, model checking, and abstract interpretation (VMCAI). Lecture notes in computer science, vol 13881, pp 155–176. Springer, Boston, MA, USA. https://doi.org/10.1007/978-3-031-24950-1_8 Di Stefano L, Lang F (2023) Compositional verification of stigmergic collective systems. In: Dragoi C, Emmi M, Wang J (eds) 24th international conference on verification, model checking, and abstract interpretation (VMCAI). Lecture notes in computer science, vol 13881, pp 155–176. Springer, Boston, MA, USA. https://​doi.​org/​10.​1007/​978-3-031-24950-1_​8
14.
Zurück zum Zitat Di Stefano L, Lang F, Serwe W (2020) Combining SLiVER with CADP to analyze multi-agent systems. In: Bliudze S, Bocchi L (eds) 22nd international conference on coordination models and languages (COORDINATION). Lecture notes in computer science, vol 12134, pp 370–385. Springer, Valletta, Malta. https://doi.org/10.1007/978-3-030-50029-0_23 Di Stefano L, Lang F, Serwe W (2020) Combining SLiVER with CADP to analyze multi-agent systems. In: Bliudze S, Bocchi L (eds) 22nd international conference on coordination models and languages (COORDINATION). Lecture notes in computer science, vol 12134, pp 370–385. Springer, Valletta, Malta. https://​doi.​org/​10.​1007/​978-3-030-50029-0_​23
15.
16.
Zurück zum Zitat Garavel H, Lang F (Aug 2001) SVL: a scripting language for compositional verification. In: Kim M, Chin B, Kang S, Lee D (eds) Proceedings of the 21st IFIP WG 6.1 international conference on formal techniques for networked and distributed systems (FORTE’01), Cheju Island, Korea, pp 377–392. Kluwer Academic Publishers, full version available as INRIA Research Report RR-4223 Garavel H, Lang F (Aug 2001) SVL: a scripting language for compositional verification. In: Kim M, Chin B, Kang S, Lee D (eds) Proceedings of the 21st IFIP WG 6.1 international conference on formal techniques for networked and distributed systems (FORTE’01), Cheju Island, Korea, pp 377–392. Kluwer Academic Publishers, full version available as INRIA Research Report RR-4223
17.
Zurück zum Zitat Garavel H, Lang F (2022) Equivalence checking 40 years after: a review of bisimulation tools. In: Jansen N, Stoelinga M, van den Bos P (eds) A journey from process algebra via timed automata to model learning - essays dedicated to frits vaandrager on the occasion of His 60th Birthday. Lecture notes in computer science, vol 13560, pp 213–265. Springer. https://doi.org/10.1007/978-3-031-15629-8_13 Garavel H, Lang F (2022) Equivalence checking 40 years after: a review of bisimulation tools. In: Jansen N, Stoelinga M, van den Bos P (eds) A journey from process algebra via timed automata to model learning - essays dedicated to frits vaandrager on the occasion of His 60th Birthday. Lecture notes in computer science, vol 13560, pp 213–265. Springer. https://​doi.​org/​10.​1007/​978-3-031-15629-8_​13
18.
Zurück zum Zitat Garavel H, Lang F, Mateescu R (2015) Compositional verification of asynchronous concurrent systems using CADP. Acta Inform 52(4):337–392MathSciNetCrossRefMATH Garavel H, Lang F, Mateescu R (2015) Compositional verification of asynchronous concurrent systems using CADP. Acta Inform 52(4):337–392MathSciNetCrossRefMATH
19.
Zurück zum Zitat Garavel H, Lang F, Mateescu R, Serwe W (2013) CADP 2011: a toolbox for the construction and analysis of distributed processes. Springer Int J Softw Tools Technol Transf (STTT) 15(2):89–107CrossRefMATH Garavel H, Lang F, Mateescu R, Serwe W (2013) CADP 2011: a toolbox for the construction and analysis of distributed processes. Springer Int J Softw Tools Technol Transf (STTT) 15(2):89–107CrossRefMATH
21.
Zurück zum Zitat van Glabbeek RJ, Weijland WP (1989) Branching-time and abstraction in bisimulation semantics (extended abstract). CS R8911, Centrum voor Wiskunde en Informatica, Amsterdam, also in proc. IFIP 11th World Computer Congress, San Francisco van Glabbeek RJ, Weijland WP (1989) Branching-time and abstraction in bisimulation semantics (extended abstract). CS R8911, Centrum voor Wiskunde en Informatica, Amsterdam, also in proc. IFIP 11th World Computer Congress, San Francisco
22.
24.
Zurück zum Zitat Groote JF, Ponse A (1990) The Syntax and Semantics of \(\mu\)CRL. CS-R 9076, Centrum voor Wiskunde en Informatica, Amsterdam Groote JF, Ponse A (1990) The Syntax and Semantics of \(\mu\)CRL. CS-R 9076, Centrum voor Wiskunde en Informatica, Amsterdam
25.
Zurück zum Zitat Groote JF, Vaandrager F (1990) An efficient algorithm for branching bisimulation and stuttering equivalence. In: Patterson MS (ed) Proceedings of the 17th ICALP (Warwick). Lecture notes in computer science, vol 443, pp 626–638. Springer Groote JF, Vaandrager F (1990) An efficient algorithm for branching bisimulation and stuttering equivalence. In: Patterson MS (ed) Proceedings of the 17th ICALP (Warwick). Lecture notes in computer science, vol 443, pp 626–638. Springer
26.
Zurück zum Zitat ISO/IEC: LOTOS – a formal description technique based on the temporal ordering of observational behaviour. International Standard 8807, International Organization for Standardization – Information Processing Systems – Open Systems Interconnection, Geneva (Sep 1989) ISO/IEC: LOTOS – a formal description technique based on the temporal ordering of observational behaviour. International Standard 8807, International Organization for Standardization – Information Processing Systems – Open Systems Interconnection, Geneva (Sep 1989)
27.
Zurück zum Zitat ISO/IEC: Enhancements to LOTOS (E-LOTOS). International Standard 15437:2001, International Organization for Standardization – Information Technology, Geneva (Sep 2001) ISO/IEC: Enhancements to LOTOS (E-LOTOS). International Standard 15437:2001, International Organization for Standardization – Information Technology, Geneva (Sep 2001)
28.
Zurück zum Zitat Jansen DN, Groote JF, Keiren JJA, Wijs A (2020) An \({\cal{O}}(m\ log \ n)\) algorithm for branching bisimilarity on labelled transition systems. In: Biere A, Parker D (eds) Proceedings of the 26th international conference on tools and algorithms for the construction and analysis of systems (TACAS’20), Dublin, Ireland. Lecture notes in computer science, vol 12079, pp 3–20. Springer Jansen DN, Groote JF, Keiren JJA, Wijs A (2020) An \({\cal{O}}(m\ log \ n)\) algorithm for branching bisimilarity on labelled transition systems. In: Biere A, Parker D (eds) Proceedings of the 26th international conference on tools and algorithms for the construction and analysis of systems (TACAS’20), Dublin, Ireland. Lecture notes in computer science, vol 12079, pp 3–20. Springer
29.
Zurück zum Zitat Kragl B, Enea C, Henzinger TA, Mutluergil SO, Qadeer S (2020) Inductive sequentialization of asynchronous programs. In: Donaldson AF, Torlak E (eds) 41st International conference on programming language design and implementation (PLDI), London, UK. pp 227–242. ACM. https://doi.org/10.1145/3385412.3385980 Kragl B, Enea C, Henzinger TA, Mutluergil SO, Qadeer S (2020) Inductive sequentialization of asynchronous programs. In: Donaldson AF, Torlak E (eds) 41st International conference on programming language design and implementation (PLDI), London, UK. pp 227–242. ACM. https://​doi.​org/​10.​1145/​3385412.​3385980
30.
Zurück zum Zitat Lang F (2005) EXP.OPEN 2.0: a flexible tool integrating partial order, compositional, and on-the-fly verification methods. In: Romijn J, Smith G, van de Pol J (eds) Proceedings of the 5th international conference on integrated formal methods (IFM’05), Eindhoven, The Netherlands. Lecture notes in computer science, vol 3771, pp 70–88. Springer, full version available as INRIA Research Report RR-5673 Lang F (2005) EXP.OPEN 2.0: a flexible tool integrating partial order, compositional, and on-the-fly verification methods. In: Romijn J, Smith G, van de Pol J (eds) Proceedings of the 5th international conference on integrated formal methods (IFM’05), Eindhoven, The Netherlands. Lecture notes in computer science, vol 3771, pp 70–88. Springer, full version available as INRIA Research Report RR-5673
31.
Zurück zum Zitat Lang F, Mateescu R, Mazzanti F (2019) Compositional verification of concurrent systems by combining bisimulations. In: McIver A, ter Beek M (eds) Proceedings of the 23rd international symposium on formal methods—3rd World Congress on Formal Methods (FM’19), Porto, Portugal. Lecture Notes in Computer Science, vol 11800, pp 196–213. Springer Lang F, Mateescu R, Mazzanti F (2019) Compositional verification of concurrent systems by combining bisimulations. In: McIver A, ter Beek M (eds) Proceedings of the 23rd international symposium on formal methods—3rd World Congress on Formal Methods (FM’19), Porto, Portugal. Lecture Notes in Computer Science, vol 11800, pp 196–213. Springer
32.
Zurück zum Zitat Lang F, Mateescu R, Mazzanti F (Apr 2020) Sharp congruences adequate with temporal logics combining weak and strong modalities. In: Biere A, Parker D (eds) Proceedings of the 26th international conference on tools and algorithms for the construction and analysis of systems (TACAS’20), Dublin, Ireland. Lecture notes in computer science, vol 12079, pp 57–76. Springer Lang F, Mateescu R, Mazzanti F (Apr 2020) Sharp congruences adequate with temporal logics combining weak and strong modalities. In: Biere A, Parker D (eds) Proceedings of the 26th international conference on tools and algorithms for the construction and analysis of systems (TACAS’20), Dublin, Ireland. Lecture notes in computer science, vol 12079, pp 57–76. Springer
33.
Zurück zum Zitat Mateescu R, Thivolle D (2008) A model checking language for concurrent value-passing systems. In: Cuellar J, Maibaum T, Sere K (eds) Proceedings of the 15th international symposium on formal methods (FM’08), Turku, Finland. Lecture Notes in Computer Science, vol 5014, pp 148–164. Springer Mateescu R, Thivolle D (2008) A model checking language for concurrent value-passing systems. In: Cuellar J, Maibaum T, Sere K (eds) Proceedings of the 15th international symposium on formal methods (FM’08), Turku, Finland. Lecture Notes in Computer Science, vol 5014, pp 148–164. Springer
34.
Zurück zum Zitat Mateescu R, Wijs A (2014) Property-dependent reductions adequate with divergence-sensitive branching bisimilarity. Sci Comput Program 96(3):354–376CrossRef Mateescu R, Wijs A (2014) Property-dependent reductions adequate with divergence-sensitive branching bisimilarity. Sci Comput Program 96(3):354–376CrossRef
35.
Zurück zum Zitat Milner R (1989) Communication and concurrency. Prentice-Hall, New JerseyMATH Milner R (1989) Communication and concurrency. Prentice-Hall, New JerseyMATH
36.
Zurück zum Zitat Park D (Mar 1981) Concurrency and automata on infinite sequences. In: Deussen P (ed) Theoretical computer science. Lecture notes in computer science, vol 104, pp 167–183. Springer Park D (Mar 1981) Concurrency and automata on infinite sequences. In: Deussen P (ed) Theoretical computer science. Lecture notes in computer science, vol 104, pp 167–183. Springer
38.
Zurück zum Zitat de Putter S, Lang F, Wijs A (2020) Compositional model checking with divergence preserving branching bisimilarity is lively. Sci Comput Programm 196:102493CrossRef de Putter S, Lang F, Wijs A (2020) Compositional model checking with divergence preserving branching bisimilarity is lively. Sci Comput Programm 196:102493CrossRef
40.
Zurück zum Zitat Valmari A (2009) Bisimilarity minimization in \({\cal{O}}(m\ {log}\ n)\) time. In: Franceschinis G, Wolf K (eds) Proceedings of applications and theory of petri nets (PETRI NETS) 2009. Lecture notes in computer science, vol 5606, pp 123–142. Springer Valmari A (2009) Bisimilarity minimization in \({\cal{O}}(m\ {log}\ n)\) time. In: Franceschinis G, Wolf K (eds) Proceedings of applications and theory of petri nets (PETRI NETS) 2009. Lecture notes in computer science, vol 5606, pp 123–142. Springer
41.
42.
Zurück zum Zitat Wimmer R, Herbstritt M, Hermanns H, Strampp K, Becker B (2006) Sigref - a symbolic bisimulation tool box. In: Graf S, Zhang W (eds) Automated technology for verification and analysis, 4th international symposium, ATVA 2006, Beijing, China, October 23-26, 2006. Lecture notes in computer science, vol 4218, pp 477–492. Springer. https://doi.org/10.1007/11901914_35 Wimmer R, Herbstritt M, Hermanns H, Strampp K, Becker B (2006) Sigref - a symbolic bisimulation tool box. In: Graf S, Zhang W (eds) Automated technology for verification and analysis, 4th international symposium, ATVA 2006, Beijing, China, October 23-26, 2006. Lecture notes in computer science, vol 4218, pp 477–492. Springer. https://​doi.​org/​10.​1007/​11901914_​35
Metadaten
Titel
Compositional verification of priority systems using sharp bisimulation
verfasst von
Luca Di Stefano
Frédéric Lang
Publikationsdatum
17.05.2023
Verlag
Springer US
Erschienen in
Formal Methods in System Design
Print ISSN: 0925-9856
Elektronische ISSN: 1572-8102
DOI
https://doi.org/10.1007/s10703-023-00422-1

Premium Partner