Safety Controller Synthesis for Switched Systems using Multiscale Symbolic Models

Size: px
Start display at page:

Download "Safety Controller Synthesis for Switched Systems using Multiscale Symbolic Models"

Transcription

1 Sfety Controller Synthesis for Switched Systems using Multiscle Symolic Models Antoine Girrd Lortoire des Signux et Systèmes Gif sur Yvette, Frnce Workshop on switching dynmics & verifiction Pris, Jnury 28-29, 2016 A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 1 / 33

2 Introduction Controller synthesis for clss of continuous-time switched systems Incrementlly stle systems: the influence of initil condition symptoticlly vnishes. Sfety specifiction: controlled invrince. Approch sed on the use of symolic models Discrete (time nd spce) pproximtion of the switched system. Approch sed on uniform discretiztion of time nd spce. [Girrd, Pol nd Tud, 2010] Distnce etween trjectories of incrementlly stle switched system nd of symolic model is uniformly ounded, nd cn e mde ritrrily smll. Sfety controller synthesis using symolic models vi lgorithmic discrete controller synthesis. A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 2 / 33

3 Motivtion Limittions of the symolic control pproch Sptil nd time resolution must e chosen crefully to chieve given precision: fst switching requires fine sptil resolution; Uniform sptil discretiztion: excessive computtion time nd memory consumption. Overcome this prolem with multiscle symolic models Use of multiscle discretiztions of time nd spce Incrementl explortion of symolic models during controller synthesis: The finer scles explored only if sfety cnnot e ensured t corser level. A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 3 / 33

4 Outline 1 Incrementlly stle switched systems 2 Multiscle symolic models 3 Sfety controller synthesis using multiscle symolic models 4 Computtionl experiments A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 4 / 33

5 Switched systems Definition A switched system is tuple Σ = (R n, P, P, F ), where R n is the stte spce; P = {1,..., m} is the finite set of modes; P is suset of S(R + 0, P), the set of functions from R+ 0 to P with finite numer of discontinuities on every ounded intervl of R + 0 ; F = {f 1,..., f m } is collection of smooth vector fields indexed y P. For switching signl p P, initil stte x R n, x(., x, p) is the trjectory of Σ, solution of: ẋ(t) = f p(t) (x(t)), x(0) = x. S τd (R + 0, P) is the set of switching signls p with minimum dwell-time τ d R + : discontinuities of p re seprted y t lest τ d. A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 5 / 33

6 Incrementl stility Definition Σ is incrementlly glolly uniformly symptoticlly stle (δ-guas) if there exists KL function β such tht for ll x 1, x 2 R n, p P, t R + 0 : x(t, x 1, p) x(t, x 2, p) β( x 1 x 2, t). x(t, x 2, p) x(t, x 1, p) t A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 6 / 33

7 Lypunov chrcteriztion Definition V p : R n R n R + 0, p P re multiple δ-guas Lypunov functions for Σ if there exist κ, µ R + with µ 1, K functions α, α, such tht for ll x 1, x 2 R n, p, p P: α( x 1 x 2 ) V p (x 1, x 2 ) α( x 1 x 2 ); V p x 1 (x 1, x 2 )f p (x 1 ) + Vp x 2 (x 1, x 2 )f p (x 2 ) κv p (x 1, x 2 ); V p (x 1, x 2 ) µv p (x 1, x 2 ). Theorem Let τ d R +, Σ = (R n, P, P, F ) with P S τd (R + 0, P) dmitting multiple δ-guas Lypunov functions. If τ d > log µ κ, then Σ is δ-guas. A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 7 / 33

8 Additionl ssumption In the following, we will ssume tht there exists K function γ such tht for ll x 1, x 2, x 3 R n V p (x 1, x 2 ) V p (x 1, x 3 ) γ( x 2 x 3 ), p P; This is not restrictive if V p re smooth nd we work on ounded suset of R n. A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 8 / 33

9 Outline 1 Incrementlly stle switched systems 2 Multiscle symolic models 3 Sfety controller synthesis using multiscle symolic models 4 Computtionl experiments A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 9 / 33

10 Trnsition systems Definition A trnsition system is tuple T = (X, U, Y,, X 0 ) where X, U, Y, X 0 re the sets of sttes, inputs, outputs nd initil sttes; X U X Y is trnsition reltion. T is metric if Y is equipped with metric d, symolic if X nd U re finite or countle sets. (x, u, x, y) is denoted (x, y) (x, u); u U is enled t x X, denoted u en(x), if (x, u) ; If en(x) =, then x is locking, otherwise it is non-locking; T is deterministic if for ll x X nd u en(x), (x, u) = 1. A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 10 / 33

11 Trjectories A trjectory of T is finite or infinite sequence of trnsitions σ = (x 0, u 0, y 0 )(x 1, u 1, y 1 )(x 2, u 2, y 2 )... where (x i+1, y i ) (x i, u i ), for ll i 0. It is: initilized if x 0 X 0 ; mximl if it is infinite or it is finite nd ends in locking stte. x X is rechle if there exists n initilized trjectory reching x. T is non-locking if ll initilized mximl trjectories re infinite or equivlently if ll rechle sttes re non-locking. A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 11 / 33

12 Approximte isimultion Definition Let T i = (X i, U, Y, i, X 0 i ), with i = 1, 2 e metric trnsition systems with the sme sets of inputs U nd outputs Y equipped with the metric d. Let ε R + 0, R X 1 X 2 is n ε-pproximte isimultion reltion etween T 1 nd T 2 if for ll (x 1, x 2 ) R, u U: (x 1, y 1) 1 (x 1, u), (x 2, y 2) 2 (x 2, u), d(y 1, y 2 ) ε nd (x 1, x 2 ) R; (x 2, y 2) 2 (x 2, u), (x 1, y 1) 1 (x 1, u), d(y 1, y 2 ) ε nd (x 1, x 2 ) R. T 1 nd T 2 re ε-pproximtely isimilr, denoted T 1 ε T 2, if X 0 1 R 1 (X 0 2 ) nd X 0 2 R(X 0 1 ). A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 12 / 33

13 Switched systems s trnsition systems Let Σ τd = (R n, P, P, F ) e switched system with P = S τd (R + 0, P). We consider controllers tht cn select: 1 mode p P; 2 durtion θ Θ N τ during which the mode remins ctive where Θ N τ = {θ s = 2 s τ s = 0,..., N}. where τ R +, N N re time smpling nd scle prmeters. We ssume τ d = θ Nd for some N d {0,..., N}, then Θ N d τ = {θ s Θ N τ θ s τ d }. Let C(I, R n ) denote the set of continuous functions from I to R n. A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 13 / 33

14 Switched systems s trnsition systems Let T N τ (Σ τd ) = (X, U, Y,, X 0 ) where: X = R n P, z = (x, p) X consists of continuous stte x nd n ctive mode p. U = P Θ N τ, u = (p, θ s ) U consists of mode p nd durtion θ s. Y = s=n s=0 C([0, θ s], R n ) is set of continuous functions, equipped with the metric: { d(y, y y y ) = if θ s = θ s + if θ s θ s X 0 = R n P. A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 14 / 33

15 Switched systems s trnsition systems For z = (x, p) X, z = (x, p ) X, u = ( p, θ s ) U, y Y, (z, u, z, y) ( p, θ s ) {p} Θ N τ (P \ {p}) Θ N d τ x = x(θ s, x, p) nd p = p. y = x θs (., x, p) y = x θs (., x, p) x = x(θ s, x, p) x T N τ (Σ τd ) is deterministic nd metric. A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 15 / 33

16 Computtion of the symolic model We pproximte R n y sequence of emedded multiscle lttices { [R n ] 2 s η = q R n 2 s+1 } η q[i] = k i, k i Z, i = 1,..., n n where η R + is stte spce smpling prmeter. We ssocite multiscle quntizer Q s η : R n [R n ] 2 s η such tht Q s η(x) = q q[i] 2 s η n x[i] < q[i] + 2 s η n, i = 1,..., n. Let X s η = [R n ] 2 s η P, then X 0 η X 1 η X N η. We define the symolic model s T N τ,η(σ τd ) = (X N η, U, Y, η, X 0 η ). A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 16 / 33

17 Computtion of the symolic model For r = (q, p) X, r = (q, p ) X, u = ( p, θ s ) U, y Y, ( p, θ s ) {p} Θ N (r, u, r τ (P \ {p}) Θ N d τ, y) q = Q s η(x(θ s, q, p)) nd p = p. y = x θs (., q, p) q = Q 1 η(x(θ 1, q, p)) q y = x θ1 (., q, p)) A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 17 / 33

18 Computtion of the symolic model For r = (q, p) X, r = (q, p ) X, u = ( p, θ s ) U, y Y, ( p, θ s ) {p} Θ N (r, u, r τ (P \ {p}) Θ N d τ, y) q = Q s η(x(θ s, q, p)) nd p = p. y = x θs (., q, p) q = Q 0 η(x(θ 0, q, p)) q y = x θ0 (., q, p)) A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 17 / 33

19 Approximtion result T N τ (Σ τd ) is symolic, deterministic nd metric. Theorem Let Σ τd dmit multiple δ-guas Lypunov functions V p, p P. Consider prmeters τ, η R +, N N, nd precision ε R +. If τ d > log µ κ nd { s=nd (( ) )] 1µ η min min [2 s γ 1 s=0 e κθs α(ε), [ ( s=n 1 e min 2 s γ 1 κθ s ( )} 1µ α(ε) )], α 1 s=0 µ α(ε) then T N τ (Σ τd ) ε T N τ,η(σ τd ). A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 18 / 33

20 Outline 1 Incrementlly stle switched systems 2 Multiscle symolic models 3 Sfety controller synthesis using multiscle symolic models 4 Computtionl experiments A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 19 / 33

21 Sfety specifiction Let T = (X, U, Y,, X 0 ) e symolic, deterministic trnsition system where Y C([0, θ y ], R n ). θ y R + Let S R n e suset of sfe sttes. We define the trnsition system T S = (X, U, Y, S, X 0 ) where for x, x X, u U, y Y, u en(x); (x, y) S (x, u) (x, y) = (x, u); t [0, θ y ], y(t) S. T S is symolic nd deterministic. Remrk: sfety is defined on continuous-time outputs. A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 20 / 33

22 Sfety controller Definition A sfety controller for T S = (X, U, Y, S, X 0 ) is reltion C X U such tht for ll x X : C(x) en(x); if C(x), then u C(x), C(x ) with S (x, u) = (x, y). We denote the domin of C s dom(c) = {x X C(x) }. The controlled trnsition system is T S/C = (X, U, Y, S/C, X 0 C ) where X 0 C = X 0 dom(c) nd for x, x X, u U, y Y, (x, y) S/C (x, u) { u C(x); (x, y) = S (x, u). T S/C is symolic, deterministic nd non-locking. A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 21 / 33

23 Mximl sfety controller Lemm There exists unique mximl sfety controller C X U such tht for ll sfety controllers C, C C. Definition A stte x X is sfety controllle if nd only if x dom(c ). The set of sfety controllle sttes is denoted cont(t S ). Computtion of C requires complete explortion of T S. A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 22 / 33

24 Lzy sfety synthesis Lzy sfety synthesis: trde-off etween mximlity nd efficiency. Give priority to inputs with longer durtion, which led to sttes on corser grids. Compute the symolic model on the fly. Finer scles re explored (computed) only if sfety cnnot e ensured t the corser scles. Let us define priority reltion on inputs: totl preorder U U The ssocited equivlence nd strict wek order reltions re u u u u nd u u; u u u u nd u u. For multiscle symolic models where U = P Θ N τ : (p, θ s ) (p, θ s) θ s θ s; (p, θ s ) (p, θ s) θ s = θ s; (p, θ s ) (p, θ s) θ s < θ s. A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 23 / 33

25 Mximl lzy sfety controller Definition A mximl lzy sfety (MLS) controller for T S = (X, U, Y, S, X 0 ) is sfety controller C X U such tht: ll sfety controllle initil sttes re in dom(c): X 0 cont(t S ) dom(c); ll sttes x dom(c) re rechle in T S/C ; for ll sttes x dom(c): 1 if u C(x), then u en(x) with u u, (x, y) = S (x, u ), u C(z) x cont(t S ); 2 if u C(x), then u en(x) with u u, (x, y) = S (x, u ), x / cont(t S ). A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 24 / 33

26 Mximl lzy sfety controller Theorem There exists unique MLS controller for T S. MLS controller synthesis: X 0 = {x 1, x 2, x 3 },. x 1 x 2 x 3 x 1 x 2 x 3 x 4 A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 25 / 33

27 Mximl lzy sfety controller Theorem There exists unique MLS controller for T S. MLS controller synthesis: X 0 = {x 1, x 2, x 3 },. x 1 x 2 x 3 x 1 x 2 x 3 x 4 A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 25 / 33

28 Mximl lzy sfety controller Theorem There exists unique MLS controller for T S. MLS controller synthesis: X 0 = {x 1, x 2, x 3 },. x 1 x 2 x 3 x 1 x 2 x 3 x 4 A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 25 / 33

29 Mximl lzy sfety controller Theorem There exists unique MLS controller for T S. MLS controller synthesis: X 0 = {x 1, x 2, x 3 },. x 1 x 2 x 3 x 1 x 2 x 3 x 4 A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 25 / 33

30 Mximl lzy sfety controller Theorem There exists unique MLS controller for T S. MLS controller synthesis: X 0 = {x 1, x 2, x 3 },. x 1 x 2 x 3 x 1 x 2 x 3 x 4 A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 25 / 33

31 Mximl lzy sfety controller Theorem There exists unique MLS controller for T S. MLS controller synthesis: X 0 = {x 1, x 2, x 3 },. x 1 x 2 x 3 x 1 x 2 x 3 x 4 A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 25 / 33

32 Mximl lzy sfety controller Theorem There exists unique MLS controller for T S. MLS controller synthesis: X 0 = {x 1, x 2, x 3 },. x 1 x 2 x 3 x 1 x 2 x 3 x 4 A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 25 / 33

33 Mximl lzy sfety controller Theorem There exists unique MLS controller for T S. MLS controller synthesis: X 0 = {x 1, x 2, x 3 },. x 1 x 2 x 3 x 1 x 2 x 3 x 4 A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 25 / 33

34 Mximl lzy sfety controller Theorem There exists unique MLS controller for T S. MLS controller synthesis: X 0 = {x 1, x 2, x 3 },. x 1 x 2 x 3 x 1 x 2 x 3 x 4 A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 25 / 33

35 Mximl lzy sfety controller Theorem There exists unique MLS controller for T S. MLS controller synthesis: X 0 = {x 1, x 2, x 3 },. x 1 x 2 x 3 x 1 x 2 x 3 x 4 A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 25 / 33

36 Outline 1 Incrementlly stle switched systems 2 Multiscle symolic models 3 Sfety controller synthesis using multiscle symolic models 4 Computtionl experiments A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 26 / 33

37 Switched system with dwell-time We consider the switched system: ẋ(t) = A p(t) x(t) + p(t), p(t) {1, 2}, with A 1 = [ ] , A2 = [ ] , 1 = [ ] , 2 = [ ]. The switched system dmits multiple δ-guas Lypunov functions nd is incrementlly stle for switching signls with minimum dwell-time τ d = 2. Multiscle strction with prmeters τ = 4, η = 8 100, N = 3 2 Uniform strction with prmeters τ = 1 2, η = = precision ε = 0.4. Sfe set: S = [ 6, 6] [ 4, 4] \ [ 1.5, 1.5] [ 1, 1]. A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 27 / 33

38 Switched system with dwell-time Controller synthesis: Uniform symolic model Multiscle symolic model Time 160s 7.3s Size (10 3 ) Durtions 0.5 (100%) 4 (26%) 2 (54%) 1 (11% 0.5 (9%) A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 28 / 33

39 Switched system with dwell-time MLS Controller: Mode 1 is ctive Mode 2 is ctive A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 29 / 33

40 Switched system with dwell-time Controlled switched system: A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 30 / 33

41 Circulr n-room uilding We consider the system: Ṫ i (t) = α(t i+1 (t) + T i 1 (t) 2T i (t)) +β(t e T i (t)) + γ(t h T i (t))u i (t) where: T i (t) is the temperture of room i, 1 i n, T 0 (t) = T n (t) nd T n+1 (t) = T 1 (t). u i (t) = 1 if room i is heted, u i (t) = 0 otherwise nd n i=1 u i(t) 1. n-dimensionl switched system with n + 1 modes dmits common Lypunov function nd is incrementlly stle. Multiscle strction with prmeters τ = 80, η = 0.28, N = 4 = Precision ε = 0.4. Sfe set: S = [19, 21.5] n. A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 31 / 33

42 Circulr n-room uilding Controller synthesis: Multiscle symolic models n = 3 n = 4 n = 5 Time 0.2s 6s 312s Size (10 3 ) Durtions 40 (1%) 20 (25%) 20 (6%) 20 (37%) 10 (73%) 10 (92%) 10 (62%) 5 (2%) 5 (2%) Computtionl complexity increses with dimension: Stte nd input spce re lrger. The control prolem is lso intrinsiclly more complex in higher dimension ecuse of the constrint: n u i (t) 1. i=1 A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 32 / 33

43 Conclusions Multiscle pproximtely isimilr symolic models for incrementlly stle switched systems: Bsed on multiscle smpling of time nd spce; Allow significnt complexity reduction for controller synthesis. Multiscle sfety controller synthesis: Bsed on the notion of mximl lzy sfety controller; Prtil explortion of the symolic strctions; Cn e extended to more generl sfety properties, e.g. specified y hyrid utomton. Future work: MLS controller synthesis lgorithm for non-deterministic systems; Consider other types of specifictions, e.g. rechility: mximl lzy rechility controller my not e unique. Girrd, Gössler nd Mouelhi, Sfety controller synthesis for incrementlly stle switched systems using multiscle symolic models. IEEE TAC, A. Girrd (L2S-CNRS) Synthesis using multiscle symolic models 33 / 33

Safety Controller Synthesis for Switched Systems using Multiscale Symbolic Models

Safety Controller Synthesis for Switched Systems using Multiscale Symbolic Models Sfety Controller Synthesis for Switched Systems using Multiscle Symolic Models Antoine Girrd Lortoire des Signux et Systèmes Gif sur Yvette, Frnce Séminire du LAAS Toulouse, 29 Juin, 2016 A. Girrd (L2S-CNRS)

More information

A Symbolic Approach to Control via Approximate Bisimulations

A Symbolic Approach to Control via Approximate Bisimulations A Symolic Approch to Control vi Approximte Bisimultions Antoine Girrd Lortoire Jen Kuntzmnn, Université Joseph Fourier Grenole, Frnce Interntionl Symposium on Innovtive Mthemticl Modelling Tokyo, Jpn,

More information

Symbolic Control of Incrementally Stable Systems

Symbolic Control of Incrementally Stable Systems Symbolic Control of Incrementally Stable Systems Antoine Girard Laboratoire Jean Kuntzmann, Université Joseph Fourier Grenoble, France Workshop on Formal Verification of Embedded Control Systems LCCC,

More information

Hybrid Control and Switched Systems. Lecture #2 How to describe a hybrid system? Formal models for hybrid system

Hybrid Control and Switched Systems. Lecture #2 How to describe a hybrid system? Formal models for hybrid system Hyrid Control nd Switched Systems Lecture #2 How to descrie hyrid system? Forml models for hyrid system João P. Hespnh University of Cliforni t Snt Brr Summry. Forml models for hyrid systems: Finite utomt

More information

Second Lecture: Basics of model-checking for finite and timed systems

Second Lecture: Basics of model-checking for finite and timed systems Second Lecture: Bsics of model-checking for finite nd timed systems Jen-Frnçois Rskin Université Lire de Bruxelles Belgium Artist2 Asin Summer School - Shnghi - July 28 Pln of the tlk Lelled trnsition

More information

Designing finite automata II

Designing finite automata II Designing finite utomt II Prolem: Design DFA A such tht L(A) consists of ll strings of nd which re of length 3n, for n = 0, 1, 2, (1) Determine wht to rememer out the input string Assign stte to ech of

More information

Model Reduction of Finite State Machines by Contraction

Model Reduction of Finite State Machines by Contraction Model Reduction of Finite Stte Mchines y Contrction Alessndro Giu Dip. di Ingegneri Elettric ed Elettronic, Università di Cgliri, Pizz d Armi, 09123 Cgliri, Itly Phone: +39-070-675-5892 Fx: +39-070-675-5900

More information

The size of subsequence automaton

The size of subsequence automaton Theoreticl Computer Science 4 (005) 79 84 www.elsevier.com/locte/tcs Note The size of susequence utomton Zdeněk Troníček,, Ayumi Shinohr,c Deprtment of Computer Science nd Engineering, FEE CTU in Prgue,

More information

Minimal DFA. minimal DFA for L starting from any other

Minimal DFA. minimal DFA for L starting from any other Miniml DFA Among the mny DFAs ccepting the sme regulr lnguge L, there is exctly one (up to renming of sttes) which hs the smllest possile numer of sttes. Moreover, it is possile to otin tht miniml DFA

More information

Symbolic models for unstable nonlinear control systems

Symbolic models for unstable nonlinear control systems 010 Americn Control Conference Mrriott Wterfront, Bltimore, MD, USA June 30-July 0, 010 WeB07.4 Symbolic models for unstble nonliner control systems Mjid Zmni, Giordno Pol nd Pulo Tbud Abstrct In this

More information

NFAs continued, Closure Properties of Regular Languages

NFAs continued, Closure Properties of Regular Languages lgorithms & Models of omputtion S/EE 374, Spring 209 NFs continued, losure Properties of Regulr Lnguges Lecture 5 Tuesdy, Jnury 29, 209 Regulr Lnguges, DFs, NFs Lnguges ccepted y DFs, NFs, nd regulr expressions

More information

Formal Languages and Automata

Formal Languages and Automata Moile Computing nd Softwre Engineering p. 1/5 Forml Lnguges nd Automt Chpter 2 Finite Automt Chun-Ming Liu cmliu@csie.ntut.edu.tw Deprtment of Computer Science nd Informtion Engineering Ntionl Tipei University

More information

Assignment 1 Automata, Languages, and Computability. 1 Finite State Automata and Regular Languages

Assignment 1 Automata, Languages, and Computability. 1 Finite State Automata and Regular Languages Deprtment of Computer Science, Austrlin Ntionl University COMP2600 Forml Methods for Softwre Engineering Semester 2, 206 Assignment Automt, Lnguges, nd Computility Smple Solutions Finite Stte Automt nd

More information

NFAs continued, Closure Properties of Regular Languages

NFAs continued, Closure Properties of Regular Languages Algorithms & Models of Computtion CS/ECE 374, Fll 2017 NFAs continued, Closure Properties of Regulr Lnguges Lecture 5 Tuesdy, Septemer 12, 2017 Sriel Hr-Peled (UIUC) CS374 1 Fll 2017 1 / 31 Regulr Lnguges,

More information

CS415 Compilers. Lexical Analysis and. These slides are based on slides copyrighted by Keith Cooper, Ken Kennedy & Linda Torczon at Rice University

CS415 Compilers. Lexical Analysis and. These slides are based on slides copyrighted by Keith Cooper, Ken Kennedy & Linda Torczon at Rice University CS415 Compilers Lexicl Anlysis nd These slides re sed on slides copyrighted y Keith Cooper, Ken Kennedy & Lind Torczon t Rice University First Progrmming Project Instruction Scheduling Project hs een posted

More information

Chapter 2 Finite Automata

Chapter 2 Finite Automata Chpter 2 Finite Automt 28 2.1 Introduction Finite utomt: first model of the notion of effective procedure. (They lso hve mny other pplictions). The concept of finite utomton cn e derived y exmining wht

More information

dx dt dy = G(t, x, y), dt where the functions are defined on I Ω, and are locally Lipschitz w.r.t. variable (x, y) Ω.

dx dt dy = G(t, x, y), dt where the functions are defined on I Ω, and are locally Lipschitz w.r.t. variable (x, y) Ω. Chpter 8 Stility theory We discuss properties of solutions of first order two dimensionl system, nd stility theory for specil clss of liner systems. We denote the independent vrile y t in plce of x, nd

More information

Random subgroups of a free group

Random subgroups of a free group Rndom sugroups of free group Frédérique Bssino LIPN - Lortoire d Informtique de Pris Nord, Université Pris 13 - CNRS Joint work with Armndo Mrtino, Cyril Nicud, Enric Ventur et Pscl Weil LIX My, 2015 Introduction

More information

Fundamentals of Computer Science

Fundamentals of Computer Science Fundmentls of Computer Science Chpter 3: NFA nd DFA equivlence Regulr expressions Henrik Björklund Umeå University Jnury 23, 2014 NFA nd DFA equivlence As we shll see, it turns out tht NFA nd DFA re equivlent,

More information

Convert the NFA into DFA

Convert the NFA into DFA Convert the NF into F For ech NF we cn find F ccepting the sme lnguge. The numer of sttes of the F could e exponentil in the numer of sttes of the NF, ut in prctice this worst cse occurs rrely. lgorithm:

More information

Lecture 09: Myhill-Nerode Theorem

Lecture 09: Myhill-Nerode Theorem CS 373: Theory of Computtion Mdhusudn Prthsrthy Lecture 09: Myhill-Nerode Theorem 16 Ferury 2010 In this lecture, we will see tht every lnguge hs unique miniml DFA We will see this fct from two perspectives

More information

Speech Recognition Lecture 2: Finite Automata and Finite-State Transducers. Mehryar Mohri Courant Institute and Google Research

Speech Recognition Lecture 2: Finite Automata and Finite-State Transducers. Mehryar Mohri Courant Institute and Google Research Speech Recognition Lecture 2: Finite Automt nd Finite-Stte Trnsducers Mehryr Mohri Cournt Institute nd Google Reserch mohri@cims.nyu.com Preliminries Finite lphet Σ, empty string. Set of ll strings over

More information

CS 267: Automated Verification. Lecture 8: Automata Theoretic Model Checking. Instructor: Tevfik Bultan

CS 267: Automated Verification. Lecture 8: Automata Theoretic Model Checking. Instructor: Tevfik Bultan CS 267: Automted Verifiction Lecture 8: Automt Theoretic Model Checking Instructor: Tevfik Bultn LTL Properties Büchi utomt [Vrdi nd Wolper LICS 86] Büchi utomt: Finite stte utomt tht ccept infinite strings

More information

Learning Moore Machines from Input-Output Traces

Learning Moore Machines from Input-Output Traces Lerning Moore Mchines from Input-Output Trces Georgios Gintmidis 1 nd Stvros Tripkis 1,2 1 Alto University, Finlnd 2 UC Berkeley, USA Motivtion: lerning models from blck boxes Inputs? Lerner Forml Model

More information

11.1 Finite Automata. CS125 Lecture 11 Fall Motivation: TMs without a tape: maybe we can at least fully understand such a simple model?

11.1 Finite Automata. CS125 Lecture 11 Fall Motivation: TMs without a tape: maybe we can at least fully understand such a simple model? CS125 Lecture 11 Fll 2016 11.1 Finite Automt Motivtion: TMs without tpe: mybe we cn t lest fully understnd such simple model? Algorithms (e.g. string mtching) Computing with very limited memory Forml verifiction

More information

Controlling a population of identical NFA

Controlling a population of identical NFA Controlling popultion of identicl NFA Nthlie Bertrnd Inri Rennes joint work with Miheer Dewskr (ex CMI student), Blise Genest (IRISA) nd Hugo Gimert (LBRI) LSV 20th nniversry LSV 20th nniversry, My 2017

More information

CIRCULAR COLOURING THE PLANE

CIRCULAR COLOURING THE PLANE CIRCULAR COLOURING THE PLANE MATT DEVOS, JAVAD EBRAHIMI, MOHAMMAD GHEBLEH, LUIS GODDYN, BOJAN MOHAR, AND REZA NASERASR Astrct. The unit distnce grph R is the grph with vertex set R 2 in which two vertices

More information

Refined interfaces for compositional verification

Refined interfaces for compositional verification Refined interfces for compositionl verifiction Frédéric Lng INRI Rhône-lpes http://www.inrilpes.fr/vsy Motivtion Enumertive verifiction of concurrent systems Prllel composition of synchronous processes

More information

A tutorial on sequential functions

A tutorial on sequential functions A tutoril on sequentil functions Jen-Éric Pin LIAFA, CNRS nd University Pris 7 30 Jnury 2006, CWI, Amsterdm Outline (1) Sequentil functions (2) A chrcteriztion of sequentil trnsducers (3) Miniml sequentil

More information

Formal languages, automata, and theory of computation

Formal languages, automata, and theory of computation Mälrdlen University TEN1 DVA337 2015 School of Innovtion, Design nd Engineering Forml lnguges, utomt, nd theory of computtion Thursdy, Novemer 5, 14:10-18:30 Techer: Dniel Hedin, phone 021-107052 The exm

More information

Reinforcement learning II

Reinforcement learning II CS 1675 Introduction to Mchine Lerning Lecture 26 Reinforcement lerning II Milos Huskrecht milos@cs.pitt.edu 5329 Sennott Squre Reinforcement lerning Bsics: Input x Lerner Output Reinforcement r Critic

More information

Exercises Chapter 1. Exercise 1.1. Let Σ be an alphabet. Prove wv = w + v for all strings w and v.

Exercises Chapter 1. Exercise 1.1. Let Σ be an alphabet. Prove wv = w + v for all strings w and v. 1 Exercises Chpter 1 Exercise 1.1. Let Σ e n lphet. Prove wv = w + v for ll strings w nd v. Prove # (wv) = # (w)+# (v) for every symol Σ nd every string w,v Σ. Exercise 1.2. Let w 1,w 2,...,w k e k strings,

More information

Java II Finite Automata I

Java II Finite Automata I Jv II Finite Automt I Bernd Kiefer Bernd.Kiefer@dfki.de Deutsches Forschungszentrum für künstliche Intelligenz Finite Automt I p.1/13 Processing Regulr Expressions We lredy lerned out Jv s regulr expression

More information

More general families of infinite graphs

More general families of infinite graphs More generl fmilies of infinite grphs Antoine Meyer Forml Methods Updte 2006 IIT Guwhti Prefix-recognizle grphs Theorem Let G e grph, the following sttements re equivlent: G is defined y reltions of the

More information

Inductive and statistical learning of formal grammars

Inductive and statistical learning of formal grammars Inductive nd sttisticl lerning of forml grmmrs Pierre Dupont Grmmr Induction Mchine Lerning Gol: to give the lerning ility to mchine Design progrms the performnce of which improves over time pdupont@info.ucl.c.e

More information

CMPSCI 250: Introduction to Computation. Lecture #31: What DFA s Can and Can t Do David Mix Barrington 9 April 2014

CMPSCI 250: Introduction to Computation. Lecture #31: What DFA s Can and Can t Do David Mix Barrington 9 April 2014 CMPSCI 250: Introduction to Computtion Lecture #31: Wht DFA s Cn nd Cn t Do Dvid Mix Brrington 9 April 2014 Wht DFA s Cn nd Cn t Do Deterministic Finite Automt Forml Definition of DFA s Exmples of DFA

More information

First Midterm Examination

First Midterm Examination Çnky University Deprtment of Computer Engineering 203-204 Fll Semester First Midterm Exmintion ) Design DFA for ll strings over the lphet Σ = {,, c} in which there is no, no nd no cc. 2) Wht lnguge does

More information

THE INTERVAL LATTICE BOLTZMANN METHOD FOR TRANSIENT HEAT TRANSFER IN A SILICON THIN FILM

THE INTERVAL LATTICE BOLTZMANN METHOD FOR TRANSIENT HEAT TRANSFER IN A SILICON THIN FILM ROMAI J., v.9, no.2(2013), 173 179 THE INTERVAL LATTICE BOLTZMANN METHOD FOR TRANSIENT HEAT TRANSFER IN A SILICON THIN FILM Alicj Piseck-Belkhyt, Ann Korczk Institute of Computtionl Mechnics nd Engineering,

More information

Nondeterminism and Nodeterministic Automata

Nondeterminism and Nodeterministic Automata Nondeterminism nd Nodeterministic Automt 61 Nondeterminism nd Nondeterministic Automt The computtionl mchine models tht we lerned in the clss re deterministic in the sense tht the next move is uniquely

More information

1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true.

1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true. York University CSE 2 Unit 3. DFA Clsses Converting etween DFA, NFA, Regulr Expressions, nd Extended Regulr Expressions Instructor: Jeff Edmonds Don t chet y looking t these nswers premturely.. For ech

More information

Exercise 5.5: Large-scale log-normal fading

Exercise 5.5: Large-scale log-normal fading Exercise 5.5: Lrge-scle log-norml fding Since the system is designed to hndle propgtion loss of 135 db, outge will hppen when the propgtion loss is 8 db higher thn the deterministic loss of 17 db 135 17

More information

Topological, Automata-Theoretic and Logical Characterization of Finitary Languages

Topological, Automata-Theoretic and Logical Characterization of Finitary Languages Topologicl, Automt-Theoretic nd Logicl Chrcteriztion of Finitry Lnguges Krishnendu Chterjee nd Nthnël Fijlkow IST Austri (Institute of Science nd Technology Austri) Am Cmpus 1 A-3400 Klosterneuurg Technicl

More information

Regular expressions, Finite Automata, transition graphs are all the same!!

Regular expressions, Finite Automata, transition graphs are all the same!! CSI 3104 /Winter 2011: Introduction to Forml Lnguges Chpter 7: Kleene s Theorem Chpter 7: Kleene s Theorem Regulr expressions, Finite Automt, trnsition grphs re ll the sme!! Dr. Neji Zgui CSI3104-W11 1

More information

Regular Expressions (RE) Regular Expressions (RE) Regular Expressions (RE) Regular Expressions (RE) Kleene-*

Regular Expressions (RE) Regular Expressions (RE) Regular Expressions (RE) Regular Expressions (RE) Kleene-* Regulr Expressions (RE) Regulr Expressions (RE) Empty set F A RE denotes the empty set Opertion Nottion Lnguge UNIX Empty string A RE denotes the set {} Alterntion R +r L(r ) L(r ) r r Symol Alterntion

More information

Coalgebra, Lecture 15: Equations for Deterministic Automata

Coalgebra, Lecture 15: Equations for Deterministic Automata Colger, Lecture 15: Equtions for Deterministic Automt Julin Slmnc (nd Jurrin Rot) Decemer 19, 2016 In this lecture, we will study the concept of equtions for deterministic utomt. The notes re self contined

More information

On Determinisation of History-Deterministic Automata.

On Determinisation of History-Deterministic Automata. On Deterministion of History-Deterministic Automt. Denis Kupererg Mich l Skrzypczk University of Wrsw YR-ICALP 2014 Copenhgen Introduction Deterministic utomt re centrl tool in utomt theory: Polynomil

More information

Regular Languages and Applications

Regular Languages and Applications Regulr Lnguges nd Applictions Yo-Su Hn Deprtment of Computer Science Yonsei University 1-1 SNU 4/14 Regulr Lnguges An old nd well-known topic in CS Kleene Theorem in 1959 FA (finite-stte utomton) constructions:

More information

Non Deterministic Automata. Linz: Nondeterministic Finite Accepters, page 51

Non Deterministic Automata. Linz: Nondeterministic Finite Accepters, page 51 Non Deterministic Automt Linz: Nondeterministic Finite Accepters, pge 51 1 Nondeterministic Finite Accepter (NFA) Alphbet ={} q 1 q2 q 0 q 3 2 Nondeterministic Finite Accepter (NFA) Alphbet ={} Two choices

More information

80 CHAPTER 2. DFA S, NFA S, REGULAR LANGUAGES. 2.6 Finite State Automata With Output: Transducers

80 CHAPTER 2. DFA S, NFA S, REGULAR LANGUAGES. 2.6 Finite State Automata With Output: Transducers 80 CHAPTER 2. DFA S, NFA S, REGULAR LANGUAGES 2.6 Finite Stte Automt With Output: Trnsducers So fr, we hve only considered utomt tht recognize lnguges, i.e., utomt tht do not produce ny output on ny input

More information

Grammar. Languages. Content 5/10/16. Automata and Languages. Regular Languages. Regular Languages

Grammar. Languages. Content 5/10/16. Automata and Languages. Regular Languages. Regular Languages 5//6 Grmmr Automt nd Lnguges Regulr Grmmr Context-free Grmmr Context-sensitive Grmmr Prof. Mohmed Hmd Softwre Engineering L. The University of Aizu Jpn Regulr Lnguges Context Free Lnguges Context Sensitive

More information

Formal Language and Automata Theory (CS21004)

Formal Language and Automata Theory (CS21004) Forml Lnguge nd Automt Forml Lnguge nd Automt Theory (CS21004) Khrgpur Khrgpur Khrgpur Forml Lnguge nd Automt Tle of Contents Forml Lnguge nd Automt Khrgpur 1 2 3 Khrgpur Forml Lnguge nd Automt Forml Lnguge

More information

1 The Lagrange interpolation formula

1 The Lagrange interpolation formula Notes on Qudrture 1 The Lgrnge interpoltion formul We briefly recll the Lgrnge interpoltion formul. The strting point is collection of N + 1 rel points (x 0, y 0 ), (x 1, y 1 ),..., (x N, y N ), with x

More information

CS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.)

CS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.) CS 373, Spring 29. Solutions to Mock midterm (sed on first midterm in CS 273, Fll 28.) Prolem : Short nswer (8 points) The nswers to these prolems should e short nd not complicted. () If n NF M ccepts

More information

How to simulate Turing machines by invertible one-dimensional cellular automata

How to simulate Turing machines by invertible one-dimensional cellular automata How to simulte Turing mchines by invertible one-dimensionl cellulr utomt Jen-Christophe Dubcq Déprtement de Mthémtiques et d Informtique, École Normle Supérieure de Lyon, 46, llée d Itlie, 69364 Lyon Cedex

More information

Non-Deterministic Finite Automata. Fall 2018 Costas Busch - RPI 1

Non-Deterministic Finite Automata. Fall 2018 Costas Busch - RPI 1 Non-Deterministic Finite Automt Fll 2018 Costs Busch - RPI 1 Nondeterministic Finite Automton (NFA) Alphbet ={} q q2 1 q 0 q 3 Fll 2018 Costs Busch - RPI 2 Nondeterministic Finite Automton (NFA) Alphbet

More information

Section: Other Models of Turing Machines. Definition: Two automata are equivalent if they accept the same language.

Section: Other Models of Turing Machines. Definition: Two automata are equivalent if they accept the same language. Section: Other Models of Turing Mchines Definition: Two utomt re equivlent if they ccept the sme lnguge. Turing Mchines with Sty Option Modify δ, Theorem Clss of stndrd TM s is equivlent to clss of TM

More information

Chapter Five: Nondeterministic Finite Automata. Formal Language, chapter 5, slide 1

Chapter Five: Nondeterministic Finite Automata. Formal Language, chapter 5, slide 1 Chpter Five: Nondeterministic Finite Automt Forml Lnguge, chpter 5, slide 1 1 A DFA hs exctly one trnsition from every stte on every symol in the lphet. By relxing this requirement we get relted ut more

More information

Introduction to Electronic Circuits. DC Circuit Analysis: Transient Response of RC Circuits

Introduction to Electronic Circuits. DC Circuit Analysis: Transient Response of RC Circuits Introduction to Electronic ircuits D ircuit Anlysis: Trnsient esponse of ircuits Up until this point, we hve een looking t the Stedy Stte response of D circuits. StedyStte implies tht nothing hs chnged

More information

The Cayley-Hamilton Theorem For Finite Automata. Radu Grosu SUNY at Stony Brook

The Cayley-Hamilton Theorem For Finite Automata. Radu Grosu SUNY at Stony Brook The Cyley-Hmilton Theorem For Finite Automt Rdu Grosu SUNY t Stony Brook How did I get interested in this topic? Convergence of Theories Hyrid Systems Computtion nd Control: - convergence etween control

More information

CS 301. Lecture 04 Regular Expressions. Stephen Checkoway. January 29, 2018

CS 301. Lecture 04 Regular Expressions. Stephen Checkoway. January 29, 2018 CS 301 Lecture 04 Regulr Expressions Stephen Checkowy Jnury 29, 2018 1 / 35 Review from lst time NFA N = (Q, Σ, δ, q 0, F ) where δ Q Σ P (Q) mps stte nd n lphet symol (or ) to set of sttes We run n NFA

More information

Fast Frequent Free Tree Mining in Graph Databases

Fast Frequent Free Tree Mining in Graph Databases The Chinese University of Hong Kong Fst Frequent Free Tree Mining in Grph Dtses Peixing Zho Jeffrey Xu Yu The Chinese University of Hong Kong Decemer 18 th, 2006 ICDM Workshop MCD06 Synopsis Introduction

More information

5.1 How do we Measure Distance Traveled given Velocity? Student Notes

5.1 How do we Measure Distance Traveled given Velocity? Student Notes . How do we Mesure Distnce Trveled given Velocity? Student Notes EX ) The tle contins velocities of moving cr in ft/sec for time t in seconds: time (sec) 3 velocity (ft/sec) 3 A) Lel the x-xis & y-xis

More information

Speech Recognition Lecture 2: Finite Automata and Finite-State Transducers

Speech Recognition Lecture 2: Finite Automata and Finite-State Transducers Speech Recognition Lecture 2: Finite Automt nd Finite-Stte Trnsducers Eugene Weinstein Google, NYU Cournt Institute eugenew@cs.nyu.edu Slide Credit: Mehryr Mohri Preliminries Finite lphet, empty string.

More information

A discrete chaotic multimodel based on 2D Hénon maps

A discrete chaotic multimodel based on 2D Hénon maps A discrete chotic multimodel sed on D Hénon mps Ameni Dridi, Rni Lind Filli, Mohmed Benreje 3 LA.R.A, Automtique, ENIT, BP 37, Le Belvédère, 00 Tunis, Tunisi. meni.dridi.ing@gmil.com rni_lind@hotmil.fr

More information

Flexible Beam. Objectives

Flexible Beam. Objectives Flexile Bem Ojectives The ojective of this l is to lern out the chllenges posed y resonnces in feedck systems. An intuitive understnding will e gined through the mnul control of flexile em resemling lrge

More information

Design and Analysis of Distributed Interacting Systems

Design and Analysis of Distributed Interacting Systems Design nd Anlysis of Distriuted Intercting Systems Lecture 6 LTL Model Checking Prof. Dr. Joel Greenyer My 16, 2013 Some Book References (1) C. Bier, J.-P. Ktoen: Principles of Model Checking. The MIT

More information

12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2016

12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2016 CS125 Lecture 12 Fll 2016 12.1 Nondeterminism The ide of nondeterministic computtions is to llow our lgorithms to mke guesses, nd only require tht they ccept when the guesses re correct. For exmple, simple

More information

Section 4.8. D v(t j 1 ) t. (4.8.1) j=1

Section 4.8. D v(t j 1 ) t. (4.8.1) j=1 Difference Equtions to Differentil Equtions Section.8 Distnce, Position, nd the Length of Curves Although we motivted the definition of the definite integrl with the notion of re, there re mny pplictions

More information

Non-Deterministic Finite Automata

Non-Deterministic Finite Automata Non-Deterministic Finite Automt http://users.comlb.ox.c.uk/luke. ong/teching/moc/nf2up.pdf 1 Nondeterministic Finite Automton (NFA) Alphbet ={} q1 q2 2 Alphbet ={} Two choices q1 q2 3 Alphbet ={} Two choices

More information

Centrum voor Wiskunde en Informatica REPORTRAPPORT. Supervisory control for nondeterministic systems

Centrum voor Wiskunde en Informatica REPORTRAPPORT. Supervisory control for nondeterministic systems Centrum voor Wiskunde en Informtic REPORTRAPPORT Supervisory control for nondeterministic systems A. Overkmp Deprtment of Opertions Reserch, Sttistics, nd System Theory BS-R9411 1994 Supervisory Control

More information

Worked out examples Finite Automata

Worked out examples Finite Automata Worked out exmples Finite Automt Exmple Design Finite Stte Automton which reds inry string nd ccepts only those tht end with. Since we re in the topic of Non Deterministic Finite Automt (NFA), we will

More information

First Midterm Examination

First Midterm Examination 24-25 Fll Semester First Midterm Exmintion ) Give the stte digrm of DFA tht recognizes the lnguge A over lphet Σ = {, } where A = {w w contins or } 2) The following DFA recognizes the lnguge B over lphet

More information

Space Curves. Recall the parametric equations of a curve in xy-plane and compare them with parametric equations of a curve in space.

Space Curves. Recall the parametric equations of a curve in xy-plane and compare them with parametric equations of a curve in space. Clculus 3 Li Vs Spce Curves Recll the prmetric equtions of curve in xy-plne nd compre them with prmetric equtions of curve in spce. Prmetric curve in plne x = x(t) y = y(t) Prmetric curve in spce x = x(t)

More information

Compiler Design. Fall Lexical Analysis. Sample Exercises and Solutions. Prof. Pedro C. Diniz

Compiler Design. Fall Lexical Analysis. Sample Exercises and Solutions. Prof. Pedro C. Diniz University of Southern Cliforni Computer Science Deprtment Compiler Design Fll Lexicl Anlysis Smple Exercises nd Solutions Prof. Pedro C. Diniz USC / Informtion Sciences Institute 4676 Admirlty Wy, Suite

More information

DFA minimisation using the Myhill-Nerode theorem

DFA minimisation using the Myhill-Nerode theorem DFA minimistion using the Myhill-Nerode theorem Johnn Högerg Lrs Lrsson Astrct The Myhill-Nerode theorem is n importnt chrcteristion of regulr lnguges, nd it lso hs mny prcticl implictions. In this chpter,

More information

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER LANGUAGES AND COMPUTATION ANSWERS

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER LANGUAGES AND COMPUTATION ANSWERS The University of Nottinghm SCHOOL OF COMPUTER SCIENCE LEVEL 2 MODULE, SPRING SEMESTER 2016 2017 LNGUGES ND COMPUTTION NSWERS Time llowed TWO hours Cndidtes my complete the front cover of their nswer ook

More information

On Stability of Nonlinear Slowly Time-Varying and Switched Systems

On Stability of Nonlinear Slowly Time-Varying and Switched Systems 2018 IEEE Conference on Decision nd Control CDC) Mimi Bech, FL, USA, Dec. 17-19, 2018 On Stbility of Nonliner Slowly Time-Vrying nd Switched Systems Xiobin Go, Dniel Liberzon, nd Tmer Bşr Abstrct In this

More information

Review of Gaussian Quadrature method

Review of Gaussian Quadrature method Review of Gussin Qudrture method Nsser M. Asi Spring 006 compiled on Sundy Decemer 1, 017 t 09:1 PM 1 The prolem To find numericl vlue for the integrl of rel vlued function of rel vrile over specific rnge

More information

Sufficient condition on noise correlations for scalable quantum computing

Sufficient condition on noise correlations for scalable quantum computing Sufficient condition on noise correltions for sclble quntum computing John Presill, 2 Februry 202 Is quntum computing sclble? The ccurcy threshold theorem for quntum computtion estblishes tht sclbility

More information

1 Nondeterministic Finite Automata

1 Nondeterministic Finite Automata 1 Nondeterministic Finite Automt Suppose in life, whenever you hd choice, you could try oth possiilities nd live your life. At the end, you would go ck nd choose the one tht worked out the est. Then you

More information

Chapter 4. Additional Variational Concepts

Chapter 4. Additional Variational Concepts Chpter 4 Additionl Vritionl Concepts 137 In the previous chpter we considered clculus o vrition problems which hd ixed boundry conditions. Tht is, in one dimension the end point conditions were speciied.

More information

Homework Assignment 6 Solution Set

Homework Assignment 6 Solution Set Homework Assignment 6 Solution Set PHYCS 440 Mrch, 004 Prolem (Griffiths 4.6 One wy to find the energy is to find the E nd D fields everywhere nd then integrte the energy density for those fields. We know

More information

Module 6 Value Iteration. CS 886 Sequential Decision Making and Reinforcement Learning University of Waterloo

Module 6 Value Iteration. CS 886 Sequential Decision Making and Reinforcement Learning University of Waterloo Module 6 Vlue Itertion CS 886 Sequentil Decision Mking nd Reinforcement Lerning University of Wterloo Mrkov Decision Process Definition Set of sttes: S Set of ctions (i.e., decisions): A Trnsition model:

More information

Complementing Büchi Automata with a Subset-tuple Construction

Complementing Büchi Automata with a Subset-tuple Construction DEPARTEMENT D INFORMATIQUE DEPARTEMENT FÜR INFORMATIK Bd de Pérolles 90 CH-1700 Friourg www.unifr.ch/informtics WORKING PAPER Complementing Büchi Automt with Suset-tuple Construction J. Allred & U. Ultes-Nitsche

More information

Overview HC9. Parsing: Top-Down & LL(1) Context-Free Grammars (1) Introduction. CFGs (3) Context-Free Grammars (2) Vertalerbouw HC 9: Ch.

Overview HC9. Parsing: Top-Down & LL(1) Context-Free Grammars (1) Introduction. CFGs (3) Context-Free Grammars (2) Vertalerbouw HC 9: Ch. Overview H9 Vertlerouw H 9: Prsing: op-down & LL(1) do 3 mei 2001 56 heo Ruys h. 8 - Prsing 8.1 ontext-free Grmmrs 8.2 op-down Prsing 8.3 LL(1) Grmmrs See lso [ho, Sethi & Ullmn 1986] for more thorough

More information

CS S-12 Turing Machine Modifications 1. When we added a stack to NFA to get a PDA, we increased computational power

CS S-12 Turing Machine Modifications 1. When we added a stack to NFA to get a PDA, we increased computational power CS411-2015S-12 Turing Mchine Modifictions 1 12-0: Extending Turing Mchines When we dded stck to NFA to get PDA, we incresed computtionl power Cn we do the sme thing for Turing Mchines? Tht is, cn we dd

More information

Approximate Time-Optimal Control via Approximate Alternating Simulations

Approximate Time-Optimal Control via Approximate Alternating Simulations Approximte Time-Optiml Control vi Approximte Alternting Simultions Mnuel Mzo Jr nd Pulo Tbud Abstrct Symbolic models of control systems hve recently been used to synthesize controllers enforcing specifictions

More information

Math 270A: Numerical Linear Algebra

Math 270A: Numerical Linear Algebra Mth 70A: Numericl Liner Algebr Instructor: Michel Holst Fll Qurter 014 Homework Assignment #3 Due Give to TA t lest few dys before finl if you wnt feedbck. Exercise 3.1. (The Bsic Liner Method for Liner

More information

Tutorial Automata and formal Languages

Tutorial Automata and formal Languages Tutoril Automt nd forml Lnguges Notes for to the tutoril in the summer term 2017 Sestin Küpper, Christine Mik 8. August 2017 1 Introduction: Nottions nd sic Definitions At the eginning of the tutoril we

More information

Software Engineering using Formal Methods

Software Engineering using Formal Methods Softwre Engineering using Forml Methods Propositionl nd (Liner) Temporl Logic Wolfgng Ahrendt 13th Septemer 2016 SEFM: Liner Temporl Logic /GU 160913 1 / 60 Recpitultion: FormlistionFormlistion: Syntx,

More information

Physics 2135 Exam 1 February 14, 2017

Physics 2135 Exam 1 February 14, 2017 Exm Totl / 200 Physics 215 Exm 1 Ferury 14, 2017 Printed Nme: Rec. Sec. Letter: Five multiple choice questions, 8 points ech. Choose the est or most nerly correct nswer. 1. Two chrges 1 nd 2 re seprted

More information

Lecture 08: Feb. 08, 2019

Lecture 08: Feb. 08, 2019 4CS4-6:Theory of Computtion(Closure on Reg. Lngs., regex to NDFA, DFA to regex) Prof. K.R. Chowdhry Lecture 08: Fe. 08, 2019 : Professor of CS Disclimer: These notes hve not een sujected to the usul scrutiny

More information

Lecture 9: LTL and Büchi Automata

Lecture 9: LTL and Büchi Automata Lecture 9: LTL nd Büchi Automt 1 LTL Property Ptterns Quite often the requirements of system follow some simple ptterns. Sometimes we wnt to specify tht property should only hold in certin context, clled

More information

Application of Exact Discretization for Logistic Differential Equations to the Design of a Discrete-Time State-Observer

Application of Exact Discretization for Logistic Differential Equations to the Design of a Discrete-Time State-Observer 5 Proceedings of the Interntionl Conference on Informtion nd Automtion, December 58, 5, Colombo, Sri Ln. Appliction of Exct Discretiztion for Logistic Differentil Equtions to the Design of Discrete-ime

More information

CHAPTER 1 Regular Languages. Contents. definitions, examples, designing, regular operations. Non-deterministic Finite Automata (NFA)

CHAPTER 1 Regular Languages. Contents. definitions, examples, designing, regular operations. Non-deterministic Finite Automata (NFA) Finite Automt (FA or DFA) CHAPTER Regulr Lnguges Contents definitions, exmples, designing, regulr opertions Non-deterministic Finite Automt (NFA) definitions, equivlence of NFAs DFAs, closure under regulr

More information

CSCI 340: Computational Models. Kleene s Theorem. Department of Computer Science

CSCI 340: Computational Models. Kleene s Theorem. Department of Computer Science CSCI 340: Computtionl Models Kleene s Theorem Chpter 7 Deprtment of Computer Science Unifiction In 1954, Kleene presented (nd proved) theorem which (in our version) sttes tht if lnguge cn e defined y ny

More information

Foundations of XML Types: Tree Automata

Foundations of XML Types: Tree Automata 1 / 43 Foundtions of XML Types: Tree Automt Pierre Genevès CNRS (slides mostly sed on slides y W. Mrtens nd T. Schwentick) University of Grenole Alpes, 2017 2018 2 / 43 Why Tree Automt? Foundtions of XML

More information

Section 6.1 Definite Integral

Section 6.1 Definite Integral Section 6.1 Definite Integrl Suppose we wnt to find the re of region tht is not so nicely shped. For exmple, consider the function shown elow. The re elow the curve nd ove the x xis cnnot e determined

More information

Suppose we want to find the area under the parabola and above the x axis, between the lines x = 2 and x = -2.

Suppose we want to find the area under the parabola and above the x axis, between the lines x = 2 and x = -2. Mth 43 Section 6. Section 6.: Definite Integrl Suppose we wnt to find the re of region tht is not so nicely shped. For exmple, consider the function shown elow. The re elow the curve nd ove the x xis cnnot

More information

Myhill-Nerode Theorem

Myhill-Nerode Theorem Overview Myhill-Nerode Theorem Correspondence etween DA s nd MN reltions Cnonicl DA for L Computing cnonicl DFA Myhill-Nerode Theorem Deepk D Souz Deprtment of Computer Science nd Automtion Indin Institute

More information