Abbas Edalat Imperial College London www.doc.ic.ac.uk/~ae Contains joint work with Andre Lieutier (AL) and joint work with Marko Krznaric (MK) Data Types.

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

Mathematical Preliminaries
3.6 Support Vector Machines
Feichter_DPG-SYKL03_Bild-01. Feichter_DPG-SYKL03_Bild-02.
1 Vorlesung Informatik 2 Algorithmen und Datenstrukturen (Parallel Algorithms) Robin Pomplun.
© 2008 Pearson Addison Wesley. All rights reserved Chapter Seven Costs.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Chapter 1 The Study of Body Function Image PowerPoint
Cognitive Radio Communications and Networks: Principles and Practice By A. M. Wyglinski, M. Nekovee, Y. T. Hou (Elsevier, December 2009) 1 Chapter 12 Cross-Layer.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
UNITED NATIONS Shipment Details Report – January 2006.
By John E. Hopcroft, Rajeev Motwani and Jeffrey D. Ullman
Chapter 2: Basic Structures: Sets, Functions, Sequences, and Sums (1)
Properties of Real Numbers CommutativeAssociativeDistributive Identity + × Inverse + ×
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Year 6 mental test 10 second questions
1. 2 Unknown Backprojection usually produce a blurred version of the image.
1 Outline relationship among topics secrets LP with upper bounds by Simplex method basic feasible solution (BFS) by Simplex method for bounded variables.
Solve Multi-step Equations
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
Mathematics for Economics Beatrice Venturi 1 Economics Faculty CONTINUOUS TIME: LINEAR DIFFERENTIAL EQUATIONS Economic Applications LESSON 2 prof. Beatrice.
Mathematics for Economics Beatrice Venturi 1 Economics Faculty CONTINUOUS TIME: LINEAR DIFFERENTIAL EQUATIONS Economic Applications LESSON 2 prof. Beatrice.
1 Bart Jansen Polynomial Kernels for Hard Problems on Disk Graphs Accepted for presentation at SWAT 2010.
Copyright © Cengage Learning. All rights reserved.
EU market situation for eggs and poultry Management Committee 20 October 2011.
Chapter 9 -- Simplification of Sequential Circuits.
Outline Minimum Spanning Tree Maximal Flow Algorithm LP formulation 1.
2 |SharePoint Saturday New York City
VOORBLAD.
Name Convolutional codes Tomashevich Victor. Name- 2 - Introduction Convolutional codes map information to code bits sequentially by convolving a sequence.
Quadratic Inequalities
Equations of Lines Equations of Lines
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Functions, Graphs, and Limits
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
Abbas Edalat Imperial College London Interval Derivative of Functions.
Joint work with Andre Lieutier Dassault Systemes Domain Theory and Differential Calculus Abbas Edalat Imperial College Oxford.
Graphs, representation, isomorphism, connectivity
© 2012 National Heart Foundation of Australia. Slide 2.
Joint work with Andre Lieutier Dassault Systemes Domain Theoretic Models of Geometry and Differential Calculus Abbas Edalat Imperial College
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Synthetic.
6.4 Best Approximation; Least Squares
Model and Relationships 6 M 1 M M M M M M M M M M M M M M M M
25 seconds left…...
Problem #1 E Mathboat.com.
Rational Functions and Models
Analyzing Genes and Genomes
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
Intracellular Compartments and Transport
PSSA Preparation.
Essential Cell Biology
1 Chapter 13 Nuclear Magnetic Resonance Spectroscopy.
Energy Generation in Mitochondria and Chlorplasts
The Distance Geometry of Deep Rhythms and Scales by E. Demaine, F. Gomez-Martin, H. Meijer, D. Rappaport, P. Taslakian, G. Toussaint, T. Winograd, D. Wood.
9. Two Functions of Two Random Variables
1 Decidability continued…. 2 Theorem: For a recursively enumerable language it is undecidable to determine whether is finite Proof: We will reduce the.
Copyright © Cengage Learning. All rights reserved.
Abbas Edalat Imperial College London joint work with Marko Krznaric and Andre Lieutier Domain-theoretic Solution of Differential Equations.
Domain-theoretic Models of Differential Calculus and Geometry Abbas Edalat Imperial College London BRICS, February 2003 Contributions.
Domain Theory and Multi-Variable Calculus Abbas Edalat Imperial College London Joint work with Andre Lieutier, Dirk Pattinson.
Presentation transcript:

Abbas Edalat Imperial College London Contains joint work with Andre Lieutier (AL) and joint work with Marko Krznaric (MK) Data Types for Differential Equations

2Aim Develop data types for ordinary differential equations. Solve initial value problem up to any given precision. In particular for: Hybrid System= Discrete State Machine + Continuous Process Differential Equation

3 Let IR={ [a,b] | a, b  R}  {R} (IR,  ) is a bounded complete dcpo with R as bottom: ⊔ i  I a i =  i  I a i a ≪ b  a o  b (IR, ⊑ ) is  -continuous: countable basis {[p,q] | p < q & p, q  Q} (IR, ⊑ ) is, thus, a continuous Scott domain. Scott topology has basis: ↟ a = {b | a o  b}  x {x} R I R x  {x} : R  IR Topological embedding The Domain of nonempty compact Intervals of R

4 Domain for C 0 Functions f : [0,1]  R, f  C 0 [0,1], has continuous extension If : [0,1]  IR x  {f (x)} Scott continuous maps [0,1]  IR with: f ⊑ g   x  R. f(x) ⊑ g(x) is another continuous Scott domain.  : C 0 [0,1] ↪ ( [0,1]  IR), with f  If is a topological embedding into a proper subset of maximal elements of [0,1]  IR.

5 Step Functions Single-step function: a ↘ b : [0,1]  IR, with a  I[0,1], b  IR: b x  a o x   otherwise Lubs of finite and bounded collections of single- step functions ⊔ 1  i  n (a i ↘ b i ) are called step functions. Step functions with a i, b i rational intervals, give a basis for [0,1]  IR

6 Step Functions-An Example 01 R b1b1 a3a3 a2a2 a1a1 b3b3 b2b2

7 Refining the Step Functions 01 R b1b1 a3a3 a2a2 a1a1 b3b3 b2b2

8 Domain for C 1 Functions (AE&AL) If h  C 1 [0,1], then ( Ih, Ih )  ([0,1]  IR)  ([0,1]  IR) What pairs ( f, g)  ([0,1]  IR) 2 approximate a differentiable function? We can approximate ( Ih, Ih ) in ([0,1]  IR) 2 i.e. ( f, g) ⊑ ( Ih,Ih ) with f ⊑ Ih and g ⊑ Ih

9 Interval Derivative The interval derivative of f: [0,1]  R is defined as if both limits are finite otherwise

10 Function and Derivative Consistency Theorem. If (f,g)  Cons, there are least and greatest functions h with the above properties in each connected component of dom(g) which intersects dom(f). Define the consistency relation: Cons  ([0,1]  IR)  ([0,1]  IR) with (f,g)  Cons if there is a continuous h: dom(g)  R with f ⊑ Ih and g ⊑

11 Approximating function: f = ⊔ i a i ↘ b i ( ⊔ i a i ↘ b i, ⊔ j c j ↘ d j )  Cons is a finitary property: Consistency for basis elements L(f,g) = least function G(f,g) = greatest function We will define L(f,g), G(f,g) in general and show that: 1. (f,g)  Cons iff L(f,g)  G(f,g). 2. Cons is decidable on the basis. Upgrading. Up(f,g) := (f g, g) where f g : t  [ L(f,g)(t), G(f,g)(t) ] f g (t) t Approximating derivative: g = ⊔ j c j ↘ d j

12 f 1 1 Function and Derivative Information g 1 2

13 f 1 1Updating g 1 2

14 Let O be a connected component of dom(g) with O  dom(f)  . For x, y  O define: Consistency Test and Updating for (f,g) Define: L(f,g)(x) := sup y  O  dom(f) (f – (y) + d –+ (x,y)) and G(f,g)(x) := inf y  O  dom(f) (f + (y) + d +– (x,y)) Theorem. (f, g)  Con iff  x  O. L(f, g) (x)  G(f, g) (x). For x  dom(g), let g({x}) = [g (x), g + (x)] where g, g + : dom(g)  R are lower and upper semi-continuous. Similarly we define f, f + : dom(f)  R. Write f = [f –, f + ].

15 Updating Linear step Functions A linear single-step function: a ↘ [b –, b + ] : [0,1]  IR, with b –, b + : a o  R linear [b – (x), b + (x)] x  a o x   otherwise We write this simply as a ↘ b with b=[b –, b + ]. Hence L(f,g) is the max of k+2 linear maps. Similarly, G(f,g). We get a linear time algorithm for computing L(f,g), G(f,g). Proposition. For x  O, we have: L(f,g)(x) = max {f – (x), limsup f – (y) + d –+ (x, y) | y m  O  dom(f) } For (f, g) = ( ⊔ 1  i  n a i ↘ b i, ⊔ 1  j  m c j ↘ d j ) with f linear g standard, the rational end–points of a i and c j induce a partition y 0 < y 1 < y 2 < … < y k of the connected component O of dom(g).

16 f 1 1 Updating Algorithm(AE&MK) g 1 2

17 f 1 1 Updating Algorithm (left to right) g 1 2

18 f 1 1 Updating Algorithm (left to right) g 1 2

19 f 1 1 Updating Algorithm (right to left) g 1 2

20 f 1 1 Updating Algorithm (right to left) g 1 2

21 f 1 1 Updating Algorithm (similarly for upper one) g 1 2

22 f 1 1 Output of the Updating Algorithm g 1 2

23 Lemma. Cons  ([0,1]  IR) 2 is Scott closed. Theorem. D 1 [0,1]:= { (f,g)  ([0,1]  IR) 2 | (f,g)  Cons} is a continuous Scott domain, which can be given an effective structure. The Domain of C 1 Functions (AE&AL) Define D 1 c := {(f 0,f 1 )  C 1  C 0 | f 0 = f 1 } Theorem.  : C 1 [0,1]  C 0 [0,1]  ([0,1]  IR) 2 restricts to give a topological embedding D 1 c ↪ D 1 (with C 1 norm) (with Scott topology)

24 Theorem. In a neighbourhood of t 0, there is a unique solution, which is the unique fixed point of: P: C 0 [t 0 -k, t 0 +k]  C 0 [t 0 -k, t 0 +k] f  t. (x 0 +  v(t, f(t) ) dt) for some k>0. t0t0 t Picard Theorem = v(t,x) with v: R 2  R continuous x(t 0 ) = x 0 with (t 0,x 0 )  R 2 and v is Lipschitz in x uniformly in t for some neighbourhood of (t 0,x 0 ).

25 Up ⃘ Ap v : (f,g)  ( t. (x 0 +  g dt, t. v(t,f(t))) has a fixed point (f,g) with f = g = t. v(t,f(t)) t t0t0 Picard Solution Reformulated Up: (f,g)  ( t. (x 0 +  g(t) dt), g ) t t0t0 P: f  t. (x 0 +  v(t, f(t)) dt) can be considered as upgrading the information about the function f and the information about its derivative g. t t0t0 Ap v : (f,g)  (f, t. v(t,f(t)))

26 To obtain Picard’s theorem with domain theory, we have to make sure that derivative updating preserves consistency. (f, g) is strongly consistent, (f, g)  S-Cons, if  h ⊒ g we have: (f, h)  Cons Q(f,g)(x) := sup y  O  Dom(f) (f – (y) + d +– (x,y)) R(f,g)x) := inf y  O  Dom(f) (f + (y) + d –+ (x,y)) Theorem. If f –, f +, g –, g + : [0,1]  R are bounded and g –, g + are continuous a.e. (e.g. for polynomial step functions f and g ), then (f,g) is strongly consistent iff for any connected component O of dom(g) with O  dom(f)  , we have:  x  O. Q(f,g)(x), R(f,g)(x)  [f – (x), f + (x) ] Thus, on basis elements strong consistency is decidable. A domain-theoretic Picard theorem

27 Domain-theoretic Picard theorem (AE&AL) Let v : [0,1]  IR  IR be Scott continuous and Ap v : ([0,1]  IR) 2  ([0,1]  IR) 2 (f,g)  ( f, t. v (t, f(t) )) Up : ([0,1]  IR) 2  ([0,1]  IR) 2 Up(f,g) = (f g, g) where f g (t) = [ L (f,g) (t), G (f,g) (t) ] Consider any initial value f  [0,1]  IR with (f, t. v (t, f(t) ) )  S-Cons Then the continuous map Up ⃘ Ap v has a least fixed point above (f, t.v (t, f(t))) given by ( f s, g s ) = ⊔ n  0 (Up ⃘ Ap v ) n (f, t.v (t, f(t) ) )

28 Then (f, [-a,a ] ↘ [-M,M ] )  S-Cons, hence (f, t. v(t, f(t) ) )  S-Cons since ([-a,a ] ↘ [-M,M ]) ⊑ t. v (t, f(t) ) Theorem. The domain-theoretic solution ( f s, g s ) = ⊔ n  0 (Up ⃘ Ap v ) n (f, t. v (t, f(t) )) gives the unique classical solution through (0,0). The Classical Initial Value Problem Suppose v = Ih for a continuous h : [-1,1]  R  R which satisfies the Lipschitz property around (t 0,x 0 ) =(0,0). Then h is bounded by M say in a compact rectangle K around the origin. We can choose positive a  1 such that [-a,a]  [-Ma,Ma]  K. Put f = ⊔ n  0 f n where f n = [-a/2 n,a /2 n ] ↘ [-Ma/2 n, Ma/ 2 n ]

29 Computation of the solution for a given precision  Computation of the solution for a given precision  >0 Let ( u n, w n ) := (P v ) n (f n, t. v n (t, f n (t) ) ) with u n = [u n -,u n + ] We express f and v as lubs of step functions: f = ⊔ n  0 f n v = ⊔ n  0 v n Putting P v := Up ⃘ Ap v the solution is obtained as: For all n  0 we have: u n -  u n+1 -  u n+1 +  u n + with u n + - u n -  0 Compute the piecewise linear maps u n -, u n + until  the first n  0 with u n + - u n -   ( f s, g s ) = ⊔ n  0 (P v ) n (f, t. v (t, f(t) ) ) = ⊔ n  0 (P v ) n (f n, t. v n (t, f n (t) ) )

30Example 1 f g v v is approximated by a sequence of step functions, v 0, v 1, … v = ⊔ i v i We solve: = v(t,x), x(t 0 ) =x 0 for t  [0,1] with v(t,x) = t and t 0 =1/2, x 0 =9/8. a3a3 b3b3 a2a2 b2b2 a1a1 b1b1 v3v3 v2v2 v1v1 The initial condition is approximated by rectangles a i  b i : {(1/2,9/8)} = ⊔ i a i  b i, t t.

31Solution 1 f g At stage n we find u n - and u n +.

32Solution 1 f g At stage n we find u n - and u n +

33Solution 1 f g u n - and u n + tend to the exact solution: f: t  t 2 / At stage n we find u n - and u n +

34 Computing with polynomial step functions

35 Current and Further Work Solving Differential Equations with Domains Differential Calculus with Several Variables Implicit and Inverse Function Theorems Reconstruct Geometry and Smooth Mathematics with Domain Theory Continuous processes, robotics,…

36 THE END