Skip to main content

Logic Fragments: Coordinating Entities with Logic Programs

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9952))

Abstract

Rigorous engineering of self-organising and self-adaptive systems is a challenging activity. Interactions with humans and unexpected entities, dependence on contextual information for self-organisation and adaptation represent just some of the factors complicating the coordination process among multiple entities of the system. Recently we proposed a coordination model based on logic inference named Logic Fragments Coordination Model. Logic Fragments are combinations of logic programs defining interactions among agents distributed over the nodes of the system. They are able to accommodate various types of logics, ranging from classical up to many-valued paraconsistent ones. The logical formalisation makes it possible to express coordination in a rigorous and predicle way, both at design-time and run-time. In this paper we define, under the form of an evaluation algorithm, the semantics of Logic Fragments; introducing logical predicates used to manage and reason on local and remote information. By associating specific semantics to the symbols inferred during the evaluation of logic programs it is possible to make logical inference effects unambiguous on the system; such an approach turns Logic Fragments into a coordination-oriented logic-based programming model. We conclude the paper discussing three examples showing the use of Logic Fragments to implement on-the-fly ad-hoc coordination mechanisms, as well as design-time and run-time verification of spatial properties.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Ashley-Rollman Meld, M.P., et al.: A declarative approach to programming ensembles. In: Proceedings of the IEEE International Conference on Intelligent Robots and Systems (IROS 2007), October 2007

    Google Scholar 

  2. Beal, J., Dulman, S., Usbeck, K., Viroli, M., Correll, N.: Organizing the aggregate,: Languages for spatial computing. CoRR, abs/1202.5509 (2012)

    Google Scholar 

  3. Belnap, N.D.: A useful four-valued logic. In: Epstein, G., Dunn, J.M. (eds.) Modern Uses of Multiple-Valued Logic, pp. 7–37. Reidel Publishing Company, Boston (1977)

    Google Scholar 

  4. Ciancia, V., Latella, D., Loreti, M., Massink, M.: Specifying and verifying properties of space. In: Diaz, J., Lanese, I., Sangiorgi, D. (eds.) TCS 2014. LNCS, vol. 8705, pp. 222–235. Springer, Heidelberg (2014). doi:10.1007/978-3-662-44602-7_18

    Google Scholar 

  5. Angelis, F.L., Marzo Serugendo, G.: Logic fragments: a coordination model based on logic inference. In: Holvoet, T., Viroli, M. (eds.) COORDINATION 2015. LNCS, vol. 9037, pp. 35–48. Springer, Heidelberg (2015). doi:10.1007/978-3-319-19282-6_3

    Google Scholar 

  6. De Angelis, F.L., Di Marzo Serugendo, G.: A logic language for run time assessment of spatial properties in self-organizing systems. In: 2015 IEEE International Conference on Self-Adaptive and Self-Organizing Systems Workshops, pp. 86–91 (2015)

    Google Scholar 

  7. De Angelis, F.L., Di Marzo Serugendo, G., Szałas, A.: Graded rule-based reasoning. Int. J. Approx. Reason. (2016). Submitted

    Google Scholar 

  8. De Roever, W.-P., et al.: Concurrency Verification: Introduction to Compositional and Non-compositional Methods. Cambridge University Press, Cambridge (2012)

    Google Scholar 

  9. Doets, K.: From Logic to Logic Programming. Foundations of Computing. MIT Press, Cambridge (1994)

    MATH  Google Scholar 

  10. Hogger, C.J.: Introduction to Logic Programming. A.P.I.C. Studies in Data Processing. Academic Press, Cambridge (1984)

    Google Scholar 

  11. Kowalski, R.: Algorithm = logic + control. Commun. ACM 22(7), 424–436 (1979)

    Article  MATH  Google Scholar 

  12. Kowalski, R.: The relation between logic programming and logic specification. In Proceedings of a Discussion Meeting of the Royal Society of London on Mathematical Logic and Programming Languages, pp. 11–27 (1985)

    Google Scholar 

  13. Loo, B.T., et al.: Declarative networking Language, execution and optimization. In: Proceedings of the 2006 ACM SIGMOD International Conference on Management of Data, pp. 97–108 (2006)

    Google Scholar 

  14. Małuszyński, J., Szałas, A.: Logical foundations and complexity of 4QL, a query language with unrestricted negation. J. Appl. Non-Class. Log. 21(2), 211–232 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  15. Nenzi, L., Bortolussi, L.: Specifying and monitoring properties of stochastic spatio-temporal systems in signal temporal logic. In: ICST 2 (2015)

    Google Scholar 

  16. Pedreschi, D., Ruggieri, S.: Verification of logic programs. J. Log. Program. 39(1–3), 125–176 (1999)

    Article  MathSciNet  MATH  Google Scholar 

  17. Zambonelli, F., et al.: Developing pervasive multi-agent systems with nature-inspired coordination. Pervasive, Mob. Comput. 17, 236–252 (2015). Special Issue “10 years of Pervasive Computing" In Honor of Chatschik Bisdikian

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Francesco Luca De Angelis .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing AG

About this paper

Cite this paper

De Angelis, F.L., Di Marzo Serugendo, G. (2016). Logic Fragments: Coordinating Entities with Logic Programs. In: Margaria, T., Steffen, B. (eds) Leveraging Applications of Formal Methods, Verification and Validation: Foundational Techniques. ISoLA 2016. Lecture Notes in Computer Science(), vol 9952. Springer, Cham. https://doi.org/10.1007/978-3-319-47166-2_41

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-47166-2_41

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-47165-5

  • Online ISBN: 978-3-319-47166-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics