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.
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 language | English |
---|---|
Title of host publication | Trustworthy Global Computing : 9th International Symposium, TGC 2014, Rome, Italy, September 5-6, 2014. Revised Selected Papers |
Editors | Matteo Maffei, Emilio Tuosto |
Volume | 8902 |
Publisher | Springer Publishing Company |
Publication date | 2014 |
Pages | 17-33 |
ISBN (Print) | 978-3-662-45916-4 |
ISBN (Electronic) | 978-3-662-45917-1 |
DOIs | |
Publication status | Published - 2014 |
Event | Trustworthy Global Computing: 9th International Symposium on Trustworthy Global Computing - Rome, Italy Duration: 5 Sept 2014 → 6 Sept 2014 Conference number: 9th |
Conference
Conference | Trustworthy Global Computing |
---|---|
Number | 9th |
Country/Territory | Italy |
City | Rome |
Period | 05/09/2014 → 06/09/2014 |
Series | Lecture Notes in Computer Science |
---|---|
ISSN | 0302-9743 |