turlough neary · 2008. 8. 27. · a small universal spiking neural p system turlough neary boole...

56
A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science Foundation Ireland Research Frontiers Programme grant number 07/RFP/CSMF641. August 27, 2008

Upload: others

Post on 13-Mar-2021

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

A small universal spiking neural P system

Turlough Neary

Boole Centre for Research in Informatics,University College Cork, Ireland,

Funded by Science Foundation Ireland ResearchFrontiers Programme grant number 07/RFP/CSMF641.

August 27, 2008

Page 2: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Introduction

I In this talk we present two small universal spiking neural Psystems.

I Spiking neural P systems are the result of a synergy inspiredby spiking neural networks and P systems.

I These systems were first presented and proved universal in2006 by Ionescu, Paun and Yokomori.

Page 3: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Previous small spiking neural P systems

I Paun and Paun gave a strongly universal spiking neural Psystem with 84 neurons and another that has extended ruleswith 49 neurons.

I Subsequently, the number of neurons used for stronguniversality was reduced from 84 to 67 and from 49 to 41 byZhang et al.

I Recently we proved that there exists no universal (extended)spiking neural P system that simulates Turing machines in lessthen exponential time and space.

I A universal spiking neural P system with exhaustive use ofextended rules has been given that simulates Turing machinesin polynomial time. This system has only 18 neurons.

Page 4: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Our results

I Here we present a weakly universal spiking neural P systemthat has extended rules and only 12 neurons. This systemsimulates a weakly universal 2 register machine.

I By adapting our algorithm we can simulated more generalregister machines with more registers. We show that thereexists a strongly universal spiking neural P system that hasextended rules and 18 neurons.

Page 5: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Extended spiking neural P systems

A spiking extended neural P system is a tupleΠ = (O, σ1, σ2, · · · , σm, syn, in, out), where:

1. O = {s} is the unary alphabet (s is known as a spike),

2. σ1, σ2, · · · , σm are neurons, of the formσi = (ni ,Ri ), 1 6 i 6 m, where:

2.1 ni > 0 is the initial number of spikes contained in σi ,2.2 Ri is a finite set of rules of the following two forms:

2.2.1 E/sb → sc ; d , where E is a regular expression over s,b > c > 1 and d > 0,

2.2.2 se → λ, where λ is the empty word, e > 1, and for allE/sb → s; d from Ri se /∈ L(E) where L(E) is the languagedefined by E ,

3. syn ⊆ {1, 2, · · · ,m} × {1, 2, · · · ,m} is the set of synapsesbetween neurons, where i 6= j for all (i , j) ∈ syn,

4. in, out ∈ {σ1, σ2, · · · , σm} are the input and output neurons,respectively.

Page 6: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Extended spiking neural P system

σ1

σ2 σ3

input

output

Page 7: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

An extended spiking neural P systems executing ruleE/sb → sc ; d

σ1

σ2 σ3

input

output

t1 : σ1 = 4, (s2)∗/s3 → s2; 0.

On the left σk = y gives the number y of spikes in neuron σk attime tj and on the right is the next rule that is to be applied attime t1 if there is an applicable rule at that time.

Page 8: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

An extended spiking neural P systems executing ruleE/sb → sc ; d

σ1

σ2 σ3

input

output

t1 : σ1 = 4, (s2)∗/s3 → s2; 0.

On the left σk = y gives the number y of spikes in neuron σk attime tj and on the right is the next rule that is to be applied attime t1 if there is an applicable rule at that time.

Page 9: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

An extended spiking neural P systems executing ruleE/sb → sc ; d

σ1

σ2 σ3

input

output

t1 : σ1 = 4, (s2)∗/s3 → s2; 0.

On the left σk = y gives the number y of spikes in neuron σk attime tj and on the right is the next rule that is to be applied attime t1 if there is an applicable rule at that time.

Page 10: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

An extended spiking neural P systems executing ruleE/sb → sc ; d

σ1

σ2 σ3

input

output

t2 : σ1 = 1,

σ2 = 2,

σ3 = 2, s2 → λ

Page 11: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

An extended spiking neural P systems executing rulese → λ

σ1

σ2 σ3

input

output

t2 : σ1 = 1,

σ2 = 2,

σ3 = 2, s2 → λ

Page 12: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

An extended spiking neural P systems executing rulese → λ

σ1

σ2 σ3

input

output

t3 : σ1 = 1,

σ2 = 2,

σ3 = 0,

Page 13: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Register machine definition

A register machine is a tuple C = (z , r1, rm,Q, q1, qh), where zgives the number of registers, r1 and rm are the input and outputregisters respectively, Q = {q1, q2, · · · , qh} is the set ofinstructions, q1, qh ∈ Q are the initial and halt instructions,respectively.

Page 14: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Register machine operation

Each register rj stores a natural number value x > 0. Eachinstruction qi is of one of the following two forms qi : INC (j) orqi : DEC (j)qk , and is executed as follows:

I qi : INC (j) increment the value x stored in register rj by 1and move to instruction qi+1.

I qi : DEC (j)qk if the value x stored in register rj is greaterthan 0 then decrement this value by 1 and move toinstruction qi+1, otherwise if x = 0 move to instruction qk .

Page 15: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Korec’s notions of universality for register machines

Let (φ0, φ1, φ2, . . .) be a Godel enumeration of all unary partialrecursive functions. A register machine U is weakly universal ifφx(y) = f (U(g(x , y)) or φx(y) = U(g(x , y)) where g and f arerecursive functions. A register machine U is strongly universal ifφx(y) = U(x , y) where g and f are recursive functions.

Page 16: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Universality of 2 register machines

In his book “Finite and infinite machines”, Minsky proves theuniversality 2 register machines by showing that they simulateTuring machines. If we use Minsky’s algorithm to construct auniversal 2 register machine it will in fact be weakly universal.

Page 17: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

A weakly universal spiking neural P system

We give a universal spiking neural P system that simulates auniversal 2 register machine. Using Minsky’s algorithm to encode aTuring machine, and its input, as input to our spiking neural Psystem we get recursive encoding and decoding functions.

Page 18: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Small weakly universal spiking neural P system

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

σ2 σ3

σ1

input

output

Page 19: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Encoding

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

Let x1 and x2 be the values stored in the registers r1 and r2,respectively. Then x1 and x2 are stored as 4hx1 and 4hx2 spikes inneurons σ4 and σ5, respectively. The next instruction qi to beexecuted is stored in each of the neurons σ4 and σ5 as 2(h + i)spikes.

Page 20: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Encoding

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

Let x1 and x2 be the values stored in the registers r1 and r2,respectively. Then x1 and x2 are stored as 4hx1 and 4hx2 spikes inneurons σ4 and σ5, respectively. The next instruction qi to beexecuted is stored in each of the neurons σ4 and σ5 as 2(h + i)spikes.

Page 21: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : INC (1)

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj : σ4 = 4hx1 + 2(h + i), s2(h+i)(s4h)∗/s2(h+i) → s2(h+i)−1; 0,

σ5 = 4hx2 + 2(h + i), s2(h+i)(s4h)∗/s2(h+i) → s; 0.

On the left σk = y gives the number y of spikes in neuron σk at time tjand on the right is the next rule that is to be applied at time tj if there is

an applicable rule at that time.

Page 22: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : INC (1)

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj : σ4 = 4hx1 + 2(h + i), s2(h+i)(s4h)∗/s2(h+i) → s2(h+i)−1; 0,

σ5 = 4hx2 + 2(h + i), s2(h+i)(s4h)∗/s2(h+i) → s; 0.

On the left σk = y gives the number y of spikes in neuron σk at time tjand on the right is the next rule that is to be applied at time tj if there is

an applicable rule at that time.

Page 23: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : INC (1)

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj : σ4 = 4hx1, s2(h+i)(s4h)∗/s2(h+i) → s2(h+i)−1; 0,

σ5 = 4hx2, s2(h+i)(s4h)∗/s2(h+i) → s; 0.

On the left σk = y gives the number y of spikes in neuron σk at time tjand on the right is the next rule that is to be applied at time tj if there is

an applicable rule at that time.

Page 24: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : INC (1)

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj : σ4 = 4hx1, s2(h+i)(s4h)∗/s2(h+i) → s2(h+i)−1; 0,

σ5 = 4hx2, s2(h+i)(s4h)∗/s2(h+i) → s; 0.

On the left σk = y gives the number y of spikes in neuron σk attime tj and on the right is the next rule that is to be applied attime tj if there is an applicable rule at that time.

Page 25: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : INC (1)

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj : σ4 = 4hx1, s2(h+i)(s4h)∗/s2(h+i) → s2(h+i)−1; 0,

σ5 = 4hx2, s2(h+i)(s4h)∗/s2(h+i) → s; 0.

On the left σk = y gives the number y of spikes in neuron σk attime tj and on the right is the next rule that is to be applied attime tj if there is an applicable rule at that time.

Page 26: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : INC (1)

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+1 : σ4 = 4hx1,

σ5 = 4hx2,

σ6, σ7, σ8 = 2(h + i), s2(h+i)/s2(h+i) → s2h; 0,

σ9, σ11, σ12 = 2(h + i), s2(h+i) → λ,

σ10 = 2(h + i), s2(h+i)/s2(h+i) → s2(i+1); 0.

Page 27: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : INC (1)

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+1 : σ4 = 4hx1,

σ5 = 4hx2,

σ6, σ7, σ8 = 2(h + i), s2(h+i)/s2(h+i) → s2h; 0,

σ10 = 2(h + i), s2(h+i)/s2(h+i) → s2(i+1); 0.

Page 28: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : INC (1)

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+1 : σ4 = 4hx1,

σ5 = 4hx2,

σ6, σ7, σ8 = 2(h + i), s2(h+i)/s2(h+i) → s2h; 0,

σ10 = 2(h + i), s2(h+i)/s2(h+i) → s2(i+1); 0.

Page 29: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : INC (1)

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+1 : σ4 = 4h(x1 + 1),

σ5 = 4hx2,

σ8 = 2(h + i), s2(h+i)/s2(h+i) → s2h; 0,

σ10 = 2(h + i), s2(h+i)/s2(h+i) → s2(i+1); 0.

Page 30: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : INC (1)

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+1 : σ4 = 4h(x1 + 1),

σ5 = 4hx2,

σ8 = 2(h + i), s2(h+i)/s2(h+i) → s2h; 0,

σ10 = 2(h + i), s2(h+i)/s2(h+i) → s2(i+1); 0.

Page 31: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : INC (1)

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+1 : σ4 = 4h(x1 + 1),

σ5 = 4hx2,

σ8 = 2(h + i), s2(h+i)/s2(h+i) → s2h ; 0,

σ10 = 2(h + i), s2(h+i)/s2(h+i) → s2(i+1) ; 0.

Page 32: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : INC (1)

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+2 : σ4 = 4h(x1 + 1) + 2(h + i + 1),

σ5 = 4hx2 + 2(h + i + 1).

At time tj+2 the simulation of qi : INC (1) is complete. Theencoded register value has been incremented by increasing it from4hx1 to 4h(x1 + 1). The encoding 2(h + i + 1) of the nextinstruction qi+1 has been established.

Page 33: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : DEC (1)qk for x1 > 0

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj : σ4 = 4hx1 + 2(h + i), s4h+2(h+i)(s4h)∗/s4h+2(h+i) → s2(h+i); 0,

σ5 = 4hx2 + 2(h + i), s2(h+i)(s4h)∗/s2(h+i) → s; 0.

Page 34: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : DEC (1)qk for x1 > 0

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj : σ4 = 4hx1 + 2(h + i), s4h+2(h+i)(s4h)∗/ s4h+2(h+i) → s2(h+i); 0,

σ5 = 4hx2 + 2(h + i), s2(h+i)(s4h)∗/s2(h+i) → s; 0.

Page 35: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : DEC (1)qk for x1 > 0

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+1 : σ4 = 4h(x1 − 1) ,

σ5 = 4hx2,

σ6, σ7, σ9, σ11, σ12 = 2(h + i) + 1, s2(h+i)+1 → λ,

σ8 = 2(h + i) + 1, s2(h+i)+1/s2(h+i)+1 → s2h; 0,

σ10 = 2(h + i) + 1, s2(h+i)+1/s2(h+i)+1 → s2(i+1); 0.

Page 36: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : DEC (1)qk for x1 > 0

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+1 : σ4 = 4h(x1 − 1) ,

σ5 = 4hx2,

σ6, σ7, σ9, σ11, σ12 = 2(h + i) + 1, s2(h+i)+1 → λ,

σ8 = 2(h + i) + 1, s2(h+i)+1/s2(h+i)+1 → s2h; 0,

σ10 = 2(h + i) + 1, s2(h+i)+1/s2(h+i)+1 → s2(i+1); 0.

Page 37: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : DEC (1)qk for x1 > 0

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+1 : σ4 = 4h(x1 − 1),

σ5 = 4hx2,

σ6, σ7, σ9, σ11, σ12 = 2(h + i) + 1, s2(h+i)+1 → λ,

σ8 = 2(h + i) + 1, s2(h+i)+1/s2(h+i)+1 → s2h ; 0,

σ10 = 2(h + i) + 1, s2(h+i)+1/s2(h+i)+1 → s2(i+1) ; 0.

Page 38: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : DEC (1)qk for x1 > 0

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+2 : σ4 = 4h(x1 − 1) + 2(h + i + 1),

σ5 = 4hx2 + 2(h + i + 1).

At time tj+2 the simulation of qi : DEC (1) is complete. Theencoded register value has been decremented by decreasing it from4hx1 to 4h(x1 − 1). The encoding 2(h + i + 1) of the nextinstruction qi+1 has been established.

Page 39: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : DEC (1)qk for x1 = 0

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj : σ4 = 2(h + i), s2(h+i)/s2(h+i) → s2(h+i)−1; 0,

σ5 = 4hx2 + 2(h + i), s2(h+i)(s4h)∗/s2(h+i) → s; 0.

Page 40: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : DEC (1)qk for x1 = 0

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj : σ4 = 2(h + i), s2(h+i)/s2(h+i) → s2(h+i)−1 ; 0,

σ5 = 4hx2 + 2(h + i), s2(h+i)(s4h)∗/s2(h+i) → s; 0.

Page 41: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : DEC (1)qk for x1 = 0

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+1 : σ5 = 4hx2,

σ6, σ7, σ9, σ11, σ12 = 2(h + i), s2(h+i) → λ,

σ8 = 2(h + i), s2(h+i)/s2(h+i) → s2h; 0,

σ10 = 2(h + i), s2(h+i)/s2(h+i) → s2k ; 0.

Page 42: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Simulate qi : DEC (1)qk for x1 = 0

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+2 : σ4 = 2(h + k),

σ5 = 4hx2 + 2(h + k).

Note that at time tj+2, when the simulation is complete, the encoding

2(h + k) of the next instruction qi+1 has been established.

Page 43: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Halting and output

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj : σ4 = 4hx1 + 2h + 3, s6h+3(s4h)∗/s6h → s; 0,

σ5 = 4hx2 + 2h + 3.

Page 44: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Halting and output

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+1 : σ4 = 4h(x1 − 1) + 3, s7(s4h)∗/s4h → s2h; 0,

σ5 = 4hx2 + 2h + 3,

σ6, σ7, σ8, σ10, σ11, σ12 = 1, s → λ,

σ9 = 1, s/s → s; 0 .

Page 45: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Halting and output

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+2 : σ4 = 4h(x1 − 2) + 3, s7(s4h)∗/s4h → s2h; 0,

σ5 = 4hx2 + 2h + 3,

σ6, σ7, σ8, σ9, σ10, σ11, σ12 = 2h, s2h → λ.

Page 46: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Halting and output

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+2 : σ4 = 4h(x1 − 2) + 3, s7(s4h)∗/ s4h → s2h; 0,

σ5 = 4hx2 + 2h + 3,

σ6, σ7, σ8, σ9, σ10, σ11, σ12 = 2h, s2h → λ.

Page 47: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Halting and output

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+2 : σ4 = 4h(x1 − 2) + 3, s7(s4h)∗/ s4h → s2h; 0,

σ5 = 4hx2 + 2h + 3,

σ6, σ7, σ8, σ9, σ10, σ11, σ12 = 2h, s2h → λ.

Page 48: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Halting and output

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+x1 : σ4 = 3, s3/s3 → s; 0,

σ5 = 4hx2 + 2h + 3,

σ6, σ7, σ8, σ9, σ10, σ11, σ12 = 2h, s2h → λ.

Page 49: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Halting and output

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+x1 : σ4 = 3, s3/s3 → s ; 0,

σ5 = 4hx2 + 2h + 3,

σ6, σ7, σ8, σ9, σ10, σ11, σ12 = 2h, s2h → λ.

Page 50: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Halting and output

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

output

tj+x1+1 : σ5 = 4hx2 + 2h + 3,

σ6, σ7, σ8, σ10, σ11, σ12 = 1, s → λ,

σ9 = 1, s/s → s; 0.

Page 51: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Small weakly universal spiking neural P system

σ6 σ7 σ8 σ9 σ10 σ11 σ12

register r1σ4 register r2 σ5

σ2 σ3

σ1

input

output

Page 52: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Small strongly universal spiking neural P system

σ10 σ11 σ12 σ13 σ14 σ15 σ16 σ17 σ18

register r2

σ8

register r1σ7 register r3 σ9

σ2 σ3 σ4 σ6σ5

σ1

input

output

Page 53: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Small strongly universal spiking neural P system

σ10 σ11 σ12 σ13 σ14 σ15 σ16 σ17 σ18

register r2

σ8

register r1σ7 register r3 σ9

σ2 σ3 σ4 σ6σ5

σ1

input

output

Page 54: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Small strongly universal spiking neural P system

σ10 σ11 σ12 σ13 σ14 σ15 σ16 σ17 σ18

register r2

σ8

register r1σ7 register r3 σ9

σ2 σ3 σ4 σ6σ5

σ1

input

output

Page 55: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Small strongly universal spiking neural P system

σ10 σ11 σ12 σ13 σ14 σ15 σ16 σ17 σ18

register r2

σ8

register r1σ7 register r3 σ9

σ2 σ3 σ4 σ6σ5

σ1

input

output

Page 56: Turlough Neary · 2008. 8. 27. · A small universal spiking neural P system Turlough Neary Boole Centre for Research in Informatics, University College Cork, Ireland, Funded by Science

Conclusions

I We have given an extended spiking neural P system with 12neurons that is weakly universal and another with 18 neuronsthat is strongly universal.

I We have given a new simulation technique of registermachines for spiking neural P system.

I The simulation technique given for our spiking neural Psystems is easily adapted to simulate more general registermachines.

I There exist spiking neural P systems with 8 neurons whichhave undecidable reachability questions.