87
Automates Cellulaires P. Guillon et G. Theyssier équipe GDAC, I2M nov. 2017

Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Automates Cellulaires

P. Guillon et G. Theyssier

équipe GDAC, I2M

nov. 2017

Page 2: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Plan de l’exposé

1 Introduction / définitions

2 Décidabilité et complexité

3 Résistance au bruit

4 Mélange, aléa, dynamique ergodique

5 Universalité

Page 3: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Plan de l’exposé

1 Introduction / définitions

2 Décidabilité et complexité

3 Résistance au bruit

4 Mélange, aléa, dynamique ergodique

5 Universalité

Page 4: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Qu’est-ce que c’est ?

1 espace discret

2 ensemble fini d’états3 loi d’évolution locale,

uniforme, à temps discrets

Page 5: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Qu’est-ce que c’est ?

1 espace discret2 ensemble fini d’états

3 loi d’évolution locale,uniforme, à temps discrets

Page 6: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Qu’est-ce que c’est ?

1 espace discret2 ensemble fini d’états3 loi d’évolution locale,

uniforme, à temps discrets

Page 7: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Exemple 1 : majorité

13

13 états : 0 and 1règle : prendre l’étatmajoritaire du voisinage

DEMO

Page 8: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Exemple 2: le Jeu de la Vie

states: dead / aliven = nb of alive cells in neighb.birth: n = 3survival: n = 3 or 4otherwise death

DEMO

Page 9: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Can you guess the global behavior?

rule: change to next state in the cycle if seen ≥ 3 times inneighborhood, otherwise do not change

DEMO

Page 10: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

ThéorieSymbolic spaces

finite set (alphabet or states or colors...)

QL

the “lattice”a monoid or a grouplaw denoted ’+’finitely generatedtypically: Zd

Page 11: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

ThéorieSymbolic spaces

finite set (alphabet or states or colors...)

QL

the “lattice”a monoid or a grouplaw denoted ’+’finitely generatedtypically: Zd

Page 12: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

ThéorieSymbolic spaces

finite set (alphabet or states or colors...)

QL

the “lattice”a monoid or a grouplaw denoted ’+’finitely generatedtypically: Zd

Page 13: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

ThéorieCellular automata

Syntactical object (given)

neighborhood: a finite domain D

local rule: f : QD → Q

Dynamical system (studied)

global function : F : QL → QL s.t.

F (c)z = f (c[D,z])

where c[D,z] is the finite pattern : z ′ ∈ D 7→ c(z + z ′)

Page 14: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

ThéorieCellular automata

Syntactical object (given)

neighborhood: a finite domain D

local rule: f : QD → Q

Dynamical system (studied)

global function : F : QL → QL s.t.

F (c)z = f (c[D,z])

where c[D,z] is the finite pattern : z ′ ∈ D 7→ c(z + z ′)

Page 15: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

ThéorieExample: local sum mod 2

L = Z/20Z

Q = 0,1D = −1,0,1f (x , y , z) = x + y + z mod 2

time

Page 16: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

ThéoriePro-discrete topology

configurationc : L→ Q

finite patternρ : D ⊆ L→ Q

cylinder set (basis of the topology)

Cρ =

c : ∀z ∈ D, c(z) = ρ(z)

distance giving the same topology

d(c, c′) = 2−min|z|:c(z) 6=c′(z)

Key fact

QL is compact

Page 17: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

ThéoriePro-discrete topology

configurationc : L→ Q

finite patternρ : D ⊆ L→ Q

cylinder set (basis of the topology)

Cρ =

c : ∀z ∈ D, c(z) = ρ(z)

distance giving the same topology

d(c, c′) = 2−min|z|:c(z) 6=c′(z)

Key fact

QL is compact

Page 18: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

ThéoriePro-discrete topology

configurationc : L→ Q

finite patternρ : D ⊆ L→ Q

cylinder set (basis of the topology)

Cρ =

c : ∀z ∈ D, c(z) = ρ(z)

distance giving the same topology

d(c, c′) = 2−min|z|:c(z) 6=c′(z)

Key fact

QL is compact

Page 19: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

ThéoriePro-discrete topology

configurationc : L→ Q

finite patternρ : D ⊆ L→ Q

cylinder set (basis of the topology)

Cρ =

c : ∀z ∈ D, c(z) = ρ(z)

distance giving the same topology

d(c, c′) = 2−min|z|:c(z) 6=c′(z)

Key fact

QL is compact

Page 20: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

ThéorieTopological characterization

action of L on configurations: shift σz

σz(c) = z ′ 7→ c(z + z ′)

CA are shift-invariant: σz F = F σz

CA are continuous

Hedlund’s Theorem

F is a cellular automaton iff it is continuous and shift-invariant.

Corollary: if a CA is bijective then its inverse is also a CA.

Page 21: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

ThéorieTopological characterization

action of L on configurations: shift σz

σz(c) = z ′ 7→ c(z + z ′)

CA are shift-invariant: σz F = F σz

CA are continuous

Hedlund’s Theorem

F is a cellular automaton iff it is continuous and shift-invariant.

Corollary: if a CA is bijective then its inverse is also a CA.

Page 22: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

ThéorieTopological characterization

action of L on configurations: shift σz

σz(c) = z ′ 7→ c(z + z ′)

CA are shift-invariant: σz F = F σz

CA are continuous

Hedlund’s Theorem

F is a cellular automaton iff it is continuous and shift-invariant.

Corollary: if a CA is bijective then its inverse is also a CA.

Page 23: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

ThéorieTopological characterization

action of L on configurations: shift σz

σz(c) = z ′ 7→ c(z + z ′)

CA are shift-invariant: σz F = F σz

CA are continuous

Hedlund’s Theorem

F is a cellular automaton iff it is continuous and shift-invariant.

Corollary: if a CA is bijective then its inverse is also a CA.

Page 24: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

ThéorieAC comme systèmes dynamiques

dynamique orbitaleétude du graphe de la relation x → y ≡ F (x) = y

dynamique topologiqueidem + distance entre configurations

dynamique mesuréeidem en remplaçant l’espace QL

par l’espace des mesures de proba sur QL

Page 25: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Plan de l’exposé

1 Introduction / définitions

2 Décidabilité et complexité

3 Résistance au bruit

4 Mélange, aléa, dynamique ergodique

5 Universalité

Page 26: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Quelques problèmes standardsavoir un point fixe

∃x : F (x) = x

réversibilité

∀x , y : F (x) = F (y)⇒ x = y

surjectivité∀y ,∃x : F (x) = y

ensemble limiteΩ =

⋂t

F t(QZd )ensemble µ-limite

u ∈ L(Ωµ

)⇔ F tµ([u]) 6→ 0

sensibilité aux conditions initiales

∃ε, ∀x,∀δ, ∃y,∃t , d(x,y) ≤ δ and d(F t (x),F t (y)) > ε

Page 27: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

1D, temps borné : le royaume desautomates

Automates de Büchi

un automate fini A =(Σ,Q, δ, i ,F

)qui lit des mots infinis: Σω

u ∈ LA ⇔ A peut lire u en visitant une infinité de fois F

J. R. Büchi, 1962

stables par union, intersection et complémentationon peut décider si au moins un mot est accepté

si Σ = X × Y , un langage L ⊆ Σω peut être vu comme unerelation entre Xω et Yω

notion de relation reconnaissable par automate de Büchi

Page 28: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

1D, temps borné : le royaume desautomates

Automates de Büchi

un automate fini A =(Σ,Q, δ, i ,F

)qui lit des mots infinis: Σω

u ∈ LA ⇔ A peut lire u en visitant une infinité de fois F

J. R. Büchi, 1962

stables par union, intersection et complémentationon peut décider si au moins un mot est accepté

si Σ = X × Y , un langage L ⊆ Σω peut être vu comme unerelation entre Xω et Yω

notion de relation reconnaissable par automate de Büchi

Page 29: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

1D, temps borné : le royaume desautomates

Automates de Büchi

un automate fini A =(Σ,Q, δ, i ,F

)qui lit des mots infinis: Σω

u ∈ LA ⇔ A peut lire u en visitant une infinité de fois F

J. R. Büchi, 1962

stables par union, intersection et complémentationon peut décider si au moins un mot est accepté

si Σ = X × Y , un langage L ⊆ Σω peut être vu comme unerelation entre Xω et Yω

notion de relation reconnaissable par automate de Büchi

Page 30: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

1D, temps borné : le royaume desautomates

structure ω-automatiqueobjets des mots infinis

relations relations Büchi-reconnaissables

Model checking

La théorie du premier ordre d’une structure ω-automatique estdécidable.

si F est un AC 1D, alors F (x) = y estBüchi-reconnaissable.

Théorème

Toute formule utilisant F , =, ¬, ∧, ∨, et des quantifications surles configurations est décidable pour les AC 1D.

exemples : point fixe, surjectivité, réversibilité, etc. . .

Page 31: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

1D, temps borné : le royaume desautomates

structure ω-automatiqueobjets des mots infinis

relations relations Büchi-reconnaissables

Model checking

La théorie du premier ordre d’une structure ω-automatique estdécidable.

si F est un AC 1D, alors F (x) = y estBüchi-reconnaissable.

Théorème

Toute formule utilisant F , =, ¬, ∧, ∨, et des quantifications surles configurations est décidable pour les AC 1D.

exemples : point fixe, surjectivité, réversibilité, etc. . .

Page 32: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

1D, temps borné : le royaume desautomates

structure ω-automatiqueobjets des mots infinis

relations relations Büchi-reconnaissables

Model checking

La théorie du premier ordre d’une structure ω-automatique estdécidable.

si F est un AC 1D, alors F (x) = y estBüchi-reconnaissable.

Théorème

Toute formule utilisant F , =, ¬, ∧, ∨, et des quantifications surles configurations est décidable pour les AC 1D.

exemples : point fixe, surjectivité, réversibilité, etc. . .

Page 33: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

1D, temps borné : le royaume desautomates

structure ω-automatiqueobjets des mots infinis

relations relations Büchi-reconnaissables

Model checking

La théorie du premier ordre d’une structure ω-automatique estdécidable.

si F est un AC 1D, alors F (x) = y estBüchi-reconnaissable.

Théorème

Toute formule utilisant F , =, ¬, ∧, ∨, et des quantifications surles configurations est décidable pour les AC 1D.

exemples : point fixe, surjectivité, réversibilité, etc. . .

Page 34: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

2D : the realm of tilings

Theorem

In 2D, it is undecidable to know whether a CA has a fixed point.

Proof: the domino problem is undecidable (Berger, 1966)

Theorem (Kari, 1990, 1994)

In 2D, both injectivity and surjectivity are undecidable.

Page 35: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

2D : the realm of tilings

Theorem

In 2D, it is undecidable to know whether a CA has a fixed point.

Proof: the domino problem is undecidable (Berger, 1966)

Theorem (Kari, 1990, 1994)

In 2D, both injectivity and surjectivity are undecidable.

Page 36: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

2D : the realm of tilings

Theorem

In 2D, it is undecidable to know whether a CA has a fixed point.

Proof: the domino problem is undecidable (Berger, 1966)

Theorem (Kari, 1990, 1994)

In 2D, both injectivity and surjectivity are undecidable.

Page 37: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

2D : the realm of tilings

Theorem

In 2D, it is undecidable to know whether a CA has a fixed point.

Proof: the domino problem is undecidable (Berger, 1966)

Theorem (Kari, 1990, 1994)

In 2D, both injectivity and surjectivity are undecidable.

Page 38: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

1D, dynamique asymptotique ∼ 2D

Théorème (J. Kari, 1992)

Toute propriété non-triviale de Ω est indécidable.

nilpotence ≡ Ω est un singleton

Théorème (M. Delacourt, 2011)

En 1D, toute propriété non-triviale de Ωµ est indécidable.

µ-nilpotence ≡ Ωµ est un singleton

Page 39: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

1D, dynamique asymptotique ∼ 2DThéorème (J. Kari, 1992)

Toute propriété non-triviale de Ω est indécidable.

nilpotence ≡ Ω est un singleton

Théorème (M. Delacourt, 2011)

En 1D, toute propriété non-triviale de Ωµ est indécidable.

µ-nilpotence ≡ Ωµ est un singleton

Page 40: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

1D, dynamique asymptotique ∼ 2DThéorème (J. Kari, 1992)

Toute propriété non-triviale de Ω est indécidable.

nilpotence ≡ Ω est un singleton

Théorème (M. Delacourt, 2011)

En 1D, toute propriété non-triviale de Ωµ est indécidable.

µ-nilpotence ≡ Ωµ est un singleton

Page 41: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Complexité de la prédiction

Problème de la prédiction

Connaissant l’état de toutes les cellules dans un rayon t , quelest l’état de la cellule centrale après t étapes ?

problème décidable en temps polynomial

P-complet en général

pour l’automate majorité (plus proches voisins) c’est :très facile en 1D (classe NC)P-complet en 3D (C. Moore, 1997)ouvert en 2D !!

Page 42: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Complexité de la prédiction

Problème de la prédiction

Connaissant l’état de toutes les cellules dans un rayon t , quelest l’état de la cellule centrale après t étapes ?

problème décidable en temps polynomial

P-complet en général

pour l’automate majorité (plus proches voisins) c’est :très facile en 1D (classe NC)P-complet en 3D (C. Moore, 1997)ouvert en 2D !!

Page 43: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Complexité de la prédiction

Problème de la prédiction

Connaissant l’état de toutes les cellules dans un rayon t , quelest l’état de la cellule centrale après t étapes ?

problème décidable en temps polynomial

P-complet en général

pour l’automate majorité (plus proches voisins) c’est :très facile en 1D (classe NC)

P-complet en 3D (C. Moore, 1997)ouvert en 2D !!

Page 44: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Complexité de la prédiction

Problème de la prédiction

Connaissant l’état de toutes les cellules dans un rayon t , quelest l’état de la cellule centrale après t étapes ?

problème décidable en temps polynomial

P-complet en général

pour l’automate majorité (plus proches voisins) c’est :très facile en 1D (classe NC)P-complet en 3D (C. Moore, 1997)

ouvert en 2D !!

Page 45: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Complexité de la prédiction

Problème de la prédiction

Connaissant l’état de toutes les cellules dans un rayon t , quelest l’état de la cellule centrale après t étapes ?

problème décidable en temps polynomial

P-complet en général

pour l’automate majorité (plus proches voisins) c’est :très facile en 1D (classe NC)P-complet en 3D (C. Moore, 1997)ouvert en 2D !!

Page 46: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Problèmes ouverts

frontière décidable/indécidable en 1D ?

haute indécidabilité et dépendance enla dimension ?

Page 47: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Problèmes ouverts

frontière décidable/indécidable en 1D ?

haute indécidabilité et dépendance enla dimension ?

Page 48: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Plan de l’exposé

1 Introduction / définitions

2 Décidabilité et complexité

3 Résistance au bruit

4 Mélange, aléa, dynamique ergodique

5 Universalité

Page 49: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

The Problem

choose some CA with evolution rule φ

ε-perturbation: At each step,either choose a state at random

(proba ε)

or apply φ

(proba 1− ε)

what we want to study:Starting from initial configuration x ,

what is the distribution µt (x)of configurations at time t?

1 does limt→∞ µt (x) depend on x?2 can we do something useful with an ε-pertubated rule?

Page 50: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

The Problem

choose some CA with evolution rule φ

ε-perturbation: At each step,either choose a state at random

(proba ε)

or apply φ

(proba 1− ε)

what we want to study:Starting from initial configuration x ,

what is the distribution µt (x)of configurations at time t?

1 does limt→∞ µt (x) depend on x?2 can we do something useful with an ε-pertubated rule?

Page 51: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

The Problem

choose some CA with evolution rule φ

ε-perturbation: At each step,either choose a state at random (proba ε)or apply φ (proba 1− ε)

what we want to study:Starting from initial configuration x ,

what is the distribution µt (x)of configurations at time t?

1 does limt→∞ µt (x) depend on x?2 can we do something useful with an ε-pertubated rule?

Page 52: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

The Problem

choose some CA with evolution rule φ

ε-perturbation: At each step,either choose a state at random (proba ε)or apply φ (proba 1− ε)

what we want to study:Starting from initial configuration x ,

what is the distribution µt (x)of configurations at time t?

1 does limt→∞ µt (x) depend on x?2 can we do something useful with an ε-pertubated rule?

Page 53: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

The Problem

choose some CA with evolution rule φ

ε-perturbation: At each step,either choose a state at random (proba ε)or apply φ (proba 1− ε)

what we want to study:Starting from initial configuration x ,

what is the distribution µt (x)of configurations at time t?

1 does limt→∞ µt (x) depend on x?2 can we do something useful with an ε-pertubated rule?

Page 54: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Experimentsε-perturbations with ε = 0.05

Game of Life

DEMO

Majority

DEMO

Toom’s majority

rule: change to majoritary stateas seen in neighborhood

DEMO

Page 55: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Formal setting

invariant distribution:

µ = Fµ

for every lattice, there is always (at least) one invariantdistribution (compactness)ergodicity:

1 there exists an invariant distribution µ2 for all x µt (x)→ µ

intuition: all information about x is ultimately lost

finite latticeε-perturbation is a finite irreducible Markov chainTheorem: it is always ergodic

Page 56: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Formal setting

invariant distribution:

µ = Fµ

for every lattice, there is always (at least) one invariantdistribution (compactness)ergodicity:

1 there exists an invariant distribution µ2 for all x µt (x)→ µ

intuition: all information about x is ultimately lost

finite latticeε-perturbation is a finite irreducible Markov chainTheorem: it is always ergodic

Page 57: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Formal setting

invariant distribution:

µ = Fµ

for every lattice, there is always (at least) one invariantdistribution (compactness)ergodicity:

1 there exists an invariant distribution µ2 for all x µt (x)→ µ

intuition: all information about x is ultimately lost

finite latticeε-perturbation is a finite irreducible Markov chainTheorem: it is always ergodic

Page 58: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Theorems

Toom’s majority

Toom’s rule is not ergodic.

Reliable computation

For any 1D CA F , there is a 3D CA G that can simulate F evenwith ε-perturbation(for ε small enough)

P. Gács et. al.http://www.cs.bu.edu/~gacs/recent-publ.html

Page 59: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Problèmes ouverts

majorité symétrique non-ergodique

AC 1D bruité non-ergodique, exempleélémentaire ?

Page 60: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Plan de l’exposé

1 Introduction / définitions

2 Décidabilité et complexité

3 Résistance au bruit

4 Mélange, aléa, dynamique ergodique

5 Universalité

Page 61: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Problem statement

fix a deterministic CA rulefix a random distribution µ0

what we want to study:Starting from a µ0-random initial configuration,

what is the distribution µtof configurations at time t?

1 what is limt→∞ µt?2 what kind of convergence?

Page 62: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Problem statement

fix a deterministic CA rulefix a random distribution µ0

what we want to study:Starting from a µ0-random initial configuration,

what is the distribution µtof configurations at time t?

1 what is limt→∞ µt?2 what kind of convergence?

Page 63: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Problem statement

fix a deterministic CA rulefix a random distribution µ0

what we want to study:Starting from a µ0-random initial configuration,

what is the distribution µtof configurations at time t?

1 what is limt→∞ µt?2 what kind of convergence?

Page 64: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

ExperimentsThe sum modulo rule

p a prime numberstates: 0, . . . ,p − 1rule: φ(x) =

∑xi mod p

(p=2) power of p time steps

DEMO

(p=7) looking at µt when starting with many 0s

DEMO

Page 65: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

ExperimentsThe sum modulo rule

p a prime numberstates: 0, . . . ,p − 1rule: φ(x) =

∑xi mod p

(p=2) power of p time steps

DEMO

(p=7) looking at µt when starting with many 0s

DEMO

Page 66: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

ExperimentsThe sum modulo rule

p a prime numberstates: 0, . . . ,p − 1rule: φ(x) =

∑xi mod p

(p=2) power of p time steps

DEMO

(p=7) looking at µt when starting with many 0s

DEMO

Page 67: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Theorem

Cesarò mean:Mt =

1t

∑i≤t

µi .

Averaging

Starting from any distribution of states∗, Mt converges touniform distribution.

a kind of second law of thermodynamics

M. Pivato et. alhttp://euclid.trentu.ca/pivato/Research/research.html

Page 68: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Theorem

Cesarò mean:Mt =

1t

∑i≤t

µi .

Averaging

Starting from any distribution of states∗, Mt converges touniform distribution.

a kind of second law of thermodynamics

M. Pivato et. alhttp://euclid.trentu.ca/pivato/Research/research.html

Page 69: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Problèmes ouverts

comprendre la convergence simple ?

mélangeant⇒ facilement prédictible ?

Page 70: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Plan de l’exposé

1 Introduction / définitions

2 Décidabilité et complexité

3 Résistance au bruit

4 Mélange, aléa, dynamique ergodique

5 Universalité

Page 71: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Different Notions of Universality

Cellular Automata can be simulated on a computer.

Converse also true: CA can simulate computersexample: Game of Life!

Difficulty: how to define “can simulate”?

Page 72: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Different Notions of Universality

Cellular Automata can be simulated on a computer.

Converse also true: CA can simulate computersexample: Game of Life!

Difficulty: how to define “can simulate”?

Page 73: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Different Notions of Universality

Cellular Automata can be simulated on a computer.

Converse also true: CA can simulate computersexample: Game of Life!

Difficulty: how to define “can simulate”?

Page 74: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Simulation of a CA by another CA

intuition:simulated / simulator1 cell↔ m × n block of cells1 state↔ m × n pattern of states1 time step↔ a constant number of steps

example:Diagonal shift Game of Life

Page 75: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Simulation of a CA by another CA

intuition:simulated / simulator1 cell↔ m × n block of cells1 state↔ m × n pattern of states1 time step↔ a constant number of steps

example:Diagonal shift

T=0

Game of Life

T=0

Page 76: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Simulation of a CA by another CA

intuition:simulated / simulator1 cell↔ m × n block of cells1 state↔ m × n pattern of states1 time step↔ a constant number of steps

example:Diagonal shift

T=1

Game of Life

T=12

Page 77: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Théorie des pré-ordre de simulation

M. Delorme et. al.Bulking II: Classifications of Cellular Automata

Page 78: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Intrinsic Universality

Definition:a CA is intrinsically universal if it can simulate any CA

Game of Life is intrinsically universal!

Theorem: There is no algorithm to decide intrinsicuniversality.

N. OllingerUniversalities in Cellular Automata (Handbook of Natural Computing)

Page 79: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Intrinsic Universality

Definition:a CA is intrinsically universal if it can simulate any CA

Game of Life is intrinsically universal!

Theorem: There is no algorithm to decide intrinsicuniversality.

N. OllingerUniversalities in Cellular Automata (Handbook of Natural Computing)

Page 80: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Intrinsic Universality

Definition:a CA is intrinsically universal if it can simulate any CA

Game of Life is intrinsically universal!

Theorem: There is no algorithm to decide intrinsicuniversality.

N. OllingerUniversalities in Cellular Automata (Handbook of Natural Computing)

Page 81: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Intrinsic Universality

Definition:a CA is intrinsically universal if it can simulate any CA

Game of Life is intrinsically universal!

Theorem: There is no algorithm to decide intrinsicuniversality.

N. OllingerUniversalities in Cellular Automata (Handbook of Natural Computing)

Page 82: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

How Common is Universality?

partial answer: symmetry is almost surely enough

what symmetry?1 “hyper-locality”: φ(x1, . . . , xk ) ∈ x1, . . . , xk

2 “hyper-isotropy”: φ invariant under any permutation ofneighbors (xi )

Theorem

For symmetric CA, the proportion of universal CA goes to 1when size (states or neighborhood) goes to∞

DEMO

Page 83: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

How Common is Universality?

partial answer: symmetry is almost surely enough

what symmetry?1 “hyper-locality”: φ(x1, . . . , xk ) ∈ x1, . . . , xk

2 “hyper-isotropy”: φ invariant under any permutation ofneighbors (xi )

Theorem

For symmetric CA, the proportion of universal CA goes to 1when size (states or neighborhood) goes to∞

DEMO

Page 84: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

How Common is Universality?

partial answer: symmetry is almost surely enough

what symmetry?1 “hyper-locality”: φ(x1, . . . , xk ) ∈ x1, . . . , xk

2 “hyper-isotropy”: φ invariant under any permutation ofneighbors (xi )

Theorem

For symmetric CA, the proportion of universal CA goes to 1when size (states or neighborhood) goes to∞

DEMO

Page 85: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Problèmes ouverts

un universel complet ?

densité de l’universalité ?

Page 86: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Anti-plan de l’exposé

1 AC comme modèle de calculreconnaissance “parallèle” de langageclasses de complexitéalgorithmique sur AC

2 AC et paradigmes inspirés de la physiqueconservation de quantitéssystèmes de particulescalcul et réversibilité

3 AC et modélisationzoologie de la modélisation de phénomènes naturelsrelations avec les EDPsimulations numériques

Page 87: Automates Cellulaires - dptinfo.ens-cachan.fr · Plan de l’exposé 1 Introduction / définitions 2 Décidabilité et complexité 3 Résistance au bruit 4 Mélange, aléa, dynamique

Merci !