 
 
 
 
 
 
 
  
In an extended simple eco-grammar system we distinguish a subset of the alphabet, and only words over this terminal alphabet are in the generated language.
The definition of the derivation mode  is the same as in 
Definition 3.1, the difference lies in the definition of the
generated language.
 is the same as in 
Definition 3.1, the difference lies in the definition of the
generated language. 
 
 
 . 
The generated language in the derivation mode
. 
The generated language in the derivation mode   is 
the following:
 is 
the following:
 
In this section 
we study extended simple eco-grammar systems with or without 
 -rules.
When we allow
-rules.
When we allow  -rules
in
-rules
in  and in the sets
 and in the sets  , we use the following notations:
the class of languages generated by  
extended simple eco-grammar systems is denoted by
, we use the following notations:
the class of languages generated by  
extended simple eco-grammar systems is denoted by 
 (in this notation the first
 
(in this notation the first  means ``extended'', 
the second one refers to ``eco'');
the class of languages generated by systems containing
 means ``extended'', 
the second one refers to ``eco'');
the class of languages generated by systems containing  
 agents and 
operating in the derivation mode
 agents and 
operating in the derivation mode  is denoted by
 is denoted by 
 .
We omit the notation
.
We omit the notation  
 if
 if  -rules are not allowed neither in
-rules are not allowed neither in 
 nor in the sets
 nor in the sets  :
: 
 and
 and  
 .
.
We present results about the hierarchy
of language classes generated by  agents in the derivation mode
 agents in the derivation mode  .
Most of the statements and proofs are true with or without
.
Most of the statements and proofs are true with or without 
 -rules, this fact is denoted by the superscript
-rules, this fact is denoted by the superscript  ;
sometimes a statement
is true only when
;
sometimes a statement
is true only when  -rules are allowed, in this case we will
emhasize this fact.
-rules are allowed, in this case we will
emhasize this fact.
First we examine the role of the first parameter: the number of agents.
PROOF.
 and for 
any extended simple EG system
 and for 
any extended simple EG system 
 there exists another extended simple EG system
 there exists another extended simple EG system 
 , such that their generated languages are equal, that is,
, such that their generated languages are equal, that is, 
 .
Moreover, if
.
Moreover, if  does not contain
 does not contain  -rules, then
-rules, then 
 is
is  -free, too.
-free, too.
 be the following:
 be the following:
 , where
, where 
 ,
,
 ,
,
 for
   for 
 ,
,
 for
   for 
 ,
,
 , and
, and
 .
.
 and
 and 
 is
is  -free if and only if
-free if and only if  does not contain
 does not contain 
 -rules.height 5pt width 5pt depth 0pt
-rules.height 5pt width 5pt depth 0pt 
 -rules.
-rules.
PROOF.
 -rules
-rules
 -free extended
simple EG system
-free extended
simple EG system 
 
 
 working in the derivation mode
 working in the derivation mode  we can construct another
 
we can construct another  -free 
extended simple EG system
-free 
extended simple EG system 
 working also in the derivation 
mode
 working also in the derivation 
mode  simulating
 simulating 
 .
.
Let 
 be the following system:
 be the following system:
 ,
      where
,
      where 
 ,
, 
 
 
      
 ,
      where
,
      where 
 ,
,
 
      
 ,
, 
 for
 
      for 
 , 
      where
, 
      where 
 for
 for 
 , 
      and
, 
      and
 ,
      where
,
      where 
 if
      if 
 ,
, 
 , and
, and 
      
 ,
,
 , and
, and
 .
.
 by two 
corresponding derivation steps of
 by two 
corresponding derivation steps of 
 .
In the first simulation step we use the rules corresponding to
the derivation step of
.
In the first simulation step we use the rules corresponding to
the derivation step of  , the second step checks if the simulation
is correct.
, the second step checks if the simulation
is correct.  
In 
 , the set
, the set  is included in the set of rules 
of each agent 
in the form of
 is included in the set of rules 
of each agent 
in the form of 
 .
When an agent uses a rule corresponding 
to
.
When an agent uses a rule corresponding 
to  ,  
a primed letter is introduced as well.
The only agent which is able to make these primed letters disappear is
,  
a primed letter is introduced as well.
The only agent which is able to make these primed letters disappear is 
 ; this construction guarantees (considering the 
rules of
; this construction guarantees (considering the 
rules of 
 ) that the derivation 
cannot terminate with a terminal word if the agents  
use more than one rule from
) that the derivation 
cannot terminate with a terminal word if the agents  
use more than one rule from 
 at
the same derivation step.
 at
the same derivation step.
If in a derivation step of  the agents
 the agents 
 work and
 
work and  for
 for 
 , then the simulation 
goes as follows.
, then the simulation 
goes as follows.
In the first simulation step in 
 the agents
 the agents 
 work using rules from
 work using rules from 
 , corresponding to the step of
, corresponding to the step of  .
Then the environment uses the same rules as in
.
Then the environment uses the same rules as in  (in the form 
of
 (in the form 
of 
 ).
).
In the second simulation step the agents  
 rewrite
 rewrite  letters and 
the environment rewrites the remaining letters by using the rules 
in the form of
 letters and 
the environment rewrites the remaining letters by using the rules 
in the form of 
 . (There are at least
. (There are at least  letters
in the sentential form because there are no
 letters
in the sentential form because there are no  -rules in
-rules in  .)
.)
If  was among the agents
 was among the agents 
 in a derivation step in
 
in a derivation step in  , then the two simulation steps of
, then the two simulation steps of 
 are the following.
 are the following.
In the first simulation step we choose one agent 
 in
 
in 
 , such that
, such that
 for any
 for any 
 .
This is possible because
.
This is possible because  .
This agent simulates the work of
.
This agent simulates the work of  by using
the corresponding rule of
 by using
the corresponding rule of 
 .
.
The agents 
 simulate the other 
rules of the agents and 
the environment rewrites the remaining letters in the same way as in
 simulate the other 
rules of the agents and 
the environment rewrites the remaining letters in the same way as in
 .
.
In the second simulation step 
 rewrites the primed letter, 
other
 rewrites the primed letter, 
other  agents rewrite
 agents rewrite  other letters and the 
environment rewrites 
the remaining letters into symbols of
 other letters and the 
environment rewrites 
the remaining letters into symbols of  .
.  
Since we can simulate every derivation step of  by a derivation
sequence of
 by a derivation
sequence of 
 , we obtain
, we obtain 
 .
.
On the other hand, for any 
derivation sequence of 
 resulting in a terminal word, there exists
a derivation in
 resulting in a terminal word, there exists
a derivation in  generating the same word, which gives the other  
inclusion
 
generating the same word, which gives the other  
inclusion 
 .
We will simulate two derivation steps of these sequences of
.
We will simulate two derivation steps of these sequences of 
 by one step of
by one step of  .
For each
.
For each 
 (which implies
 
(which implies  
 because
 because  -rules
are not allowed)
there exists a derivation sequence in
-rules
are not allowed)
there exists a derivation sequence in 
 in the form of
 in the form of
 
 , there are neither primed letters nor
letters
, there are neither primed letters nor
letters  in
 in  .
.
Considering the rules in 
 , it is easy to see
that there can be at most one primed letter in the 
previous word
, it is easy to see
that there can be at most one primed letter in the 
previous word  .
. 
The fact that there is no primed letter in  means that in the
 
means that in the  th step
th step  agents,
 agents, 
 , use
rules from the sets
, use
rules from the sets 
 with
 with  
 .
In this case we can simulate the last two derivation 
steps of
.
In this case we can simulate the last two derivation 
steps of 
 by one derivation step of
by one derivation step of 
 , using the corresponding rules of the 
agents
, using the corresponding rules of the 
agents 
 and the environment.
 and the environment.
The other possibility gives that  agents,
 agents,
 , use
rules from the sets
, use
rules from the sets 
 with
 with 
 and
one agent uses a rule of
 and
one agent uses a rule of 
 .
Then we can simulate the last two steps by one step in
.
Then we can simulate the last two steps by one step in  when  
the agents
 when  
the agents 
 and the environment 
use the corresponding rules.
 and the environment 
use the corresponding rules.
In both cases 
 , thus we
can continue the simulation by giving the role of
, thus we
can continue the simulation by giving the role of  to
 to  .
Since the axiom is over
.
Since the axiom is over  and
 and  is an even number
(see the rules of
 is an even number
(see the rules of 
 ), it can be proved by induction on the length
of the derivation that  we can simulate the whole derivation sequence.
), it can be proved by induction on the length
of the derivation that  we can simulate the whole derivation sequence.  
  
With  -rules
-rules
The main idea is the same as it was in the  -free case: 
we show that we can simulate any extended
simple EG system
-free case: 
we show that we can simulate any extended
simple EG system 
 working in the derivation mode
 working in the derivation mode  by another extended simple EG system
 
by another extended simple EG system 
 working also in the derivation mode
 working also in the derivation mode  .
.
Let 
 be the following system:
 be the following system:
 ,
      where
,
      where 
 ,
, 
 
 ,
,
 ,
, 
 for
  for 
 ,
,
 for
    for 
 and
 and
      
 ,
, 
 , and
, and
 .
.
 can be proved 
similarly to the
 can be proved 
similarly to the  -free case:
-free case: 
 plays the role of the primed letters, it
controls the usage of the rules of
 plays the role of the primed letters, it
controls the usage of the rules of 
 ;
;
 letters guarantee that
 letters guarantee that  agents could work in the second 
simulation step even if in the first simulation step
 agents could work in the second 
simulation step even if in the first simulation step  -rules
were applied.height 5pt width 5pt depth 0pt
-rules
were applied.height 5pt width 5pt depth 0pt 
Now we turn our attention to the second parameter: the number of agents working in a derivation step. Considering Corollary 3.7, it is enough to examine the relations of language classes
 .
.
For the  -free case, it was proved in [Dassow and MihalacheDassow and
  Mihalache1995] that
-free case, it was proved in [Dassow and MihalacheDassow and
  Mihalache1995] that 
 is included in
 is included in 
 .
In the following lemma  we present the same result for extended simple 
EG systems 
with
.
In the following lemma  we present the same result for extended simple 
EG systems 
with  -rules as well.
We give a simulation which is based on the construction
used in [Dassow and MihalacheDassow and
  Mihalache1995],  
hence in the first part of our proof 
we briefly summarise their construction and their explanation 
for the
-rules as well.
We give a simulation which is based on the construction
used in [Dassow and MihalacheDassow and
  Mihalache1995],  
hence in the first part of our proof 
we briefly summarise their construction and their explanation 
for the  -free case.
Then in the second part of the proof we give the modifications 
which are necessary to obtain the same result when
-free case.
Then in the second part of the proof we give the modifications 
which are necessary to obtain the same result when  -rules are 
allowed.
-rules are 
allowed.   
PROOF.
 -free case (from [Dassow and MihalacheDassow and
  Mihalache1995]):
-free case (from [Dassow and MihalacheDassow and
  Mihalache1995]):
 we give another
extended simple EG system
 we give another
extended simple EG system 
 , such that
, such that 
 .
.
Let 
 be the following:
 be the following:
 ,
      where
,
      where 
 ,
, 
 
 ,
,
 ,
, 
 for
 
          for 
 ,
,
 , and
, and
 .
.
Let
 
 , where the rules used by the agents 
are
, where the rules used by the agents 
are 
 for
 for 
 and the derivations
 
and the derivations 
 for
 for 
 are 
performed by the environment.
We can simulate this step  by two steps of
 are 
performed by the environment.
We can simulate this step  by two steps of 
 in the
following way. (We suppose that
 in the
following way. (We suppose that  used the rule
 used the rule 
 .)
.)
 
 
It follows from the construction that the environment cannot 
introduce two barred letters, because in this case the derivation would never
result in a terminal word because of the symbol  .
Therefore, only the sequences consisting of pairs of steps
of this type can derive terminal words in
.
Therefore, only the sequences consisting of pairs of steps
of this type can derive terminal words in 
 , 
but these derivations
can be performed in
, 
but these derivations
can be performed in  as well.
 as well.
In the case when  -rules are allowed we have to modify the above 
construction in the following way.
-rules are allowed we have to modify the above 
construction in the following way.
 ,
      where
,
      where 
 ,
, 
 
 
 ,
,
 ,
, 
 for
  for 
 ,
,
 , and
, and
 .
.
 guarantee that the agents can apply a rule 
in
 guarantee that the agents can apply a rule 
in 
 in the second simulation step, even if in the first step
in the second simulation step, even if in the first step 
 -rules were used.
Besides this modification, 
the construction is the same as in the
-rules were used.
Besides this modification, 
the construction is the same as in the  -free case.
Thus, we have
-free case.
Thus, we have 
 by the same reason 
as in the
by the same reason 
as in the  -free case.height 5pt width 5pt depth 0pt
-free case.height 5pt width 5pt depth 0pt 
 are included in
are included in 
 or the inclusion in
Lemma 3.8 is strict. 
The answer depends on
 or the inclusion in
Lemma 3.8 is strict. 
The answer depends on  -rules. When
-rules. When  -rules 
are allowed, the two language classes are equal.
-rules 
are allowed, the two language classes are equal.
PROOF.
 we give another
extended simple EG system
 we give another
extended simple EG system 
 containing
 containing  -rules,
such that
-rules,
such that 
 .
.
 be the following:
 be the following:
 , where
, where 
 ,
,
 ,
,
 for
  for 
 ,
, 
 ,
,
 , and
, and
 .
.
 there is a derivation in
 there is a derivation in  in the form of
 
in the form of
 
 th step (
th step (
 ) the agents
) the agents  use
the rules
 use
the rules  .
Let us consider the following derivation in
.
Let us consider the following derivation in 
 
 
 th step (
th step (
 ) 
the agents
) 
the agents 
 (
 (
 ) apply the rules
) apply the rules  corresponding to the above derivation and the agent
 
corresponding to the above derivation and the agent 
 uses
the rule
 uses
the rule 
 ; in the last step the agents
; in the last step the agents 
 use 
the corresponding rules
 use 
the corresponding rules
 (for
 (for 
 ) 
and
) 
and 
 uses the rule
 uses the rule 
 .
In this way we can simulate
.
In this way we can simulate  by
 by 
 .
.
Now we show that 
 .
For any
.
For any 
 there is a derivation in
 there is a derivation in 
 in the form
in the form  
 
 agents work.
Since
 agents work.
Since  is over
 is over 
 , there are no letters
, there are no letters  in it.
But in the last step
 in it.
But in the last step  agents must work and the last agent 
can use only the rules
 agents must work and the last agent 
can use only the rules 
 or
 or 
 .
Moreover, considering that
.
Moreover, considering that 
 contains one
 contains one  and that there is no rule producing new letters
 
and that there is no rule producing new letters  , 
we get that all words in the above derivation, except
, 
we get that all words in the above derivation, except  ,
contain exactly one letter
,
contain exactly one letter  .
We also get that in the first
.
We also get that in the first  step the
 step the  th agent has to
use the rule
th agent has to
use the rule 
 and it has to use the rule
 and it has to use the rule 
 in the 
last step.
But in this case we can simulate this derivation of
 in the 
last step.
But in this case we can simulate this derivation of 
 by the following 
derivation in
by the following 
derivation in  :
:
 
 is a homomorphism over
 is a homomorphism over 
 defined as follows:
 defined as follows:
 
 use the rules corresponding to the 
derivation of
use the rules corresponding to the 
derivation of 
 .height 5pt width 5pt depth 0pt
.height 5pt width 5pt depth 0pt 
 -free case the inclusion is proper between 
the language classes
-free case the inclusion is proper between 
the language classes 
 and
 and 
 .
. 
PROOF.
 be the finite language
 be the finite language 
 .
It is clear that it can be generated by an extended simple EG system 
working in the derivation mode
.
It is clear that it can be generated by an extended simple EG system 
working in the derivation mode  . Moreover, 
it cannot be generated by using the derivation mode
. Moreover, 
it cannot be generated by using the derivation mode  if
 if  because in this case either the letters in the axiom are not enough to
perform an action of
because in this case either the letters in the axiom are not enough to
perform an action of  agents or we should use
 agents or we should use  -rules 
which is not allowed.height 5pt width 5pt depth 0pt
-rules 
which is not allowed.height 5pt width 5pt depth 0pt 
 -rules are allowed, 
neither the number of the agents being in the system 
nor the number of the agents working in a derivation step have any influence 
on the generated languages.
-rules are allowed, 
neither the number of the agents being in the system 
nor the number of the agents working in a derivation step have any influence 
on the generated languages. 
 
   
 .
. -free case we use the notation
-free case we use the notation 
 for the class of  
languages which can be generated
by extended simple EG systems working in the derivation mode
 for the class of  
languages which can be generated
by extended simple EG systems working in the derivation mode  , 
without
, 
without  -rules.
From Corollary 3.7 we have
-rules.
From Corollary 3.7 we have  
 for
for 
 .
. 
Using this fact together with Lemma 3.8 and Lemma 3.10, 
we can present the result of the 
 -free case in the following theorem.
-free case in the following theorem.
 for
for  .
.
We summarise the results of this section in the form of a diagram, where
a straight arrow indicates a proper inclusion;
the class the arrow leaves is included in the class the arrow points at.
The inclusion 
 can be proved 
by any language of
 can be proved 
by any language of 
 containing the empty word,
 containing the empty word, 
 .
.
We use the notation  for
 for  , where
, where  denotes an 
arbitrary positive integer, such that
 denotes an 
arbitrary positive integer, such that  .
.
 
 
 
 
 
 
