• 検索結果がありません。

Automata inspired by biochemical reaction (New Trends in Algorithms and Theory of Computation)

N/A
N/A
Protected

Academic year: 2021

シェア "Automata inspired by biochemical reaction (New Trends in Algorithms and Theory of Computation)"

Copied!
4
0
0

読み込み中.... (全文を見る)

全文

(1)

Automata

inspired

by

biochemical

reaction

*

早稲田大学大学院教育学研究科

大久保 文哉

(Fumiya Okubo)

GraduateSchool of Education, WasedaUniversity

電気通信大学大学院電気通信学研究科

小林 聡

(Satoshi Kobayashi)

Graduate SchoolofInformaticsand Engineering, UniversityofElectro-Communications

早稲田大学教育総合科学学術院

横森 貴

(Takashi Yokomori)

Department of Mathematics, Facultyof Education andIntegratedArts and Sciences,

WasedaUniversity

1

Introduction

Motivated by two notions of

a

reaction system

([3, 4, 5]) and a multiset ([1]), in this paper we

will introduce computing devices called reaction

automataand show that they

are

computationally

universal by proving that anyrecursively

enumer-able language isaccepted bya reactionautomaton.

There

are

twopointsto be remarked: Ononehand,

the notion of reaction automatamay be taken

as

a kind of an extension of reaction systems in the

sense

that

our

reaction automata deal with

mul-tisets rather than (usual) sets

as

reaction systems

do, in the sequenceofcomputationalprocess. On

the other hand, however, reactionautomata

are

in-troduced

as

computing devices thatacceptthesets

ofstringobjects (i.e., languagesoveranalphabet).

This unique feature, i.e.,

a

string accepting device

based

on

multiset computing in thebiochemical

re-action model

can

berealizedby introducing

a

sim-pleidea of feeding

an

inputto the device from the :

environment. :

$1$

*Theworkof F. Okubowasinpartsupported byWaseda $J$ University Grant forSpecialResearchProjects: $2011A-842$. $J$

The work ofS. Kobayashiwasinpartsupported by Grants-in-AidforScientific Research(C) No.22500010, Japan Soci- $\rceil$

ety for thePromotionofScience. Thework of T.Yokomori $i$

wasin partsupportedbyWaseda University Grant for Spe-cialResearchProjects: $2011B-056$. 1

Thispaperis organized

as

follows. After

prepar-ing the basic notions and notations in Section 2,

weintroduce themain notion of reactionautomata

together with

one

languageexample in Section 3.

Moreover

we

present

our

main results: reaction

automata

are

computationally universal. We also

consider

some

subclasses of reactionautomatafrom

a viewpoint ofthe complexity theory in Section 4,

and investigate the language classes accepted by

those subclassesin comparisonto the Chomsky

hi-erarchy. Finally, concluding remarks

as

well

as

fu-tureresearch topics

are

discussed inSection 5.

2

Preliminaries

We

assume

that the reader is familiar with the

basicnotions of formal languagetheory. For

unex-plained details,refer to [8].

We

use

the basic notations regarding multisets

that follow [2, 9]. A multiset

over an

alphabet $V$

is a mapping $\mu$ : $Varrow N$, where $N$ is the set of

non-negative integers and for each $a\in V,$ $\mu(a)$

epresents the number of

occurrences

of $a$ in the

multiset $\mu$. The set of all multisets

over

$V$ is

de-noted by$V\#$, including the empty multiset denoted

by $\mu_{\lambda}$, where $\mu_{\lambda}(a)=0$for all $a\in V$

.

We often

identify

a

multiset $\mu$with its string representation

$w_{\mu}=a_{1}^{\mu(a_{1})}\cdots a_{n}^{\mu(a_{\mathfrak{n}})}$ or any permutation of

$w_{\mu}$

.

数理解析研究所講究録

(2)

A usual set $U\subseteq V$ is regarded

as a

multiset $\mu_{U}$

such that $\mu_{U}(a)=1$ if$a$ is in $U$ and $\mu_{U}(a)=0$

otherwise. In particular, for each symbol$a\in V$, a

multiset $\mu\{a\}$ isoften denoted by$a$ itself.

For two multisets $\mu_{1},$ $\mu_{2}$

over

$V$,

we

define

one

relationand three operations

as

follows:

Inclusion : $\mu_{1}\subseteq\mu_{2}$ iff $\mu_{1}(a)\leq\mu_{2}(a)$,

Sum: $(\mu_{1}+\mu_{2})(a)=\mu_{1}(a)+\mu_{2}(a)$,

Intersection: $( \mu_{1}\cap\mu_{2})(a)=\min\{\mu_{1}(a)_{:}\mu_{2}(a)\}$,

Difference

: $(\mu_{1}-\mu_{2})(a)=\mu_{1}(a)-\mu_{2}(a)$,

(forthe

case

$\mu_{2}\subseteq\mu_{1}$ only),

foreach $a\in V$

.

The

sum

for

a

family of multisets

$\mathcal{M}=\{\mu_{i}\}_{*\in I}$ isdenotedby$\sum_{:\in I}\mu;$

.

For

a

multiset

$\mu$ and$n\in N,$ $\mu^{n}$ is defined by$\mu^{n}(a)=n\cdot\mu(a)$ for

each $a\in V$

.

The weight of

a

multiset $\mu$ is $|\mu|=$

$\sum_{a\in V}\mu(a)$

.

3

Reaction Automata

By recallin$g$from [3] basicnotionsrelated to

re-actions systems, we first extend them (definedon

the sets) to the notions

on

the multisets. Then,

we

shall introduce

our

notion of reaction automata

which plays

a

central role in this paper.

Definition 1. For

a

set $S$,

a

reaction in$S$is

a

3-tuple$a=(R_{a},I_{a},P_{a})$ offinite multisets, suchthat

$R_{a},P_{a}\in S^{*},$ $I_{a}\subseteq S$and $R_{a}\cap I_{a}=\emptyset$

.

The multisets$R_{a}$ and$P_{a}$

are

called the reactant

ofaand the productof$a$, respectively, while theset

$I_{a}$iscalled the inhibitor of$a$

.

These notations

are

extended to

a

multiset ofreactions

as

follows: For

a

setofreactions$A$ and

a

multiset $\alpha$

over

$A$,

$R_{\alpha}= \sum_{a\in A}R_{a}^{\alpha(a)},$ $I_{\alpha}= \bigcup_{a\subseteq\alpha}I_{a},$ $P_{\alpha}= \sum_{a\in A}P_{a}^{\alpha(a)}$

.

Definition 2. Let$A$bea setofreactionsin$S$and

$\alpha\in A\#$ be

a

multiset of reactions

over

$A$

.

Then,

fora finitemultiset$T\in s\#$,

we

say that

(1) $\alpha$is enabled by$T$if$R_{\alpha}\subseteq T$and$I_{\alpha}\cap T=\emptyset$,

(2) $\alpha$ is enabled by$T$ inmaximallyparalld

manner

ifthereis

no

$\beta\in A^{*}$ such that $\alpha\subset\beta$, and$\alpha$ and

$\beta$

are

enabledby$T$

.

(3) By $En_{A}^{p}(T)$

we

denote the set of all multisets

of reactions $\alpha\in A\#$ which

are

enabled by $T$ in

maximallyparallel

manner.

(4)Theresults

of

$A$ on$T$, denotedby${\rm Res}_{A}(T)$, is

defined aefollows:

${\rm Res}_{A}(T)=\{T-R_{o}+P_{\alpha}|\alpha\in En_{A}^{p}(T)\}$

.

Note that

we

have ${\rm Res}_{A}(T)=\{T\}$if$En_{A}^{p}(T)=\emptyset$

.

Definition 3. (Reaction Automata) A

reac-tion automaton (RA) $\mathcal{A}$ is

a

5-tuple $\mathcal{A}$ $=$ $(S, \Sigma, A, D_{0}, f)$,where

.

$S$ is afinite set, called the background set

of

$\mathcal{A}$,

.

$\Sigma(\subseteq S)$is calledthe input alphabet

of

$\mathcal{A}$,

.

$A$isafinitesetof reactions in $S$,

.

$D_{0}\in s\#$ is

an

initialmultiset,

.

$f\in S$ is

a

special symbolwhich indicatesthe

final state.

Definition 4. Let $A=(S, \Sigma, A,D_{0}, f)$ be

an

RA

and $w=a_{1}\cdots a_{n}\in\Sigma$“. An interactive

pro-cess in $\mathcal{A}$ with input $w$ is an infinite sequence $\pi=D_{0},$$\ldots,$$D_{i},$$\ldots$,where

$\{\begin{array}{ll}D_{1+1}\in{\rm Res}_{A}(a_{i+1}+D_{i}) (for 0\leq i\leq n-1),D_{l+1}\in{\rm Res}_{A}(D_{i}) (for an i\geq n).\end{array}$

By $IP(\mathcal{A}, w)$

we

denote the set of all interactive

processesin $A$with input$w$

.

In order to represent

an interactive

process $\pi$,

we

also

use

the ”arrow notation” for $\pi$ : $D_{0}arrow a_{1}$

$D_{1}arrow a_{2}\ldotsarrow^{a_{n}}D_{n}arrow D_{n+1}arrow\cdots$

.

For

an

interactive process$\pi$in $A$with input$w$,

if$En_{A}^{p}(D_{m})=\emptyset$ for

some

$m\geq|w|$, then

we

have

that ${\rm Res}_{A}(D_{m})=\{D_{m}\}$ and $D_{m}=D_{m+1}=\cdots$

.

In thiscase,consideringthesmallest$m$,

we

saythat

$\pi$ converges

on

$D_{m}$ (at the mthstep). When

an

interactive process $\pi$converges

on

$D_{m}$, each $D_{:}$ of

$\pi$isomitted for$i\geq m+1$

.

(3)

Definition 5. Let$A=(S, \Sigma, A, D_{0}, f)$ bean RA.

The language accepted by$\mathcal{A}$, denoted by $L(\mathcal{A})$, is

defined asfollows:

$L(\mathcal{A})=\{w\in\Sigma^{*}|\pi\in IP(A, w)$ thatconvergeson

$D_{m}$ at the m-th step, for

some

$m\geq|w|$, and$f\subseteq D_{m}$

}.

Let $\mathcal{A}$be an RAand$f$ beafunctiondefined on

N. Motivated by the notion of

a

workspace for

a phrase-structure grammar ([8]), we define: for

$w\in L(\mathcal{A})$ with$n=|w|$, and for$\pi$ in$IP(\mathcal{A}, w)$,

$WS(w, \pi)=\max_{i}$

{

$|D_{i}||D_{i}$ appearsin $\pi$

}.

Further, the workspace

of

$\mathcal{A}$

for

$w$ isdefined as:

Example1. Let

us

considerareactionautomaton

$\mathcal{A}=(S, \Sigma, A, D_{0}, f)$ defined asfollows:

$S=\{a,b, c, d, e, f\}$ with$\Sigma=\{a\}$, $A=\{a_{1}, a_{2}, a_{3}, a_{4}, a_{5}, a_{6}\}$, where

$a_{1}=(a^{2}, \emptyset, b),$ $a_{2}=(b^{2}, ac,c),$ $a_{3}=(c^{2}, b, b)$,

$a_{4}=(bd,$$ac,$ $e),$ $a_{5}=(cd,$$b,$$e)$, 6 $=(e,$$abc,$$f)$,

$D_{0}=d$

.

Let $w=$

aaaaaaaa

$\in S^{*}$ be the input string and

consider

an

interactive process$\pi$ such that

$\pi$: $darrow^{a}adarrow^{a}bdarrow^{a}abdarrow^{a}b^{2}darrow^{a}ab^{2}d$

$arrow^{a}b^{3}darrow^{a}ab^{3}darrow^{a}b^{4}darrow c^{2}darrow bdarrow earrow f$.

It can be easily

seen

that $\pi\in IP(\mathcal{A}, w)$ and $w\in$

$L(\mathcal{A})$

.

For instance,since $a_{2}^{2}\in En_{A}^{p}(b^{4}d)$, it holds

$|$

that $c^{2}d\in{\rm Res}_{A}(b^{4}d)$

.

Hence, the step $b^{4}darrow c^{2}d$

isvalid. We

can

also

see

that$L(\mathcal{A})=\{a^{2}" |n\geq 1\}$

whichis context-sensitive (seeFigure $1-(i)$).

$\}$

We shall show the equivalence of the accepting a

powers between reaction machines and Turingma- a

chines. For the details of proof,we refer [6]. $($

$\langle$

Theorem 1. Every recursively enumerable

lan-$r$

guage is acceptedby areaction automaton.

$($

1

4

Space Complexity

Classes

$r$

We

now

consider space complexity issues of

re-$($

action automata. That is, we introduce

some

$($

subclasses of reaction automata and investigate

$’)$

the relationships between classes of languages

ac-$($

cepted by those subclasses of automata and

lan-guage classes in the Chomsky hierarchy.

$WS(w,A)= \min_{\pi}\{WS(w, \pi)|\pi\in IP(A, w)$,

where$\pi$

converges.}.

Definition 6. (i). An

RA

$\mathcal{A}$is$f(n)$-boundediffor

any$w\in L(\mathcal{A})$ with$n=|w|,$ $WS(w,A)$ is bounded

by$f(n)$.

(ii). If a function $f(n)$ is

a

constant $k$

(lin-ear, polynomial, exponential), then $\mathcal{A}$ is

termed

k-bounded (resp. linearly-bounded,

polynomially-bounded,exponentially-bounded), and denotedby

k-RA (resp. lin-RA, poly-RA, exp-RA). Further,

the class of languages acceptedby k-RA (lin-RA,

poly-RA, exp-RA, arbitrary RA) is denotedby

k-$\mathcal{R}A$ $($resp. $\mathcal{L}\mathcal{R}\mathcal{A},\mathcal{P}\mathcal{R}\mathcal{A},\mathcal{E}\mathcal{R}A,\mathcal{R}\mathcal{A})$

.

Let

us

denote by $\mathcal{R}\mathcal{E}\mathcal{G}(\mathcal{L}\mathcal{I}\mathcal{N},C\mathcal{F},CS,\mathcal{R}\mathcal{E})$ the

classofregular (resp. linear, context-hee,

context-sens ’

$ve,$ recursvely enumerable)languages.

We show two characterizations concerning$\mathcal{L}\mathcal{R}\mathcal{A}$

and $\mathcal{E}\mathcal{R}\mathcal{A}$ in relation to the Chomsky hierarch.,

ndtwo interesting results. Oneis concerned with

representationtheorem forthe class$\mathcal{R}\mathcal{E}$ interms

of$\mathcal{L}\mathcal{R}\mathcal{A}$, and the other isa newcharacterization of $CS$with $\mathcal{E}\mathcal{R}\mathcal{A}$(for the proofs,

see

[7]).

Theorem 2. For any recursively enumerable

lan-guage $L$, there exists

an

$LRA$ $A$ such that $L=$

$h(L(\mathcal{A}))$

for

some

projection$h$

.

Theorem 3. The followinginclusions hold:

(1). $CS=\mathcal{E}\mathcal{R}\mathcal{A}$

.

(2). $\mathcal{R}\mathcal{E}\mathcal{G}=k-\mathcal{R}\mathcal{A}\subset \mathcal{L}\mathcal{R}\mathcal{A}\subseteq\prime P\mathcal{R}\mathcal{A}\subset \mathcal{E}\mathcal{R}\mathcal{A}\subset$

$\mathcal{R}\mathcal{A}=\mathfrak{X}$ (foreach$k\geq 1$).

(3). $\mathcal{L}\mathcal{I}\mathcal{N}(C\mathcal{F})$ and$\mathcal{L}\mathcal{R}\mathcal{A}$ are incomparable.

(4)

図 1: (i) Interactive processes for accepting $a^{2},$ $a^{4}$ and $a^{8}$ in $\mathcal{A}$

.

(ii) Language class relations in the

Chomsky hierarchy: $L_{1}=\{a^{n}b^{n}c^{n}|n\geq 0\};L_{2}=\{a^{m}b^{m}c^{n}ff^{\iota}|m,n\geq 0\};L_{3}=\{ww^{R}|w\in\{a, b\}^{*}\}$

.

5

Concluding Remarks

参考文献

[1] C. Calude, Gh. $P\dot{a}un$, G. Rozenberg and A.

Salomaa (Eds.), Multiset Processing, LNCS

2235, Springer,

2001.

[2] Gh. Paun,

G.

Rozenberg, A. Salomaa (Eds.),

Handbook

of

Membrvnne Computing, Oxford

University Press, 2010.

[3] A. Ehrenfeucht, G. Rozenberg, Reaction

systems, Ibndamenta

Informaticae

vol.75,

pp.263-280, 2007.

[4] A. Ehrenfeucht, G. Rozenberg, Events and

modules inreactionsystems,

Theoretical

Com-puterSciencevol.376, pp.3-16,

2007.

[5] A. Ehrenfeucht,

G.

Rozenberg, Introducing

time in reaction systems, Theoretical

Com-puterSciencevol.410, pp.310-322, 2009.

[6] F. Okubo, S. Kobayashi, T. Yokomori,

Reac-tion Automata, arXiv:1201.$3082v2$, to appear

inTheoretical ComputerScience.

[7] F. Okubo,

S.

Kobayashi, T. Yokomori,

On the Properties of Language Classes

Defined by Bounded Reaction Automata,

arXiv:1111.$5038v2$

.

[8] A. Salomaa, Formal Languages, Academic

Press, New York, 1973.

[9] Y. Suzuki, Y. FMjiwara, J. Talabayashi, H.

Tanaka, AItificialLife Applications of

a

Class

of P Systems, in: Multiset Processing, C.

Calude, Gh. $P\dot{a}$un, G. Rozenberg, A.

Salo-maa

(Eds.),LNCS2235,Springer, pp.299-346,

2001.

図 1: (i) Interactive processes for accepting $a^{2},$ $a^{4}$ and $a^{8}$ in $\mathcal{A}$

参照

関連したドキュメント

proof of uniqueness divides itself into two parts, the first of which is the determination of a limit solution whose integral difference from both given solutions may be estimated

These results are motivated by the bounds for real subspaces recently found by Bachoc, Bannai, Coulangeon and Nebe, and the bounds generalize those of Delsarte, Goethals and Seidel

The commutative case is treated in chapter I, where we recall the notions of a privileged exponent of a polynomial or a power series with respect to a convenient ordering,

The following result about dim X r−1 when p | r is stated without proof, as it follows from the more general Lemma 4.3 in Section 4..

The layout produced by the VDCB algorithm is more evenly distributed according to the CP model, and is more similar to the original layout according to the similarity measures

— These notes are devoted to the Local Duality Theorem for D -modules, which asserts that the topological Grothendieck-Verdier duality exchanges the de Rham complex and the

0.1. Additive Galois modules and especially the ring of integers of local fields are considered from different viewpoints. Leopoldt [L] the ring of integers is studied as a module

This work was supported by the Open Fund (PLN1003) of State Key Laboratory of Oil and Gas Reservoir Geology and Exploitation (Southwest Petroleum University), the Scientific