Abstract
We present our recent results in charting the decidability boundary of formal verification of Communicating Datalog Agents, a multi-agent system grounded in logic programming.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
A signature \(\mathcal {A}\) is a finite set \(\{A_1/{a_1},\dots ,A_n/{a_n}\}\) where, for \(i\in \{1,\dots ,n\}\), \(A_i\) is a symbol and \(a_i\in \mathbb {N}\) is its arity. Given a countably infinite set \(\varDelta \), called domain, of constants, a fact over \(\mathcal {A}\) is a formula \(A_i(c_1,\dots ,c_{a_i})\), where \(c_J\in \varDelta \) for each \(J\in \{1,\dots ,a_i\}\). A DB over \(\mathcal {A}\) is a finite set of facts over \(\mathcal {A}\).
- 2.
Notice that agent names are considered constants in \(\varDelta \) and can appear in facts.
- 3.
Notice that reactions to changes in the information provided by the environment can still be modeled by sending on the self-loop channel a dedicated message.
- 4.
In case of ordered channels, the outgoing messages are sent in non-deterministic order. This way, only the order among the messages sent at different steps is relevant. While more sophisticated casting policies may be enforced, their relevance is limited, since ordered channels cause almost immediately undecidable verification [8].
- 5.
Fixed a countably infinite set \(\mathcal {V}\) of variables, such that \(\varDelta \cap \mathcal {V}=\emptyset \), a term is a constant or a variable. An atom over \(\mathcal {A}\) is a formula \(A(t_1,\dots ,t_{a})\) such that \(A/a\in \mathcal {A}\) and, for each \(i\in \{1,\dots ,a\}\), \(t_i\) is a term. A positive literal over \(\mathcal {A}\) is an atom \(\varphi \) over \(\mathcal {A}\). A negative literal over \(\mathcal {A}\) is a formula \(\textbf{not}~\varphi \), where \(\varphi \) is an atom over \(\mathcal {A}\).
References
Abiteboul, S., Bienvenu, M., Galland, A., Antoine, É.: A rule-based language for web data management. In: Lenzerini, M., Schwentick, T. (eds.) Proceedings of the 30th ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems, PODS 2011, June 12–16, 2011, Athens, Greece, pp. 293–304. ACM (2011)
Abiteboul, S., Hull, R., Vianu, V.: Foundations of Databases. Addison-Wesley, Boston (1995). http://webdam.inria.fr/Alice/
Aiswarya, C.: On network topologies and the decidability of reachability problem. In: Georgiou, C., Majumdar, R. (eds.) NETYS 2020. LNCS, vol. 12129, pp. 3–10. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-67087-0_1
Alvaro, P., Ameloot, T.J., Hellerstein, J.M., Marczak, W., Van den Bussche, J.: A declarative semantics for Dedalus. Technical report UCB/EECS-2011-120, EECS Department, University of California, Berkeley (2011). http://www.eecs.berkeley.edu/Pubs/TechRpts/2011/EECS-2011-120.html
Ameloot, T.J.: Declarative networking: recent theoretical work on coordination, correctness, and declarative semantics. SIGMOD Rec. 43(2), 5–16 (2014)
Belardinelli, F., Lomuscio, A., Patrizi, F.: Verification of agent-based artifact systems. J. Artif. Intell. Res. 51, 333–376 (2014)
Benedikt, M., Bourhis, P., Gottlob, G., Senellart, P.: Monadic datalog, tree validity, and limited access containment. ACM Trans. Comput. Log. 21(1), 6:1–6:45 (2020)
Brand, D., Zafiropulo, P.: On communicating finite-state machines. J. ACM 30(2), 323–342 (1983)
Calvanese, D., Di Cosmo, F., Lobo, J., Montali, M.: Convergence verification of declarative distributed systems (extended version). Submitted to an international journal
Calvanese, D., Di Cosmo, F., Lobo, J., Montali, M.: Convergence verification of declarative distributed systems. In: Monica, S., Bergenti, F. (eds.) Proceedings of the 36th Italian Conference on Computational Logic, Parma, Italy, 7–9 September 2021. CEUR Workshop Proceedings, vol. 3002, pp. 62–76. CEUR-WS.org (2021)
Chambart, P., Schnoebelen, P.: Mixing lossy and perfect Fifo channels. In: van Breugel, F., Chechik, M. (eds.) CONCUR 2008. LNCS, vol. 5201, pp. 340–355. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-85361-9_28
Chen, C., Jia, L., Xu, H., Luo, C., Zhou, W., Loo, B.T.: A program logic for verifying secure routing protocols. In: Ábrahám, E., Palamidessi, C. (eds.) FORTE 2014. LNCS, vol. 8461, pp. 117–132. Springer, Heidelberg (2014). https://doi.org/10.1007/978-3-662-43613-4_8
Chen, C., Loh, L.K., Jia, L., Zhou, W., Loo, B.T.: Automated verification of safety properties of declarative networking programs. In: Proceedings of the 17th International Symposium on Principles and Practice of Declarative Programming (PPDP), pp. 79–90 (2015)
Cosmadakis, S.S., Gaifman, H., Kanellakis, P.C., Vardi, M.Y.: Decidable optimization problems for database logic programs (preliminary report). In: Simon, J. (ed.) Proceedings of the 20th Annual ACM Symposium on Theory of Computing, 2–4 May 1988, Chicago, Illinois, USA, pp. 477–490. ACM (1988)
Deutsch, A., Sui, L., Vianu, V., Zhou, D.: Verification of communicating data-driven web services. In: Vansummeren, S. (ed.) Proceedings of the Twenty-Fifth ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems, 26–28 June 2006, Chicago, Illinois, USA, pp. 90–99. ACM (2006)
Di Cosmo, F.: Verification of Prev-Free communicating Datalog programs (extended version). Submitted to an international conference
Di Cosmo, F.: Verification of sometimes termination of lazy-bounded declarative distributed systems (extended version), submitted to ESSLLI 2021 Student Session Best Paper Proceedings
Di Cosmo, F.: Verification of sometimes termination of lazy-bounded declarative distributed systems. In: Pedersen, M.Y., Pavlova, A. (eds.) Proceedings of the ESSLLI Student Session 2021, 32nd European Summer School in Logic, Language and Information July 26 - August 13, pp. 13–23 (2021). https://tinyurl.com/2s3v2am2
Di Cosmo, F.: Verification of Prev-Free communicating Datalog programs. In: Dovier, A., Formisano, A. (eds.) Proceedings of the 38th Italian Conference on Computational Logic, Udine, Italy, 21–23 June 2023. CEUR Workshop Proceedings, vol. 3428. CEUR-WS.org (2023)
Gebser, M., Kaminski, R., Kaufmann, B., Schaub, T.: Multi-shot ASP solving with clingo. Theory Pract. Log. Program. 19(1), 27–82 (2019)
Law, M., Russo, A., Broda, K.: The ILASP system for learning answer set programs. https://www.ilasp.com/ (2015)
Lazic, R., Newcomb, T.C., Ouaknine, J., Roscoe, A.W., Worrell, J.: Nets with tokens which carry data. Fundam. Informaticae 88(3), 251–274 (2008)
Lazic, R., Schmitz, S.: The complexity of coverability in \(\nu \)-petri nets. In: Grohe, M., Koskinen, E., Shankar, N. (eds.) Proceedings of the 31st Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2016, New York, NY, USA, 5–8 July 2016, pp. 467–476. ACM (2016)
Loo, B.T., et al.: Declarative networking. Commun. ACM 52(11), 87–95 (2009)
Loo, B.T., Condie, T., Hellerstein, J.M., Maniatis, P., Roscoe, T., Stoica, I.: Implementing declarative overlays. Oper. Syst. Rev. 39(5), 75–90 (2005)
Ma, J., Le, F., Wood, D., Russo, A., Lobo, J.: A declarative approach to distributed computing: specification, execution and analysis. Theory Pract. Logic Program. 13, 815–830 (2013)
Minsky, M.L.: Computation: Finite and Infinite Machines. Prentice-Hall, Hoboken (1967)
Murata, T.: Petri nets: properties, analysis and applications. Proc. IEEE 77(4), 541–580 (1989)
Nigam, V., Jia, L., Loo, B.T., Scedrov, A.: Maintaining distributed logic programs incrementally. Comput. Lang. Syst. Struct. 38(2), 158–180 (2012)
Ren, Y., et al.: FSR: formal analysis and implementation toolkit for safe inter-domain routing. Comput. Commun. Rev. 41(4), 440–441 (2011)
Rosa-Velardo, F., de Frutos-Escrig, D.: Decidability and complexity of Petri nets with unordered data. Theor. Comput. Sci. 412(34), 4439–4451 (2011)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Di Cosmo, F. (2023). Decidability Borders of Verification of Communicating Datalog Agents. In: Malvone, V., Murano, A. (eds) Multi-Agent Systems. EUMAS 2023. Lecture Notes in Computer Science(), vol 14282. Springer, Cham. https://doi.org/10.1007/978-3-031-43264-4_39
Download citation
DOI: https://doi.org/10.1007/978-3-031-43264-4_39
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-43263-7
Online ISBN: 978-3-031-43264-4
eBook Packages: Computer ScienceComputer Science (R0)