A universal ordinary differential equation Olivier Bournez 1 , Amaury - - PowerPoint PPT Presentation

a universal ordinary differential equation
SMART_READER_LITE
LIVE PREVIEW

A universal ordinary differential equation Olivier Bournez 1 , Amaury - - PowerPoint PPT Presentation

A universal ordinary differential equation Olivier Bournez 1 , Amaury Pouly 2 1 LIX, cole Polytechnique, France 2 Max Planck Institute for Software Systems, Germany 12 july 2017 1 / 10 Universal differential algebraic equation (Rubel) y 1 ( x )


slide-1
SLIDE 1

A universal ordinary differential equation

Olivier Bournez1, Amaury Pouly2

1LIX, École Polytechnique, France 2Max Planck Institute for Software Systems, Germany

12 july 2017

1 / 10

slide-2
SLIDE 2

Universal differential algebraic equation (Rubel)

x

y1(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 to p(y, y′, . . . , y(k)) = 0 such that |y(t) − f(t)| ε(t).

2 / 10

slide-3
SLIDE 3

Universal differential algebraic equation (Rubel)

x

y1(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 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 |y(t) − f(t)| ε(t).

2 / 10

slide-4
SLIDE 4

Universal differential algebraic equation (Rubel)

x

y1(x)

Open Problem This is a DAE. Is there a universal ODE? 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 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 |y(t) − f(t)| ε(t).

2 / 10

slide-5
SLIDE 5

Rubel’s (disappointing) 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

3 / 10

slide-6
SLIDE 6

Rubel’s (disappointing) 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.

Can do the same with cf(at + b) (translation+scaling) t

3 / 10

slide-7
SLIDE 7

Rubel’s (disappointing) 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.

Can do the same with cf(at + b) (translation+scaling) Can glue together arbitrary many such pieces t

3 / 10

slide-8
SLIDE 8

Rubel’s (disappointing) 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.

Can do the same with cf(at + b) (translation+scaling) Can glue together arbitrary many such pieces Can arrange so that

  • f is solution : piecewise pseudo-linear

t

3 / 10

slide-9
SLIDE 9

Rubel’s (disappointing) 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.

Can do the same with cf(at + b) (translation+scaling) 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

3 / 10

slide-10
SLIDE 10

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

4 / 10

slide-11
SLIDE 11

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 ...even with a countable number of extra conditions : p(y, y′, . . . , y(k)) = 0, y(di)(ai) = bi, i ∈ N In fact, this is fundamental for Rubel’s proof to work!

4 / 10

slide-12
SLIDE 12

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 ...even with a countable number of extra conditions : p(y, y′, . . . , y(k)) = 0, y(di)(ai) = bi, i ∈ N 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) This is a DAE. Is there a universal ODE y′ = p(y)? Note : ODE ⇒ unique solution

4 / 10

slide-13
SLIDE 13

Universal ordinary differential equation (ODE)

x

y1(x)

Main result There exists a fixed polynomial p and d ∈ N such that for any conti- nuous functions f and ε, there exists α ∈ Rd such that y(0) = α, y′(t) = p(y(t)) has a unique solution and this solution satisfies |y(t) − f(t)| ε(t).

5 / 10

slide-14
SLIDE 14

Universal ordinary differential equation (ODE)

x

y1(x)

Main result There exists a fixed polynomial p and d ∈ N such that for any conti- nuous functions f and ε, there exists α ∈ Rd such that y(0) = α, y′(t) = p(y(t)) has a unique solution and this solution satisfies |y(t) − f(t)| ε(t). Unfortunately, we need d ≈ 300.

5 / 10

slide-15
SLIDE 15

Wait, is this a CS talk?

Polynomial ODEs correspond to analog computers : Differential Analyser British Navy mecanical computer

6 / 10

slide-16
SLIDE 16

Wait, is this a CS talk?

Polynomial ODEs correspond to analog computers : Differential Analyser British Navy mecanical computer They are equivalent to Turing machines! One can characterize P with pODEs (ICALP 2016) Take away : polynomial ODEs is a natural programming language.

6 / 10

slide-17
SLIDE 17

A first idea α ∈ R ODE

t 0 1 1 0 1 0 1 0 0 1 1 1 . . . digits of α binary stream generator This is the ideal curve, the real

  • ne is an approximation of it.

N O T E

7 / 10

slide-18
SLIDE 18

A first idea α ∈ R ODE

t 0 1 1 0 1 0 1 0 0 1 1 1 . . . digits of α binary stream generator

ODE

t “Digital” to Analog Converter (fixed frequency) Approximate Lipschitz and bounded functions with fixed precision. N O T E That’s the trickiest part. N O T E

7 / 10

slide-19
SLIDE 19

A first idea α ∈ R ODE

t 0 1 1 0 1 0 1 0 0 1 1 1 . . . digits of α binary stream generator

ODE

t “Digital” to Analog Converter (fixed frequency)

ODE?

t We need something more : a fast-growing ODE. N O T E

7 / 10

slide-20
SLIDE 20

A first idea α ∈ R ODE

t 0 1 1 0 1 0 1 0 0 1 1 1 . . . digits of α binary stream generator

ODE

t “Digital” to Analog Converter (fixed frequency)

ODE?

t We need something more : an arbitrarily fast-growing ODE. N O T E

7 / 10

slide-21
SLIDE 21

An old question on growth

Building a fast-growing ODE : y′

1 = y1

  • y1(t) = exp(t)

8 / 10

slide-22
SLIDE 22

An old question on growth

Building a fast-growing ODE : y′

1 = y1

  • y1(t) = exp(t)

y′

2 = y1y2

  • y1(t) = exp(exp(t))

8 / 10

slide-23
SLIDE 23

An old question on growth

Building a fast-growing ODE : y′

1 = y1

  • y1(t) = exp(t)

y′

2 = y1y2

  • y1(t) = exp(exp(t))

. . . . . . y′

n = y1 · · · yn

  • yn(t) = exp(· · · exp(t) · · · ):= en(t)

8 / 10

slide-24
SLIDE 24

An old question on growth

Building a fast-growing ODE : y′

1 = y1

  • y1(t) = exp(t)

y′

2 = y1y2

  • y1(t) = exp(exp(t))

. . . . . . y′

n = y1 · · · yn

  • yn(t) = exp(· · · exp(t) · · · ):= en(t)

Conjecture (Emil Borel, 1899) With n variables, cannot do better than Ot(en(Atk)).

8 / 10

slide-25
SLIDE 25

An old question on growth

en(t) = exp(· · · exp(t) · · · ) (n compositions) Conjecture (Emil Borel, 1899) With n variables, cannot do better than Ot(en(Atk)). Counter-example (Vijayaraghavan, 1932) 1 2 − cos(t) − cos(αt) t Sequence of arbitrarily growing spikes.

8 / 10

slide-26
SLIDE 26

An old question on growth

en(t) = exp(· · · exp(t) · · · ) (n compositions) Conjecture (Emil Borel, 1899) With n variables, cannot do better than Ot(en(Atk)). Counter-example (Vijayaraghavan, 1932) 1 2 − cos(t) − cos(αt) t Sequence of arbitrarily growing spikes. But not good enough for us.

8 / 10

slide-27
SLIDE 27

An old question on growth

en(t) = exp(· · · exp(t) · · · ) (n compositions) Conjecture (Emil Borel, 1899) With n variables, cannot do better than Ot(en(Atk)). Counter-example (Vijayaraghavan, 1932) 1 2 − cos(t) − cos(αt) Theorem (In the paper) There exists a polynomial p : Rd → Rd such that for any continuous function f : R+ → R, we can find α ∈ Rd such that y(0) = α, y′(t) = p(y(t)) satisfies y1(t) f(t) ∀t 0.

8 / 10

slide-28
SLIDE 28

An old question on growth

en(t) = exp(· · · exp(t) · · · ) (n compositions) Conjecture (Emil Borel, 1899) With n variables, cannot do better than Ot(en(Atk)). Counter-example (Vijayaraghavan, 1932) 1 2 − cos(t) − cos(αt) Theorem (In the paper) There exists a polynomial p : Rd → Rd such that for any continuous function f : R+ → R, we can find α ∈ Rd such that y(0) = α, y′(t) = p(y(t)) satisfies y1(t) f(t) ∀t 0. Note : both results require α to be transcendental. Conjecture still

  • pen for rational coefficients.

8 / 10

slide-29
SLIDE 29

Proof gem : iteration with differential equations

Goal Iterate f with a GPAC : y(n) ≈ f [n]([x])

9 / 10

slide-30
SLIDE 30

Proof gem : iteration with differential equations

Goal Iterate f with a GPAC : y(n) ≈ f [n]([x]) t x f(x)

1 2

1

3 2

2

y′≈0 z′≈f(y)−z

9 / 10

slide-31
SLIDE 31

Proof gem : iteration with differential equations

Goal Iterate f with a GPAC : y(n) ≈ f [n]([x]) t x f(x)

1 2

1

3 2

2

y′≈0 z′≈f(y)−z y′≈z−y z′≈0

9 / 10

slide-32
SLIDE 32

Proof gem : iteration with differential equations

Goal Iterate f with a GPAC : y(n) ≈ f [n]([x]) t x f(x) f [2](x)

1 2

1

3 2

2

y′≈0 z′≈f(y)−z y′≈z−y z′≈0

9 / 10

slide-33
SLIDE 33

Conclusion

This paper positive answer to Rubel’s open problem Take home ODE is a simple, nice and fun programming language Possible development Each universal ODE defines a map : (f, ε) ∈ C0 × C0 → α ∈ R Kolmogorov-like complexity for continuous functions?

10 / 10

slide-34
SLIDE 34

Polynomial Differential Equations

k

k

+

u+v u v

×

uv u v

  • u

u

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

11 / 10

slide-35
SLIDE 35

Example of differential equation

θ ℓ

m

×

  • ×
  • −g

× ×

−1

  • y1

y2 y3 y4 ¨ θ + g

ℓ sin(θ) = 0

       y′

1 = y2

y′

2 = − g l y3

y′

3 = y2y4

y′

4 = −y2y3

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

12 / 10

slide-36
SLIDE 36

Universal differential equation (DAE)

x

y1(x)

Theorem There exists a fixed polynomial p and k ∈ N such that for any conti- nuous 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 |y(t) − f(t)| ε(t).

13 / 10

slide-37
SLIDE 37

Digital vs analog computers

14 / 10

slide-38
SLIDE 38

Digital vs analog computers

VS

14 / 10

slide-39
SLIDE 39

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.

15 / 10

slide-40
SLIDE 40

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.

15 / 10

slide-41
SLIDE 41

Computing with the GPAC

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

y1(x)

Shannon’s notion

16 / 10

slide-42
SLIDE 42

Computing with the GPAC

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]

16 / 10

slide-43
SLIDE 43

Computing with the GPAC

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

16 / 10

slide-44
SLIDE 44

Computing with the GPAC

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]

16 / 10

slide-45
SLIDE 45

Universal differential equations

Generable functions x

y1(x)

subclass of analytic functions Computable functions t

f(x) x y1(t)

any computable function

17 / 10

slide-46
SLIDE 46

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)

17 / 10

slide-47
SLIDE 47

A new notion of computability

Almost-Theorem f : [0, 1] → R is computable if and only if there exists τ > 1, y0 ∈ Rd and p polynomial such that y′(0) = y0, y′(t) = p(y(t)) satisfies |f(x) − y(x + nτ)| 2−n, ∀x ∈ [0, 1], ∀n ∈ N t 1 τ τ + 1 2τ 2τ + 1 3τ y(t) f(t mod τ)

18 / 10