Continuous models of computation: computability, complexity, - - PowerPoint PPT Presentation

continuous models of computation computability complexity
SMART_READER_LITE
LIVE PREVIEW

Continuous models of computation: computability, complexity, - - PowerPoint PPT Presentation

Continuous models of computation: computability, complexity, universality Amaury Pouly Joint work with Olivier Bournez and Daniel Graa CNRS, IRIF, Universit Paris Diderot 26 march 2019 1 / 23 What is a computer? 2 / 23 What is a


slide-1
SLIDE 1

Continuous models of computation: computability, complexity, universality

Amaury Pouly Joint work with Olivier Bournez and Daniel Graça

CNRS, IRIF, Université Paris Diderot

26 march 2019

1 / 23

slide-2
SLIDE 2

What is a computer?

2 / 23

slide-3
SLIDE 3

What is a computer?

2 / 23

slide-4
SLIDE 4

What is a computer?

VS

2 / 23

slide-5
SLIDE 5

Analog Computers

Differential Analyser “Mathematica of the 1920s” Admiralty Fire Control Table British Navy ships (WW2)

3 / 23

slide-6
SLIDE 6

Church Thesis

Computability discrete Turing machine boolean circuits logic recursive functions lambda calculus quantum analog continuous

Church Thesis

All reasonable models of computation are equivalent.

4 / 23

slide-7
SLIDE 7

Church Thesis

Complexity discrete Turing machine boolean circuits logic recursive functions lambda calculus quantum analog continuous

  • ?

?

Effective Church Thesis

All reasonable models of computation are equivalent for complexity.

4 / 23

slide-8
SLIDE 8

Polynomial Differential Equations

k

k

+

u+v u v

×

uv u v

  • u

u

General Purpose Analog Computer Differential Analyzer

5 / 23

slide-9
SLIDE 9

Polynomial Differential Equations

k

k

+

u+v u v

×

uv u v

  • u

u

General Purpose Analog Computer Differential Analyzer polynomial differential equations : y(0)= y0 y′(t)= p(y(t))

5 / 23

slide-10
SLIDE 10

Polynomial Differential Equations

k

k

+

u+v u v

×

uv u v

  • u

u

General Purpose Analog Computer Differential Analyzer polynomial differential equations : y(0)= y0 y′(t)= p(y(t)) Reaction networks : ◮ chemical ◮ enzymatic Newton mechanics

5 / 23

slide-11
SLIDE 11

Polynomial Differential Equations

k

k

+

u+v u v

×

uv u v

  • u

u

General Purpose Analog Computer Differential Analyzer polynomial differential equations : y(0)= y0 y′(t)= p(y(t)) Reaction networks : ◮ chemical ◮ enzymatic Newton mechanics ◮ Rich class ◮ Stable (+,×,◦,/,ED) ◮ No closed-form solution

5 / 23

slide-12
SLIDE 12

Example of dynamical system

θ ℓ

m

g ¨ θ + g

ℓ sin(θ) = 0

6 / 23

slide-13
SLIDE 13

Example of dynamical system

θ ℓ

m

g ¨ θ + g

ℓ sin(θ) = 0

       y1 = θ y2 = ˙ θ y3 = sin(θ) y4 = cos(θ) ⇔        y′

1 = y2

y′

2 = − g l y3

y′

3 = y2y4

y′

4 = −y2y3

6 / 23

slide-14
SLIDE 14

Example of dynamical system

θ ℓ

m

g ×

  • ×
  • −g

× ×

−1

  • y1

y2 y3 y4 ¨ θ + g

ℓ sin(θ) = 0

       y1 = θ y2 = ˙ θ y3 = sin(θ) y4 = cos(θ) ⇔        y′

1 = y2

y′

2 = − g l y3

y′

3 = y2y4

y′

4 = −y2y3

6 / 23

slide-15
SLIDE 15

Example of dynamical system

θ ℓ

m

g ×

  • ×
  • −g

× ×

−1

  • y1

y2 y3 y4 ¨ θ + g

ℓ sin(θ) = 0

       y1 = θ y2 = ˙ θ y3 = sin(θ) y4 = cos(θ) ⇔        y′

1 = y2

y′

2 = − g l y3

y′

3 = y2y4

y′

4 = −y2y3

Historical remark : the word “analog”

The pendulum and the circuit have the same equation. One can study

  • ne using the other by analogy.

6 / 23

slide-16
SLIDE 16

Computing with differential equations

Generable functions y(0)= y0 y′(x)= p(y(x)) x ∈ R f(x) = y1(x) x

y1(x)

Shannon’s notion

7 / 23

slide-17
SLIDE 17

Computing with differential equations

Generable functions y(0)= y0 y′(x)= p(y(x)) x ∈ R f(x) = y1(x) x

y1(x)

Shannon’s notion sin, cos, exp, log, ... Strictly weaker than Turing machines [Shannon, 1941]

7 / 23

slide-18
SLIDE 18

Computing with differential equations

Generable functions y(0)= y0 y′(x)= p(y(x)) x ∈ R f(x) = y1(x) x

y1(x)

Shannon’s notion sin, cos, exp, log, ... Strictly weaker than Turing machines [Shannon, 1941] Computable y(0)= q(x) y′(t)= p(y(t)) x ∈ R t ∈ R+ f(x) = lim

t→∞ y1(t)

t

f(x) x y1(t)

Modern notion

7 / 23

slide-19
SLIDE 19

Computing with differential equations

Generable functions y(0)= y0 y′(x)= p(y(x)) x ∈ R f(x) = y1(x) x

y1(x)

Shannon’s notion sin, cos, exp, log, ... Strictly weaker than Turing machines [Shannon, 1941] Computable y(0)= q(x) y′(t)= p(y(t)) x ∈ R t ∈ R+ f(x) = lim

t→∞ y1(t)

t

f(x) x y1(t)

Modern notion sin, cos, exp, log, Γ, ζ, ... Turing powerful [Bournez et al., 2007]

7 / 23

slide-20
SLIDE 20

From discrete to real computability

Computable Analysis : “Turing” computability over real numbers

8 / 23

slide-21
SLIDE 21

From discrete to real computability

Computable Analysis : “Turing” computability over real numbers

Definition (Ko, 1991; Weihrauch, 2000)

x ∈ R is computable iff ∃ a computable f : N → Q such that : |x − f(n)| 10−n n ∈ N Examples : rational numbers, π, e, ... n f(n) |π − f(n)| 3 0.14 10−0 1 3.1 0.04 10−1 2 3.14 0.001 10−2 10 3.1415926535 0.9 · 10−10 10−10

8 / 23

slide-22
SLIDE 22

From discrete to real computability

Computable Analysis : “Turing” computability over real numbers

Definition (Ko, 1991; Weihrauch, 2000)

x ∈ R is computable iff ∃ a computable f : N → Q such that : |x − f(n)| 10−n n ∈ N Examples : rational numbers, π, e, ... n f(n) |π − f(n)| 3 0.14 10−0 1 3.1 0.04 10−1 2 3.14 0.001 10−2 10 3.1415926535 0.9 · 10−10 10−10 Beware : there exists uncomputable real numbers! x =

  • n∈Γ

2−n, Γ = {n : the nth Turing machine halts}

8 / 23

slide-23
SLIDE 23

From discrete to real computability

x f(x) r ∈ Q f(r)

8 / 23

slide-24
SLIDE 24

From discrete to real computability

x f(x) r ∈ Q f(r)

ψ(r,0) 10−0

Definition (Computable function)

f : [a, b] → R is computable iff ∃ m : N → N, computable functions such that : ◮ effective approx over Q : |f(r) − ψ(r, n)| 10−n

8 / 23

slide-25
SLIDE 25

From discrete to real computability

x f(x) r ∈ Q f(r)

ψ(r,1) 10−1

Definition (Computable function)

f : [a, b] → R is computable iff ∃ m : N → N, computable functions such that : ◮ effective approx over Q : |f(r) − ψ(r, n)| 10−n

8 / 23

slide-26
SLIDE 26

From discrete to real computability

x f(x) r ∈ Q f(r)

ψ(r,2) 10−2

Definition (Computable function)

f : [a, b] → R is computable iff ∃ m : N → N, computable functions such that : ◮ effective approx over Q : |f(r) − ψ(r, n)| 10−n

8 / 23

slide-27
SLIDE 27

From discrete to real computability

x f(x) x f(x) y f(y)

10−m(0) 10−0

Definition (Computable function)

f : [a, b] → R is computable iff ∃ m : N → N, ψ : Q × N → Q computable functions such that : ◮ effective approx over Q : |f(r) − ψ(r, n)| 10−n ◮ effective continuity : |x − y| 10−m(n) ⇒ |f(x) − f(y)| 10−n m : modulus of continuity

8 / 23

slide-28
SLIDE 28

From discrete to real computability

x f(x) x f(x) y

f(y) 10−m(1) 10−1

Definition (Computable function)

f : [a, b] → R is computable iff ∃ m : N → N, ψ : Q × N → Q computable functions such that : ◮ effective approx over Q : |f(r) − ψ(r, n)| 10−n ◮ effective continuity : |x − y| 10−m(n) ⇒ |f(x) − f(y)| 10−n m : modulus of continuity

8 / 23

slide-29
SLIDE 29

From discrete to real computability

x f(x) x f(x)

y f(y) 10−m(2) 10−2

Definition (Computable function)

f : [a, b] → R is computable iff ∃ m : N → N, ψ : Q × N → Q computable functions such that : ◮ effective approx over Q : |f(r) − ψ(r, n)| 10−n ◮ effective continuity : |x − y| 10−m(n) ⇒ |f(x) − f(y)| 10−n m : modulus of continuity

8 / 23

slide-30
SLIDE 30

From discrete to real computability

Definition (Computable function)

f : [a, b] → R is computable iff ∃ m : N → N, ψ : Q × N → Q computable functions such that : ◮ effective approx over Q : |f(r) − ψ(r, n)| 10−n ◮ effective continuity : |x − y| 10−m(n) ⇒ |f(x) − f(y)| 10−n m : modulus of continuity All computable functions are continuous! Examples : polynomials, sin, exp, √· Beware : there exists (continuous) uncomputable real functions!

8 / 23

slide-31
SLIDE 31

From discrete to real computability

Definition (Computable function)

f : [a, b] → R is computable iff ∃ m : N → N, ψ : Q × N → Q computable functions such that : ◮ effective approx over Q : |f(r) − ψ(r, n)| 10−n ◮ effective continuity : |x − y| 10−m(n) ⇒ |f(x) − f(y)| 10−n m : modulus of continuity All computable functions are continuous! Examples : polynomials, sin, exp, √· Beware : there exists (continuous) uncomputable real functions!

Polytime complexity

Add “polynomial time computable” everywhere.

8 / 23

slide-32
SLIDE 32

From discrete to real computability

Definition (Computable function)

f : [a, b] → R is computable iff ∃ m : N → N, ψ : Q × N → Q computable functions such that : ◮ effective approx over Q : |f(r) − ψ(r, n)| 10−n ◮ effective continuity : |x − y| 10−m(n) ⇒ |f(x) − f(y)| 10−n m : modulus of continuity All computable functions are continuous! Examples : polynomials, sin, exp, √· Beware : there exists (continuous) uncomputable real functions!

Polytime complexity

Add “polynomial time computable” everywhere. Remark : there are other theories of computability over R, notably BSS (Blum-Shub-Smale).

8 / 23

slide-33
SLIDE 33

Equivalence with computable analysis

Definition (Bournez et al, 2007)

f computable by GPAC if ∃p polynomial such that ∀x ∈ [a, b] y(0) = (x, 0, . . . , 0) y′(t) = p(y(t)) satisfies |f(x) − y1(t)| y2(t) et y2(t) − − − →

t→∞ 0.

t

f(x) x y1(t)

y1(t) − − − →

t→∞ f(x)

y2(t) = error bound

9 / 23

slide-34
SLIDE 34

Equivalence with computable analysis

Definition (Bournez et al, 2007)

f computable by GPAC if ∃p polynomial such that ∀x ∈ [a, b] y(0) = (x, 0, . . . , 0) y′(t) = p(y(t)) satisfies |f(x) − y1(t)| y2(t) et y2(t) − − − →

t→∞ 0.

t

f(x) x y1(t)

y1(t) − − − →

t→∞ f(x)

y2(t) = error bound

Theorem (Bournez et al, 2007)

f : [a, b] → R computable ⇔ f computable by GPAC

9 / 23

slide-35
SLIDE 35

Complexity of analog systems

◮ Turing machines : T(x) = number of steps to compute on x

10 / 23

slide-36
SLIDE 36

Complexity of analog systems

◮ Turing machines : T(x) = number of steps to compute on x ◮ GPAC :

Tentative definition

T(x) = ?? y(0) = (x, 0, . . . , 0) y′ = p(y) t

f(x) x y1(t)

10 / 23

slide-37
SLIDE 37

Complexity of analog systems

◮ Turing machines : T(x) = number of steps to compute on x ◮ GPAC :

Tentative definition

T(x, µ) = y(0) = (x, 0, . . . , 0) y′ = p(y) t

f(x) x y1(t)

10 / 23

slide-38
SLIDE 38

Complexity of analog systems

◮ Turing machines : T(x) = number of steps to compute on x ◮ GPAC :

Tentative definition

T(x, µ) = first time t so that |y1(t) − f(x)| e−µ y(0) = (x, 0, . . . , 0) y′ = p(y) t

f(x) x y1(t)

10 / 23

slide-39
SLIDE 39

Complexity of analog systems

◮ Turing machines : T(x) = number of steps to compute on x ◮ GPAC :

Tentative definition

T(x, µ) = first time t so that |y1(t) − f(x)| e−µ y(0) = (x, 0, . . . , 0) y′ = p(y) t

f(x) x y1(t)

  • z(t) = y(et)

t

f(x) x z1(t)

10 / 23

slide-40
SLIDE 40

Complexity of analog systems

◮ Turing machines : T(x) = number of steps to compute on x ◮ GPAC :

Tentative definition

T(x, µ) = first time t so that |y1(t) − f(x)| e−µ y(0) = (x, 0, . . . , 0) y′ = p(y) t

f(x) x y1(t)

  • z(t) = y(et)

t

f(x) x z1(t)

w(t) = y(eet) t

f(x) x w1(t)

10 / 23

slide-41
SLIDE 41

Complexity of analog systems

◮ Turing machines : T(x) = number of steps to compute on x ◮ GPAC : time contraction problem → open problem

Tentative definition

T(x, µ) = first time t so that |y1(t) − f(x)| e−µ y(0) = (x, 0, . . . , 0) y′ = p(y) t

f(x) x y1(t)

  • z(t) = y(et)

t

f(x) x z1(t)

Something is wrong...

All functions have constant time complexity. w(t) = y(eet) t

f(x) x w1(t)

10 / 23

slide-42
SLIDE 42

Time-space correlation of the GPAC

y(0) = q(x) y′ = p(y) t

f(x) q(x) y1(t)

  • z(t) = y(et)

t

f(x) ˜ q(x) z1(t)

11 / 23

slide-43
SLIDE 43

Time-space correlation of the GPAC

y(0) = q(x) y′ = p(y) t

f(x) q(x) y1(t)

  • z(t) = y(et)

t

f(x) ˜ q(x) z1(t)

extra component : w(t) = et t

w(t)

11 / 23

slide-44
SLIDE 44

Time-space correlation of the GPAC

y(0) = q(x) y′ = p(y) t

f(x) q(x) y1(t)

  • z(t) = y(et)

t

f(x) ˜ q(x) z1(t)

Observation

Time scaling costs “space”.

  • Time complexity for the GPAC

must involve time and space! extra component : w(t) = et t

w(t)

11 / 23

slide-45
SLIDE 45

Characterization of polynomial time

Definition : L ∈ ANALOG-PTIME ⇔ ∃p polynomial, ∀ word w y(0) = (ψ(w), |w|, 0, . . . , 0) y′ = p(y) ψ(w) =

|w|

  • i=1

wi2−i ℓ(t) = length of y 1 −1

y1(t) ψ(w)

12 / 23

slide-46
SLIDE 46

Characterization of polynomial time

Definition : L ∈ ANALOG-PTIME ⇔ ∃p polynomial, ∀ word w y(0) = (ψ(w), |w|, 0, . . . , 0) y′ = p(y) ψ(w) =

|w|

  • i=1

wi2−i ℓ(t) = length of y 1 −1 accept : w ∈ L computing

y1(t) ψ(w)

satisfies

  • 1. if y1(t) 1 then w ∈ L

12 / 23

slide-47
SLIDE 47

Characterization of polynomial time

Definition : L ∈ ANALOG-PTIME ⇔ ∃p polynomial, ∀ word w y(0) = (ψ(w), |w|, 0, . . . , 0) y′ = p(y) ψ(w) =

|w|

  • i=1

wi2−i ℓ(t) = length of y 1 −1 accept : w ∈ L reject : w / ∈ L computing

y1(t) ψ(w)

satisfies

  • 2. if y1(t) −1 then w /

∈ L

12 / 23

slide-48
SLIDE 48

Characterization of polynomial time

Definition : L ∈ ANALOG-PTIME ⇔ ∃p polynomial, ∀ word w y(0) = (ψ(w), |w|, 0, . . . , 0) y′ = p(y) ψ(w) =

|w|

  • i=1

wi2−i ℓ(t) = length of y 1 −1

poly(|w|)

accept : w ∈ L reject : w / ∈ L computing forbidden

y1(t) ψ(w)

satisfies

  • 3. if ℓ(t) poly(|w|) then |y1(t)| 1

12 / 23

slide-49
SLIDE 49

Characterization of polynomial time

Definition : L ∈ ANALOG-PTIME ⇔ ∃p polynomial, ∀ word w y(0) = (ψ(w), |w|, 0, . . . , 0) y′ = p(y) ψ(w) =

|w|

  • i=1

wi2−i ℓ(t) = length of y 1 −1

poly(|w|)

accept : w ∈ L reject : w / ∈ L computing forbidden

y1(t) y1(t) y1(t) ψ(w)

Theorem

PTIME = ANALOG-PTIME

12 / 23

slide-50
SLIDE 50

Summary

ANALOG-PTIME ANALOG-PR

ℓ(t)

1 −1

poly(|w|) w∈L w / ∈L y1(t) y1(t) y1(t) ψ(w) ℓ(t) f(x) x y1(t)

Theorem

◮ L ∈ PTIME of and only if L ∈ ANALOG-PTIME ◮ f : [a, b] → R computable in polynomial time ⇔ f ∈ ANALOG-PR ◮ Analog complexity theory based on length ◮ Time of Turing machine ⇔ length of the GPAC ◮ Purely continuous characterization of PTIME

13 / 23

slide-51
SLIDE 51

Summary

ANALOG-PTIME ANALOG-PR

ℓ(t)

1 −1

poly(|w|) w∈L w / ∈L y1(t) y1(t) y1(t) ψ(w) ℓ(t) f(x) x y1(t)

Theorem

◮ L ∈ PTIME of and only if L ∈ ANALOG-PTIME ◮ f : [a, b] → R computable in polynomial time ⇔ f ∈ ANALOG-PR ◮ Analog complexity theory based on length ◮ Time of Turing machine ⇔ length of the GPAC ◮ Purely continuous characterization of PTIME ◮ Only rational coefficients needed

13 / 23

slide-52
SLIDE 52

In the remaining time...

Two applications of the techniques we have developed : Chemical Reaction Networks Universal differential equation

14 / 23

slide-53
SLIDE 53

Chemical Reaction Networks

Definition : a reaction system is a finite set of ◮ molecular species y1, . . . , yn ◮ reactions of the form

i aiyi f

− →

i biyi

(ai, bi ∈ N, f = rate) Example (any resemblance to chemistry is purely coincidental) : 2H + O → H2O C + O2 → CO2

15 / 23

slide-54
SLIDE 54

Chemical Reaction Networks

Definition : a reaction system is a finite set of ◮ molecular species y1, . . . , yn ◮ reactions of the form

i aiyi f

− →

i biyi

(ai, bi ∈ N, f = rate) Example (any resemblance to chemistry is purely coincidental) : 2H + O → H2O C + O2 → CO2 Assumption : law of mass action

  • i

aiyi

k

− →

  • i

biyi

  • f(y) = k
  • i

yai

i

15 / 23

slide-55
SLIDE 55

Chemical Reaction Networks

Definition : a reaction system is a finite set of ◮ molecular species y1, . . . , yn ◮ reactions of the form

i aiyi f

− →

i biyi

(ai, bi ∈ N, f = rate) Example (any resemblance to chemistry is purely coincidental) : 2H + O → H2O C + O2 → CO2 Assumption : law of mass action

  • i

aiyi

k

− →

  • i

biyi

  • f(y) = k
  • i

yai

i

Semantics : ◮ discrete ◮ differential ◮ stochastic

15 / 23

slide-56
SLIDE 56

Chemical Reaction Networks

Definition : a reaction system is a finite set of ◮ molecular species y1, . . . , yn ◮ reactions of the form

i aiyi f

− →

i biyi

(ai, bi ∈ N, f = rate) Example (any resemblance to chemistry is purely coincidental) : 2H + O → H2O C + O2 → CO2 Assumption : law of mass action

  • i

aiyi

k

− →

  • i

biyi

  • f(y) = k
  • i

yai

i

Semantics : ◮ discrete ◮ differential → ◮ stochastic y′

i =

  • reaction R

(bR

i − aR i )f R(y)

15 / 23

slide-57
SLIDE 57

Chemical Reaction Networks

Definition : a reaction system is a finite set of ◮ molecular species y1, . . . , yn ◮ reactions of the form

i aiyi f

− →

i biyi

(ai, bi ∈ N, f = rate) Example (any resemblance to chemistry is purely coincidental) : 2H + O → H2O C + O2 → CO2 Assumption : law of mass action

  • i

aiyi

k

− →

  • i

biyi

  • f(y) = k
  • i

yai

i

Semantics : ◮ discrete ◮ differential → ◮ stochastic y′

i =

  • reaction R

(bR

i − aR i )kR j

y

aj j

15 / 23

slide-58
SLIDE 58

Chemical Reaction Networks (CRNs)

◮ CRNs with differential semantics and mass action law = polynomial ODEs ◮ polynomial ODEs are Turing complete

16 / 23

slide-59
SLIDE 59

Chemical Reaction Networks (CRNs)

◮ CRNs with differential semantics and mass action law = polynomial ODEs ◮ polynomial ODEs are Turing complete CRNs are Turing complete?

16 / 23

slide-60
SLIDE 60

Chemical Reaction Networks (CRNs)

CRNs are Turing complete? Two “slight” problems : ◮ concentrations cannot be negative (yi < 0) ◮ arbitrary reactions are not realistic

16 / 23

slide-61
SLIDE 61

Chemical Reaction Networks (CRNs)

CRNs are Turing complete? Two “slight” problems : ◮ concentrations cannot be negative (yi < 0) ◮ easy to solve ◮ arbitrary reactions are not realistic ◮ what is realistic?

16 / 23

slide-62
SLIDE 62

Chemical Reaction Networks (CRNs)

CRNs are Turing complete? Two “slight” problems : ◮ concentrations cannot be negative (yi < 0) ◮ easy to solve ◮ arbitrary reactions are not realistic ◮ what is realistic? Definition : a reaction is elementary if it has at most two reactants ⇒ can be implemented with DNA, RNA or proteins

16 / 23

slide-63
SLIDE 63

Chemical Reaction Networks (CRNs)

CRNs are Turing complete? Two “slight” problems : ◮ concentrations cannot be negative (yi < 0) ◮ easy to solve ◮ arbitrary reactions are not realistic ◮ what is realistic? Definition : a reaction is elementary if it has at most two reactants ⇒ can be implemented with DNA, RNA or proteins Elementary reactions correspond to quadratic ODEs : ay + bz

k

− → · · ·

  • f(y, z) = kyazb

16 / 23

slide-64
SLIDE 64

Chemical Reaction Networks (CRNs)

CRNs are Turing complete? Two “slight” problems : ◮ concentrations cannot be negative (yi < 0) ◮ easy to solve ◮ arbitrary reactions are not realistic ◮ what is realistic? Definition : a reaction is elementary if it has at most two reactants ⇒ can be implemented with DNA, RNA or proteins Elementary reactions correspond to quadratic ODEs : ay + bz

k

− → · · ·

  • f(y, z) = kyazb

Theorem (Folklore)

Every polynomial ODE can be rewritten as a quadratic ODE.

16 / 23

slide-65
SLIDE 65

Chemical Reaction Networks (CRNs)

Definition : a reaction is elementary if it has at most two reactants ⇒ can be implemented with DNA, RNA or proteins Elementary reactions correspond to quadratic ODEs : ay + bz

k

− → · · ·

  • f(y, z) = kyazb

Theorem (Work with François Fages, Guillaume Le Guludec)

Elementary mass-action-law reaction system on finite universes of molecules are Turing-complete under the differential semantics. Notes : ◮ proof preserves polynomial length ◮ in fact the following elementary reactions suffice : ∅ k − → x x

k

− → x + z x + y

k

− → x + y + z x + y

k

− → ∅

16 / 23

slide-66
SLIDE 66

In the remaining time...

Two applications of the techniques we have developed : Chemical Reaction Networks Universal differential equation

17 / 23

slide-67
SLIDE 67

Universal differential equations

Generable functions x

y1(x)

subclass of analytic functions Computable functions t

f(x) x y1(t)

any computable function

18 / 23

slide-68
SLIDE 68

Universal differential equations

Generable functions x

y1(x)

subclass of analytic functions Computable functions t

f(x) x y1(t)

any computable function x

y1(x)

18 / 23

slide-69
SLIDE 69

Universal differential algebraic equation (DAE)

x

y(x)

Theorem (Rubel, 1981)

For any continuous functions f and ε, there exists y : R → R solution to 3y′4y

′′y ′′′′2

−4y′4y

′′′2y ′′′′ + 6y′3y ′′2y ′′′y ′′′′ + 24y′2y ′′4y ′′′′

−12y′3y

′′y ′′′3 − 29y′2y ′′3y ′′′2 + 12y ′′7

= 0 such that ∀t ∈ R, |y(t) − f(t)| ε(t).

19 / 23

slide-70
SLIDE 70

Universal differential algebraic equation (DAE)

x

y(x)

Theorem (Rubel, 1981)

There exists a fixed polynomial p and k ∈ N such that for any conti- nuous functions f and ε, there exists a solution y : R → R to p(y, y′, . . . , y(k)) = 0 such that ∀t ∈ R, |y(t) − f(t)| ε(t).

19 / 23

slide-71
SLIDE 71

Universal differential algebraic equation (DAE)

x

y(x)

Theorem (Rubel, 1981)

There exists a fixed polynomial p and k ∈ N such that for any conti- nuous functions f and ε, there exists a solution y : R → R to p(y, y′, . . . , y(k)) = 0 such that ∀t ∈ R, |y(t) − f(t)| ε(t). Problem : this is «weak» result.

19 / 23

slide-72
SLIDE 72

The problem with Rubel’s DAE

The solution y is not unique, even with added initial conditions : p(y, y′, . . . , y(k)) = 0, y(0) = α0, y′(0) = α1, . . . , y(k)(0) = αk In fact, this is fundamental for Rubel’s proof to work!

20 / 23

slide-73
SLIDE 73

The problem with Rubel’s DAE

The solution y is not unique, even with added initial conditions : p(y, y′, . . . , y(k)) = 0, y(0) = α0, y′(0) = α1, . . . , y(k)(0) = αk In fact, this is fundamental for Rubel’s proof to work! ◮ Rubel’s statement : this DAE is universal ◮ More realistic interpretation : this DAE allows almost anything

Open Problem (Rubel, 1981)

Is there a universal ODE y′ = p(y)? Note : explicit polynomial ODE ⇒ unique solution

20 / 23

slide-74
SLIDE 74

Rubel’s proof in one slide

◮ Take f(t) = e

−1 1−t2 for −1 < t < 1 and f(t) = 0 otherwise.

It satisfies (1 − t2)2f

′′(t) + 2tf ′(t) = 0.

t

21 / 23

slide-75
SLIDE 75

Rubel’s proof in one slide

◮ Take f(t) = e

−1 1−t2 for −1 < t < 1 and f(t) = 0 otherwise.

It satisfies (1 − t2)2f

′′(t) + 2tf ′(t) = 0.

◮ For any a, b, c ∈ R, y(t) = cf(at + b) satisfies 3y′4y′′y′′′′2 −4y′4y′′2y′′′′ + 6y′3y′′2y′′′y′′′′ + 24y′2y′′4y′′′′ −12y′3y′′y′′′3 − 29y′2y′′3y′′′2 + 12y′′7 = 0 Translation and rescaling : t

21 / 23

slide-76
SLIDE 76

Rubel’s proof in one slide

◮ Take f(t) = e

−1 1−t2 for −1 < t < 1 and f(t) = 0 otherwise.

It satisfies (1 − t2)2f

′′(t) + 2tf ′(t) = 0.

◮ For any a, b, c ∈ R, y(t) = cf(at + b) satisfies

3y′4y′′y′′′′2−4y′4y′′2y′′′′+6y′3y′′2y′′′y′′′′+24y′2y′′4y′′′′−12y′3y′′y′′′3−29y′2y′′3y′′′2+12y′′7=0

◮ Can glue together arbitrary many such pieces t

21 / 23

slide-77
SLIDE 77

Rubel’s proof in one slide

◮ Take f(t) = e

−1 1−t2 for −1 < t < 1 and f(t) = 0 otherwise.

It satisfies (1 − t2)2f

′′(t) + 2tf ′(t) = 0.

◮ For any a, b, c ∈ R, y(t) = cf(at + b) satisfies

3y′4y′′y′′′′2−4y′4y′′2y′′′′+6y′3y′′2y′′′y′′′′+24y′2y′′4y′′′′−12y′3y′′y′′′3−29y′2y′′3y′′′2+12y′′7=0

◮ Can glue together arbitrary many such pieces ◮ Can arrange so that

  • f is solution : piecewise pseudo-linear

t

21 / 23

slide-78
SLIDE 78

Rubel’s proof in one slide

◮ Take f(t) = e

−1 1−t2 for −1 < t < 1 and f(t) = 0 otherwise.

It satisfies (1 − t2)2f

′′(t) + 2tf ′(t) = 0.

◮ For any a, b, c ∈ R, y(t) = cf(at + b) satisfies

3y′4y′′y′′′′2−4y′4y′′2y′′′′+6y′3y′′2y′′′y′′′′+24y′2y′′4y′′′′−12y′3y′′y′′′3−29y′2y′′3y′′′2+12y′′7=0

◮ Can glue together arbitrary many such pieces ◮ Can arrange so that

  • f is solution : piecewise pseudo-linear

t Conclusion : Rubel’s equation allows any piecewise pseudo-linear functions, and those are dense in C0

21 / 23

slide-79
SLIDE 79

Universal initial value problem (IVP)

x

y1(x)

Theorem

There exists a fixed (vector of) polynomial p such that for any continuous functions f and ε, there exists α ∈ Rd such that y(0) = α, y′(t) = p(y(t)) has a unique solution y : R → Rd and ∀t ∈ R, |y1(t) − f(t)| ε(t).

22 / 23

slide-80
SLIDE 80

Universal initial value problem (IVP)

x

y1(x)

Notes : ◮ system of ODEs, ◮ y is analytic, ◮ we need d ≈ 300.

Theorem

There exists a fixed (vector of) polynomial p such that for any continuous functions f and ε, there exists α ∈ Rd such that y(0) = α, y′(t) = p(y(t)) has a unique solution y : R → Rd and ∀t ∈ R, |y1(t) − f(t)| ε(t).

22 / 23

slide-81
SLIDE 81

Universal initial value problem (IVP)

x

y1(x)

Notes : ◮ system of ODEs, ◮ y is analytic, ◮ we need d ≈ 300.

Theorem

There exists a fixed (vector of) polynomial p such that for any continuous functions f and ε, there exists α ∈ Rd such that y(0) = α, y′(t) = p(y(t)) has a unique solution y : R → Rd and ∀t ∈ R, |y1(t) − f(t)| ε(t). Remark : α is usually transcendental, but computable from f and ε

22 / 23

slide-82
SLIDE 82

Future work

Reaction networks : ◮ chemical ◮ enzymatic y′ = p(y) y′ = p(y) + e(t) ? ◮ Finer time complexity (linear) ◮ Nondeterminism ◮ Robustness ◮ « Space» complexity ◮ Other models ◮ Stochastic

23 / 23

slide-83
SLIDE 83

Backup slides

24 / 23

slide-84
SLIDE 84

Complexity of solving polynomial ODEs

y(0) = x y′(t) = p(y(t)) x y(t) x y(t)

25 / 23

slide-85
SLIDE 85

Complexity of solving polynomial ODEs

y(0) = x y′(t) = p(y(t))

Theorem

If y(t) exists, one can compute p, q such that

  • p

q − y(t)

  • 2−n in time

poly (size of x and p, n, ℓ(t)) where ℓ(t) ≈ length of the curve (between x and y(t)) x y(t) x y(t) length of the curve = complexity = ressource

25 / 23

slide-86
SLIDE 86

Characterization of real polynomial time

Definition : f : [a, b] → R in ANALOG-PR ⇔ ∃p polynomial, ∀x ∈ [a, b] y(0) = (x, 0, . . . , 0) y′ = p(y) ℓ(t)

f(x) x y1(t)

26 / 23

slide-87
SLIDE 87

Characterization of real polynomial time

Definition : f : [a, b] → R in ANALOG-PR ⇔ ∃p polynomial, ∀x ∈ [a, b] y(0) = (x, 0, . . . , 0) y′ = p(y) satisfies :

  • 1. |y1(t) − f(x)| 2−ℓ(t)

«greater length ⇒ greater precision»

  • 2. ℓ(t) t

«length increases with time» ℓ(t)

f(x) x y1(t)

26 / 23

slide-88
SLIDE 88

Characterization of real polynomial time

Definition : f : [a, b] → R in ANALOG-PR ⇔ ∃p polynomial, ∀x ∈ [a, b] y(0) = (x, 0, . . . , 0) y′ = p(y) satisfies :

  • 1. |y1(t) − f(x)| 2−ℓ(t)

«greater length ⇒ greater precision»

  • 2. ℓ(t) t

«length increases with time» ℓ(t)

f(x) x y1(t)

Theorem

f : [a, b] → R computable in polynomial time ⇔ f ∈ ANALOG-PR.

26 / 23

slide-89
SLIDE 89

Universal DAE revisited

x

y1(x)

Theorem

There exists a fixed polynomial p and k ∈ N such that for any continuous functions f and ε, there exists α0, . . . , αk ∈ R such that p(y, y′, . . . , y(k)) = 0, y(0) = α0, y′(0) = α1, . . . , y(k)(0) = αk has a unique analytic solution and this solution satisfies such that |y(t) − f(t)| ε(t).

27 / 23