Abstract
We investigate the application of strategy synthesis to enforce spatial properties. The Contract Automata Library (CATLib) performs both composition and strategy synthesis of games modelled in a dialect of finite state automata. The Voxel-based Logical Analyser (VoxLogicA) is a spatial model checker that allows the verification of properties expressed using the Spatial Logic of Closure Spaces on pixels of digital images. In this paper, we explore the integration of these two tools. We provide a basic example of strategy synthesis on automata encoding motion of agents in spaces represented by images. The strategy is synthesised with CATLib, whilst the properties to enforce are defined by means of spatial model checking of the images with VoxLogicA.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
In the VoxLogicA approach, images are seen as a special kind of graphs, where vertices are pixels, and edges represent proximity. Actually, the VoxLogicA family of tools can also operate on arbitrary directed graphs. Adapting the present work to the more general setting is left for future work.
References
Alsalehi, S., Mehdipour, N., Bartocci, E., Belta, C.: Neural network-based control for multi-agent systems from spatio-temporal specifications. In: Proceedings of the 60th IEEE Conference on Decision and Control (CDC 2021), pp. 5110–5115. IEEE (2021). https://doi.org/10.1109/CDC45484.2021.9682921
Alur, R., Moarref, S., Topcu, U.: Compositional synthesis of reactive controllers for multi-agent systems. In: Chaudhuri, S., Farzan, A. (eds.) CAV 2016, Part II. LNCS, vol. 9780, pp. 251–269. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-41540-6_14
Asarin, E., Maler, O., Pnueli, A., Sifakis, J.: Controller synthesis for timed automata. IFAC Proc. 31(18), 447–452 (1998). https://doi.org/10.1016/S1474-6670(17)42032-5
Banci Buonamici, F., Belmonte, G., Ciancia, V., Latella, D., Massink, M.: Spatial logics and model checking for medical imaging. Int. J. Softw. Tools Technol. Transf. 22(2), 195–217 (2019). https://doi.org/10.1007/s10009-019-00511-9
Basile, D., ter Beek, M.H., Legay, A.: Timed service contract automata. Innovations Syst. Soft. Eng. 16(2), 199–214 (2019). https://doi.org/10.1007/s11334-019-00353-3
Basile, D., ter Beek, M.H.: A clean and efficient implementation of choreography synthesis for behavioural contracts. In: Damiani, F., Dardha, O. (eds.) COORDINATION 2021. LNCS, vol. 12717, pp. 225–238. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-78142-2_14
Basile, D., ter Beek, M.H.: Contract automata library. Sci. Comput. Program. 221 (2022). https://doi.org/10.1016/j.scico.2022.102841, https://github.com/contractautomataproject/ContractAutomataLib
Basile, D., ter Beek, M.H.: A runtime environment for contract automata. arXiv:2203.14122 (2022). https://doi.org/10.48550/arXiv.2203.14122
Basile, D., et al.: Controller synthesis of service contracts with variability. Sci. Comput. Program. 187 (2020). https://doi.org/10.1016/j.scico.2019.102344
Basile, D., ter Beek, M.H., Di Giandomenico, F., Gnesi, S.: Orchestration of dynamic service product lines with featured modal contract automata. In: Proceedings of the 21st International Systems and Software Product Line Conference (SPLC 2017), vol. 2, pp. 117–122. ACM (2017). https://doi.org/10.1145/3109729.3109741
Basile, D., ter Beek, M.H., Gnesi, S.: Modelling and analysis with featured modal contract automata. In: Proceedings of the 22nd International Systems and Software Product Line Conference (SPLC 2018), vol. 2, pp. 11–16. ACM (2018). https://doi.org/10.1145/3236405.3236408
Basile, D., ter Beek, M.H., Legay, A.: Strategy synthesis for autonomous driving in a moving block railway system with UPPAAL STRATEGO. In: Gotsman, A., Sokolova, A. (eds.) FORTE 2020. LNCS, vol. 12136, pp. 3–21. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-50086-3_1
Basile, D., ter Beek, M.H., Pugliese, R.: Synthesis of orchestrations and choreographies: bridging the gap between supervisory control and coordination of services. Log. Methods Comput. Sci. 16(2) (2020). https://doi.org/10.23638/LMCS-16(2:9)2020
Basile, D., Ciancia, V.: Repository for reproducing the experiments. https://github.com/contractautomataproject/CATLib_PngConverter
Basile, D., Degano, P., Ferrari, G.L.: Automata for specifying and orchestrating service contracts. Log. Methods Comput. Sci. 12(4) (2016). https://doi.org/10.2168/LMCS-12(4:6)2016
Basile, D., Degano, P., Ferrari, G.-L., Tuosto, E.: Playing with our CAT and communication-centric applications. In: Albert, E., Lanese, I. (eds.) FORTE 2016. LNCS, vol. 9688, pp. 62–73. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-39570-8_5
Basile, D., Degano, P., Ferrari, G.L., Tuosto, E.: Relating two automata-based models of orchestration and choreography. J. Log. Algebr. Methods Program. 85(3), 425–446 (2016). https://doi.org/10.1016/j.jlamp.2015.09.011
Basile, D., Di Giandomenico, F., Gnesi, S.: Enhancing models correctness through formal verification: a case study from the railway domain. In: Pires, L.F., Hammoudi, S., Selic, B. (eds.) Proceedings of the 5th International Conference on Model-Driven Engineering and Software Development (MODELSWARD 2017), pp. 679–686. SciTePress (2017). https://doi.org/10.5220/0006291106790686
Basile, D., Di Giandomenico, F., Gnesi, S.: FMCAT: supporting dynamic service-based product lines. In: Proceedings of the 21st International Systems and Software Product Line Conference (SPLC 2017), vol. 2, pp. 3–8. ACM (2017). https://doi.org/10.1145/3109729.3109760
Basile, D., Di Giandomenico, F., Gnesi, S., Degano, P., Ferrari, G.L.: Specifying variability in service contracts. In: Proceedings of the 11th International Workshop on Variability Modelling of Software-intensive Systems (VaMoS 2017), pp. 20–27. ACM (2017). https://doi.org/10.1145/3023956.3023965
ter Beek, M.H., Reniers, M.A., de Vink, E.P.: Supervisory controller synthesis for product lines using CIF 3. In: Margaria, T., Steffen, B. (eds.) ISoLA 2016. LNCS, vol. 9952, pp. 856–873. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-47166-2_59
Belmonte, G., Broccia, G., Vincenzo, C., Latella, D., Massink, M.: Feasibility of spatial model checking for nevus segmentation. In: Proceedings of the 9th International Conference on Formal Methods in Software Engineering (FormaliSE 2021), pp. 1–12. IEEE (2021). https://doi.org/10.1109/FormaliSE52586.2021.00007
Belmonte, G., Ciancia, V., Latella, D., Massink, M.: Innovating medical image analysis via spatial logics. In: ter Beek, M.H., Fantechi, A., Semini, L. (eds.) From Software Engineering to Formal Methods and Tools, and Back. LNCS, vol. 11865, pp. 85–109. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-30985-5_7
Belmonte, G., Ciancia, V., Latella, D., Massink, M.: VoxLogicA: a spatial model checker for declarative image analysis. In: Vojnar, T., Zhang, L. (eds.) TACAS 2019. LNCS, vol. 11427, pp. 281–298. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-17462-0_16
Bezhanishvili, N., Ciancia, V., Gabelaia, D., Grilletti, G., Latella, D., Massink, M.: Geometric model checking of continuous space (2021). https://doi.org/10.48550/arXiv.2105.06194
Bussi, L., Ciancia, V., Gadducci, F.: Towards a spatial model checker on GPU. In: Peters, K., Willemse, T.A.C. (eds.) FORTE 2021. LNCS, vol. 12719, pp. 188–196. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-78089-0_12
Calude, C.S., Jain, S., Khoussainov, B., Li, W., Stephan, F.: Deciding parity games in quasipolynomial time. In: Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing (STOC 2017), pp. 252–263. ACM (2017). https://doi.org/10.1145/3055399.3055409
Camacho, A., Bienvenu, M., McIlraith, S.A.: Towards a unified view of AI planning and reactive synthesis. In: Proceedings of the 29th International Conference on Automated Planning and Scheduling (ICAPS 2018), pp. 58–67. AAAI (2019). https://ojs.aaai.org/index.php/ICAPS/article/view/3460
Cassandras, C.G., Lafortune, S.: Introduction to Discrete Event Systems. Springer, Heidelberg (2006). https://doi.org/10.1007/978-0-387-68612-7
Castelnovo, D., Miculan, M.: Closure hyperdoctrines. In: Gadducci, F., Silva, A. (eds.) Proceedings of the 9th Conference on Algebra and Coalgebra in Computer Science (CALCO 2021). LIPIcs, vol. 211, pp. 12:1–12:21 (2021). https://doi.org/10.4230/LIPIcs.CALCO.2021.12
Cauchi, N., Abate, A.: StocHy: automated verification and synthesis of stochastic processes. In: Vojnar, T., Zhang, L. (eds.) TACAS 2019. LNCS, vol. 11428, pp. 247–264. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-17465-1_14
Češka, M., Pilař, P., Paoletti, N., Brim, L., Kwiatkowska, M.: PRISM-PSY: precise GPU-accelerated parameter synthesis for stochastic systems. In: Chechik, M., Raskin, J.-F. (eds.) TACAS 2016. LNCS, vol. 9636, pp. 367–384. Springer, Heidelberg (2016). https://doi.org/10.1007/978-3-662-49674-9_21
Cheng, C.-H., Lee, E.A., Ruess, H.: autoCode4: structural controller synthesis. In: Legay, A., Margaria, T. (eds.) TACAS 2017. LNCS, vol. 10205, pp. 398–404. Springer, Heidelberg (2017). https://doi.org/10.1007/978-3-662-54577-5_23
Ciancia, V., Latella, D., Loreti, M., Massink, M.: Model checking spatial logics for closure spaces. Log. Methods Comput. Sci. 12(4) (2016). https://doi.org/10.2168/LMCS-12(4:2)2016
Ciancia, V., Latella, D., Massink, M., Paškauskas, R., Vandin, A.: A tool-chain for statistical spatio-temporal model checking of bike sharing systems. In: Margaria, T., Steffen, B. (eds.) ISoLA 2016. LNCS, vol. 9952, pp. 657–673. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-47166-2_46
Ciancia, V., Belmonte, G., Latella, D., Massink, M.: A hands-on introduction to spatial model checking using VoxLogicA. In: Laarman, A., Sokolova, A. (eds.) SPIN 2021. LNCS, vol. 12864, pp. 22–41. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-84629-9_2
Ciancia, V., Gilmore, S., Grilletti, G., Latella, D., Loreti, M., Massink, M.: Spatio-temporal model checking of vehicular movement in public transport systems. Int. J. Softw. Tools Technol. Transf. 20(3), 289–311 (2018). https://doi.org/10.1007/s10009-018-0483-8
Ciancia, V., Latella, D., Massink, M., Paškauskas, R.: Exploring spatio-temporal properties of bike-sharing systems. In: Proceedings of the Workshops at the 9th IEEE International Conference on Self-adaptive and Self-organizing Systems (SASO 2015), pp. 74–79. IEEE (2015). https://doi.org/10.1109/SASOW.2015.17
David, A., Jensen, P.G., Larsen, K.G., Mikučionis, M., Taankvist, J.H.: Uppaal Stratego. In: Baier, C., Tinelli, C. (eds.) TACAS 2015. LNCS, vol. 9035, pp. 206–211. Springer, Heidelberg (2015). https://doi.org/10.1007/978-3-662-46681-0_16
Deniélou, P.-M., Yoshida, N.: Multiparty session types meet communicating automata. In: Seidl, H. (ed.) ESOP 2012. LNCS, vol. 7211, pp. 194–213. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-28869-2_10
Ehlers, R., Lafortune, S., Tripakis, S., Vardi, M.Y.: Supervisory control and reactive synthesis: a comparative introduction. Discrete Event Dyn. Syst. 27(2), 209–260 (2016). https://doi.org/10.1007/s10626-015-0223-0
Fan, C., Miller, K., Mitra, S.: Fast and guaranteed safe controller synthesis for nonlinear vehicle models. In: Lahiri, S.K., Wang, C. (eds.) CAV 2020, Part I. LNCS, vol. 12224, pp. 629–652. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-53288-8_31
Farhat, H.: Web service composition via supervisory control theory. IEEE Access 6, 59779–59789 (2018). https://doi.org/10.1109/ACCESS.2018.2874564
Felli, P., Yadav, N., Sardina, S.: Supervisory control for behavior composition. IEEE Trans. Autom. Control 62(2), 986–991 (2017). https://doi.org/10.1109/TAC.2016.2570748
Forschelen, S.T.J., van de Mortel-Fronczak, J.M., Su, R., Rooda, J.E.: Application of supervisory control theory to theme park vehicles. Discrete Event Dyn. Syst. 22(4), 511–540 (2012). https://doi.org/10.1007/s10626-012-0130-6
Gu, R., Jensen, P.G., Poulsen, D.B., Seceleanu, C., Enoiu, E., Lundqvist, K.: Verifiable strategy synthesis for multiple autonomous agents: a scalable approach. Int. J. Softw. Tools Technol. Transf. 24(3), 395–414 (2022). https://doi.org/10.1007/s10009-022-00657-z
Guo, M., Dimarogonas, D.V.: Multi-agent plan reconfiguration under local LTL specifications. Int. J. Robot. Res. 34(2), 218–235 (2015). https://doi.org/10.1177/0278364914546174
Haghighi, I., Jones, A., Kong, Z., Bartocci, E., Grosu, R., Belta, C.: SpaTeL: a novel spatial-temporal logic and its applications to networked systems. In: Proceedings of the 18th International Conference on Hybrid Systems: Computation and Control (HSCC 2015), pp. 189–198. ACM (2015). https://doi.org/10.1145/2728606.2728633
Haghighi, I., Sadraddini, S., Belta, C.: Robotic swarm control from spatio-temporal specifications. In: Proceedings of the 55th IEEE Conference on Decision and Control (CDC 2016), pp. 5708–5713. IEEE (2016). https://doi.org/10.1109/CDC.2016.7799146
Kwiatkowska, M., Norman, G., Parker, D., Santos, G.: PRISM-games 3.0: stochastic game verification with concurrency, equilibria and time. In: Lahiri, S.K., Wang, C. (eds.) CAV 2020. LNCS, vol. 12225, pp. 475–487. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-53291-8_25
Lange, J., Tuosto, E., Yoshida, N.: From communicating machines to graphical choreographies. In: Proceedings of the 42nd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 2015), pp. 221–232. ACM (2015). https://doi.org/10.1145/2676726.2676964
Lavaei, A., Khaled, M., Soudjani, S., Zamani, M.: AMYTISS: parallelized automated controller synthesis for large-scale stochastic systems. In: Lahiri, S.K., Wang, C. (eds.) CAV 2020. LNCS, vol. 12225, pp. 461–474. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-53291-8_24
Lehmann, S., Rogalla, A., Neidhardt, M., Reinecke, A., Schlaefer, A., Schupp, S.: Modeling \(\mathbb{R} ^3\) needle steering in Uppaal. In: Dubslaff, C., Luttik, B. (eds.) Proceedings of the 5th Workshop on Models for Formal Analysis of Real Systems (MARS 2022). EPTCS, vol. 355, pp. 40–59 (2022). https://doi.org/10.4204/EPTCS.355.4
Liu, Z., Wu, B., Dai, J., Lin, H.: Distributed communication-aware motion planning for networked mobile robots under formal specifications. IEEE Trans. Control. Netw. Syst. 7(4), 1801–1811 (2020). https://doi.org/10.1109/TCNS.2020.3000742
Loizou, S.G., Kyriakopoulos, K.J.: Automatic synthesis of multi-agent motion tasks based on LTL specifications. In: Proceedings of the 43rd IEEE Conference on Decision and Control (CDC 2004), pp. 153–158. IEEE (2004). https://doi.org/10.1109/CDC.2004.1428622
Loreti, M., Quadrini, M.: A spatial logic for a simplicial complex model. arXiv:2105.08708 (2021). https://doi.org/10.48550/arXiv.2105.08708
Luttenberger, M., Meyer, P.J., Sickert, S.: Practical synthesis of reactive systems from LTL specifications via parity games. Acta Inform. 57(1), 3–36 (2019). https://doi.org/10.1007/s00236-019-00349-3
Ma, M., Bartocci, E., Lifland, E., Stankovic, J.A., Feng, L.: A novel spatial-temporal specification-based monitoring system for smart cities. IEEE Internet Things J. 8(15), 11793–11806 (2021). https://doi.org/10.1109/JIOT.2021.3069943
Meyer, P.J., Sickert, S., Luttenberger, M.: Strix: explicit reactive synthesis strikes back! In: Chockler, H., Weissenbacher, G. (eds.) CAV 2018. LNCS, vol. 10981, pp. 578–586. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-96145-3_31
Ramadge, P.J., Wonham, W.M.: Supervisory control of a class of discrete event processes. SIAM J. Control. Optim. 25(1), 206–230 (1987). https://doi.org/10.1137/0325013
van der Sanden, B., et al.: Modular model-based supervisory controller design for wafer logistics in lithography machines. In: Proceedings of the 18th International Conference on Model Driven Engineering Languages and Systems (MODELS 2015), pp. 416–425. IEEE (2015). https://doi.org/10.1109/MODELS.2015.7338273
Shokri-Manninen, F., Vain, J., Waldén, M.: Formal verification of COLREG-based navigation of maritime autonomous systems. In: de Boer, F., Cerone, A. (eds.) SEFM 2020. LNCS, vol. 12310, pp. 41–59. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-58768-0_3
Sun, D., Chen, J., Mitra, S., Fan, C.: Multi-agent motion planning from signal temporal logic specifications. IEEE Robot. Autom. Lett. 7(2), 3451–3458 (2022). https://doi.org/10.1109/LRA.2022.3146951
Theunissen, R.J.M., van Beek, D.A., Rooda, J.E.: Improving evolvability of a patient communication control system using state-based supervisory control synthesis. Adv. Eng. Inform. 26(3), 502–515 (2012). https://doi.org/10.1016/j.aei.2012.02.009
Tsigkanos, C., Kehrer, T., Ghezzi, C.: Modeling and verification of evolving cyber-physical spaces. In: Proceedings of the 11th Joint Meeting on Foundations of Software Engineering (ESEC/FSE 2017), pp. 38–48. ACM (2017). https://doi.org/10.1145/3106237.3106299
Acknowledgments
Research partially funded by the MIUR PRIN 2017FTXR7S project IT MaTTerS (Methods and Tools for Trustworthy Smart Systems).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Ethics declarations
CRediT Author Statement
D. Basile: Conceptualization, Software, Formal Analysis, Investigation, Writing - Original Draft, Writing - Review & Editing. M.H. ter Beek: Writing - Original Draft, Writing - Review & Editing, Supervision, Funding Acquisition, Project Administration. V. Ciancia: Conceptualization, Software, Formal Analysis, Investigation, Writing - Original Draft, Writing - Review & Editing.
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Basile, D., ter Beek, M.H., Ciancia, V. (2022). An Experimental Toolchain for Strategy Synthesis with Spatial Properties. In: Margaria, T., Steffen, B. (eds) Leveraging Applications of Formal Methods, Verification and Validation. Adaptation and Learning. ISoLA 2022. Lecture Notes in Computer Science, vol 13703. Springer, Cham. https://doi.org/10.1007/978-3-031-19759-8_10
Download citation
DOI: https://doi.org/10.1007/978-3-031-19759-8_10
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-19758-1
Online ISBN: 978-3-031-19759-8
eBook Packages: Computer ScienceComputer Science (R0)