Finding a Forest in a Tree: the matching problem for wide reactive systems

Giorgio Bacci, Marino Miculan, Romeo Rizzi

Research output: Contribution to book/anthology/report/conference proceedingArticle in proceedingResearchpeer-review

4 Citations (Scopus)

Abstract

Wide reactive systems are rewriting systems specified by wide reaction rules, where redex and reactum are lists of terms (forests), i.e. rules of the form ⟨l1(x1),…,ln(xn)⟩⇒⟨r1(y1),…,rn(yn)⟩ such that ∪iyi⊆∪ixi. Wide reaction rules are particularly useful for process calculi for mobile and global computations, because they allow one to connect processes which can be at different places in the system, possibly crossing boundaries and firewalls. For instances, remote procedure calls can be modeled as a process in place i activating a reaction in a different place j; code mobility can be modeled by instantiating variables in yi with terms using variables from xj, for a different j; etc.
In order to apply a wide reaction rule, we have to find a matching of the rule redex within the global state. This problem can be restated as follows: how to match a given forest (the redex) inside an unordered tree (the system), possibly finding the subtrees to be grafted at the forest’s leaves (i.e., instantiating the variables)? We show that, although the problem is NP-complete in general, the exponential explosion depends only on the number n of roots of the forest (the width of the redex), and not on the size of the global tree (the system state). In most practical cases, the width is constant and small (i.e., ≤3), hence our results show that the wide reaction systems can be actually used for process calculi.
Original languageEnglish
Title of host publicationTrustworthy Global Computing : 9th International Symposium, TGC 2014, Rome, Italy, September 5-6, 2014. Revised Selected Papers
EditorsMatteo Maffei, Emilio Tuosto
Volume8902
PublisherSpringer Publishing Company
Publication date2014
Pages17-33
ISBN (Print)978-3-662-45916-4
ISBN (Electronic)978-3-662-45917-1
DOIs
Publication statusPublished - 2014
EventTrustworthy Global Computing: 9th International Symposium on Trustworthy Global Computing - Rome, Italy
Duration: 5 Sept 20146 Sept 2014
Conference number: 9th

Conference

ConferenceTrustworthy Global Computing
Number9th
Country/TerritoryItaly
CityRome
Period05/09/201406/09/2014
SeriesLecture Notes in Computer Science
ISSN0302-9743

Fingerprint

Dive into the research topics of 'Finding a Forest in a Tree: the matching problem for wide reactive systems'. Together they form a unique fingerprint.

Cite this