next up previous
Next: Basic properties Up: Additive Interaction Nets as Previous: Introduction

Basic Concepts


  

Figure: An agent and a rewrite rule



  

Figure: One-step reduction


We need some preliminary concepts.

Definition 1

An additive interaction program is a triple <A, S, R> , where

1.
A is a finite set of names of agents.
2.
The alphabet S (a subset of F) is a finite set of function symbols. We define the set Ter(S) of the first order terms over inductively:
(a)
If X is in X , then X is in Ter(S) ;
(b)
If X- is in X-, then X- is in Ter(S) ;
(c)
If f is in S, f is n -ary, and t1,...,tn are in Ter(S) , then f (t1,...,tn) is in Ter(S) .
3.
R is a finite set of rewrite rules. Each rewrite rule has the form in Figure [*]. In Figure [*], and are agents. N is a net. We call the left side of the arrow redex and the right side contractum. All the names of the agents in R must belong to A and all the terms of the agents in R must belong to Ter(S) .

We say that two agents A(s1,...,sh) and B(t1,...,tk) in a net without guarded unification variables are reducible if the two agents are connected by their principal ports in the net.
Let r be a rewrite rule. Reducible two agents A(s1,...,sh) and B(t1,...,tk) in a net are unifiable with r if the two agents in the redex of r have the form A(u1,...,uh) and B(v1,...,vk) and the equation E = {s1 =. u1,...,sh =. uh,t1 =. v1,...,tk =. vk} has the most general unifier .
When reducible agents A(s1,...,sh) and B(t1,...,tk) in a net N are unifiable with the rewrite rule of the left side of Figure [*] by q , the rewrite rule can apply to the net N . The right side of Figure [*] shows an application of the rule. In Figure [*], q- N is the net that is obtained from N by replacing every term w in N by q- w , where q- is defined by q- = [s1/X-1,...,sl/X-l,s1/X1,..., sl/Xl] when q = [s1/X1,...,sl/Xl] . In the rest of the paper, we simply call the situation a one-step reduction of two agents A(s1,...,sh) and B(t1,...,tk) in N .
From the definition of the one-step reduction, we can define a reduction relation on nets and normal forms of nets as usual.


next up previous
Next: Basic properties Up: Additive Interaction Nets as Previous: Introduction
Satoshi Matsuoka
11/14/1999