SlideShare a Scribd company logo
1 of 34
Download to read offline
••
Computing with P Systems
A Syropoulos, S Doumanis and KT Sotiriades
Greek Molecular Computing Group
Xanthi, Greece
E-mail: gmcg@araneous.com
M.I.T
◦
•
•
•
•
◦
••
2/15
Recursive Functions & P Systems
Recursive Functions have been encoded as P systems
by Romero-Jiménez and Pérez-Jiménez.
M.I.T
◦
•
•
•
•
◦
••
2/15
Recursive Functions & P Systems
Recursive Functions have been encoded as P systems
by Romero-Jiménez and Pérez-Jiménez.
Here we will present an alternative encoding based on
“abacus” computing.
M.I.T
◦
•
•
•
•
◦
••
2/15
Recursive Functions & P Systems
Recursive Functions have been encoded as P systems
by Romero-Jiménez and Pérez-Jiménez.
Here we will present an alternative encoding based on
“abacus” computing.
For our encoding it was necessary to introduce new
rewriting rules and to make use of a more “liberal”
membrane structures.
M.I.T
◦
•
•
•
•
◦
••
2/15
Recursive Functions & P Systems
Recursive Functions have been encoded as P systems
by Romero-Jiménez and Pérez-Jiménez.
Here we will present an alternative encoding based on
“abacus” computing.
For our encoding it was necessary to introduce new
rewriting rules and to make use of a more “liberal”
membrane structures.
Our encoding provides a “fresh” look at P systems.
M.I.T
◦
•
•
•
•
◦
••
3/15
The Basic Functions
The three basic functions.
the zero function z(x1, . . . , xn) = 0,
the successor function S(x) = x + 1, and
the identity function Un
i (x1, . . . , xn) = xi, 1 ≤ i ≤ n.
M.I.T
◦
•
•
•
•
◦
••
3/15
The Basic Functions
The three basic functions.
the zero function z(x1, . . . , xn) = 0,
the successor function S(x) = x + 1, and
the identity function Un
i (x1, . . . , xn) = xi, 1 ≤ i ≤ n.
M.I.T
◦
•
•
•
•
◦
••
3/15
The Basic Functions
The three basic functions.
the zero function z(x1, . . . , xn) = 0,
the successor function S(x) = x + 1, and
the identity function Un
i (x1, . . . , xn) = xi, 1 ≤ i ≤ n.
M.I.T
◦
•
•
•
•
◦
••
3/15
The Basic Functions
The three basic functions.
the zero function z(x1, . . . , xn) = 0,
the successor function S(x) = x + 1, and
the identity function Un
i (x1, . . . , xn) = xi, 1 ≤ i ≤ n.
M.I.T
◦
•
•
•
◦
••
4/15
Encoding the Zero Function
We assume that each basic function is encoded as a
P system with two membranes.
M.I.T
◦
•
•
•
◦
••
4/15
Encoding the Zero Function
We assume that each basic function is encoded as a
P system with two membranes.
This function simply discards its arguments and
returns zero. For each argument xi of the function we
pick up an object αi and place xi copies of it in the
outter compartment.
M.I.T
◦
•
•
•
◦
••
4/15
Encoding the Zero Function
We assume that each basic function is encoded as a
P system with two membranes.
This function simply discards its arguments and
returns zero. For each argument xi of the function we
pick up an object αi and place xi copies of it in the
outter compartment.
Next, we associate to each object αi a multiset rewrite
rule of the form
αi → ε
M.I.T
◦
•
•
•
◦
••
5/15
Encoding the Zero Function (Cont.)
This is a new kind of rule that simply annihilates all
objects. We can imagine that there is a pipe that is
used to throw the αi’s into the environment.
M.I.T
◦
•
•
•
◦
••
5/15
Encoding the Zero Function (Cont.)
This is a new kind of rule that simply annihilates all
objects. We can imagine that there is a pipe that is
used to throw the αi’s into the environment.
This rule can be considered to implement a form of
“catharsis” of a compartment.
M.I.T
◦
•
•
•
◦
••
5/15
Encoding the Zero Function (Cont.)
This is a new kind of rule that simply annihilates all
objects. We can imagine that there is a pipe that is
used to throw the αi’s into the environment.
This rule can be considered to implement a form of
“catharsis” of a compartment.
Thus, the outcome of the computation of this P system
is the number zero as all objects are actually thrown to
the environment.
M.I.T
◦
•
•
•
◦
••
6/15
Encoding the successor function
Problem: An empty P system encoding the successor
function.
M.I.T
◦
•
•
•
◦
••
6/15
Encoding the successor function
Problem: An empty P system encoding the successor
function.
This system must place an object to the target
compartment and stop.
M.I.T
◦
•
•
•
◦
••
6/15
Encoding the successor function
Problem: An empty P system encoding the successor
function.
This system must place an object to the target
compartment and stop.
As there is no rule that can be apllied to an empty
compartment we are obliged to introduce a new one:
ε → (α, ini)
M.I.T
◦
•
•
•
•
◦
••
7/15
Encoding the successor function (Cont.)
The rule ε → (α, ini) is applicable only if there are no
objects in a given compartment.
M.I.T
◦
•
•
•
•
◦
••
7/15
Encoding the successor function (Cont.)
The rule ε → (α, ini) is applicable only if there are no
objects in a given compartment.
This rule just places an object α to compartment i.
M.I.T
◦
•
•
•
•
◦
••
7/15
Encoding the successor function (Cont.)
The rule ε → (α, ini) is applicable only if there are no
objects in a given compartment.
This rule just places an object α to compartment i.
The rationale behind this rule is that at any moment a
cell can absorb matter from its environment that, in
turn, will be consumed.
M.I.T
◦
•
•
•
•
◦
••
7/15
Encoding the successor function (Cont.)
The rule ε → (α, ini) is applicable only if there are no
objects in a given compartment.
This rule just places an object α to compartment i.
The rationale behind this rule is that at any moment a
cell can absorb matter from its environment that, in
turn, will be consumed.
This new rule makes the encoding of the successor
function trivial.
M.I.T
◦
•
•
•
•
◦
••
8/15
The identity function
This function is similar to the zero function with one
difference: it discards all of its arguments but one.
M.I.T
◦
•
•
•
•
◦
••
8/15
The identity function
This function is similar to the zero function with one
difference: it discards all of its arguments but one.
For each xi we place xi copies of αi to the outter
membrane
M.I.T
◦
•
•
•
•
◦
••
8/15
The identity function
This function is similar to the zero function with one
difference: it discards all of its arguments but one.
For each xi we place xi copies of αi to the outter
membrane
Assume that the identity function returns its jth
argument, then we associate with αj the following rule:
αj → (αj, in2)
M.I.T
◦
•
•
•
•
◦
••
8/15
The identity function
This function is similar to the zero function with one
difference: it discards all of its arguments but one.
For each xi we place xi copies of αi to the outter
membrane
Assume that the identity function returns its jth
argument, then we associate with αj the following rule:
αj → (αj, in2)
The remaing objects are associated with a catharsis
rule: αi → ε, i = j
M.I.T
◦
•
•
◦
••
9/15
The Three Processes
Composition f is a function of m arguments and each
g1, . . . , gm is a function of n arguments, then their
composition is defined as follows:
h(x1, . . . , xn) = f(g1(x1, . . . , xn), . . . , gm(x1, . . . , xn))
M.I.T
◦
•
•
◦
••
9/15
The Three Processes
Composition f is a function of m arguments and each
g1, . . . , gm is a function of n arguments, then their
composition is defined as follows:
h(x1, . . . , xn) = f(g1(x1, . . . , xn), . . . , gm(x1, . . . , xn))
Primitive Recursion A function h of k + 1 arguments is
definable by (primitive) recursion from functions f and g,
with k and k + 2 arguments, respectively, if it is defined as
follows:
h(x1, . . . , xk, 0) = f(x1, . . . , xk)
h(x1, . . . , xk, S(m)) = g(x1, . . . , xk, m, h(x1, . . . , xk, m))
M.I.T
••
10/15
The Three Processes (Cont.)
Minimalization The operation of minimalization
associates with each total function f of k + 1
arguments the function h of k arguments. Given
a tuple (x1, . . . , xk), the value of h(x1, . . . , xk) is
the least value of xk+1, if one such exists, for
which f(x1, . . . , xk, xk+1) = 0. If no such xk+1
exists, then its value is undefined.
M.I.T
••
11/15
Encoding the composition process
αx1βx2γx3
✛
✚
✘
✙
✄
✂
 
✁
g1 ✛
✚
✘
✙
✄
✂
 
✁
g2
✛
✚
✘
✙
f
❈
❈
❈
❈
❈❈
❈
❈
❈
❈
❈❈
✁
✁
✁
✁
✁✁
✁
✁
✁
✁
✁✁
M.I.T
••
12/15
Encoding primitive recursion
αxβy
f(x, y) g(x, 0, f(x))
. . .
g(. . .)
M.I.T
••
13/15
Encoding minimalization function
αxβy
1
f(x, y)
2 3
4
M.I.T
••
14/15
The rules
R1 = {a → (a, to2)(⊕, to3),
b → (b, to2)(⊗, to3))}
R2 = {# → (#, to3)}
R3 = {# → (#, to4),
# → (b, to1),
⊕ → (a, to1),
⊗ → (b, to1)}
M.I.T
••
15/15
That’s all!
Thank you very much for your attention!
M.I.T

More Related Content

What's hot

nural network ER. Abhishek k. upadhyay
nural network ER. Abhishek  k. upadhyaynural network ER. Abhishek  k. upadhyay
nural network ER. Abhishek k. upadhyayabhishek upadhyay
 
Artificial neural networks
Artificial neural networksArtificial neural networks
Artificial neural networksMohamed Arif
 
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...Mohammed Bennamoun
 
OPTIMIZATION AS A MODEL FOR FEW-SHOT LEARNING
 OPTIMIZATION AS A MODEL FOR FEW-SHOT LEARNING OPTIMIZATION AS A MODEL FOR FEW-SHOT LEARNING
OPTIMIZATION AS A MODEL FOR FEW-SHOT LEARNINGMLReview
 
Adaptive Resonance Theory
Adaptive Resonance TheoryAdaptive Resonance Theory
Adaptive Resonance TheoryNaveen Kumar
 
Supervised Learning
Supervised LearningSupervised Learning
Supervised Learningbutest
 
A general frame for building optimal multiple SVM kernels
A general frame for building optimal multiple SVM kernelsA general frame for building optimal multiple SVM kernels
A general frame for building optimal multiple SVM kernelsinfopapers
 
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...cscpconf
 
Introduction to Applied Machine Learning
Introduction to Applied Machine LearningIntroduction to Applied Machine Learning
Introduction to Applied Machine LearningSheilaJimenezMorejon
 
Self Organizing Maps: Fundamentals
Self Organizing Maps: FundamentalsSelf Organizing Maps: Fundamentals
Self Organizing Maps: FundamentalsSpacetoshare
 
EVOLVING CONNECTION WEIGHTS FOR PATTERN STORAGE AND RECALL IN HOPFIELD MODEL ...
EVOLVING CONNECTION WEIGHTS FOR PATTERN STORAGE AND RECALL IN HOPFIELD MODEL ...EVOLVING CONNECTION WEIGHTS FOR PATTERN STORAGE AND RECALL IN HOPFIELD MODEL ...
EVOLVING CONNECTION WEIGHTS FOR PATTERN STORAGE AND RECALL IN HOPFIELD MODEL ...ijsc
 
DESIGN AND IMPLEMENTATION OF BINARY NEURAL NETWORK LEARNING WITH FUZZY CLUSTE...
DESIGN AND IMPLEMENTATION OF BINARY NEURAL NETWORK LEARNING WITH FUZZY CLUSTE...DESIGN AND IMPLEMENTATION OF BINARY NEURAL NETWORK LEARNING WITH FUZZY CLUSTE...
DESIGN AND IMPLEMENTATION OF BINARY NEURAL NETWORK LEARNING WITH FUZZY CLUSTE...cscpconf
 

What's hot (17)

06 linked list
06 linked list06 linked list
06 linked list
 
nural network ER. Abhishek k. upadhyay
nural network ER. Abhishek  k. upadhyaynural network ER. Abhishek  k. upadhyay
nural network ER. Abhishek k. upadhyay
 
memory
memorymemory
memory
 
Artificial neural networks
Artificial neural networksArtificial neural networks
Artificial neural networks
 
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
 
OPTIMIZATION AS A MODEL FOR FEW-SHOT LEARNING
 OPTIMIZATION AS A MODEL FOR FEW-SHOT LEARNING OPTIMIZATION AS A MODEL FOR FEW-SHOT LEARNING
OPTIMIZATION AS A MODEL FOR FEW-SHOT LEARNING
 
Adaptive Resonance Theory
Adaptive Resonance TheoryAdaptive Resonance Theory
Adaptive Resonance Theory
 
Ffnn
FfnnFfnn
Ffnn
 
Supervised Learning
Supervised LearningSupervised Learning
Supervised Learning
 
A general frame for building optimal multiple SVM kernels
A general frame for building optimal multiple SVM kernelsA general frame for building optimal multiple SVM kernels
A general frame for building optimal multiple SVM kernels
 
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...
 
Introduction to Applied Machine Learning
Introduction to Applied Machine LearningIntroduction to Applied Machine Learning
Introduction to Applied Machine Learning
 
Self Organizing Maps: Fundamentals
Self Organizing Maps: FundamentalsSelf Organizing Maps: Fundamentals
Self Organizing Maps: Fundamentals
 
O18020393104
O18020393104O18020393104
O18020393104
 
EVOLVING CONNECTION WEIGHTS FOR PATTERN STORAGE AND RECALL IN HOPFIELD MODEL ...
EVOLVING CONNECTION WEIGHTS FOR PATTERN STORAGE AND RECALL IN HOPFIELD MODEL ...EVOLVING CONNECTION WEIGHTS FOR PATTERN STORAGE AND RECALL IN HOPFIELD MODEL ...
EVOLVING CONNECTION WEIGHTS FOR PATTERN STORAGE AND RECALL IN HOPFIELD MODEL ...
 
Adaptive Resonance Theory (ART)
Adaptive Resonance Theory (ART)Adaptive Resonance Theory (ART)
Adaptive Resonance Theory (ART)
 
DESIGN AND IMPLEMENTATION OF BINARY NEURAL NETWORK LEARNING WITH FUZZY CLUSTE...
DESIGN AND IMPLEMENTATION OF BINARY NEURAL NETWORK LEARNING WITH FUZZY CLUSTE...DESIGN AND IMPLEMENTATION OF BINARY NEURAL NETWORK LEARNING WITH FUZZY CLUSTE...
DESIGN AND IMPLEMENTATION OF BINARY NEURAL NETWORK LEARNING WITH FUZZY CLUSTE...
 

Similar to Computing with P systems

VCE Unit 01 (1).pptx
VCE Unit 01 (1).pptxVCE Unit 01 (1).pptx
VCE Unit 01 (1).pptxskilljiolms
 
C++ Standard Template Library
C++ Standard Template LibraryC++ Standard Template Library
C++ Standard Template LibraryIlio Catallo
 
Finite automata
Finite automataFinite automata
Finite automataPusp Sunar
 
Time and Space Complexity Analysis.pptx
Time and Space Complexity Analysis.pptxTime and Space Complexity Analysis.pptx
Time and Space Complexity Analysis.pptxdudelover
 
SFSCON23 - Emily Bourne Yaman Güçlü - Pyccel write Python code, get Fortran ...
SFSCON23 - Emily Bourne Yaman Güçlü - Pyccel  write Python code, get Fortran ...SFSCON23 - Emily Bourne Yaman Güçlü - Pyccel  write Python code, get Fortran ...
SFSCON23 - Emily Bourne Yaman Güçlü - Pyccel write Python code, get Fortran ...South Tyrol Free Software Conference
 
Control system Lab record
Control system Lab record Control system Lab record
Control system Lab record Yuvraj Singh
 
Introduction to functional programming using Ocaml
Introduction to functional programming using OcamlIntroduction to functional programming using Ocaml
Introduction to functional programming using Ocamlpramode_ce
 
Advance data structure & algorithm
Advance data structure & algorithmAdvance data structure & algorithm
Advance data structure & algorithmK Hari Shankar
 
The System of Automatic Searching for Vulnerabilities or how to use Taint Ana...
The System of Automatic Searching for Vulnerabilities or how to use Taint Ana...The System of Automatic Searching for Vulnerabilities or how to use Taint Ana...
The System of Automatic Searching for Vulnerabilities or how to use Taint Ana...Positive Hack Days
 
VCE Unit 01 (2).pptx
VCE Unit 01 (2).pptxVCE Unit 01 (2).pptx
VCE Unit 01 (2).pptxskilljiolms
 
Functional Programming Patterns (BuildStuff '14)
Functional Programming Patterns (BuildStuff '14)Functional Programming Patterns (BuildStuff '14)
Functional Programming Patterns (BuildStuff '14)Scott Wlaschin
 
Towards typesafe deep learning in scala
Towards typesafe deep learning in scalaTowards typesafe deep learning in scala
Towards typesafe deep learning in scalaTongfei Chen
 
python ppt.pptx
python ppt.pptxpython ppt.pptx
python ppt.pptxMONAR11
 
stacks and queues class 12 in c++
stacks and  queues class 12 in c++stacks and  queues class 12 in c++
stacks and queues class 12 in c++Khushal Mehta
 
A born-again programmer's odyssey
A born-again programmer's odysseyA born-again programmer's odyssey
A born-again programmer's odysseyIgor Rivin
 
Introduction to PyTorch
Introduction to PyTorchIntroduction to PyTorch
Introduction to PyTorchJun Young Park
 

Similar to Computing with P systems (20)

C++ Language
C++ LanguageC++ Language
C++ Language
 
VCE Unit 01 (1).pptx
VCE Unit 01 (1).pptxVCE Unit 01 (1).pptx
VCE Unit 01 (1).pptx
 
C++ Standard Template Library
C++ Standard Template LibraryC++ Standard Template Library
C++ Standard Template Library
 
Finite automata
Finite automataFinite automata
Finite automata
 
Time and Space Complexity Analysis.pptx
Time and Space Complexity Analysis.pptxTime and Space Complexity Analysis.pptx
Time and Space Complexity Analysis.pptx
 
SFSCON23 - Emily Bourne Yaman Güçlü - Pyccel write Python code, get Fortran ...
SFSCON23 - Emily Bourne Yaman Güçlü - Pyccel  write Python code, get Fortran ...SFSCON23 - Emily Bourne Yaman Güçlü - Pyccel  write Python code, get Fortran ...
SFSCON23 - Emily Bourne Yaman Güçlü - Pyccel write Python code, get Fortran ...
 
Cs2251 daa
Cs2251 daaCs2251 daa
Cs2251 daa
 
Control system Lab record
Control system Lab record Control system Lab record
Control system Lab record
 
Introduction to functional programming using Ocaml
Introduction to functional programming using OcamlIntroduction to functional programming using Ocaml
Introduction to functional programming using Ocaml
 
Advance data structure & algorithm
Advance data structure & algorithmAdvance data structure & algorithm
Advance data structure & algorithm
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
The System of Automatic Searching for Vulnerabilities or how to use Taint Ana...
The System of Automatic Searching for Vulnerabilities or how to use Taint Ana...The System of Automatic Searching for Vulnerabilities or how to use Taint Ana...
The System of Automatic Searching for Vulnerabilities or how to use Taint Ana...
 
VCE Unit 01 (2).pptx
VCE Unit 01 (2).pptxVCE Unit 01 (2).pptx
VCE Unit 01 (2).pptx
 
Python faster for loop
Python faster for loopPython faster for loop
Python faster for loop
 
Functional Programming Patterns (BuildStuff '14)
Functional Programming Patterns (BuildStuff '14)Functional Programming Patterns (BuildStuff '14)
Functional Programming Patterns (BuildStuff '14)
 
Towards typesafe deep learning in scala
Towards typesafe deep learning in scalaTowards typesafe deep learning in scala
Towards typesafe deep learning in scala
 
python ppt.pptx
python ppt.pptxpython ppt.pptx
python ppt.pptx
 
stacks and queues class 12 in c++
stacks and  queues class 12 in c++stacks and  queues class 12 in c++
stacks and queues class 12 in c++
 
A born-again programmer's odyssey
A born-again programmer's odysseyA born-again programmer's odyssey
A born-again programmer's odyssey
 
Introduction to PyTorch
Introduction to PyTorchIntroduction to PyTorch
Introduction to PyTorch
 

More from Apostolos Syropoulos

A Presentation of Braga. It was made by students of school
A Presentation of Braga. It was made by students of schoolA Presentation of Braga. It was made by students of school
A Presentation of Braga. It was made by students of schoolApostolos Syropoulos
 
A short presentation of Italy made by students of a school in Cosimo, Sicily,...
A short presentation of Italy made by students of a school in Cosimo, Sicily,...A short presentation of Italy made by students of a school in Cosimo, Sicily,...
A short presentation of Italy made by students of a school in Cosimo, Sicily,...Apostolos Syropoulos
 
Social Media Algorithms - Part of the "Computers in out Life" Erasmus+ Project
Social Media Algorithms - Part of the "Computers in out Life" Erasmus+ ProjectSocial Media Algorithms - Part of the "Computers in out Life" Erasmus+ Project
Social Media Algorithms - Part of the "Computers in out Life" Erasmus+ ProjectApostolos Syropoulos
 
A gentle introduction to Artificial Intelligence
A gentle introduction to Artificial IntelligenceA gentle introduction to Artificial Intelligence
A gentle introduction to Artificial IntelligenceApostolos Syropoulos
 
ΑΡΧΟΝΤΙΚΟ ΠΑΜΟΥΚΤΣΟΓΛΟΥ - Pamouktsoglu Mansion
ΑΡΧΟΝΤΙΚΟ ΠΑΜΟΥΚΤΣΟΓΛΟΥ - Pamouktsoglu MansionΑΡΧΟΝΤΙΚΟ ΠΑΜΟΥΚΤΣΟΓΛΟΥ - Pamouktsoglu Mansion
ΑΡΧΟΝΤΙΚΟ ΠΑΜΟΥΚΤΣΟΓΛΟΥ - Pamouktsoglu MansionApostolos Syropoulos
 
Το Ορφανοτροφείο Θηλέων Ξάνθης
Το Ορφανοτροφείο Θηλέων ΞάνθηςΤο Ορφανοτροφείο Θηλέων Ξάνθης
Το Ορφανοτροφείο Θηλέων ΞάνθηςApostolos Syropoulos
 
Το Αρχαιολογικό Μουσείο Αβδήρων
Το Αρχαιολογικό Μουσείο ΑβδήρωνΤο Αρχαιολογικό Μουσείο Αβδήρων
Το Αρχαιολογικό Μουσείο ΑβδήρωνApostolos Syropoulos
 
Ταφικά έθιμα στα αρχαία Άβδηρα
Ταφικά έθιμα στα αρχαία ΆβδηραΤαφικά έθιμα στα αρχαία Άβδηρα
Ταφικά έθιμα στα αρχαία ΆβδηραApostolos Syropoulos
 
Το ορφανοτροφείο της Ξάνθης
Το ορφανοτροφείο της ΞάνθηςΤο ορφανοτροφείο της Ξάνθης
Το ορφανοτροφείο της ΞάνθηςApostolos Syropoulos
 
Μικρασιατική κατατστροφή - Μέρος 3
Μικρασιατική κατατστροφή - Μέρος 3Μικρασιατική κατατστροφή - Μέρος 3
Μικρασιατική κατατστροφή - Μέρος 3Apostolos Syropoulos
 
Μικρασιατική κατατστροφή - Μέρος 2
Μικρασιατική κατατστροφή - Μέρος 2Μικρασιατική κατατστροφή - Μέρος 2
Μικρασιατική κατατστροφή - Μέρος 2Apostolos Syropoulos
 
Αφιέρωμα στη Μικρά Ασία
Αφιέρωμα στη Μικρά ΑσίαΑφιέρωμα στη Μικρά Ασία
Αφιέρωμα στη Μικρά ΑσίαApostolos Syropoulos
 
ΕΚΠΑΙΔΕΥΤΙΚΗ ΔΡΑΣΗ «ΙΧΝΙΛΑΤΩΝΤΑΣ ΤΟ ΠΑΡΕΛΘΟΝ ΤΟΥ ΤΟΠΟΥ ΜΑΣ».pptx
ΕΚΠΑΙΔΕΥΤΙΚΗ ΔΡΑΣΗ «ΙΧΝΙΛΑΤΩΝΤΑΣ ΤΟ ΠΑΡΕΛΘΟΝ ΤΟΥ ΤΟΠΟΥ ΜΑΣ».pptxΕΚΠΑΙΔΕΥΤΙΚΗ ΔΡΑΣΗ «ΙΧΝΙΛΑΤΩΝΤΑΣ ΤΟ ΠΑΡΕΛΘΟΝ ΤΟΥ ΤΟΠΟΥ ΜΑΣ».pptx
ΕΚΠΑΙΔΕΥΤΙΚΗ ΔΡΑΣΗ «ΙΧΝΙΛΑΤΩΝΤΑΣ ΤΟ ΠΑΡΕΛΘΟΝ ΤΟΥ ΤΟΠΟΥ ΜΑΣ».pptxApostolos Syropoulos
 
Συγγραφή μαθηματικού κειμένου με χρήση του XeLaTeX (Writing mathematical tex...
Συγγραφή μαθηματικού κειμένου με χρήση του XeLaTeX (Writing  mathematical tex...Συγγραφή μαθηματικού κειμένου με χρήση του XeLaTeX (Writing  mathematical tex...
Συγγραφή μαθηματικού κειμένου με χρήση του XeLaTeX (Writing mathematical tex...Apostolos Syropoulos
 
Inflected Forms of Nouns and Adjectives
Inflected Forms of Nouns and AdjectivesInflected Forms of Nouns and Adjectives
Inflected Forms of Nouns and AdjectivesApostolos Syropoulos
 
Computational Thinking and...the Greek Alphabet
Computational Thinking and...the Greek AlphabetComputational Thinking and...the Greek Alphabet
Computational Thinking and...the Greek AlphabetApostolos Syropoulos
 
Το Αποτύπωμα του 1821 στον Τόπο μου
Το Αποτύπωμα του 1821 στον Τόπο μουΤο Αποτύπωμα του 1821 στον Τόπο μου
Το Αποτύπωμα του 1821 στον Τόπο μουApostolos Syropoulos
 
Παγκόσμια ημέρα της σταθεράς π=3,14...
Παγκόσμια ημέρα της σταθεράς π=3,14...Παγκόσμια ημέρα της σταθεράς π=3,14...
Παγκόσμια ημέρα της σταθεράς π=3,14...Apostolos Syropoulos
 

More from Apostolos Syropoulos (20)

A Presentation of Braga. It was made by students of school
A Presentation of Braga. It was made by students of schoolA Presentation of Braga. It was made by students of school
A Presentation of Braga. It was made by students of school
 
A short presentation of Italy made by students of a school in Cosimo, Sicily,...
A short presentation of Italy made by students of a school in Cosimo, Sicily,...A short presentation of Italy made by students of a school in Cosimo, Sicily,...
A short presentation of Italy made by students of a school in Cosimo, Sicily,...
 
Social Media Algorithms - Part of the "Computers in out Life" Erasmus+ Project
Social Media Algorithms - Part of the "Computers in out Life" Erasmus+ ProjectSocial Media Algorithms - Part of the "Computers in out Life" Erasmus+ Project
Social Media Algorithms - Part of the "Computers in out Life" Erasmus+ Project
 
A gentle introduction to Artificial Intelligence
A gentle introduction to Artificial IntelligenceA gentle introduction to Artificial Intelligence
A gentle introduction to Artificial Intelligence
 
ΑΡΧΟΝΤΙΚΟ ΠΑΜΟΥΚΤΣΟΓΛΟΥ - Pamouktsoglu Mansion
ΑΡΧΟΝΤΙΚΟ ΠΑΜΟΥΚΤΣΟΓΛΟΥ - Pamouktsoglu MansionΑΡΧΟΝΤΙΚΟ ΠΑΜΟΥΚΤΣΟΓΛΟΥ - Pamouktsoglu Mansion
ΑΡΧΟΝΤΙΚΟ ΠΑΜΟΥΚΤΣΟΓΛΟΥ - Pamouktsoglu Mansion
 
Το Ορφανοτροφείο Θηλέων Ξάνθης
Το Ορφανοτροφείο Θηλέων ΞάνθηςΤο Ορφανοτροφείο Θηλέων Ξάνθης
Το Ορφανοτροφείο Θηλέων Ξάνθης
 
Το Αρχαιολογικό Μουσείο Αβδήρων
Το Αρχαιολογικό Μουσείο ΑβδήρωνΤο Αρχαιολογικό Μουσείο Αβδήρων
Το Αρχαιολογικό Μουσείο Αβδήρων
 
Ταφικά έθιμα στα αρχαία Άβδηρα
Ταφικά έθιμα στα αρχαία ΆβδηραΤαφικά έθιμα στα αρχαία Άβδηρα
Ταφικά έθιμα στα αρχαία Άβδηρα
 
Το ορφανοτροφείο της Ξάνθης
Το ορφανοτροφείο της ΞάνθηςΤο ορφανοτροφείο της Ξάνθης
Το ορφανοτροφείο της Ξάνθης
 
Μικρασιατική κατατστροφή - Μέρος 3
Μικρασιατική κατατστροφή - Μέρος 3Μικρασιατική κατατστροφή - Μέρος 3
Μικρασιατική κατατστροφή - Μέρος 3
 
Μικρασιατική κατατστροφή - Μέρος 2
Μικρασιατική κατατστροφή - Μέρος 2Μικρασιατική κατατστροφή - Μέρος 2
Μικρασιατική κατατστροφή - Μέρος 2
 
Αφιέρωμα στη Μικρά Ασία
Αφιέρωμα στη Μικρά ΑσίαΑφιέρωμα στη Μικρά Ασία
Αφιέρωμα στη Μικρά Ασία
 
ΕΚΠΑΙΔΕΥΤΙΚΗ ΔΡΑΣΗ «ΙΧΝΙΛΑΤΩΝΤΑΣ ΤΟ ΠΑΡΕΛΘΟΝ ΤΟΥ ΤΟΠΟΥ ΜΑΣ».pptx
ΕΚΠΑΙΔΕΥΤΙΚΗ ΔΡΑΣΗ «ΙΧΝΙΛΑΤΩΝΤΑΣ ΤΟ ΠΑΡΕΛΘΟΝ ΤΟΥ ΤΟΠΟΥ ΜΑΣ».pptxΕΚΠΑΙΔΕΥΤΙΚΗ ΔΡΑΣΗ «ΙΧΝΙΛΑΤΩΝΤΑΣ ΤΟ ΠΑΡΕΛΘΟΝ ΤΟΥ ΤΟΠΟΥ ΜΑΣ».pptx
ΕΚΠΑΙΔΕΥΤΙΚΗ ΔΡΑΣΗ «ΙΧΝΙΛΑΤΩΝΤΑΣ ΤΟ ΠΑΡΕΛΘΟΝ ΤΟΥ ΤΟΠΟΥ ΜΑΣ».pptx
 
How to Convert Units of Measure
How to Convert Units of MeasureHow to Convert Units of Measure
How to Convert Units of Measure
 
Συγγραφή μαθηματικού κειμένου με χρήση του XeLaTeX (Writing mathematical tex...
Συγγραφή μαθηματικού κειμένου με χρήση του XeLaTeX (Writing  mathematical tex...Συγγραφή μαθηματικού κειμένου με χρήση του XeLaTeX (Writing  mathematical tex...
Συγγραφή μαθηματικού κειμένου με χρήση του XeLaTeX (Writing mathematical tex...
 
Inflected Forms of Nouns and Adjectives
Inflected Forms of Nouns and AdjectivesInflected Forms of Nouns and Adjectives
Inflected Forms of Nouns and Adjectives
 
Learning Simple Phrases in Greek
Learning Simple Phrases in GreekLearning Simple Phrases in Greek
Learning Simple Phrases in Greek
 
Computational Thinking and...the Greek Alphabet
Computational Thinking and...the Greek AlphabetComputational Thinking and...the Greek Alphabet
Computational Thinking and...the Greek Alphabet
 
Το Αποτύπωμα του 1821 στον Τόπο μου
Το Αποτύπωμα του 1821 στον Τόπο μουΤο Αποτύπωμα του 1821 στον Τόπο μου
Το Αποτύπωμα του 1821 στον Τόπο μου
 
Παγκόσμια ημέρα της σταθεράς π=3,14...
Παγκόσμια ημέρα της σταθεράς π=3,14...Παγκόσμια ημέρα της σταθεράς π=3,14...
Παγκόσμια ημέρα της σταθεράς π=3,14...
 

Recently uploaded

Introduction of DNA analysis in Forensic's .pptx
Introduction of DNA analysis in Forensic's .pptxIntroduction of DNA analysis in Forensic's .pptx
Introduction of DNA analysis in Forensic's .pptxrohankumarsinghrore1
 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....muralinath2
 
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Silpa
 
An introduction on sequence tagged site mapping
An introduction on sequence tagged site mappingAn introduction on sequence tagged site mapping
An introduction on sequence tagged site mappingadibshanto115
 
FAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceFAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceAlex Henderson
 
Stages in the normal growth curve
Stages in the normal growth curveStages in the normal growth curve
Stages in the normal growth curveAreesha Ahmad
 
GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)Areesha Ahmad
 
The Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptxThe Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptxseri bangash
 
Human genetics..........................pptx
Human genetics..........................pptxHuman genetics..........................pptx
Human genetics..........................pptxSilpa
 
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx       .Factory Acceptance Test( FAT).pptx       .
Factory Acceptance Test( FAT).pptx .Poonam Aher Patil
 
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIACURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIADr. TATHAGAT KHOBRAGADE
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)Areesha Ahmad
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryAlex Henderson
 
POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.Silpa
 
Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Silpa
 
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Silpa
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsSérgio Sacani
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learninglevieagacer
 

Recently uploaded (20)

Introduction of DNA analysis in Forensic's .pptx
Introduction of DNA analysis in Forensic's .pptxIntroduction of DNA analysis in Forensic's .pptx
Introduction of DNA analysis in Forensic's .pptx
 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
 
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
 
An introduction on sequence tagged site mapping
An introduction on sequence tagged site mappingAn introduction on sequence tagged site mapping
An introduction on sequence tagged site mapping
 
FAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceFAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical Science
 
Stages in the normal growth curve
Stages in the normal growth curveStages in the normal growth curve
Stages in the normal growth curve
 
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICEPATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
 
GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)
 
The Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptxThe Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptx
 
Human genetics..........................pptx
Human genetics..........................pptxHuman genetics..........................pptx
Human genetics..........................pptx
 
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx       .Factory Acceptance Test( FAT).pptx       .
Factory Acceptance Test( FAT).pptx .
 
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIACURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
 
POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.
 
Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.
 
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learning
 

Computing with P systems

  • 1. •• Computing with P Systems A Syropoulos, S Doumanis and KT Sotiriades Greek Molecular Computing Group Xanthi, Greece E-mail: gmcg@araneous.com M.I.T
  • 2. ◦ • • • • ◦ •• 2/15 Recursive Functions & P Systems Recursive Functions have been encoded as P systems by Romero-Jiménez and Pérez-Jiménez. M.I.T
  • 3. ◦ • • • • ◦ •• 2/15 Recursive Functions & P Systems Recursive Functions have been encoded as P systems by Romero-Jiménez and Pérez-Jiménez. Here we will present an alternative encoding based on “abacus” computing. M.I.T
  • 4. ◦ • • • • ◦ •• 2/15 Recursive Functions & P Systems Recursive Functions have been encoded as P systems by Romero-Jiménez and Pérez-Jiménez. Here we will present an alternative encoding based on “abacus” computing. For our encoding it was necessary to introduce new rewriting rules and to make use of a more “liberal” membrane structures. M.I.T
  • 5. ◦ • • • • ◦ •• 2/15 Recursive Functions & P Systems Recursive Functions have been encoded as P systems by Romero-Jiménez and Pérez-Jiménez. Here we will present an alternative encoding based on “abacus” computing. For our encoding it was necessary to introduce new rewriting rules and to make use of a more “liberal” membrane structures. Our encoding provides a “fresh” look at P systems. M.I.T
  • 6. ◦ • • • • ◦ •• 3/15 The Basic Functions The three basic functions. the zero function z(x1, . . . , xn) = 0, the successor function S(x) = x + 1, and the identity function Un i (x1, . . . , xn) = xi, 1 ≤ i ≤ n. M.I.T
  • 7. ◦ • • • • ◦ •• 3/15 The Basic Functions The three basic functions. the zero function z(x1, . . . , xn) = 0, the successor function S(x) = x + 1, and the identity function Un i (x1, . . . , xn) = xi, 1 ≤ i ≤ n. M.I.T
  • 8. ◦ • • • • ◦ •• 3/15 The Basic Functions The three basic functions. the zero function z(x1, . . . , xn) = 0, the successor function S(x) = x + 1, and the identity function Un i (x1, . . . , xn) = xi, 1 ≤ i ≤ n. M.I.T
  • 9. ◦ • • • • ◦ •• 3/15 The Basic Functions The three basic functions. the zero function z(x1, . . . , xn) = 0, the successor function S(x) = x + 1, and the identity function Un i (x1, . . . , xn) = xi, 1 ≤ i ≤ n. M.I.T
  • 10. ◦ • • • ◦ •• 4/15 Encoding the Zero Function We assume that each basic function is encoded as a P system with two membranes. M.I.T
  • 11. ◦ • • • ◦ •• 4/15 Encoding the Zero Function We assume that each basic function is encoded as a P system with two membranes. This function simply discards its arguments and returns zero. For each argument xi of the function we pick up an object αi and place xi copies of it in the outter compartment. M.I.T
  • 12. ◦ • • • ◦ •• 4/15 Encoding the Zero Function We assume that each basic function is encoded as a P system with two membranes. This function simply discards its arguments and returns zero. For each argument xi of the function we pick up an object αi and place xi copies of it in the outter compartment. Next, we associate to each object αi a multiset rewrite rule of the form αi → ε M.I.T
  • 13. ◦ • • • ◦ •• 5/15 Encoding the Zero Function (Cont.) This is a new kind of rule that simply annihilates all objects. We can imagine that there is a pipe that is used to throw the αi’s into the environment. M.I.T
  • 14. ◦ • • • ◦ •• 5/15 Encoding the Zero Function (Cont.) This is a new kind of rule that simply annihilates all objects. We can imagine that there is a pipe that is used to throw the αi’s into the environment. This rule can be considered to implement a form of “catharsis” of a compartment. M.I.T
  • 15. ◦ • • • ◦ •• 5/15 Encoding the Zero Function (Cont.) This is a new kind of rule that simply annihilates all objects. We can imagine that there is a pipe that is used to throw the αi’s into the environment. This rule can be considered to implement a form of “catharsis” of a compartment. Thus, the outcome of the computation of this P system is the number zero as all objects are actually thrown to the environment. M.I.T
  • 16. ◦ • • • ◦ •• 6/15 Encoding the successor function Problem: An empty P system encoding the successor function. M.I.T
  • 17. ◦ • • • ◦ •• 6/15 Encoding the successor function Problem: An empty P system encoding the successor function. This system must place an object to the target compartment and stop. M.I.T
  • 18. ◦ • • • ◦ •• 6/15 Encoding the successor function Problem: An empty P system encoding the successor function. This system must place an object to the target compartment and stop. As there is no rule that can be apllied to an empty compartment we are obliged to introduce a new one: ε → (α, ini) M.I.T
  • 19. ◦ • • • • ◦ •• 7/15 Encoding the successor function (Cont.) The rule ε → (α, ini) is applicable only if there are no objects in a given compartment. M.I.T
  • 20. ◦ • • • • ◦ •• 7/15 Encoding the successor function (Cont.) The rule ε → (α, ini) is applicable only if there are no objects in a given compartment. This rule just places an object α to compartment i. M.I.T
  • 21. ◦ • • • • ◦ •• 7/15 Encoding the successor function (Cont.) The rule ε → (α, ini) is applicable only if there are no objects in a given compartment. This rule just places an object α to compartment i. The rationale behind this rule is that at any moment a cell can absorb matter from its environment that, in turn, will be consumed. M.I.T
  • 22. ◦ • • • • ◦ •• 7/15 Encoding the successor function (Cont.) The rule ε → (α, ini) is applicable only if there are no objects in a given compartment. This rule just places an object α to compartment i. The rationale behind this rule is that at any moment a cell can absorb matter from its environment that, in turn, will be consumed. This new rule makes the encoding of the successor function trivial. M.I.T
  • 23. ◦ • • • • ◦ •• 8/15 The identity function This function is similar to the zero function with one difference: it discards all of its arguments but one. M.I.T
  • 24. ◦ • • • • ◦ •• 8/15 The identity function This function is similar to the zero function with one difference: it discards all of its arguments but one. For each xi we place xi copies of αi to the outter membrane M.I.T
  • 25. ◦ • • • • ◦ •• 8/15 The identity function This function is similar to the zero function with one difference: it discards all of its arguments but one. For each xi we place xi copies of αi to the outter membrane Assume that the identity function returns its jth argument, then we associate with αj the following rule: αj → (αj, in2) M.I.T
  • 26. ◦ • • • • ◦ •• 8/15 The identity function This function is similar to the zero function with one difference: it discards all of its arguments but one. For each xi we place xi copies of αi to the outter membrane Assume that the identity function returns its jth argument, then we associate with αj the following rule: αj → (αj, in2) The remaing objects are associated with a catharsis rule: αi → ε, i = j M.I.T
  • 27. ◦ • • ◦ •• 9/15 The Three Processes Composition f is a function of m arguments and each g1, . . . , gm is a function of n arguments, then their composition is defined as follows: h(x1, . . . , xn) = f(g1(x1, . . . , xn), . . . , gm(x1, . . . , xn)) M.I.T
  • 28. ◦ • • ◦ •• 9/15 The Three Processes Composition f is a function of m arguments and each g1, . . . , gm is a function of n arguments, then their composition is defined as follows: h(x1, . . . , xn) = f(g1(x1, . . . , xn), . . . , gm(x1, . . . , xn)) Primitive Recursion A function h of k + 1 arguments is definable by (primitive) recursion from functions f and g, with k and k + 2 arguments, respectively, if it is defined as follows: h(x1, . . . , xk, 0) = f(x1, . . . , xk) h(x1, . . . , xk, S(m)) = g(x1, . . . , xk, m, h(x1, . . . , xk, m)) M.I.T
  • 29. •• 10/15 The Three Processes (Cont.) Minimalization The operation of minimalization associates with each total function f of k + 1 arguments the function h of k arguments. Given a tuple (x1, . . . , xk), the value of h(x1, . . . , xk) is the least value of xk+1, if one such exists, for which f(x1, . . . , xk, xk+1) = 0. If no such xk+1 exists, then its value is undefined. M.I.T
  • 30. •• 11/15 Encoding the composition process αx1βx2γx3 ✛ ✚ ✘ ✙ ✄ ✂   ✁ g1 ✛ ✚ ✘ ✙ ✄ ✂   ✁ g2 ✛ ✚ ✘ ✙ f ❈ ❈ ❈ ❈ ❈❈ ❈ ❈ ❈ ❈ ❈❈ ✁ ✁ ✁ ✁ ✁✁ ✁ ✁ ✁ ✁ ✁✁ M.I.T
  • 31. •• 12/15 Encoding primitive recursion αxβy f(x, y) g(x, 0, f(x)) . . . g(. . .) M.I.T
  • 33. •• 14/15 The rules R1 = {a → (a, to2)(⊕, to3), b → (b, to2)(⊗, to3))} R2 = {# → (#, to3)} R3 = {# → (#, to4), # → (b, to1), ⊕ → (a, to1), ⊗ → (b, to1)} M.I.T
  • 34. •• 15/15 That’s all! Thank you very much for your attention! M.I.T