On the Decidability of Reachability in Linear Time-Invariant Systems - - PowerPoint PPT Presentation

on the decidability of reachability in linear time
SMART_READER_LITE
LIVE PREVIEW

On the Decidability of Reachability in Linear Time-Invariant Systems - - PowerPoint PPT Presentation

On the Decidability of Reachability in Linear Time-Invariant Systems Nathanal Fijalkow, Jol Ouaknine, Amaury Pouly, Joo Sousa-Pinto, James Worrell Universit de Paris, IRIF, CNRS 26 november 2019 1 / 12 Example : mass-spring-damper


slide-1
SLIDE 1

On the Decidability of Reachability in Linear Time-Invariant Systems

Nathanaël Fijalkow, Joël Ouaknine, Amaury Pouly, João Sousa-Pinto, James Worrell

Université de Paris, IRIF, CNRS

26 november 2019

1 / 12

slide-2
SLIDE 2

Example : mass-spring-damper system

m k b u(t) Model with external input u(t) State : X = z ∈ R Equation of motion : mz′′ = −kz − bz′ + mg + u

2 / 12

slide-3
SLIDE 3

Example : mass-spring-damper system

m k b u(t) z Model with external input u(t) State : X = z ∈ R Equation of motion : mz′′ = −kz − bz′ + mg + u

2 / 12

slide-4
SLIDE 4

Example : mass-spring-damper system

m k b u(t) z Model with external input u(t) State : X = z ∈ R Equation of motion : mz′′ = −kz − bz′ + mg + u → Affine but not first order

2 / 12

slide-5
SLIDE 5

Example : mass-spring-damper system

m k b u(t) z Model with external input u(t) State : X = z ∈ R Equation of motion : mz′′ = −kz − bz′ + mg + u → Affine but not first order State : X = (z, z′, 1) ∈ R3 Equation of motion :   z z′ 1  

=   z′ − k

mz − b mz′ + g + 1 mu

 

2 / 12

slide-6
SLIDE 6

Example : mass-spring-damper system

m k b u(t) z Model with external input u(t) → Linear time invariant system X ′ = AX + Bu with some constraints on u. State : X = z ∈ R Equation of motion : mz′′ = −kz − bz′ + mg + u → Affine but not first order State : X = (z, z′, 1) ∈ R3 Equation of motion :   z z′ 1  

=   z′ − k

mz − b mz′ + g + 1 mu

 

2 / 12

slide-7
SLIDE 7

Linear dynamical systems

Discrete case x(n + 1) = Ax(n) ◮ biology, ◮ software verification, ◮ probabilistic model checking, ◮ combinatorics, ◮ .... Continuous case x′(t) = Ax(t) ◮ biology, ◮ physics, ◮ probabilistic model checking, ◮ electrical circuits, ◮ ....

Typical questions

◮ reachability ◮ safety

3 / 12

slide-8
SLIDE 8

Linear dynamical systems

Discrete case x(n + 1) = Ax(n) + Bu(n) ◮ biology, ◮ software verification, ◮ probabilistic model checking, ◮ combinatorics, ◮ .... Continuous case x′(t) = Ax(t) + Bu(t) ◮ biology, ◮ physics, ◮ probabilistic model checking, ◮ electrical circuits, ◮ ....

Typical questions

◮ reachability ◮ safety ◮ controllability

3 / 12

slide-9
SLIDE 9

Linear dynamical systems

Discrete case x(n + 1) = Ax(n) + Bu(n) ◮ biology, ◮ software verification, ◮ probabilistic model checking, ◮ combinatorics, ◮ .... Continuous case x′(t) = Ax(t) + Bu(t) ◮ biology, ◮ physics, ◮ probabilistic model checking, ◮ electrical circuits, ◮ ....

Typical questions

◮ reachability ◮ safety ◮ controllability ◮ optimal control ◮ feedback control ◮ ...

3 / 12

slide-10
SLIDE 10

The problem

LTI-REACHABILITY

◮ a source s ∈ Qd, ◮ a target t ∈ Qd, ◮ a transition matrix A ∈ Qd×d, ◮ a set of controls U ⊆ Rd, decide if ∃T ∈ N, u0, . . . , uT−1 ∈ U such that xT = t where x0 = s, xn+1 = Axn + un. s t

4 / 12

slide-11
SLIDE 11

The problem

LTI-REACHABILITY

◮ a source s ∈ Qd, ◮ a target t ∈ Qd, ◮ a transition matrix A ∈ Qd×d, ◮ a set of controls U ⊆ Rd, decide if ∃T ∈ N, u0, . . . , uT−1 ∈ U such that xT = t where x0 = s, xn+1 = Axn + un. x0 = s t

4 / 12

slide-12
SLIDE 12

The problem

LTI-REACHABILITY

◮ a source s ∈ Qd, ◮ a target t ∈ Qd, ◮ a transition matrix A ∈ Qd×d, ◮ a set of controls U ⊆ Rd, decide if ∃T ∈ N, u0, . . . , uT−1 ∈ U such that xT = t where x0 = s, xn+1 = Axn + un. x0 = s t Ax0

4 / 12

slide-13
SLIDE 13

The problem

LTI-REACHABILITY

◮ a source s ∈ Qd, ◮ a target t ∈ Qd, ◮ a transition matrix A ∈ Qd×d, ◮ a set of controls U ⊆ Rd, decide if ∃T ∈ N, u0, . . . , uT−1 ∈ U such that xT = t where x0 = s, xn+1 = Axn + un. x0 = s t Ax0 x1 = Ax0 + u0 u0

4 / 12

slide-14
SLIDE 14

The problem

LTI-REACHABILITY

◮ a source s ∈ Qd, ◮ a target t ∈ Qd, ◮ a transition matrix A ∈ Qd×d, ◮ a set of controls U ⊆ Rd, decide if ∃T ∈ N, u0, . . . , uT−1 ∈ U such that xT = t where x0 = s, xn+1 = Axn + un. x0 = s t Ax0 x1 = Ax0 + u0 u0 Ax1

4 / 12

slide-15
SLIDE 15

The problem

LTI-REACHABILITY

◮ a source s ∈ Qd, ◮ a target t ∈ Qd, ◮ a transition matrix A ∈ Qd×d, ◮ a set of controls U ⊆ Rd, decide if ∃T ∈ N, u0, . . . , uT−1 ∈ U such that xT = t where x0 = s, xn+1 = Axn + un. x0 = s t Ax0 x1 = Ax0 + u0 u0 Ax1 x2 = Ax1 + u1 u1

4 / 12

slide-16
SLIDE 16

The problem

LTI-REACHABILITY

◮ a source s ∈ Qd, ◮ a target t ∈ Qd, ◮ a transition matrix A ∈ Qd×d, ◮ a set of controls U ⊆ Rd, decide if ∃T ∈ N, u0, . . . , uT−1 ∈ U such that xT = t where x0 = s, xn+1 = Axn + un. x0 = s t Ax0 x1 = Ax0 + u0 u0 Ax1 x2 = Ax1 + u1 u1 Ax2

4 / 12

slide-17
SLIDE 17

The problem

LTI-REACHABILITY

◮ a source s ∈ Qd, ◮ a target t ∈ Qd, ◮ a transition matrix A ∈ Qd×d, ◮ a set of controls U ⊆ Rd, decide if ∃T ∈ N, u0, . . . , uT−1 ∈ U such that xT = t where x0 = s, xn+1 = Axn + un. x0 = s x3 = t Ax0 x1 = Ax0 + u0 u0 Ax1 x2 = Ax1 + u1 u1 Ax2 u2

4 / 12

slide-18
SLIDE 18

Existing work

LTI-REACHABILITY

◮ a source s ∈ Qd, ◮ a target t ∈ Qd, ◮ a transition matrix A ∈ Qd×d, ◮ a set of controls U ⊆ Rd, decide if ∃T ∈ N, u0, . . . , uT−1 ∈ U such that xT = t where x0 = s, xn+1 = Axn + un.

5 / 12

slide-19
SLIDE 19

Existing work

LTI-REACHABILITY

◮ a source s ∈ Qd, ◮ a target t ∈ Qd, ◮ a transition matrix A ∈ Qd×d, ◮ a set of controls U ⊆ Rd, decide if ∃T ∈ N, u0, . . . , uT−1 ∈ U such that xT = t where x0 = s, xn+1 = Axn + un.

Theorem (Lipton and Kannan, 1986)

LTI-REACHABILITY is decidable if U is an affine subspace of Rd.

5 / 12

slide-20
SLIDE 20

Existing work

LTI-REACHABILITY

◮ a source s ∈ Qd, ◮ a target t ∈ Qd, ◮ a transition matrix A ∈ Qd×d, ◮ a set of controls U ⊆ Rd, decide if ∃T ∈ N, u0, . . . , uT−1 ∈ U such that xT = t where x0 = s, xn+1 = Axn + un.

Theorem (Lipton and Kannan, 1986)

LTI-REACHABILITY is decidable if U is an affine subspace of Rd. Almost no exact results for other classes of U

5 / 12

slide-21
SLIDE 21

Existing work

LTI-REACHABILITY

◮ a source s ∈ Qd, ◮ a target t ∈ Qd, ◮ a transition matrix A ∈ Qd×d, ◮ a set of controls U ⊆ Rd, decide if ∃T ∈ N, u0, . . . , uT−1 ∈ U such that xT = t where x0 = s, xn+1 = Axn + un.

Theorem (Lipton and Kannan, 1986)

LTI-REACHABILITY is decidable if U is an affine subspace of Rd. Almost no exact results for other classes of U in particular when U is bounded (which is the most natural case).

5 / 12

slide-22
SLIDE 22

Our results : hardness

Study the impact of the control set on the hardness of reachability

6 / 12

slide-23
SLIDE 23

Our results : hardness

Study the impact of the control set on the hardness of reachability

Theorem

LTI-REACHABILITY is ◮ undecidable if U is a finite union of affine subspaces.

6 / 12

slide-24
SLIDE 24

Our results : hardness

Study the impact of the control set on the hardness of reachability

Theorem

LTI-REACHABILITY is ◮ undecidable if U is a finite union of affine subspaces. ◮ Skolem-hard if U = {0} ∪ V where V is an affine subspace Given s ∈ Qd and A ∈ Qd×d : ◮ Skolem problem : decide if ∃T ∈ N such that (ATs)1 = 0,

6 / 12

slide-25
SLIDE 25

Our results : hardness

Study the impact of the control set on the hardness of reachability

Theorem

LTI-REACHABILITY is ◮ undecidable if U is a finite union of affine subspaces. ◮ Skolem-hard if U = {0} ∪ V where V is an affine subspace ◮ Positivity-hard if U is a convex polytope Given s ∈ Qd and A ∈ Qd×d : ◮ Skolem problem : decide if ∃T ∈ N such that (ATs)1 = 0, ◮ Positivity problem : decide if (ATs)1 0 for all T ∈ N.

6 / 12

slide-26
SLIDE 26

Our results : hardness

Study the impact of the control set on the hardness of reachability

Theorem

LTI-REACHABILITY is ◮ undecidable if U is a finite union of affine subspaces. ◮ Skolem-hard if U = {0} ∪ V where V is an affine subspace ◮ Positivity-hard if U is a convex polytope Given s ∈ Qd and A ∈ Qd×d : ◮ Skolem problem : decide if ∃T ∈ N such that (ATs)1 = 0, ◮ Positivity problem : decide if (ATs)1 0 for all T ∈ N.

Why is this a hardness result?

Decidability of Skolen and Positivity has been open for 70 years!

6 / 12

slide-27
SLIDE 27

Our results : hardness

Study the impact of the control set on the hardness of reachability

Theorem

LTI-REACHABILITY is ◮ undecidable if U is a finite union of affine subspaces. ◮ Skolem-hard if U = {0} ∪ V where V is an affine subspace ◮ Positivity-hard if U is a convex polytope Given s ∈ Qd and A ∈ Qd×d : ◮ Skolem problem : decide if ∃T ∈ N such that (ATs)1 = 0, ◮ Positivity problem : decide if (ATs)1 0 for all T ∈ N.

Why is this a hardness result?

Decidability of Skolen and Positivity has been open for 70 years! Since we cannot solve Skolem/Positivity, we need some strong assumptions for decidability.

6 / 12

slide-28
SLIDE 28

Our results : a positive result

A LTI system (s, A, t, U) is simple if s = 0 and

7 / 12

slide-29
SLIDE 29

Our results : a positive result

A LTI system (s, A, t, U) is simple if s = 0 and ◮ U is a bounded polytope that contains 0 in its (relative) interior,

7 / 12

slide-30
SLIDE 30

Our results : a positive result

A LTI system (s, A, t, U) is simple if s = 0 and ◮ U is a bounded polytope that contains 0 in its (relative) interior, ◮ the spectral radius of A is less than 1 (stability), Reach set t Assumptions imply that the reachable set is an open convex bounded set,

7 / 12

slide-31
SLIDE 31

Our results : a positive result

A LTI system (s, A, t, U) is simple if s = 0 and ◮ U is a bounded polytope that contains 0 in its (relative) interior, ◮ the spectral radius of A is less than 1 (stability), Reach set t Assumptions imply that the reachable set is an open convex bounded set, but not always a polytope!

7 / 12

slide-32
SLIDE 32

Our results : a positive result

A LTI system (s, A, t, U) is simple if s = 0 and ◮ U is a bounded polytope that contains 0 in its (relative) interior, ◮ the spectral radius of A is less than 1 (stability), ◮ some positive power of A has exclusively real spectrum. Reach set t Assumptions imply that the reachable set is an open convex bounded set, but not always a polytope!

7 / 12

slide-33
SLIDE 33

Our results : a positive result

A LTI system (s, A, t, U) is simple if s = 0 and ◮ U is a bounded polytope that contains 0 in its (relative) interior, ◮ the spectral radius of A is less than 1 (stability), ◮ some positive power of A has exclusively real spectrum.

Theorem

LTI-REACHABILITY is decidable for simple systems. Reach set t Assumptions imply that the reachable set is an open convex bounded set, but not always a polytope!

7 / 12

slide-34
SLIDE 34

Our results : a positive result

A LTI system (s, A, t, U) is simple if s = 0 and ◮ U is a bounded polytope that contains 0 in its (relative) interior, ◮ the spectral radius of A is less than 1 (stability), ◮ some positive power of A has exclusively real spectrum.

Theorem

LTI-REACHABILITY is decidable for simple systems. Remark : in fact we can decide reachability to a convex polytope Q. Reach set t Q Assumptions imply that the reachable set is an open convex bounded set, but not always a polytope!

7 / 12

slide-35
SLIDE 35

Why is this problem hard

The reachable set A∗(U) can have infinitely many faces. A∗(U) A = 1

3 2 3

  • U

(−2, −1) (0, −1) (0, 1) (2, 1)

8 / 12

slide-36
SLIDE 36

Why is this problem hard

The reachable set A∗(U) can have faces of lower dimension : the "top" extreme point does not belong to any facet. A∗(U) A = 2

3 1 3

  • U

(−1, 0) (0, 2) (1, 0)

9 / 12

slide-37
SLIDE 37

Why is this problem hard

Approach : two semi-decision procedures ◮ reachability : under-approximations of the reachable set ◮ non-reachability : separating hyperplanes

10 / 12

slide-38
SLIDE 38

Why is this problem hard

Approach : two semi-decision procedures ◮ reachability : under-approximations of the reachable set ◮ non-reachability : separating hyperplanes A∗(U) Q H Q H Q H

10 / 12

slide-39
SLIDE 39

Why is this problem hard

Approach : two semi-decision procedures ◮ reachability : under-approximations of the reachable set ◮ non-reachability : separating hyperplanes A∗(U) Q H Q H Q H Further difficulty : a separating hyperplane may not be supported by a facet of either A∗(U) or Q.

10 / 12

slide-40
SLIDE 40

Why is this problem hard

V (−2, 0) (0, 0) (0, 2) B = 2

3 1 3 1 3

  • B∗(V)

Even more difficulty : B∗(V) has two extreme points that do not belong to any facet and have rational coordinates, but whose (unique) separating hyperplane requires the use of algebraic irrationals

11 / 12

slide-41
SLIDE 41

Why is this problem hard

V (−2, 0) (0, 0) (0, 2) B = 2

3 1 3 1 3

  • B∗(V)

Even more difficulty : B∗(V) has two extreme points that do not belong to any facet and have rational coordinates, but whose (unique) separating hyperplane requires the use of algebraic irrationals

Theorem (Non-reachable instances)

There is a separating hyperplane with algebraic coefficients.

11 / 12

slide-42
SLIDE 42

Conclusion and future work

Exact reachability of xn+1 = Axn + un :

12 / 12

slide-43
SLIDE 43

Conclusion and future work

Exact reachability of xn+1 = Axn + un : ◮ decidability crucially depends on the shape of the control set

12 / 12

slide-44
SLIDE 44

Conclusion and future work

Exact reachability of xn+1 = Axn + un : ◮ decidability crucially depends on the shape of the control set ◮ even with convex bounded inputs, the problem is very hard (Skolem/Positivity, open for 70 years)

12 / 12

slide-45
SLIDE 45

Conclusion and future work

Exact reachability of xn+1 = Axn + un : ◮ decidability crucially depends on the shape of the control set ◮ even with convex bounded inputs, the problem is very hard (Skolem/Positivity, open for 70 years) ◮ we can recover decidability using strong spectral assumptions

12 / 12

slide-46
SLIDE 46

Conclusion and future work

Exact reachability of xn+1 = Axn + un : ◮ decidability crucially depends on the shape of the control set ◮ even with convex bounded inputs, the problem is very hard (Skolem/Positivity, open for 70 years) ◮ we can recover decidability using strong spectral assumptions Open questions : ◮ for convex bounded inputs, is it Positivity-easy?

12 / 12

slide-47
SLIDE 47

Conclusion and future work

Exact reachability of xn+1 = Axn + un : ◮ decidability crucially depends on the shape of the control set ◮ even with convex bounded inputs, the problem is very hard (Skolem/Positivity, open for 70 years) ◮ we can recover decidability using strong spectral assumptions Open questions : ◮ for convex bounded inputs, is it Positivity-easy? ◮ weaken spectral assumptions?

12 / 12

slide-48
SLIDE 48

Conclusion and future work

Exact reachability of xn+1 = Axn + un : ◮ decidability crucially depends on the shape of the control set ◮ even with convex bounded inputs, the problem is very hard (Skolem/Positivity, open for 70 years) ◮ we can recover decidability using strong spectral assumptions Open questions : ◮ for convex bounded inputs, is it Positivity-easy? ◮ weaken spectral assumptions? Minimal difficult example : A = 1 2 cos θ − sin θ sin θ cos θ

  • ,

U = [0, 1] × {0}. Decidability of t

  • n=0

max(0, 2−n cos(nθ)) unknown.

12 / 12

slide-49
SLIDE 49

Conclusion and future work

Exact reachability of xn+1 = Axn + un : ◮ decidability crucially depends on the shape of the control set ◮ even with convex bounded inputs, the problem is very hard (Skolem/Positivity, open for 70 years) ◮ we can recover decidability using strong spectral assumptions Open questions : ◮ for convex bounded inputs, is it Positivity-easy? ◮ weaken spectral assumptions? Minimal difficult example : A = 1 2 cos θ − sin θ sin θ cos θ

  • ,

U = [0, 1] × {0}. Decidability of t

  • n=0

max(0, 2−n cos(nθ)) unknown. Work in progress : continuous case x′(t) = Ax(t) + u(t)

Details 12 / 12

slide-50
SLIDE 50

Backup slides

13 / 12

slide-51
SLIDE 51

Continuous control

Rinse and repeat : x′(t) = Ax(t) + u(t) where u : R → U measurable. Problems : reachability, safety, controllability, ...

14 / 12

slide-52
SLIDE 52

Continuous control

Rinse and repeat : x′(t) = Ax(t) + u(t) where u : R → U measurable. Problems : reachability, safety, controllability, ... It looks similar but ◮ basic questions look harder : x(t) = eAtx0 + t e−Asu(s) ds.

14 / 12

slide-53
SLIDE 53

Continuous control

Rinse and repeat : x′(t) = Ax(t) + u(t) where u : R → U measurable. Problems : reachability, safety, controllability, ... It looks similar but ◮ basic questions look harder : x(t) = eAtx0 + t e−Asu(s) ds. ◮ harder questions look easier : linear + continuous = hard to encode problems

14 / 12

slide-54
SLIDE 54

Continuous control : preliminary results

Theorem (Joint work with Mohan Dantam, preliminary)

Point-to-point continuous control is ◮ decidable in dimension 2, ◮ conditionally decidable with real eigen values, ◮ conditionally decidable in bounded time, ◮ Skolem/Positivity hard for point-to-set.

Back 15 / 12