Introduction to Interval and Taylor Model Methods Markus Neher - - PowerPoint PPT Presentation

introduction to interval and taylor model methods
SMART_READER_LITE
LIVE PREVIEW

Introduction to Interval and Taylor Model Methods Markus Neher - - PowerPoint PPT Presentation

Introduction to Interval and Taylor Model Methods Markus Neher KARLSRUHE INSTITUTE OF TECHNOLOGY (KIT) 0 Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016 www.kit.edu KIT The Research University in the


slide-1
SLIDE 1

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

KARLSRUHE INSTITUTE OF TECHNOLOGY (KIT)

Introduction to Interval and Taylor Model Methods

Markus Neher

KIT – The Research University in the Helmholtz Association

www.kit.edu

slide-2
SLIDE 2

Outline

1

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

1 Enclosure methods 2 Interval analysis 3 Taylor models 4 Interval and Taylor model methods for ODEs

slide-3
SLIDE 3

2

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Enclosure Methods

slide-4
SLIDE 4

Enclosure Methods

3

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Also called: guaranteed methods, rigorous methods, validated methods, verified methods, . . . Aim: Compute guaranteed bounds for the solution of a problem, including

Discretization errors (ODEs, PDEs, optimization), Truncation errors (Newton’s method, summation), Roundoff errors.

Used for

Modelling of uncertain data, Sensitivity analysis, Bounding of roundoff errors.

slide-5
SLIDE 5

4

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Interval Arithmetic

slide-6
SLIDE 6

Interval Arithmetic

5

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Compact real intervals (Warmus 1956, Sunaga 1958, Moore&Yang 1959, Moore 1962, 1966): IR = {x = [x, x] | x ≤ x} (x, x ∈ R). Width: w(x) = x − x. Hausdorff distance: q(x, y) = q [x, x], [y, y] = max x − y

  • , |x − y|
  • .

Interval vectors, interval matrices:

Analogously. x = (xi) ∈ IRn: w(x) =

n

max

i=1 w(xi).

slide-7
SLIDE 7

Interval Arithmetic

6

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Basic arithmetic operations: x ◦ y := {x ◦ y | x ∈ x, y ∈ y},

  • ∈ {+, −, ∗, /}

(0 ∈ y for /). x + y = [x + y, x + y], x − y = [x − y, x − y], x ∗ y = [min{xy, xy, xy, xy, }, max{xy, xy, xy, xy, }], x / y = x ∗ [1 / y, 1 / y]. No inverses: [0, 1] − [0, 1] = [−1, 1], [1, 2]/[1, 2] = 1 2, 2

  • .

Floating point IA: x y =

  • x

y, x y ], etc.

slide-8
SLIDE 8

Ranges and Inclusion Functions

7

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Range of f : D → E: Rg (f, D) := {f(x) | x ∈ D}. Inclusion function F : IR → IR of f : D ⊆ R → R: F(x) ⊇ Rg (f, x) for all x ⊆ D. Examples:

Rational functions: For f : x → f(x), replace each occurrence of x by x, evaluate using interval arithmetic: f(x) = x 1 + x ⇒ F [0, 1] = [0, 1] 1 + [0, 1] = [0, 1] [1, 2] = [0, 1]. Elementary functions: For f ∈ {exp, ln, cos, arcsin, tanh, . . . } let F(x) := Rg (f, x): exp [−1, 1] =

  • e−1,

e

  • ,

sin [1, 2] =

  • sin 1, 1
  • .
slide-9
SLIDE 9

IA: Dependency

8

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Multiple instances of the same variable are considered independent. f(x) = x 1 + x = 1 − 1 1 + x , x = [0, 1]:

x 1 + x = [0, 1] [1, 2] = [0, 1], 1 − 1 1 + x = 1 − 1 [1, 2] = 1 − 1 2, 1 =

  • 0, 1

2 = Rg (f, x).

Theorem

Let f : D ⊂ Rm → R be Lipschitz-continuous and let x ⊆ x0 ⊆ D. Then q

  • F(x), Rg (f, x)

≤ γw(x), γ ≥ 0.

slide-10
SLIDE 10

Ranges and Inclusion Functions

9

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Centered form: f(x) = f(c) + g(x, c)(x − c) ⇒ Rg (f, x) ⊆ F(c) + G(x, c)(x − c). Mean value form: Rg (f, x) ⊆ f(c) + F ′(x)(x − c), c ∈ x. f(x) = x 1 + x , x = [0, 1], c = 1 2 : f 1 2

  • + F ′([0, 1])
  • [0, 1] − 1

2

  • =
  • − 1

6, 5 6

  • 0, 1

2

  • = Rg (f, x) .

Theorem

Let f : D ⊂ Rm → R be a sufficiently smooth function and be represented in the centered form. Furthermore, let x ⊆ x0 ⊆ D. Then q

  • f(x), Rg (f, x)

≤ γ

  • w(x)

2, γ ≥ 0.

slide-11
SLIDE 11

IA: Wrapping Effect

10

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Enclosing non-intervals by intervals causes overestimation. Example: f : (x, y) → √ 2 2 (x + y, y − x) (Rotation) Interval evaluation of f on [−1, 1], [−1, 1]

  • :

−2 −1 1 2 −2 −1 1 2 x y −2 −1 1 2 −2 −1 1 2 x y

slide-12
SLIDE 12

11

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Taylor Models

slide-13
SLIDE 13

Taylor Models

12

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Taylor model Tn,f = (pn,f , in,f ) of order n of f : x → R (Berz and Hoffstätter 1994, Makino and Berz 1996): ∀x ∈ x : f(x) ∈ pn,f (x − x0) + in,f Rg (p, i) =

  • p(x) + ξ | x ∈ x, ξ ∈ i

⊂ Rm. Example: x = [−1, 1], x0 = 0: ex = 1 + x + 1 2x2 + 1 6x3 + 1 24x4eξ, x, ξ ∈ x, T3,ex = 1 + x + 1

2x2 + 1 6x3 + [0.015, 0.114],

x ∈ x.

slide-14
SLIDE 14

Taylor Models

13

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Minimized dependency: pn,f is processed symbolically to order n. Higher order terms are enclosed into the interval of the result. Minimized wrapping effect: TMs can represent non-convex sets. Example:

T2,f =

  • x1

2 + x2

1 + x2

  • ,

xi ∈ [−1, 1]. −1

1 2 x1 x2

slide-15
SLIDE 15

14

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Interval and Taylor Model Methods for IVPs

slide-16
SLIDE 16

Initial Value Problem

15

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

IVP: u′ = f(t, u), u(t0) = u0, t ∈ t = [t0, tend] f : R × Rm → Rm sufficiently smooth, u0 ∈ Rm, tend > t0

slide-17
SLIDE 17

Initial Value Problem

15

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

IVP: u′ = f(t, u), u(t0) = u0, t ∈ t = [t0, tend] f : R × Rm → Rm sufficiently smooth, u0 ∈ Rm, tend > t0

slide-18
SLIDE 18

Initial Value Problem

15

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

IVP: u′ = f(t, u), u(t0) = u0, t ∈ t = [t0, tend] f : R × Rm → Rm sufficiently smooth, u0 ∈ Rm, tend > t0

slide-19
SLIDE 19

Initial Value Problem

15

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

IVP: u′ = f(t, u), u(t0) = u0, t ∈ t = [t0, tend] f : R × Rm → Rm sufficiently smooth, u0 ∈ Rm, tend > t0

slide-20
SLIDE 20

Verified Initial Value Problem

16

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

IVP: u′ = f(t, u), u(t0) = u0, t ∈ t = [t0, tend] f : R × Rm → Rm sufficiently smooth, u0 ∈ Rm, tend > t0

slide-21
SLIDE 21

Interval Method for IVP with Uncertainty

17

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Interval IVP: u′ = f(t, u), u(t0) = u0 ∈ u0, t ∈ t = [t0, tend] f : R × Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0

slide-22
SLIDE 22

Interval Method for IVP with Uncertainty

17

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Interval IVP: u′ = f(t, u), u(t0) = u0 ∈ u0, t ∈ t = [t0, tend] f : R × Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0

slide-23
SLIDE 23

Interval Method for IVP with Uncertainty

17

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Interval IVP: u′ = f(t, u), u(t0) = u0 ∈ u0, t ∈ t = [t0, tend] f : R × Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0

slide-24
SLIDE 24

Interval Method for IVP with Uncertainty

17

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Interval IVP: u′ = f(t, u), u(t0) = u0 ∈ u0, t ∈ t = [t0, tend] f : R × Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0

slide-25
SLIDE 25

Interval Method for IVP with Uncertainty

17

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Interval IVP: u′ = f(t, u), u(t0) = u0 ∈ u0, t ∈ t = [t0, tend] f : R × Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0

slide-26
SLIDE 26

Interval Method for IVP with Uncertainty

17

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Interval IVP: u′ = f(t, u), u(t0) = u0 ∈ u0, t ∈ t = [t0, tend] f : R × Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0

slide-27
SLIDE 27

Interval Method for IVP with Uncertainty

17

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Interval IVP: u′ = f(t, u), u(t0) = u0 ∈ u0, t ∈ t = [t0, tend] f : R × Rm → Rm sufficiently smooth, u0 ∈ IRm, tend > t0

slide-28
SLIDE 28

Taylor Method for IVPs

18

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Autonomous IVP: u′ = f(u), u(t0) = u0, where f : D ⊂ Rm → Rm, f ∈ Cn(D), u0 ∈ D Taylor method: u(t) =

n

k=0

(t − t0)k k! u(k)(t0) + Rn Automatic (recursive) computation of Taylor coefficients: u(0) = f [0](u) = u, u(1) = f [1](u) = f(u), 1 k!u(k) = f [k](u) = 1 k

  • ∂f [k−1]

∂u f

  • (u) for k ≥ 2
slide-29
SLIDE 29

Moore’s enclosure method

19

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Interval IVP: u′ = f(u), u(t0) = u0 ∈ u0, t ∈ t = [t0, tend], where f : D ⊂ Rm → Rm, f ∈ Cn(D), u0 ⊂ D Interval iteration: For j = 1, 2, . . . : A priori enclosure: vj ⊇ u(t) for all t ∈ [tj−1, tj] ("Alg. I") Truncation error:

zj := hn+1

j

f [n+1](vj),

hj = tj − tj−1

u(tj) ∈ uj := uj−1 +

n

k=1

hk

j f [k](uj−1) + zj

("Algorithm II")

slide-30
SLIDE 30

Predictor-Corrector Scheme

20

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

t0 t1 t2 u0 u1 u2 v1 v2 t u

slide-31
SLIDE 31

A Priori Enclosures

21

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Constant a priori enclosure by Picard iteration: Find hj, vj such that uj−1 + [0, hj]f(vj) ⊆ vj Step size restrictions: Explicit Euler steps A priori enclosures using Picard iterations:

Interval polynomials: Lohner 1988, Corliss & Rihm 1996, Makino 1998, Nedialkov & Jackson 2001 Arbitrary interval functions: Rauh, Auer & Hofer 2005

Alternative a priori bounds: Neumaier 1994, N. 1999, N. 2007, Alexandre dit Sandretto & Chapoutot 2016

slide-32
SLIDE 32

Refinement step

22

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

The iteration uj = uj−1 +

n

k=1

hk

j f [k](uj−1) + zj

is width increasing: w(uj) = w(uj−1) +

n

k=1

hk

j w

  • f [k](uj−1)

+ w(zj) → Reduce overestimation by improved evaluation of rhs

slide-33
SLIDE 33

Modifications of Algorithm II

23

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Local coordinate systems (Moore 1965, Eijgenraam 1981, Lohner 1988) Zonotopes (Kühn 1998) Hermite-Obreshkov-Method (Nedialkov & Jackson 1998) Implicit methods (Rihm 1998) Runge-Kutta-Methods (Petras & Hartmann 1999, Bouissou & Martel 2006, Alexandre dit Sandretto & Chapoutot 2016)

slide-34
SLIDE 34

Dependency Reduction: Direct Interval Method

24

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Apply mean value form to f [k](uj−1): For fixed uj−1 ∈ uj−1,

  • f [k](uj−1) | uj−1 ∈ uj−1
  • ⊆ f [k](

uj−1) + J

  • f [k](uj−1)

(uj−1 − uj−1), where J

  • f [k]

is the Jacobian of f [k] Let I denote the identity matrix and let Sj−1 := I +

n

k=1

hk

0J

  • f [k](uj−1)
  • ,

zj = hn+1 f [n](vj) Then u(tj; u0) ∈ uj := uj−1 +

n

k=1

hk

j f [k](

uj−1) + zj + Sj−1(uj−1 − uj−1)

slide-35
SLIDE 35

Wrapping Effect in Global Error Propagation

25

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Wrapping effect: Sj−1(uj−1 − uj−1) may overestimate S = {Sj−1(uj−1 − uj−1) | Sj−1 ∈ Sj−1, uj−1 ∈ uj−1} → propagate S as a parallelepiped

  • u0 := m(u0), B0r0 = u0 −

u0, B0 = I; for some nonsingular Bj−1:

  • uj

=

  • uj−1 +

n

k=1

hk

j−1f [k](

uj−1) + m(zj), uj =

  • uj−1 +

n

k=1

hk

j−1f [k](

uj−1) + zj + (Sj−1Bj−1)rj−1,         

  • uj: approximate point solution for the central IVP

zj: local error; rj: global error

slide-36
SLIDE 36

Global Error Propagation

26

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Global error: rj =

  • B−1

j

(Sj−1Bj−1)

  • rj−1 + B−1

j

(zj − m(zj)) Direct method: Bj = I Pep method (Eijgenraam, Lohner): Bj = m(Sj−1Bj−1) QR method (Lohner): m(Sj−1Bj−1) = QjRj, Bj := Qj Blunting method (Berz, Makino): Bj = m(Sj−1Bj−1) + εQj, ε > 0 + = ⊂

slide-37
SLIDE 37

Wrapping Effect

27

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Direct method: Pep method: QR method:

slide-38
SLIDE 38

Taylor Model Methods for ODEs

28

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Taylor expansion of solution w.r.t. time and initial values → minimized dependency problem Enclosure sets for flow can be non-convex → minimized wrapping effect Computation of Taylor coefficients by Picard iteration: Parameters describing initial set treated symbolically Interval remainder bounds by fixed point iteration (Makino 1998)

slide-39
SLIDE 39

Example: Quadratic Problem

29

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

u′ = v, u(0) ∈ [0.95, 1.05], v′ = u2, v(0) ∈ [−1.05, −0.95].

  • 1.5
  • 1
  • 0.5

0.5 1 1.5

  • 1
  • 0.8
  • 0.6
  • 0.4
  • 0.2

0.2 0.4 0.6 0.8 1 1.2

  • 2
  • 1.5
  • 1
  • 0.5

0.5 1

  • 2
  • 1.5
  • 1
  • 0.5

0.5 1 1.5

COSY Infinity AWA

slide-40
SLIDE 40

Applications

30

Dagstuhl Seminar 16491 Introduction to Interval and Taylor Model Methods Dec 5, 2016

Solar system dynamics, orbits of NEOs (Berz et al.) Space flight simulation (Armellin & Di Lizia) Parametric ODEs in chemistry, biology, engineering (Stadtherr, Lin & Enszer) Control problems in engineering (Rauh, Auer et al.) → other talks