An Introduction to Artificial Chemistries: Algebra applied to - - PowerPoint PPT Presentation

an introduction to artificial chemistries algebra applied
SMART_READER_LITE
LIVE PREVIEW

An Introduction to Artificial Chemistries: Algebra applied to - - PowerPoint PPT Presentation

An Introduction to Artificial Chemistries: Algebra applied to Informatics applied to Biology Algebra (Informatics (Chemistry Biology)) Pietro Speroni di Fenizio Dublin City University Coimbra University Jena Center of


slide-1
SLIDE 1

An Introduction to Artificial Chemistries: Algebra applied to Informatics applied to Biology 
 Algebra (Informatics (Chemistry ∩ Biology))

Pietro Speroni di Fenizio
 


Dublin City University Coimbra University
 Jena Center of Bioinformatics

Geometry and Computer Science, Pescara, 8 May 2017

slide-2
SLIDE 2
  • 1843 Emergence (1843 - John Stuart Mill - A System of Logic)
  • 1921 Emergent Evolution (1923 - Lloyd Morgan - Emergent Evolution)
  • 1940s Cybernetics (1952 - Ashby - Design for a Brain)
  • 1995 Book: Major Transitions in Evolution
slide-3
SLIDE 3

The Major Transition in Evolution

Maynard Smith and Szathmáry identified several properties common to the transitions:

  • Smaller entities have often come about together to

form larger entities. e.g. Chromosomes, eukaryotes, sex multicellular colonies.

  • Smaller entities often become differentiated as part of a

larger entity. e.g. DNA & protein, organelles, anisogamy, tissues, castes

  • The smaller entities are often unable to replicate in the

absence of the larger entity. e.g. DNA, chromosomes, Organelles, tissues, castes

  • The smaller entities can sometimes disrupt the

development of the larger entity, e.g. Meiotic drive (selfish non-Mendelian genes), parthenogenesis, cancers, coup d’état

  • New ways of transmitting information have arisen.e.g.

DNA-protein, cell heredity, epigenesis, universal grammar.

https://en.wikipedia.org/wiki/The_Major_Transitions_in_Evolution

slide-4
SLIDE 4

The Major Evolutionary Transitions

slide-5
SLIDE 5
  • 1843 Emergence (1843 - John Stuart Mill - A System of Logic)
  • 1921 Emergent Evolution (1923 - Lloyd Morgan - Emergent Evolution)
  • Control Theory
  • 1940s Cybernetics (1952 - Ashby - Design for a Brain)
  • 1956 Artificial Intelligence
  • Self Organised Criticality
  • 1963 Chaotic Theory (1987 James Gleick - Chaos: The Making of a new Science)
  • - Robotics (1984 - Braitenberg Vehicles)
  • 1984 Complex Systems (1995 - M Gell Mann - What is Complexity)
  • 1986 Artificial Life (1991 - Thomas Ray - Tierra)
  • 1977 Artificial Chemistries (1996 - Walter Fontana - The Barrier of Objects)
  • 2001 Chemical Organisation Theory (2007 - Dittrich, Speroni - Chemical Organisation Theory)
slide-6
SLIDE 6
slide-7
SLIDE 7

Polymer Chemistry

  • n Tape

Polymer Chemistry

  • n Tape

Artificial Chemistry from RNA model Abstraction

slide-8
SLIDE 8

Constructive Dynamical Systems

Constructing the Molecules Constructing the “Objects”

slide-9
SLIDE 9

Historical Problems: 
 We use Ordinary Differential Equations to model the world
 In an ODE there is no novelty

slide-10
SLIDE 10

Artificial Chemistry as a crude abstraction of a Constructive Dynamical System

Infinite Molecular Types All Reaction Catalytic Out-flux from each Molecule Well Stirred No Conservation of Mass

slide-11
SLIDE 11
slide-12
SLIDE 12

+ + (catalytic)

slide-13
SLIDE 13

+ + (catalytic)

slide-14
SLIDE 14

+ + (catalytic)

slide-15
SLIDE 15

+ + dx1 /dt = k2 x2 x2 dx2 /dt = k1 x1 x2 k1 k2 (catalytic)

slide-16
SLIDE 16

+ + dx1 /dt = k2 x2 x2 - x1 Φ dx2 /dt = k1 x1 x2 – x2 Φ k1 k2 dilution flux Φ (catalytic)

slide-17
SLIDE 17
slide-18
SLIDE 18

3 7 11

slide-19
SLIDE 19

3 7 11 3 7 11 S

slide-20
SLIDE 20

Artificial Chemistry as a crude abstraction of a Constructive Dynamical System

Infinite Molecular Types All Reaction Catalytic Out-flux from each Molecule Well Stirred No Conservation of Mass

slide-21
SLIDE 21

Organisations as Emerging Objects

An Organisation is defined as a Closed and Self Maintaining set Closed: all the reactions recreate elements inside Self Maintaining: There is an internal reaction that recreate each Molecule

slide-22
SLIDE 22

What would be conserved if the “tape were played twice”

We develop an abstract chemistry […] the following features are generic to this particular abstraction of chemistry; hence, they would be expected to reappear if "the tape were run twice”:

  • hypercycles of self-reproducing objects arise;
  • if self-replication is inhibited, self-maintaining
  • rganisations arise;
  • self maintaining organisations, once

established, can combine into higher-order self-maintaining organisations.

slide-23
SLIDE 23

Organisations as Hierarchical Structures

A B C A B C

slide-24
SLIDE 24

Organisations as Partially Ordered Structures

A B C D Not all Organisations are comparable

slide-25
SLIDE 25

Closure and 
 Self Maintenance
 in
 Catalytic Flow Systems

slide-26
SLIDE 26

Closed Sets

If given a set of element S, each interaction will just create elements of that set we say that the set is closed: ∀ x,y ∊ S x(y) ⇒ S then S is closed

slide-27
SLIDE 27

Self Maintaining Sets

If given a set of element S, each element (x) is created by a reaction pathway inside the set (y,z), then the set is self maintaining: ∀ x ∊ S ∃ y, z ∊ S such that x = y(z)

slide-28
SLIDE 28

Organisations

A set who is both closed and self maintaining is an Organisation

slide-29
SLIDE 29
  • rganisations

A set who is both closed and self maintaining is a Organization

slide-30
SLIDE 30
  • rganisations

A set who is both closed and self maintaining is a Organization

slide-31
SLIDE 31
  • rganisations

A set who is both closed and self maintaining is a Organization

slide-32
SLIDE 32

An Example

  • Each molecule has also a first order outflow:

1 3 2 4

➢ 1

→∅

➢ 2

→∅

➢ 3

→∅

➢ 4

→∅

slide-33
SLIDE 33

Network

Node: molecular species Arc: „If molecule 1 and 3 is present, then 4 can/will be produced“.

1 3 2 4

slide-34
SLIDE 34

An Example

closed set

1 3 2 4

slide-35
SLIDE 35

An Example

closed set

1 3 2 4

slide-36
SLIDE 36

An Example

closed set

1 3 2 4

slide-37
SLIDE 37

An Example

closed set

1 3 2 4

slide-38
SLIDE 38

An Example

closed set

1 3 2 4

slide-39
SLIDE 39

An Example

self-maintaining set

1 3 2 4

slide-40
SLIDE 40

An Example

self-maintaining set

1 3 2 4

slide-41
SLIDE 41

An Example

  • rganisation = closed and self-maintaining

1 3 2 4

slide-42
SLIDE 42

An Example

1 3 2 4

  • rganisation = closed and self-maintaining
slide-43
SLIDE 43

An Example

1 3 2 4

  • rganisation = closed and self-maintaining
slide-44
SLIDE 44

An Example

set of all organisations

1 3 2 4

slide-45
SLIDE 45

Lattice of organisations

Given the set of all organization (O), given the operation organizational union (⊔), given the operation organizational intersection (⊓),
 
 <O, ⊔, ⊓ > is a Lattice.

slide-46
SLIDE 46

Lattice of organisations

{1} {2, 3} {1,2,3,4} { } 1 3 2 4

slide-47
SLIDE 47

Closed set generated by a set

  • Given any set is possible to generate its closure. The

smallest closed set containing it.

A B C D E

slide-48
SLIDE 48

Closed set generated by a set

  • Given any set is possible to generate its closure. The

smallest closed set containing it.

A B C D E

slide-49
SLIDE 49

Closed set generated by a set

  • Given any set is possible to generate its closure. The

smallest closed set containing it.

A B C D E

slide-50
SLIDE 50

Closed set generated by a set

  • Given any set is possible to generate its closure. The

smallest closed set containing it.

A B C D E

slide-51
SLIDE 51

Self Maintaining Set generated by a set.

Given any set is possible to reduce to its self maintaining subset. A B C D E F G H

slide-52
SLIDE 52

Self Maintaining Set generated by a set.

Given any set is possible to reduce to its self maintaining subset. A B C D E F G H

slide-53
SLIDE 53

Self Maintaining Set generated by a set.

Given any set is possible to reduce to its self maintaining subset. A B C D E F G H

slide-54
SLIDE 54

Self Maintaining Set generated by a set.

Given any set is possible to reduce to its self maintaining subset. A B C D E F G H

slide-55
SLIDE 55

Self Maintaining Set generated by a set.

Given any set is possible to reduce to its self maintaining subset. A B C D E F G H

slide-56
SLIDE 56

Self Maintaining Set generated by a set.

Given any set is possible to reduce to its self maintaining subset. A B C D E F G H

slide-57
SLIDE 57

Organisation generated by a subset

  • In the same way given any set it uniquely

generates a Organisation.

  • This is done by first taking the closure of the

set

  • then the biggest self maintaining set in the

closed set.

slide-58
SLIDE 58

Organisation generated by a subset

Closure Self Maintainance

slide-59
SLIDE 59

Organisation generated by a subset

Closure Self Maintainance

slide-60
SLIDE 60

Organisation generated by a subset

Closure Self Maintainance

slide-61
SLIDE 61

Organisation generated by a subset

Closure Self Maintainance

slide-62
SLIDE 62

Organisation generated by a subset

Closure Self Maintainance

slide-63
SLIDE 63

Organisation generated by a subset

Closure Self Maintainance

slide-64
SLIDE 64

Organisation generated by a subset

Closure Self Maintainance

slide-65
SLIDE 65

Organisation generated by a subset

Closure Self Maintainance

slide-66
SLIDE 66

Organisation generated by a subset

Closure Self Maintainance

slide-67
SLIDE 67

Organisation generated by a subset

Closure Self Maintainance

slide-68
SLIDE 68

Organisation generated by a subset

Closure Self Maintainance

slide-69
SLIDE 69

Organisation generated by a subset

Closure Self Maintainance

slide-70
SLIDE 70

Organisation generated by a subset

Closure Self Maintainance

slide-71
SLIDE 71

Organisation generated by a subset

Closure Self Maintainance

slide-72
SLIDE 72

Organisation generated by a subset

Closure Self Maintainance

slide-73
SLIDE 73

Organisation generated by a subset

Closure Self Maintainance

slide-74
SLIDE 74

Organisation generated by a subset

Closure Self Maintainance

slide-75
SLIDE 75

Organisation generated by a subset

Closure Self Maintainance

slide-76
SLIDE 76

Organisation generated by a subset

Closure Self Maintainance

slide-77
SLIDE 77

Organisation generated by a subset

Closure Self Maintainance

slide-78
SLIDE 78

Organisation generated by a subset

Closure Self Maintainance

slide-79
SLIDE 79

Organisation generated by a subset

slide-80
SLIDE 80

Organisation generated by a subset

Of course if the starting subset is already a organization the we will just regenerate the same organization. So organisations are the fixed point

  • f the “generate organization” operator.
slide-81
SLIDE 81

Intersection of 
 Organisation

  • Of course given two organisations it is

uniquely defined the organization generated by their intersection

slide-82
SLIDE 82

Intersection of


  • rganisations
  • Of course given two organisations it is

uniquely defined the organization generated by their intersection

slide-83
SLIDE 83

Intersection of


  • rganisations
  • Of course given two organisations it is

uniquely defined the organization generated by their intersection

slide-84
SLIDE 84

Intersection of


  • rganisations
  • Of course given two organisations it is

uniquely defined the organization generated by their intersection

slide-85
SLIDE 85

Union of organisations

  • Of course given two organisations it is

uniquely defined the organization generated by their union

slide-86
SLIDE 86

Union of organisations

  • Of course given two organisations it is

uniquely defined the organization generated by their union

slide-87
SLIDE 87

Union of organisations

  • Of course given two organisations it is

uniquely defined the organization generated by their union

slide-88
SLIDE 88

Union of organisations

  • Of course given two organisations it is

uniquely defined the organization generated by their union

slide-89
SLIDE 89

Self Organisation in a System of Binary Strings

NTop Boolean strings folded into matrix; Matrix multiplication; Result unfolded;

slide-90
SLIDE 90
slide-91
SLIDE 91

Binärstring-Chemie

0 1 1 0 1 0 0 1 0 1 0 1 1 1 1 1

slide-92
SLIDE 92

Binärstring-Chemie

0 1 1 0 1 0 0 1 0 1 0 1 1 1 1 1 1

slide-93
SLIDE 93

Binärstring-Chemie

0 1 1 0 1 0 0 1 0 1 0 1 1 1 1 1 1 1

slide-94
SLIDE 94

Binärstring-Chemie

0 1 1 0 1 0 0 1 0 1 0 1 1 1 1 1 1 1

slide-95
SLIDE 95

Binärstring-Chemie

0 1 1 0 1 0 0 1 0 1 0 1 1 1 1 1 1 1 2

slide-96
SLIDE 96

Binärstring-Chemie

0 1 1 0 1 0 0 1 0 1 0 1 1 1 1 1 1 1 2

slide-97
SLIDE 97

Binärstring-Chemie

1 1 1 1 0 1 1 0 1 0 0 1 0 1 0 1 1 1 2

slide-98
SLIDE 98

Binärstring-Chemie

1 1 1 1 0 1 1 0 1 0 0 1 0 1 0 1 1 1 2 2 1 1

slide-99
SLIDE 99

Binärstring-Chemie

1 1 1 1 0 1 1 0 1 0 0 1 0 1 0 1 1 1 1 1 2 2 1 1

> 1 ?

slide-100
SLIDE 100

Binärstring-Chemie

1 1

slide-101
SLIDE 101

Binärstring-Chemie

1 1

slide-102
SLIDE 102

Self Organisation in a System of Binary Strings

NTop Boolean strings folded into matrix; Matrix multiplication; Result unfolded; 15 Molecules 53 Organisations

slide-103
SLIDE 103

Peter Dittrich - FSU & JCB Jena 101 5 July 2004 Dagstuhl

slide-104
SLIDE 104

Toward a Theory of Organisations

Organisations form an algebra, a Lattice in particular Given any set of molecules you can define the organisation generated by this set

for all sets of molecules T,
 exists OT 
 (that can be generated in this way….)
 such that OT is an Organisation.
 If T, S sets, with T>S
 Then OT ≥ OS

slide-105
SLIDE 105

Peter Dittrich - FSU & JCB Jena 103

The Lattice of Organizations

5 July 2004 Dagstuhl

slide-106
SLIDE 106

Peter Dittrich - FSU & JCB Jena 104

Lattice of Organizations

Given the set of all organization (O), given the operation organizational union (∪), given the operation organizational intersection (∩),
 
 <O, ∪, ∩ > is a Lattice.

5 July 2004 Dagstuhl

slide-107
SLIDE 107

Example of Lattice

B

A

C D B A C = A ⨆ B D = A ⨅ B

slide-108
SLIDE 108

Example of not a Lattice

B

A

C D C

slide-109
SLIDE 109

NTop 15 Molecules 53 Organisations 54 Organisations

slide-110
SLIDE 110

Artificial Chemistry’s Global Dynamic. Movements in the Lattice of Organisation

…we consider the set of all possible organisations in an artificial chemistry. …this set generates a lattice. We consider the dynamical movement of a system in this lattice, under the influence of its inner dynamic and random noise. We notice that some organisations, while being algebraically closed, are not stable under the influence

  • f random external noise. While others, while being

algebraically self-maintaining, do not dynamically self- maintain all their elements. This leads to a definition of attractive organisations.

slide-111
SLIDE 111

Problems: Find the Lattice of organisations

slide-112
SLIDE 112

Chemical Organisation Theory

Formal Definition of Organisation that can be applied to

  • Chemistry
  • Biology
  • Systems Biology
  • Atmospheric Chemistry
  • Engineering

When is it a Lattice
 When it is not

slide-113
SLIDE 113

Chemical Organisation Theory

slide-114
SLIDE 114

Understanding an Artificial Chemistry

Understanding an Artificial Chemistry means at least:

  • know the lattice of Organisations:
  • know all the organisations;
  • given any two organisations A, B,


know what is: A ⨆ B, A ⨅ B Problems: Find the Lattice of organisations A list, and 2 tables

slide-115
SLIDE 115

Applying the Lattice

  • Start with a set of organisations.
  • Calculate all the union and intersections and add them;
  • Until you cannot add anything anymore;
  • Now you have a sub-lattice
  • Take an Org, add some molecules to find a new Organisation
  • Go from sub lattice to sub lattice 

  • …until you have found all the organisations.
slide-116
SLIDE 116

Theorem 1

B

A

S

In a lattice:
 (A U B) U C = A U (B U C);
 
 We have 2 Organisations S, C;
 We are looking for T with T = S U C,
 If exist 2 Organisations A, B
 such that S = A U B
 
 Then:
 T = A U (B U C). We might know R = B U C.
 In which case 
 T = S U C = A U R

C T R

slide-117
SLIDE 117

Theorem 1

B

A

S

In a lattice:
 (A U B) U C = A U (B U C);
 
 We have 2 Organisations S, C;
 We are looking for T with T = S U C
 If exist 2 Organisations A, B
 such that S = A U B
 
 Then:
 T = A U (B U C). We might know R = B U C.
 In which case 
 T = S U C = A U R

C T R

slide-118
SLIDE 118

Theorem 1

B

A

S

In a lattice:
 (A U B) U C = A U (B U C);
 
 We have 2 Organisations S, C;
 We are looking for T with T = S U C,
 If exist 2 Organisations A, B
 such that S = A U B Then:
 T = A U (B U C). We might know R = B U C.
 In which case 
 T = S U C = A U R

C T R

slide-119
SLIDE 119

Theorem 1

B

A

S

In a lattice:
 (A U B) U C = A U (B U C);
 
 We have 2 Organisations S, C;
 We are looking for T with T = S U C,
 If exist 2 Organisations A, B
 such that S = A U B
 
 Then:
 T = A U (B U C). We might know R = B U C.
 In which case 
 T = S U C = A U R

C T R

slide-120
SLIDE 120

Theorem 1

B

A

S

In a lattice:
 (A U B) U C = A U (B U C);
 
 We have 2 Organisations S, C;
 We are looking for T with T = S U C,
 If exist 2 Organisations A, B
 such that S = A U B
 
 Then:
 T = A U (B U C). We might know R = B U C.
 In which case 
 T = S U C = A U R

C T R

slide-121
SLIDE 121

Theorem 1

B

A

S

In a lattice:
 (A U B) U C = A U (B U C);
 
 We have 2 Organisations S, C;
 We are looking for T with T = S U C,
 If exist 2 Organisations A, B
 such that S = A U B
 
 Then:
 T = A U (B U C). We might know R = B U C.
 In which case 
 T = S U C = A U R

C T R

slide-122
SLIDE 122

Theorem 2

B

C

A

In a lattice: A, B, C, R are Organisations
 A < B < C
 
 We want to find T = B U R
 
 If A U R = C U R Then B U R = A U R = C U R


T R

slide-123
SLIDE 123

Theorem 2

B

C

A

In a lattice: A, B, C, R are Organisations
 A < B < C
 
 We want to find T = B U R
 
 If A U R = C U R Then B U R = A U R = C U R


T R

slide-124
SLIDE 124

Theorem 2

C

A If A U R = C U R Anything in between just goes there. T R B

slide-125
SLIDE 125

Theorem 2

C But T U R = T = C U R Thus

T R B

slide-126
SLIDE 126

Theorem 3

B

A

S C D If A U B = S;
 if C, A ≤ C ≤ S;
 if D, B ≤ D ≤ S; then:
 C U D = S.

slide-127
SLIDE 127

Theorem 3

B

A

S C D If A U B = S;
 if C, A ≤ C ≤ S;
 if D, B ≤ D ≤ S; then:
 C U D = S.

slide-128
SLIDE 128

Theorem 3

B

A

S C D If A U B = S;
 if C, A ≤ C ≤ S;
 if D, B ≤ D ≤ S; then:
 C U D = S.

slide-129
SLIDE 129

Theorem 3

B

A

S C D If A U B = S;
 if C, A ≤ C ≤ S;
 if D, B ≤ D ≤ S; then:
 C U D = S.

slide-130
SLIDE 130

How many Union and Intersections are Calculated vs Demonstrated

  • rganisations found
slide-131
SLIDE 131

Problem

A

B

B \ A

what molecules to ignore

what subsets of molecules to ignore

f

slide-132
SLIDE 132

Problem

A

B

B \ A

what molecules to ignore

what subsets of molecules to ignore

f A B f

slide-133
SLIDE 133

4 options

A

B

B \ A

what subsets of molecules to ignore

f A B f

Af —> B > A Af —> C with B > C > A, f ∈ C Af —> D with B > D > A, f ∉ D Af —> A

Downward

slide-134
SLIDE 134

4 options

A

B

B \ A

what subsets of molecules to ignore

f A B f

Af —> B > A Af —> C with B > C > A, f ∈ C Af —> D with B > D > A, f ∉ D Af —> A

Upward Downward

slide-135
SLIDE 135

4 options

A

B

B \ A

what subsets of molecules to ignore

f A B f

Af —> B > A Af —> C with B > C > A, f ∈ C Af —> D with B > D > A, f ∉ D Af —> A

C Upward Downward C f Upward

slide-136
SLIDE 136

4 options

A

B

B \ A

what subsets of molecules to ignore

f A B f

Af —> B > A Af —> C with B > C > A, f ∈ C Af —> D with B > D > A, f ∉ D Af —> A

C Upward Downward C f Upward D D Sideward

slide-137
SLIDE 137

Applying the Lattice 


  • ne molecule at a time
  • Start with a set of organisations.
  • Calculate all the union and intersections and add them;
  • Until you cannot add anything anymore;
  • Now you have a sub-lattice
  • Take an Org, add ONE molecule to find a new Organisation
  • Go from sub lattice to sub lattice 

  • …until you have found all the organisations.
slide-138
SLIDE 138

4 3 options

A

B

what subsets of molecules to ignore

f A B f

Af —> B > A Af —> D with B > D > A, f ∉ D Af —> A

Downward Upward D Sideward B \ A D

slide-139
SLIDE 139

A

B

A sideward molecule of an organisation
 is always a downward molecule


  • f another organisation

f A B f

Af —> D with B > D > A, f ∉ D Df —> D

Downward D Sideward B \ A D

We don’t need to study the sidewards

slide-140
SLIDE 140

4 3 2 options

A

B

what subsets of molecules to ignore

f A B f Af —> B > A Af —> A Downward Upward B \ A

slide-141
SLIDE 141

Taking 2 molecules at a time

A

B

what subsets of molecules to ignore

f Downward Upward D Sideward e B \ A

cases e goes up down f goes up 1 2 down 2 3

slide-142
SLIDE 142

Case 1, 2: If one molecule goes upward

A

B f Upward e

B \ A

cases e goes up down f goes up 1 2 down 2 3

We need to calculate GO(A U f U e) = GSM(GC(A U f U e)) 
 
 We know that 
 A U f ≤ GO(A U f) = B ≤ GC(A U f); thus GO(A U f) = GC(A U f)
 
 GO(A U f U e) = = GSM(GC(A U f U e)) = 
 = GSM(GC(GC(A U f) U e)) = = GSM(GC(GO(A U f) U e)) = = GO(B U e) 
 Which is something we obtained before. So cases 1, 2, will not lead to anything


  • new. We don’t need to calculate them
slide-143
SLIDE 143

Problem

A

B Solved


Theorem: No Organisation Left Behind

what molecules to ignore

what sets of molecules to ignore?
 Any subset where at least a subset of molecules of it goes upward 


f

cases e goes up down f goes up down

slide-144
SLIDE 144

Take away message

If something has a mathematical property: use it

slide-145
SLIDE 145

Note:

The code is available on git hub

https://github.com/pietrosperoni/LatticeOfChemicalOrganisations/tree/Public https://github.com/pietrosperoni

slide-146
SLIDE 146

Thank You

pietrosperoni.it