SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Downloaden Sie, um offline zu lesen
Interval-based Solving of
Hybrid Constraint Systems
             Sep. 17, 2009
 Daisuke ISHII†
 Kazunori UEDA     †,‡

 Hiroshi HOSOBE‡
 Alexandre GOLDSZTEJN        *

 † Waseda University, Japan
 ‡ National Institute of Informatics, Japan
 * LINA, Universite’ de Nantes, France        1
Reliable Modeling, Simulation, and
      Verification of Hybrid Systems

1.Simple modeling of (possibly nonlinear) hybrid
 systems using interval constraints
  - [Henzinger, 00], [Hickey, 04], [Ratschan, 06], [Eggers, 08]
  - cf. Abstraction into piecewise linear systems

  Bouncing particle      3
                                           ODE

              Initial constraint
                         2


                         1



          Guard constraint
                        0

                        -1


                             1     2   3   4   5   6   7   8   9   2
Reliable Modeling, Simulation, and
     Verification of Hybrid Systems
2.Rigorous detection of a discrete change
 - Numeric techniques may compute
   unexpected results          [Park, 96], [Esposito, 07]
 - Enclosing a solution by tight intervals or boxes
 - Guaranteeing the existence of a unique solution
  Bouncing particle   3


                      2


                      1


                      0

                      -1


                           1      2   3    4   5    6   7   8   9   3
Talk Outline

1. Hybrid constraint systems (HCSs) for
   formalizing the detection of discrete changes
    - Box-consistency for an HCS:
      A box enclosing a solution with a given accuracy
2. Interval-based technique for solving HCSs
   - Based on the branch-and-prune algorithm
   - Efficient domain reduction by the interval Newton
     method
   - Integration of
      ✴Interval-based solver for nonlinear constraints
      [van Hentenryck, 97]
     ✴Interval-based solver for nonlinear ODEs
      [Nedialkov, 99]
                                                         4
I = {r ∈ R | l ≤ r ≤ u}.                            W
                                                                              N
 (Validated) Interval Arithmetic
  I denotes a set of intervals. A box B is a tuple of [Moore, 66]
                                                         n intervals
                                                                              I
  (I1 , . . . , In ). I n denotes a set of boxes. For an interval I,
                                                                              O
• Extension of the lower bound, ub(I) denotes the upper
  lb(I) denotes numerical analysis
                                                                              W
   - Using intervals|I| denotes max{|lb(I)|, |ub(I)|}. For
  bound, int(I) denotes the (l, u ∈ F) or boxesdenotes
  the center of I, and
                               [l, u]  internal of I, m(I) (tuple
                                                                              a
     of intervals) instead of floating point numbers
  r ∈ R, [r] denotes an interval such that lb([r]) and ub([r])                e
   - Computed intervals rounded values to the their
  are the lower and upper enclose solutions and nearest                       d
  floating-point errors of r.
     round-off numbers                                                        I
     (over-approximation) n                                                   d
  For f : Rm → Rn , F : I m → I is called an f ’s interval
• Let f be a function Rthe→ R , F :condition (Fi denotes
  extension iff it satisfies       m        n      m     n
                                     following I → I is an                    t
  Interval extension ofvalue of F )
  the i-th component of the f iff                                             T
                                                                              a
     ∀I1 ∈ I · · · ∀Im ∈ I ∀r1 ∈ I1 · · · ∀rm ∈ Im ∀i ∈ {1, . . . , n}        o
                                (fi (r1 , . . . , rm ) ∈ Fi (I1 , . . . , Im )).
                                                                              V
• For I1 ,constraint and1,...,xm)=0, F(X1,...,Xm) f0ais an 3
  For a . . . , Im ∈ I f(x an interval extension F of , box
  F (I1 , . . . , Im ) is called an interval enclosure of possible
  interval f over I1 , . . . , Im . For a bounded set R ⊂ R, 2R
  values of extension
  denotes the smallest interval I ∈ I that encloses R. For a 5 v
Let y denotes a vector-valued continuous function over
equations
time R → R y(t) = f trajectory. y(t ) = y , value problem
                  n
                   ˙ called (t, y(t)) ∧ An initial
for an ODE (IVP-ODE) is formed n+1 theODEs
           Interval-based Solving of 0 conjunction of
                                              0
                                              by
where initial R, y0 ∈ R and f anR
equations ∈ value problem for : ODE → R (assuming
  • An    t0                 n                           n

Lipschitz continuity). Given an IVP-ODE, a solution de-
                   y(t) = f (t, y(t)) ∧ y(t0 ) = y0 ,
                   ˙
noted by yt0 ,y0 is a trajectory that satisfies the equations.
where t0 ∈ R, is0 a∈ Rn and f yt0,y0(t) : R RnR(assuming
  • A solution       y trajectory : Rn+1 → → n
Given an continuity). Given(Y0 , IVP-ODE, a, solution de-
Lipschitz initial value set n+1 T0 ) ∈ I
                                      an
                                                    n+1
                                                            an interval
  • Given aof the(Ya,trajectory , ,an interval extensionIof
                box solution y
extension yt0 ,y0 is
noted by                0 T0)    I
                                  t0 ,y0 denoted by YT0 ,Y0 :
                                       that satisfies the equations.  →
I ,ysatisfies the following → In such that n+1
  n
      t0,y0(t) is YT0,Y0(T) : I condition
Given an initial value set (Y0 , T0 ) ∈ I               , an interval
        ∀t0 ∈ T0 ∀y0 ∈ Y0 ∀t ∈ T (yt0 ,y0 ,i (t) ∈ YT0 ,Y0 ,i (T )),
extension of the solution yt0 ,y0 , denoted by YT0 ,Y0 : I →
where T is athe following condition lb(T ) ≥ ub(T0 ).
I n , satisfies time interval such that
         Example      0

We employ T0 ∀y0 ∈ Y0 ∀t ∈ T (yt0VNODE T0 ,Y0 (T )), in Ne-
       ∀t0 ∈ an existing method ,y0 (t) ∈ Y proposed
                                                YT0,Y0(T)
dialkov et a time interval such that lb(T ) ≥ ub(T0solving
            al. (1999)boxed value
                 Initial and Nedialkov (2006) for
                  -10
where T is              (T0, Y0)                      ).
IVP-ODEs based -20 interval arithmetic. Consider an IVP-
                   on
We employ an existing method ,VNODE proposedinterval
ODE, an initial -30value set (T0 Y0 ) and a time in Ne-
         et obtain a and = YT ,YT (2006) for solving
dialkov We al. (1999)box Y1Nedialkov(T1 ) using VNODE.
T1 ∈ I.                               0  0
IVP-ODEs based on interval arithmetic. Consider
                      0.0     0.5 1.0   1.5 2.0  2.5 an IVP-
                                                          6
Hybrid Constraint Systems



• An hybrid constraint system (HCS) consists of:
  - A flow constraint
   ✴flow(x0, x1,..., xn)
 - A guard constraint
   ✴grd(x1,..., xn)
 - An initial box
   ✴D0=(X0,0, X0,1,..., X0,n)


                                               7
Example of
     Hybrid Constraint Systems (HCSs)
• Particle falling towards a sine-waved ground
  surface
    Variables X =
 (t, px, py, vx, vy)                  Trajectory
time position velocity               y(τ) : R → R4

                    3                         3


                    2                         2


                    1                         1


                    0                         0

                   -1                         -1
 Bouncing
  particle                                         0.0   0.2   0.4   0.6   0.8
                         1   2   3   4   5
                                                                            8
Example of
     Hybrid Constraint Systems (HCSs)
                       Flow constraint flow(t, px, py, vx, vy):
                       y’=(yvx, yvy, 0, -9.8-0.3 yvy)      ODE
                       ∧ y(t0)=y0       Initial value
   Variables X =       ∧ y(t)=(px, py, vx, vy) ∧ t>t0
(t, px, py, vx, vy)
                                   State causing a
                                   discrete change
                  3                             3


                  2                             2
Guard constraint
grd(px, py, vx, vy):
                1                               1
 sin(2 px)-py=0
                  0                             0

                  -1                            -1
  Bouncing
   particle                                          0.0   0.2   0.4   0.6   0.8
                       1   2   3     4   5
                                                                              9
Example of
    Hybrid Constraint Systems (HCSs)
• Initial box D0=(T0, Y0) providing initial values t0,
   y0 in the flow constraint
  - cf. y(t0)=y0

                              D0

              3                        3


              2                        2


              1                        1


              0                        0

             -1                        -1
 Bouncing
  particle                                  0.0   0.2   0.4   0.6   0.8
                  1   2   3   4    5
                                                                    10
Solutions of an HCS
• A (theoretical) solution of an HCS is a valuation
  of variables satisfying the flow and guard
  constraints
• An HCS may have multiple solutions


             3                        3


             2                        2


             1                        1


             0                        0

             -1                       -1
 Bouncing
  particle                                 0.0   0.2   0.4   0.6   0.8
                  1   2   3   4   5
                                                                   11
Box-Consistency for HCSs

• Box D is given as a rough enclosure of solutions
• Consider interval extensions of the flow constraint
  Flow and the guard constraint Grd

                                        D
                3                           3
                        Flow
                2                           2


                1                           1
             Grd
                0                           0

               -1                           -1
 Bouncing
  particle                                       0.0   0.2   0.4   0.6   0.8
                    1   2   3   4   5
                                                                         12
Box-Consistency for HCSs
• (Refined) box D’=(I0,...,[l k,u k],...,In)
  is box-consistent [Benhamou, 1994] iff
   ∀k∈{0,...,n}
   [ Flow(I0,...,[lk,lk+),...,In) ∧ Grd(I1,...,[lk,lk+),...,In) ∧
     Flow(I0,...,(uk-,uk],...,In) ∧ Grd(I1,...,(uk-,uk],...,In) ]
                                              D
The smallest interval
   at each bound      3                           3
                              Flow
                     2                        D’12

                Grd
                     1                        D’21
                     0
                                              D’30
                     -1                           -1
  Bouncing
   particle                                            0.0   0.2   0.4   0.6   0.8
                          1   2   3   4   5
                                                                               13
Interval-based Technique
               for Solving HCSs
• Computation of a set of box-consistent boxes
  - Each box is narrower than the specified width
• Based on the branch-and-prune algorithm
 [van Hentenryck, 97]

• Integrated with an interval-based method for
 solving ODEs
• Efficient reduction of an input box using the
 interval Newton method
  - Proof of the existence of a unique solution within
   a box

                                                     14
Application of the
          Interval Newton Method

1. Trajectory with respect to a flow constraint
                         yt0,y0(t)
2. Composition with a guard constraint
                     g(yt0,y0(t)) = 0       Computed by an
                                            interval-based
3. Interval extension                       ODE solver
                 H(T) = G(YT0,Y0(T)) ∋ 0

4. Interval extension of the derivative of g yt0,y0

         H’(T) =    Σ ( δG/δXi
                   1≦i≦n
                                     dYT0,Y0(T)/dT )
                                                        15
3.2 Interval Newton Method
                  Application of the
             Interval Newton Method
Given an equation h(t) = 0, where h : R → R is
a 5. If a time interval T contains a solution, an interval
   continuously differentiable function, a solution of the
equation in an interval T is Newton operator an interval
     obtained by the interval    also included in also
obtained by the following interval operator
     contains the solution
                                         H([m(T )])
          NH,H (T ) = T ∩ [m(T )] −                 ,
                                          H (T )
                  ˙
where H and H are interval of T
                            Midpoint extensions of h and its
  6. Fixpoint H,H                         / ˙
derivative. Nof the interval Newton 0 ∈ H(T )Nholds. The
                    (T ) is defined iff operator H,H’*(T)
(uni-variate) interval Newton method iteratively refines
an interval enclosureto contain a unique solution taking a
  • T is guaranteed by the operator above. By if
sufficiently small enclosure T of a solution, iterated appli-
     NH,H’(T) internal(T) holds
cations of NH,H (T ) will converge. The fixpoint is denoted
by NH,H (T ). If the condition NH,H (T ) ⊆ int(T ) holds, a
       ∗
         ˙
unique solution t∗ ∈ NH,H (T ) exists (see Theorem 8.4 in
                                                        16
Overview of the                  YT0,Y0(T1)
   Proposed Algorithm:
1. If 0 ∉ G(YT0,Y0(T1)),                          Possible
                                           trajectories yy0,t0(τ)
   return ∅ and finish                             w.r.t.
                            D0=(T0,Y0)      the flow constraint
   → 0 ∈ G(YT0,Y0(T1))                              flow
2. Else calculate
   T2 = NH,H’*(T1)


       A region possibly
          satisfied by
     the guard constraint
              grd                          T1
Overview of the
   Proposed Algorithm:
1. If 0 ∉ G(YT0,Y0(T1)),
   return ∅ and finish
   → 0 ∈ G(YT0,Y0(T1))
                             0   G(YT0,Y0(lb(T2)))
2. Else calculate
   T2 = NH,H’*(T1)
3. Is the box enclosure
   box-consistent?
   → No
     Solve the ODE at the
                                           T2
      bounds of T2 using
     the minimal step size
                                       0   G(YT0,Y0(ub(T2)))
Overview of the                      Box enclosure of
   Proposed Algorithm:                   the trajectories
1. If 0 ∉ G(YT0,Y0(T1)),                computed by the
                                           ODE solver
   return ∅ and finish
   → 0 ∈ G(YT0,Y0(T1))
2. Else calculate
   T2 = NH,H’*(T1)
3. Is the box enclosure
   box-consistent?
   → No                          T2,l          T2,u
4. Split T2 into T2,l and T2,u
   and process recursively               T2
Overview of the
   Proposed Algorithm:
1. If 0 ∉ G(YT0,Y0(T2,l)),
   return ∅ and finish
   → The condition holds,
   so finish the process




                             T2,l        T2,u


                                    T2
Overview of the
   Proposed Algorithm:
1. If 0 ∉ G(YT0,Y0(T2,u)),
   return ∅ and finish
   → 0 ∈ G(YT0,Y0(T2,u))
2. Else calculate
   T3 = NH,H’*(T2,u)
3. Is the box enclosure                         T3
   box-consistent?
   → Yes,                    T2,l        T2,u
     return D’ and finish
                                          D’
                                    T2
Experiments (Overview)




• Implementation:
  Elisa (an impl. of branch-and-prune)
  [Granvilliers, 05]
  +
  VNODE-LP (an interval-based ODE solver)
  [Nedialkov, 06]

  + Some optimizations



                                            22
Experiments (Overview)


• Efficiency of the proposed method
 - The number of reductions and computation time
   were reduced, compared to the method not
   applying the interval Newton method
   ✴ 1.5-12%, and 11-23%, respectively

 - The proposed method took about 200% of
   computation time (at least), compared to the
   (non-validated) numeric computation on
   Mathematica

                                                  23
Conclusion and Future Work

1. Hybrid constraint systems (HCSs) describe
   (an over-approximation of) hybrid systems using
   constraints
2. Interval-based technique for solving HCSs
 - Guarantees the existence and uniqueness of a
   solution in a box enclosure


• Future work: Application to (bounded) model
   checking
  - Integration with SAT solvers (cf. SMT)
                                                  24
References

• [van Hentenryck, 1997] P. van Hentenryck, et al.:
  Solving polynomial systems using a branch and prune
  approach. In J. on Numerical Analysis, 34(2), pp.
  797-827. SIAM, 1997.

• [Nedialkov, 1999] N. S. Nedialkov, et al.: Validated
  solutions of initial value problems for ordinary differential
  equations. Applied Mathematics and Computation, vol.
  105 (1), pp. 21-68. Elsevier, 1999.

• [Ishii, 2008]          ,         ,        :


     .                       , MPS-68, pp. 133-136. 2008.
                                                            25
References (cont.)
• B. Carlson and V. Gupta: Hybrid cc with Interval
  Constraints, In Proc. of HSCC 1998, LNCS 1386, pp.
  80-95, 1998.

• S. Ratschan and Z. She: Safety Verification of Hybrid
  Systems by Constraint Propagation Based Abstraction
  Refinement, In Proc. of HSCC 2005, LNCS 3414, 2005.

• G. Frehse: PHAVer: Algorithmic Verification of Hybrid
  Systems past HyTech, In Proc. of HSCC 2005, LNCS
  3414, pp. 258-273, 2005.

• T. A. Henzinger, et al.: Beyond HyTech: Hybrid Systems
  Analysis Using Interval Numerical Methods, LNCS 1790,
  pp. 130-144, 2000.
                                                          26

Weitere ähnliche Inhalte

Was ist angesagt?

Parameter Estimation in Stochastic Differential Equations by Continuous Optim...
Parameter Estimation in Stochastic Differential Equations by Continuous Optim...Parameter Estimation in Stochastic Differential Equations by Continuous Optim...
Parameter Estimation in Stochastic Differential Equations by Continuous Optim...SSA KPI
 
On estimating the integrated co volatility using
On estimating the integrated co volatility usingOn estimating the integrated co volatility using
On estimating the integrated co volatility usingkkislas
 
A current perspectives of corrected operator splitting (os) for systems
A current perspectives of corrected operator splitting (os) for systemsA current perspectives of corrected operator splitting (os) for systems
A current perspectives of corrected operator splitting (os) for systemsAlexander Decker
 
NONLINEAR DIFFERENCE EQUATIONS WITH SMALL PARAMETERS OF MULTIPLE SCALES
NONLINEAR DIFFERENCE EQUATIONS WITH SMALL PARAMETERS OF MULTIPLE SCALESNONLINEAR DIFFERENCE EQUATIONS WITH SMALL PARAMETERS OF MULTIPLE SCALES
NONLINEAR DIFFERENCE EQUATIONS WITH SMALL PARAMETERS OF MULTIPLE SCALESTahia ZERIZER
 
Homotopy perturbation and elzaki transform for solving nonlinear partial diff...
Homotopy perturbation and elzaki transform for solving nonlinear partial diff...Homotopy perturbation and elzaki transform for solving nonlinear partial diff...
Homotopy perturbation and elzaki transform for solving nonlinear partial diff...Alexander Decker
 
11.homotopy perturbation and elzaki transform for solving nonlinear partial d...
11.homotopy perturbation and elzaki transform for solving nonlinear partial d...11.homotopy perturbation and elzaki transform for solving nonlinear partial d...
11.homotopy perturbation and elzaki transform for solving nonlinear partial d...Alexander Decker
 
Polarons in bulk and near surfaces
Polarons in bulk and near surfacesPolarons in bulk and near surfaces
Polarons in bulk and near surfacesnirupam12
 
Phase de-trending of modulated signals
Phase de-trending of modulated signalsPhase de-trending of modulated signals
Phase de-trending of modulated signalsNMDG NV
 
11.[95 103]solution of telegraph equation by modified of double sumudu transf...
11.[95 103]solution of telegraph equation by modified of double sumudu transf...11.[95 103]solution of telegraph equation by modified of double sumudu transf...
11.[95 103]solution of telegraph equation by modified of double sumudu transf...Alexander Decker
 
Practising Fourier Analysis with Digital Images
Practising Fourier Analysis with Digital ImagesPractising Fourier Analysis with Digital Images
Practising Fourier Analysis with Digital ImagesFrédéric Morain-Nicolier
 
Lesson 16: Inverse Trigonometric Functions
Lesson 16: Inverse Trigonometric FunctionsLesson 16: Inverse Trigonometric Functions
Lesson 16: Inverse Trigonometric FunctionsMatthew Leingang
 
Ada boost brown boost performance with noisy data
Ada boost brown boost performance with noisy dataAda boost brown boost performance with noisy data
Ada boost brown boost performance with noisy dataShadhin Rahman
 
Logics of the laplace transform
Logics of the laplace transformLogics of the laplace transform
Logics of the laplace transformTarun Gehlot
 
Optimal Finite Difference Grids for Elliptic and Parabolic PDEs with Applicat...
Optimal Finite Difference Grids for Elliptic and Parabolic PDEs with Applicat...Optimal Finite Difference Grids for Elliptic and Parabolic PDEs with Applicat...
Optimal Finite Difference Grids for Elliptic and Parabolic PDEs with Applicat...Alex (Oleksiy) Varfolomiyev
 
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...BRNSS Publication Hub
 
Lesson 14: Derivatives of Logarithmic and Exponential Functions
Lesson 14: Derivatives of Logarithmic and Exponential FunctionsLesson 14: Derivatives of Logarithmic and Exponential Functions
Lesson 14: Derivatives of Logarithmic and Exponential FunctionsMatthew Leingang
 
Fixed point theorem of discontinuity and weak compatibility in non complete n...
Fixed point theorem of discontinuity and weak compatibility in non complete n...Fixed point theorem of discontinuity and weak compatibility in non complete n...
Fixed point theorem of discontinuity and weak compatibility in non complete n...Alexander Decker
 

Was ist angesagt? (18)

Parameter Estimation in Stochastic Differential Equations by Continuous Optim...
Parameter Estimation in Stochastic Differential Equations by Continuous Optim...Parameter Estimation in Stochastic Differential Equations by Continuous Optim...
Parameter Estimation in Stochastic Differential Equations by Continuous Optim...
 
On estimating the integrated co volatility using
On estimating the integrated co volatility usingOn estimating the integrated co volatility using
On estimating the integrated co volatility using
 
A current perspectives of corrected operator splitting (os) for systems
A current perspectives of corrected operator splitting (os) for systemsA current perspectives of corrected operator splitting (os) for systems
A current perspectives of corrected operator splitting (os) for systems
 
Hw4sol
Hw4solHw4sol
Hw4sol
 
NONLINEAR DIFFERENCE EQUATIONS WITH SMALL PARAMETERS OF MULTIPLE SCALES
NONLINEAR DIFFERENCE EQUATIONS WITH SMALL PARAMETERS OF MULTIPLE SCALESNONLINEAR DIFFERENCE EQUATIONS WITH SMALL PARAMETERS OF MULTIPLE SCALES
NONLINEAR DIFFERENCE EQUATIONS WITH SMALL PARAMETERS OF MULTIPLE SCALES
 
Homotopy perturbation and elzaki transform for solving nonlinear partial diff...
Homotopy perturbation and elzaki transform for solving nonlinear partial diff...Homotopy perturbation and elzaki transform for solving nonlinear partial diff...
Homotopy perturbation and elzaki transform for solving nonlinear partial diff...
 
11.homotopy perturbation and elzaki transform for solving nonlinear partial d...
11.homotopy perturbation and elzaki transform for solving nonlinear partial d...11.homotopy perturbation and elzaki transform for solving nonlinear partial d...
11.homotopy perturbation and elzaki transform for solving nonlinear partial d...
 
Polarons in bulk and near surfaces
Polarons in bulk and near surfacesPolarons in bulk and near surfaces
Polarons in bulk and near surfaces
 
Phase de-trending of modulated signals
Phase de-trending of modulated signalsPhase de-trending of modulated signals
Phase de-trending of modulated signals
 
11.[95 103]solution of telegraph equation by modified of double sumudu transf...
11.[95 103]solution of telegraph equation by modified of double sumudu transf...11.[95 103]solution of telegraph equation by modified of double sumudu transf...
11.[95 103]solution of telegraph equation by modified of double sumudu transf...
 
Practising Fourier Analysis with Digital Images
Practising Fourier Analysis with Digital ImagesPractising Fourier Analysis with Digital Images
Practising Fourier Analysis with Digital Images
 
Lesson 16: Inverse Trigonometric Functions
Lesson 16: Inverse Trigonometric FunctionsLesson 16: Inverse Trigonometric Functions
Lesson 16: Inverse Trigonometric Functions
 
Ada boost brown boost performance with noisy data
Ada boost brown boost performance with noisy dataAda boost brown boost performance with noisy data
Ada boost brown boost performance with noisy data
 
Logics of the laplace transform
Logics of the laplace transformLogics of the laplace transform
Logics of the laplace transform
 
Optimal Finite Difference Grids for Elliptic and Parabolic PDEs with Applicat...
Optimal Finite Difference Grids for Elliptic and Parabolic PDEs with Applicat...Optimal Finite Difference Grids for Elliptic and Parabolic PDEs with Applicat...
Optimal Finite Difference Grids for Elliptic and Parabolic PDEs with Applicat...
 
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
 
Lesson 14: Derivatives of Logarithmic and Exponential Functions
Lesson 14: Derivatives of Logarithmic and Exponential FunctionsLesson 14: Derivatives of Logarithmic and Exponential Functions
Lesson 14: Derivatives of Logarithmic and Exponential Functions
 
Fixed point theorem of discontinuity and weak compatibility in non complete n...
Fixed point theorem of discontinuity and weak compatibility in non complete n...Fixed point theorem of discontinuity and weak compatibility in non complete n...
Fixed point theorem of discontinuity and weak compatibility in non complete n...
 

Ähnlich wie D. Ishii, K. Ueda, H. Hosobe, A. Goldsztejn: Interval-based Solving of Hybrid Constraint Systems, in Preprints of the 3rd IFAC Conference on Analysis and Design of Hybrid Systems (ADHS'09), pp. 144-149, 2009.

signal space analysis.ppt
signal space analysis.pptsignal space analysis.ppt
signal space analysis.pptPatrickMumba7
 
Existance Theory for First Order Nonlinear Random Dfferential Equartion
Existance Theory for First Order Nonlinear Random Dfferential EquartionExistance Theory for First Order Nonlinear Random Dfferential Equartion
Existance Theory for First Order Nonlinear Random Dfferential Equartioninventionjournals
 
Mit18 330 s12_chapter5
Mit18 330 s12_chapter5Mit18 330 s12_chapter5
Mit18 330 s12_chapter5CAALAAA
 
A Tau Approach for Solving Fractional Diffusion Equations using Legendre-Cheb...
A Tau Approach for Solving Fractional Diffusion Equations using Legendre-Cheb...A Tau Approach for Solving Fractional Diffusion Equations using Legendre-Cheb...
A Tau Approach for Solving Fractional Diffusion Equations using Legendre-Cheb...iosrjce
 
Akitoshi Takayasu
Akitoshi TakayasuAkitoshi Takayasu
Akitoshi TakayasuSuurist
 
Accurate, Simple and Efficient Triangulation of a Polygon by Ear Removal with...
Accurate, Simple and Efficient Triangulation of a Polygon by Ear Removal with...Accurate, Simple and Efficient Triangulation of a Polygon by Ear Removal with...
Accurate, Simple and Efficient Triangulation of a Polygon by Ear Removal with...Kasun Ranga Wijeweera
 
Signal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier TransformsSignal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier TransformsArvind Devaraj
 
Can we estimate a constant?
Can we estimate a constant?Can we estimate a constant?
Can we estimate a constant?Christian Robert
 
Numerical solution of boundary value problems by piecewise analysis method
Numerical solution of boundary value problems by piecewise analysis methodNumerical solution of boundary value problems by piecewise analysis method
Numerical solution of boundary value problems by piecewise analysis methodAlexander Decker
 
An Algorithm to Find the Visible Region of a Polygon
An Algorithm to Find the Visible Region of a PolygonAn Algorithm to Find the Visible Region of a Polygon
An Algorithm to Find the Visible Region of a PolygonKasun Ranga Wijeweera
 
PaperNo14-Habibi-IJMA-n-Tuples and Chaoticity
PaperNo14-Habibi-IJMA-n-Tuples and ChaoticityPaperNo14-Habibi-IJMA-n-Tuples and Chaoticity
PaperNo14-Habibi-IJMA-n-Tuples and ChaoticityMezban Habibi
 

Ähnlich wie D. Ishii, K. Ueda, H. Hosobe, A. Goldsztejn: Interval-based Solving of Hybrid Constraint Systems, in Preprints of the 3rd IFAC Conference on Analysis and Design of Hybrid Systems (ADHS'09), pp. 144-149, 2009. (20)

4th semester Civil Engineering (2012-December) Question Papers
4th semester Civil Engineering   (2012-December) Question Papers 4th semester Civil Engineering   (2012-December) Question Papers
4th semester Civil Engineering (2012-December) Question Papers
 
signal space analysis.ppt
signal space analysis.pptsignal space analysis.ppt
signal space analysis.ppt
 
C02402023032
C02402023032C02402023032
C02402023032
 
Signal Processing Homework Help
Signal Processing Homework HelpSignal Processing Homework Help
Signal Processing Homework Help
 
B02609013
B02609013B02609013
B02609013
 
Matlab II
Matlab IIMatlab II
Matlab II
 
Existance Theory for First Order Nonlinear Random Dfferential Equartion
Existance Theory for First Order Nonlinear Random Dfferential EquartionExistance Theory for First Order Nonlinear Random Dfferential Equartion
Existance Theory for First Order Nonlinear Random Dfferential Equartion
 
Mit18 330 s12_chapter5
Mit18 330 s12_chapter5Mit18 330 s12_chapter5
Mit18 330 s12_chapter5
 
A Tau Approach for Solving Fractional Diffusion Equations using Legendre-Cheb...
A Tau Approach for Solving Fractional Diffusion Equations using Legendre-Cheb...A Tau Approach for Solving Fractional Diffusion Equations using Legendre-Cheb...
A Tau Approach for Solving Fractional Diffusion Equations using Legendre-Cheb...
 
Rouviere
RouviereRouviere
Rouviere
 
Akitoshi Takayasu
Akitoshi TakayasuAkitoshi Takayasu
Akitoshi Takayasu
 
Continuous and Discrete
Continuous and DiscreteContinuous and Discrete
Continuous and Discrete
 
Accurate, Simple and Efficient Triangulation of a Polygon by Ear Removal with...
Accurate, Simple and Efficient Triangulation of a Polygon by Ear Removal with...Accurate, Simple and Efficient Triangulation of a Polygon by Ear Removal with...
Accurate, Simple and Efficient Triangulation of a Polygon by Ear Removal with...
 
Signal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier TransformsSignal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier Transforms
 
Can we estimate a constant?
Can we estimate a constant?Can we estimate a constant?
Can we estimate a constant?
 
Numerical solution of boundary value problems by piecewise analysis method
Numerical solution of boundary value problems by piecewise analysis methodNumerical solution of boundary value problems by piecewise analysis method
Numerical solution of boundary value problems by piecewise analysis method
 
An Algorithm to Find the Visible Region of a Polygon
An Algorithm to Find the Visible Region of a PolygonAn Algorithm to Find the Visible Region of a Polygon
An Algorithm to Find the Visible Region of a Polygon
 
NC time seminar
NC time seminarNC time seminar
NC time seminar
 
NTU_paper
NTU_paperNTU_paper
NTU_paper
 
PaperNo14-Habibi-IJMA-n-Tuples and Chaoticity
PaperNo14-Habibi-IJMA-n-Tuples and ChaoticityPaperNo14-Habibi-IJMA-n-Tuples and Chaoticity
PaperNo14-Habibi-IJMA-n-Tuples and Chaoticity
 

Kürzlich hochgeladen

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Kürzlich hochgeladen (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

D. Ishii, K. Ueda, H. Hosobe, A. Goldsztejn: Interval-based Solving of Hybrid Constraint Systems, in Preprints of the 3rd IFAC Conference on Analysis and Design of Hybrid Systems (ADHS'09), pp. 144-149, 2009.

  • 1. Interval-based Solving of Hybrid Constraint Systems Sep. 17, 2009 Daisuke ISHII† Kazunori UEDA †,‡ Hiroshi HOSOBE‡ Alexandre GOLDSZTEJN * † Waseda University, Japan ‡ National Institute of Informatics, Japan * LINA, Universite’ de Nantes, France 1
  • 2. Reliable Modeling, Simulation, and Verification of Hybrid Systems 1.Simple modeling of (possibly nonlinear) hybrid systems using interval constraints - [Henzinger, 00], [Hickey, 04], [Ratschan, 06], [Eggers, 08] - cf. Abstraction into piecewise linear systems Bouncing particle 3 ODE Initial constraint 2 1 Guard constraint 0 -1 1 2 3 4 5 6 7 8 9 2
  • 3. Reliable Modeling, Simulation, and Verification of Hybrid Systems 2.Rigorous detection of a discrete change - Numeric techniques may compute unexpected results [Park, 96], [Esposito, 07] - Enclosing a solution by tight intervals or boxes - Guaranteeing the existence of a unique solution Bouncing particle 3 2 1 0 -1 1 2 3 4 5 6 7 8 9 3
  • 4. Talk Outline 1. Hybrid constraint systems (HCSs) for formalizing the detection of discrete changes - Box-consistency for an HCS: A box enclosing a solution with a given accuracy 2. Interval-based technique for solving HCSs - Based on the branch-and-prune algorithm - Efficient domain reduction by the interval Newton method - Integration of ✴Interval-based solver for nonlinear constraints [van Hentenryck, 97] ✴Interval-based solver for nonlinear ODEs [Nedialkov, 99] 4
  • 5. I = {r ∈ R | l ≤ r ≤ u}. W N (Validated) Interval Arithmetic I denotes a set of intervals. A box B is a tuple of [Moore, 66] n intervals I (I1 , . . . , In ). I n denotes a set of boxes. For an interval I, O • Extension of the lower bound, ub(I) denotes the upper lb(I) denotes numerical analysis W - Using intervals|I| denotes max{|lb(I)|, |ub(I)|}. For bound, int(I) denotes the (l, u ∈ F) or boxesdenotes the center of I, and [l, u] internal of I, m(I) (tuple a of intervals) instead of floating point numbers r ∈ R, [r] denotes an interval such that lb([r]) and ub([r]) e - Computed intervals rounded values to the their are the lower and upper enclose solutions and nearest d floating-point errors of r. round-off numbers I (over-approximation) n d For f : Rm → Rn , F : I m → I is called an f ’s interval • Let f be a function Rthe→ R , F :condition (Fi denotes extension iff it satisfies m n m n following I → I is an t Interval extension ofvalue of F ) the i-th component of the f iff T a ∀I1 ∈ I · · · ∀Im ∈ I ∀r1 ∈ I1 · · · ∀rm ∈ Im ∀i ∈ {1, . . . , n} o (fi (r1 , . . . , rm ) ∈ Fi (I1 , . . . , Im )). V • For I1 ,constraint and1,...,xm)=0, F(X1,...,Xm) f0ais an 3 For a . . . , Im ∈ I f(x an interval extension F of , box F (I1 , . . . , Im ) is called an interval enclosure of possible interval f over I1 , . . . , Im . For a bounded set R ⊂ R, 2R values of extension denotes the smallest interval I ∈ I that encloses R. For a 5 v
  • 6. Let y denotes a vector-valued continuous function over equations time R → R y(t) = f trajectory. y(t ) = y , value problem n ˙ called (t, y(t)) ∧ An initial for an ODE (IVP-ODE) is formed n+1 theODEs Interval-based Solving of 0 conjunction of 0 by where initial R, y0 ∈ R and f anR equations ∈ value problem for : ODE → R (assuming • An t0 n n Lipschitz continuity). Given an IVP-ODE, a solution de- y(t) = f (t, y(t)) ∧ y(t0 ) = y0 , ˙ noted by yt0 ,y0 is a trajectory that satisfies the equations. where t0 ∈ R, is0 a∈ Rn and f yt0,y0(t) : R RnR(assuming • A solution y trajectory : Rn+1 → → n Given an continuity). Given(Y0 , IVP-ODE, a, solution de- Lipschitz initial value set n+1 T0 ) ∈ I an n+1 an interval • Given aof the(Ya,trajectory , ,an interval extensionIof box solution y extension yt0 ,y0 is noted by 0 T0) I t0 ,y0 denoted by YT0 ,Y0 : that satisfies the equations. → I ,ysatisfies the following → In such that n+1 n t0,y0(t) is YT0,Y0(T) : I condition Given an initial value set (Y0 , T0 ) ∈ I , an interval ∀t0 ∈ T0 ∀y0 ∈ Y0 ∀t ∈ T (yt0 ,y0 ,i (t) ∈ YT0 ,Y0 ,i (T )), extension of the solution yt0 ,y0 , denoted by YT0 ,Y0 : I → where T is athe following condition lb(T ) ≥ ub(T0 ). I n , satisfies time interval such that Example 0 We employ T0 ∀y0 ∈ Y0 ∀t ∈ T (yt0VNODE T0 ,Y0 (T )), in Ne- ∀t0 ∈ an existing method ,y0 (t) ∈ Y proposed YT0,Y0(T) dialkov et a time interval such that lb(T ) ≥ ub(T0solving al. (1999)boxed value Initial and Nedialkov (2006) for -10 where T is (T0, Y0) ). IVP-ODEs based -20 interval arithmetic. Consider an IVP- on We employ an existing method ,VNODE proposedinterval ODE, an initial -30value set (T0 Y0 ) and a time in Ne- et obtain a and = YT ,YT (2006) for solving dialkov We al. (1999)box Y1Nedialkov(T1 ) using VNODE. T1 ∈ I. 0 0 IVP-ODEs based on interval arithmetic. Consider 0.0 0.5 1.0 1.5 2.0 2.5 an IVP- 6
  • 7. Hybrid Constraint Systems • An hybrid constraint system (HCS) consists of: - A flow constraint ✴flow(x0, x1,..., xn) - A guard constraint ✴grd(x1,..., xn) - An initial box ✴D0=(X0,0, X0,1,..., X0,n) 7
  • 8. Example of Hybrid Constraint Systems (HCSs) • Particle falling towards a sine-waved ground surface Variables X = (t, px, py, vx, vy) Trajectory time position velocity y(τ) : R → R4 3 3 2 2 1 1 0 0 -1 -1 Bouncing particle 0.0 0.2 0.4 0.6 0.8 1 2 3 4 5 8
  • 9. Example of Hybrid Constraint Systems (HCSs) Flow constraint flow(t, px, py, vx, vy): y’=(yvx, yvy, 0, -9.8-0.3 yvy) ODE ∧ y(t0)=y0 Initial value Variables X = ∧ y(t)=(px, py, vx, vy) ∧ t>t0 (t, px, py, vx, vy) State causing a discrete change 3 3 2 2 Guard constraint grd(px, py, vx, vy): 1 1 sin(2 px)-py=0 0 0 -1 -1 Bouncing particle 0.0 0.2 0.4 0.6 0.8 1 2 3 4 5 9
  • 10. Example of Hybrid Constraint Systems (HCSs) • Initial box D0=(T0, Y0) providing initial values t0, y0 in the flow constraint - cf. y(t0)=y0 D0 3 3 2 2 1 1 0 0 -1 -1 Bouncing particle 0.0 0.2 0.4 0.6 0.8 1 2 3 4 5 10
  • 11. Solutions of an HCS • A (theoretical) solution of an HCS is a valuation of variables satisfying the flow and guard constraints • An HCS may have multiple solutions 3 3 2 2 1 1 0 0 -1 -1 Bouncing particle 0.0 0.2 0.4 0.6 0.8 1 2 3 4 5 11
  • 12. Box-Consistency for HCSs • Box D is given as a rough enclosure of solutions • Consider interval extensions of the flow constraint Flow and the guard constraint Grd D 3 3 Flow 2 2 1 1 Grd 0 0 -1 -1 Bouncing particle 0.0 0.2 0.4 0.6 0.8 1 2 3 4 5 12
  • 13. Box-Consistency for HCSs • (Refined) box D’=(I0,...,[l k,u k],...,In) is box-consistent [Benhamou, 1994] iff ∀k∈{0,...,n} [ Flow(I0,...,[lk,lk+),...,In) ∧ Grd(I1,...,[lk,lk+),...,In) ∧ Flow(I0,...,(uk-,uk],...,In) ∧ Grd(I1,...,(uk-,uk],...,In) ] D The smallest interval at each bound 3 3 Flow 2 D’12 Grd 1 D’21 0 D’30 -1 -1 Bouncing particle 0.0 0.2 0.4 0.6 0.8 1 2 3 4 5 13
  • 14. Interval-based Technique for Solving HCSs • Computation of a set of box-consistent boxes - Each box is narrower than the specified width • Based on the branch-and-prune algorithm [van Hentenryck, 97] • Integrated with an interval-based method for solving ODEs • Efficient reduction of an input box using the interval Newton method - Proof of the existence of a unique solution within a box 14
  • 15. Application of the Interval Newton Method 1. Trajectory with respect to a flow constraint yt0,y0(t) 2. Composition with a guard constraint g(yt0,y0(t)) = 0 Computed by an interval-based 3. Interval extension ODE solver H(T) = G(YT0,Y0(T)) ∋ 0 4. Interval extension of the derivative of g yt0,y0 H’(T) = Σ ( δG/δXi 1≦i≦n dYT0,Y0(T)/dT ) 15
  • 16. 3.2 Interval Newton Method Application of the Interval Newton Method Given an equation h(t) = 0, where h : R → R is a 5. If a time interval T contains a solution, an interval continuously differentiable function, a solution of the equation in an interval T is Newton operator an interval obtained by the interval also included in also obtained by the following interval operator contains the solution H([m(T )]) NH,H (T ) = T ∩ [m(T )] − , H (T ) ˙ where H and H are interval of T Midpoint extensions of h and its 6. Fixpoint H,H / ˙ derivative. Nof the interval Newton 0 ∈ H(T )Nholds. The (T ) is defined iff operator H,H’*(T) (uni-variate) interval Newton method iteratively refines an interval enclosureto contain a unique solution taking a • T is guaranteed by the operator above. By if sufficiently small enclosure T of a solution, iterated appli- NH,H’(T) internal(T) holds cations of NH,H (T ) will converge. The fixpoint is denoted by NH,H (T ). If the condition NH,H (T ) ⊆ int(T ) holds, a ∗ ˙ unique solution t∗ ∈ NH,H (T ) exists (see Theorem 8.4 in 16
  • 17. Overview of the YT0,Y0(T1) Proposed Algorithm: 1. If 0 ∉ G(YT0,Y0(T1)), Possible trajectories yy0,t0(τ) return ∅ and finish w.r.t. D0=(T0,Y0) the flow constraint → 0 ∈ G(YT0,Y0(T1)) flow 2. Else calculate T2 = NH,H’*(T1) A region possibly satisfied by the guard constraint grd T1
  • 18. Overview of the Proposed Algorithm: 1. If 0 ∉ G(YT0,Y0(T1)), return ∅ and finish → 0 ∈ G(YT0,Y0(T1)) 0 G(YT0,Y0(lb(T2))) 2. Else calculate T2 = NH,H’*(T1) 3. Is the box enclosure box-consistent? → No Solve the ODE at the T2 bounds of T2 using the minimal step size 0 G(YT0,Y0(ub(T2)))
  • 19. Overview of the Box enclosure of Proposed Algorithm: the trajectories 1. If 0 ∉ G(YT0,Y0(T1)), computed by the ODE solver return ∅ and finish → 0 ∈ G(YT0,Y0(T1)) 2. Else calculate T2 = NH,H’*(T1) 3. Is the box enclosure box-consistent? → No T2,l T2,u 4. Split T2 into T2,l and T2,u and process recursively T2
  • 20. Overview of the Proposed Algorithm: 1. If 0 ∉ G(YT0,Y0(T2,l)), return ∅ and finish → The condition holds, so finish the process T2,l T2,u T2
  • 21. Overview of the Proposed Algorithm: 1. If 0 ∉ G(YT0,Y0(T2,u)), return ∅ and finish → 0 ∈ G(YT0,Y0(T2,u)) 2. Else calculate T3 = NH,H’*(T2,u) 3. Is the box enclosure T3 box-consistent? → Yes, T2,l T2,u return D’ and finish D’ T2
  • 22. Experiments (Overview) • Implementation: Elisa (an impl. of branch-and-prune) [Granvilliers, 05] + VNODE-LP (an interval-based ODE solver) [Nedialkov, 06] + Some optimizations 22
  • 23. Experiments (Overview) • Efficiency of the proposed method - The number of reductions and computation time were reduced, compared to the method not applying the interval Newton method ✴ 1.5-12%, and 11-23%, respectively - The proposed method took about 200% of computation time (at least), compared to the (non-validated) numeric computation on Mathematica 23
  • 24. Conclusion and Future Work 1. Hybrid constraint systems (HCSs) describe (an over-approximation of) hybrid systems using constraints 2. Interval-based technique for solving HCSs - Guarantees the existence and uniqueness of a solution in a box enclosure • Future work: Application to (bounded) model checking - Integration with SAT solvers (cf. SMT) 24
  • 25. References • [van Hentenryck, 1997] P. van Hentenryck, et al.: Solving polynomial systems using a branch and prune approach. In J. on Numerical Analysis, 34(2), pp. 797-827. SIAM, 1997. • [Nedialkov, 1999] N. S. Nedialkov, et al.: Validated solutions of initial value problems for ordinary differential equations. Applied Mathematics and Computation, vol. 105 (1), pp. 21-68. Elsevier, 1999. • [Ishii, 2008] , , : . , MPS-68, pp. 133-136. 2008. 25
  • 26. References (cont.) • B. Carlson and V. Gupta: Hybrid cc with Interval Constraints, In Proc. of HSCC 1998, LNCS 1386, pp. 80-95, 1998. • S. Ratschan and Z. She: Safety Verification of Hybrid Systems by Constraint Propagation Based Abstraction Refinement, In Proc. of HSCC 2005, LNCS 3414, 2005. • G. Frehse: PHAVer: Algorithmic Verification of Hybrid Systems past HyTech, In Proc. of HSCC 2005, LNCS 3414, pp. 258-273, 2005. • T. A. Henzinger, et al.: Beyond HyTech: Hybrid Systems Analysis Using Interval Numerical Methods, LNCS 1790, pp. 130-144, 2000. 26