A Symbolic Approach to Control via Approximate Bisimulations

Size: px
Start display at page:

Download "A Symbolic Approach to Control via Approximate Bisimulations"

Transcription

1 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, Mrch 1st 2011 A. Girrd (LJK-UJF) A Symolic Approch to Control 1 / 31

2 Motivtion Algorithmic synthesis of controllers from high level specifictions: Physicl System Specifiction A. Girrd (LJK-UJF) A Symolic Approch to Control 2 / 31

3 Motivtion Algorithmic synthesis of controllers from high level specifictions: Physicl System = Specifiction Controller A. Girrd (LJK-UJF) A Symolic Approch to Control 2 / 31

4 Motivtion Specifictions cn e expressed using temporl logic (e.g. LTL): Sfety S (Alwys S) Rechility T (Eventully T ) Stility ( T ) Recurrence ( T ) Sequencing (T 1 T 2 ) Coverge T 1 T 2 Fult recovery (F = R) LTL formul dmits n equivlent (Büchi) utomton. A. Girrd (LJK-UJF) A Symolic Approch to Control 3 / 31

5 Motivtion Algorithmic synthesis of controllers from high level specifictions: Physicl System: ẋ(t) = f (x(t), u(t)) = Temporl Logic Specif.: Controller A. Girrd (LJK-UJF) A Symolic Approch to Control 4 / 31

6 Motivtion Algorithmic synthesis of controllers from high level specifictions: Physicl System: ẋ(t) = f (x(t), u(t)) = Temporl Logic Specif.: Controller:? The prolem is hrd ecuse the model nd the specifiction re heterogeneous. A. Girrd (LJK-UJF) A Symolic Approch to Control 4 / 31

7 Symolic Approch to Control Synthesis Approximte symolic (discrete) model tht is formlly relted to the (continuous) dynmics of the physicl system: Physicl System: ẋ(t) = f (x(t), u(t)) Symolic Model: A. Girrd (LJK-UJF) A Symolic Approch to Control 5 / 31

8 Symolic Approch to Control Synthesis Approximte symolic (discrete) model tht is formlly relted to the (continuous) dynmics of the physicl system: Physicl System: ẋ(t) = f (x(t), u(t)) Symolic Model: Discrete Controller: A. Girrd (LJK-UJF) A Symolic Approch to Control 5 / 31

9 Symolic Approch to Control Synthesis Approximte symolic (discrete) model tht is formlly relted to the (continuous) dynmics of the physicl system: Physicl System: ẋ(t) = f (x(t), u(t)) Symolic Model: Hyrid Controller: q(t + ) = g(q(t), x(t)) u(t) = k(q(t), x(t)) Refinement Discrete Controller: A. Girrd (LJK-UJF) A Symolic Approch to Control 5 / 31

10 Outline of the Tlk 1 Approximtion reltionships for discrete nd continuous systems 2 Symolic strctions of switched systems 3 Controller synthesis using pproximtely isimilr strctions A. Girrd (LJK-UJF) A Symolic Approch to Control 6 / 31

11 Trnsition Systems Unified modeling frmework of discrete nd (smpled) continuous systems. Definition A trnsition system is tuple T = (X, U, δ, Y, H) where X is (discrete or continuous) set of sttes; U is (discrete or continuous) set of inputs; δ : X U 2 X is trnsition reltion; Y is (discrete or continuous) set of outputs; H : X Y is n ouput mp. 0 1 X = {red, lue, green, yellow}, U = {, } Y = {0, 1, 2} 1 2 A. Girrd (LJK-UJF) A Symolic Approch to Control 7 / 31

12 Trnsition Systems A trjectory of the trnsition system T is finite sequence: s = (x 0, u 0 ), (x 1, u 1 ),..., (x N 1, u N 1 ), x N where x k+1 δ(x k, u k ), k {0,..., N 1}. The ssocited oserved trjectory is o = y 0, y 1,..., y N 1, y N where y k = H(x k ), k {0,..., N}. The trnsition system is sid to e discrete or symolic if X nd U re countle or finite. Otherwise, it is sid to e uncountle. A. Girrd (LJK-UJF) A Symolic Approch to Control 8 / 31

13 Approximte Bisimultion Let T i = (X i, U, δ i, Y, H i ), i {1, 2}, e trnsition systems with common set of inputs U nd outputs O equipped with metric d. Definition Let ε R +, reltion R X 1 X 2 is n ε-pproximte isimultion reltion if for ll (x 1, x 2 ) R : 1 d(h 1 (x 1 ), H 2 (x 2 )) ε; 2 u U, x 1 δ 1(x 1, u), x 2 δ 2(x 2, u), such tht (x 1, x 2 ) R; 3 u U, x 2 δ 2(x 2, u), x 1 δ 1(x 1, u), such tht (x 1, x 2 ) R. Definition T 1 nd T 2 re ε-pproximtely isimilr (T 1 ε T 2 ) if : 1 For ll x 1 X 1, there exists x 2 X 2, such tht (x 1, x 2 ) R; 2 For ll x 2 X 2, there exists x 1 X 1, such tht (x 1, x 2 ) R. A. Girrd (LJK-UJF) A Symolic Approch to Control 9 / 31

14 Approximte Bisimultion X 2 d(h 1 (x 1 ), H 2 (x 2 )) ε R x 1 X 1 A. Girrd (LJK-UJF) A Symolic Approch to Control 10 / 31

15 Approximte Bisimultion X 2 d(h 1 (x 1 ), H 2 (x 2 )) ε R x 2 x 1 X 1 A. Girrd (LJK-UJF) A Symolic Approch to Control 10 / 31

16 Approximte Bisimultion X 2 d(h 1 (x 1 ), H 2 (x 2 )) ε R x 2 x 1 x 1 δ 1 (x 1, u) X 1 A. Girrd (LJK-UJF) A Symolic Approch to Control 10 / 31

17 Approximte Bisimultion X 2 d(h 1 (x 1 ), H 2 (x 2 )) ε x 2 δ 2 (x 2, u) R x 2 x 1 x 1 δ 1 (x 1, u) X 1 A. Girrd (LJK-UJF) A Symolic Approch to Control 10 / 31

18 Approximte Bisimultion Proposition If T 1 ε T 2, then for ll trjectories of T 1, (x0 1, u 0),..., (xn 1 1, u N 1), xn 1, there exists trjectory of T 2, (x0 2, u 0),..., (xn 1 2, u N 1), xn 2 with the sme sequence of inputs, such tht k {0,..., N}, (x 1 k, x 2 k ) R. The ssocited oserved trjectories y 1 0,..., y 1 N nd y 2 0,..., y 2 N stisfy k {0,..., N}, d(y 1 k, y 2 k ) ε. For ε = 0, we recover the usul notion of isimultion reltion used in computer science for studying equivlence of discrete systems. A. Girrd (LJK-UJF) A Symolic Approch to Control 11 / 31

19 Outline of the Tlk 1 Approximtion reltionships for discrete nd continuous systems 2 Symolic strctions of switched systems 3 Controller synthesis using pproximtely isimilr strctions A. Girrd (LJK-UJF) A Symolic Approch to Control 12 / 31

20 Switched Systems Definition A switched system is tuple Σ = (R n, P, F) where: R n is the stte spce; P = {1,..., m} is the finite set of modes; F = {f p : R n R n p P} is the collection of vector fields. For switching signl p : R + P, initil stte x R n, x(t, x, p) denotes the trjectory of Σ given y: ẋ(t) = f p(t) (x(t)), x(0) = x. A. Girrd (LJK-UJF) A Symolic Approch to Control 13 / 31

21 Switched Systems s Trnsition Systems Consider switched system Σ = (R n, P, F) nd time smpling prmeter τ > 0. Let T τ (Σ) e the trnsition system where: the set of sttes is X = R n ; the set of inputs is U = P; the trnsition reltion is given y x δ(x, p) x = x(τ, x, p); the set of outputs is Y = R n ; the output mp H is the identity mp over R n. The trnsition system T τ (Σ) is uncountle, cn we compute symolic strction? A. Girrd (LJK-UJF) A Symolic Approch to Control 14 / 31

22 Computtion of the Symolic Astrction We strt y pproximting the set of sttes R n y: { [R n ] η = z R n z i = k i 2η n, k i Z, i = 1,..., n where η > 0 is stte smpling prmeter: x R n, z [R n ] η, x z η. }, A. Girrd (LJK-UJF) A Symolic Approch to Control 15 / 31

23 Computtion of the Symolic Astrction We strt y pproximting the set of sttes R n y: { [R n ] η = z R n z i = k i 2η n, k i Z, i = 1,..., n where η > 0 is stte smpling prmeter: x R n, z [R n ] η, x z η. Approximtion of the trnsition reltion = rounding : }, z x(τ, z, p) z A. Girrd (LJK-UJF) A Symolic Approch to Control 15 / 31

24 Computtion of the Symolic Astrction We define the trnsition system T τ,η (Σ) where : the set of sttes is X = [R n ] η ; the set of inputs is U = P; the trnsition reltion is given y z δ(z, p) z = rg min q [R n ] η ( x(τ, z, p) q ). the set of outputs is Y = R n ; the output mp is given y H(z) = z R n. The trnsition system T τ,η (Σ) is discrete nd deterministic. Are T τ (Σ) nd T τ,η (Σ) pproximtely isimilr? A. Girrd (LJK-UJF) A Symolic Approch to Control 16 / 31

25 Computtion of the Symolic Astrction We define the trnsition system T τ,η (Σ) where : the set of sttes is X = [R n ] η ; the set of inputs is U = P; the trnsition reltion is given y z δ(z, p) z = rg min q [R n ] η ( x(τ, z, p) q ). the set of outputs is Y = R n ; the output mp is given y H(z) = z R n. The trnsition system T τ,η (Σ) is discrete nd deterministic. Are T τ (Σ) nd T τ,η (Σ) pproximtely isimilr? Yes, if switched system Σ is incrementlly stle. A. Girrd (LJK-UJF) A Symolic Approch to Control 16 / 31

26 Incrementl Stility Definition The switched system Σ is incrementlly glolly uniformly symptoticlly stle (δ-guas) if there exists KL function β such tht for ll initil conditions x 1, x 2 R n, for ll switching signls p : R + P, for ll t R + : x(t, x 1, p) x(t, x 2, p) β( x 1 x 2, t) t + 0. x(t, x 2, p) x(t, x 1, p) t A. Girrd (LJK-UJF) A Symolic Approch to Control 17 / 31

27 δ-gas Lypunov Functions Definition V : R n R n R + is common δ-guas Lypunov function for Σ if there exist K functions α, α nd κ R + such tht for ll x 1, x 2 R n : α( x 1 x 2 ) V (x 1, x 2 ) α( x 1 x 2 ), p P, V (x 1, x 2 )f p (x 1 ) + V (x 1, x 2 )f p (x 2 ) κv (x 1, x 2 ). x 1 x 2 Theorem If there exists common δ-guas Lypunov function, then Σ is δ-guas. A. Girrd (LJK-UJF) A Symolic Approch to Control 18 / 31

28 δ-gas Lypunov Functions Definition V : R n R n R + is common δ-guas Lypunov function for Σ if there exist K functions α, α nd κ R + such tht for ll x 1, x 2 R n : α( x 1 x 2 ) V (x 1, x 2 ) α( x 1 x 2 ), p P, V (x 1, x 2 )f p (x 1 ) + V (x 1, x 2 )f p (x 2 ) κv (x 1, x 2 ). x 1 x 2 Theorem If there exists common δ-guas Lypunov function, then Σ is δ-guas. Supplementry ssumption (true if working on compct suset of R n ): There exists K function γ such tht x 1, x 2, x 3 R n, V (x 1, x 2 ) V (x 1, x 3 ) γ( x 2 x 3 ). A. Girrd (LJK-UJF) A Symolic Approch to Control 18 / 31

29 Approximtion Theorem Theorem Let us ssume tht there exists V : R n R n R + which is common δ-guas Lypunov function for Σ. Consider smpling prmeters τ, η R + nd desired precision ε R +. If η min { γ 1 ( (1 e κτ )α(ε) ), α 1 (α(ε)) } then, the reltion R R n [R n ] η given y R = {(x, z) R n [R n ] η V (x, z) α(ε)} is n ε-pproximte isimultion reltion nd T τ (Σ) ε T τ,η (Σ). A. Girrd (LJK-UJF) A Symolic Approch to Control 19 / 31

30 Approximtion Theorem Theorem Let us ssume tht there exists V : R n R n R + which is common δ-guas Lypunov function for Σ. Consider smpling prmeters τ, η R + nd desired precision ε R +. If η min { γ 1 ( (1 e κτ )α(ε) ), α 1 (α(ε)) } then, the reltion R R n [R n ] η given y R = {(x, z) R n [R n ] η V (x, z) α(ε)} is n ε-pproximte isimultion reltion nd T τ (Σ) ε T τ,η (Σ). Min ide of the proof: show tht ccumultion of successive rounding errors is contined y incrementl stility. A. Girrd (LJK-UJF) A Symolic Approch to Control 19 / 31

31 Outline of the Tlk 1 Approximtion reltionships for discrete nd continuous systems 2 Symolic strctions of switched systems 3 Controller synthesis using pproximtely isimilr strctions A. Girrd (LJK-UJF) A Symolic Approch to Control 20 / 31

32 Controllers for Sfety Specifictions Definition Let T = (X, U, δ, Y, H), stte-feedck controller for T is mp S : X 2 U. The dynmics of the controlled system is descried y the trnsition system T S = (X, U, δ S, Y, H) where the trnsition reltion δ S is given for ll x X, u U, x X y x δ S (x, u) ( u S(x) x δ(x, u) ). A. Girrd (LJK-UJF) A Symolic Approch to Control 21 / 31

33 Controllers for Sfety Specifictions Definition Let T = (X, U, δ, Y, H), stte-feedck controller for T is mp S : X 2 U. The dynmics of the controlled system is descried y the trnsition system T S = (X, U, δ S, Y, H) where the trnsition reltion δ S is given for ll x X, u U, x X y x δ S (x, u) ( u S(x) x δ(x, u) ). Definition Let Y s Y e set of outputs ssocited with sfe sttes. A controller S is sfe for specifiction Y s if, for ll x X with S(x), H(x) Y s (sfety); For ll u S(x), for ll x δ(x, u), S(x ) (dedend freedom). A. Girrd (LJK-UJF) A Symolic Approch to Control 21 / 31

34 Mximl Sfety Controller If for ll x X, S(x) =, then S is sfe... We need notion of est sfety controller. A. Girrd (LJK-UJF) A Symolic Approch to Control 22 / 31

35 Mximl Sfety Controller If for ll x X, S(x) =, then S is sfe... We need notion of est sfety controller. Definition Controller S 1 is more permissive thn controller S 2 (S 2 S 1 ) if, for ll x X, S 2 (x) S 1 (x). Definition S is the mximl sfety controller for specifiction Y s if, S is sfe nd for ll sfety controllers S, S S. The mximl sfety controller exists nd is unique. It cn e determined y fixed point computtion of the lrgest controlled-invrint of T, included in H 1 (Y s ). A. Girrd (LJK-UJF) A Symolic Approch to Control 22 / 31

36 Computtion of the Mximl Sfety Controller Informlly, on simple exmple: The lgorithm termintes in finite numer of steps for discrete trnsition systems if H 1 (Y s ) is finite. No gurntee of termintion for uncountle trnsition systems. A. Girrd (LJK-UJF) A Symolic Approch to Control 23 / 31

37 Computtion of the Mximl Sfety Controller Informlly, on simple exmple: The lgorithm termintes in finite numer of steps for discrete trnsition systems if H 1 (Y s ) is finite. No gurntee of termintion for uncountle trnsition systems. A. Girrd (LJK-UJF) A Symolic Approch to Control 23 / 31

38 Computtion of the Mximl Sfety Controller Informlly, on simple exmple: The lgorithm termintes in finite numer of steps for discrete trnsition systems if H 1 (Y s ) is finite. No gurntee of termintion for uncountle trnsition systems. A. Girrd (LJK-UJF) A Symolic Approch to Control 23 / 31

39 Computtion of the Mximl Sfety Controller Informlly, on simple exmple: The lgorithm termintes in finite numer of steps for discrete trnsition systems if H 1 (Y s ) is finite. No gurntee of termintion for uncountle trnsition systems. A. Girrd (LJK-UJF) A Symolic Approch to Control 23 / 31

40 Computtion of the Mximl Sfety Controller Informlly, on simple exmple: The lgorithm termintes in finite numer of steps for discrete trnsition systems if H 1 (Y s ) is finite. No gurntee of termintion for uncountle trnsition systems. A. Girrd (LJK-UJF) A Symolic Approch to Control 23 / 31

41 Sfety Controller Synthesis vi Symolic Astrctions Mximl sfety controllers re esy to compute for symolic strctions... We need controller refinement procedure! Definition Let Y Y nd ϕ 0. The ϕ-contrction of Y is the suset of Y is C ϕ (Y ) = {y Y y Y, d(y, y ) ϕ = y Y }. C ϕ (Y ) ϕ Y A. Girrd (LJK-UJF) A Symolic Approch to Control 24 / 31

42 Sfety Controller Synthesis vi Symolic Astrctions Theorem ( Correct y design ) Let T 1 ε T 2, let R X 1 X 2 denote the ε-pproximte isimultion reltion etween T 1 nd T 2. Let S2,ε e the mximl sfe controller for T 2 for the specifiction C ε (Y s ). Let S 1 e the controller for T 1 given y x 1 X 1, S 1 (x 1 ) = S2,ε(x 2 ) x 2 R(x 1 ) where x 2 R(x 1 ) mens (x 1, x 2 ) R. Then, S 1 is sfe for specifiction Y s. Theorem ( Optiml in the limit ) Let S 1 nd S 1,2ε e the mximl sfe controllers for T 1 for specifictions Y s nd C 2ε (Y s ), respectively. Then, S 1,2ε S 1 S 1. A. Girrd (LJK-UJF) A Symolic Approch to Control 25 / 31

43 Exmple: DC-DC Converter Power converter with switching control: r x l l i l s 2 v s s 1 v c r c x c r 0 v 0 Stte vrile: x(t) = [i l (t), v c (t)] T. System dynmics: ẋ(t) = A p x(t) +, p {1, 2}. Common δ-guas Lypunov function of the form: V (x, y) = (x y) T M(x y). A. Girrd (LJK-UJF) A Symolic Approch to Control 26 / 31

44 Sfety Controller for the DC-DC Converter Astrction prmeters: τ = 1, η = 10 3 = ε = Y s = [1.1, 1.6] [5.4, 5.9] = C ε (Y s ) = [1.15, 1.55] [5.45, 5.85]. The symolic strction hs sttes, the synthesis lgorithm termintes in 2 itertions S 2,ε A. Girrd (LJK-UJF) A Symolic Approch to Control 27 / 31

45 Sfety Controller Refinement Using the controller refinement eqution: S 1 (x 1 ) = S 2,ε(x 2 ). x 2 [R n ] η V (x 1,x 2 ) α(ε) A. Girrd (LJK-UJF) A Symolic Approch to Control 28 / 31

46 Switching Controller for the DC-DC Converter The synthesized controller is non-deterministic. Severl implementtions of the controller re possile. Possiility to ensure posteriori secondry control ojective S 1 A. Girrd (LJK-UJF) A Symolic Approch to Control 29 / 31

47 Switching Controller for the DC-DC Converter Using two possile implementtions: Lzy control Stochstic control Both implementtions stisfy the sfety specifiction. A. Girrd (LJK-UJF) A Symolic Approch to Control 30 / 31

48 Conclusions Approximtely isimilr symolic strctions: A rigorous tool for controller synthesis: = Controllers re correct y design, optiml in the limit. Allow us to leverge efficient lgorithmic techniques from discrete systems to continuous nd hyrid systems. Computle for interesting clsses of systems: switched systems, continuous control systems... Ongoing nd future work: Multiscle nd dptive symolic models. Controller synthesis for other type of specifictions. Compositionl symolic models. Complexity reduction of synthesized controllers. A. Girrd (LJK-UJF) A Symolic Approch to Control 31 / 31

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 Workshop on switching dynmics & verifiction Pris, Jnury

More information

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

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

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

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

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

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

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

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

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

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

From LTL to Symbolically Represented Deterministic Automata

From LTL to Symbolically Represented Deterministic Automata Motivtion nd Prolem Setting Determinizing Non-Confluent Automt Det. vi Automt Hierrchy From LTL to Symoliclly Represented Deterministic Automt Andres Morgenstern Klus Schneider Sven Lmerti Mnuel Gesell

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

Bases for Vector Spaces

Bases for Vector Spaces Bses for Vector Spces 2-26-25 A set is independent if, roughly speking, there is no redundncy in the set: You cn t uild ny vector in the set s liner comintion of the others A set spns if you cn uild everything

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

Introduction to ω-autamata

Introduction to ω-autamata Fridy 25 th Jnury, 2013 Outline From finite word utomt ω-regulr lnguge ω-utomt Nondeterministic Models Deterministic Models Two Lower Bounds Conclusion Discussion Synthesis Preliminry From finite word

More information

Automata Theory 101. Introduction. Outline. Introduction Finite Automata Regular Expressions ω-automata. Ralf Huuck.

Automata Theory 101. Introduction. Outline. Introduction Finite Automata Regular Expressions ω-automata. Ralf Huuck. Outline Automt Theory 101 Rlf Huuck Introduction Finite Automt Regulr Expressions ω-automt Session 1 2006 Rlf Huuck 1 Session 1 2006 Rlf Huuck 2 Acknowledgement Some slides re sed on Wolfgng Thoms excellent

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

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

CS 330 Formal Methods and Models

CS 330 Formal Methods and Models CS 330 Forml Methods nd Models Dn Richrds, George Mson University, Spring 2017 Quiz Solutions Quiz 1, Propositionl Logic Dte: Ferury 2 1. Prove ((( p q) q) p) is tutology () (3pts) y truth tle. p q p q

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

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

Deterministic Finite Automata

Deterministic Finite Automata Finite Automt Deterministic Finite Automt H. Geuvers nd J. Rot Institute for Computing nd Informtion Sciences Version: fll 2016 J. Rot Version: fll 2016 Tlen en Automten 1 / 21 Outline Finite Automt Finite

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

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

State Minimization for DFAs

State Minimization for DFAs Stte Minimiztion for DFAs Red K & S 2.7 Do Homework 10. Consider: Stte Minimiztion 4 5 Is this miniml mchine? Step (1): Get rid of unrechle sttes. Stte Minimiztion 6, Stte is unrechle. Step (2): Get rid

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

Harvard University Computer Science 121 Midterm October 23, 2012

Harvard University Computer Science 121 Midterm October 23, 2012 Hrvrd University Computer Science 121 Midterm Octoer 23, 2012 This is closed-ook exmintion. You my use ny result from lecture, Sipser, prolem sets, or section, s long s you quote it clerly. The lphet is

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

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

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

Finite-State Automata: Recap

Finite-State Automata: Recap Finite-Stte Automt: Recp Deepk D Souz Deprtment of Computer Science nd Automtion Indin Institute of Science, Bnglore. 09 August 2016 Outline 1 Introduction 2 Forml Definitions nd Nottion 3 Closure under

More information

THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS.

THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS. THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS RADON ROSBOROUGH https://intuitiveexplntionscom/picrd-lindelof-theorem/ This document is proof of the existence-uniqueness theorem

More information

Bayesian Networks: Approximate Inference

Bayesian Networks: Approximate Inference pproches to inference yesin Networks: pproximte Inference xct inference Vrillimintion Join tree lgorithm pproximte inference Simplify the structure of the network to mkxct inferencfficient (vritionl methods,

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

Strong Bisimulation. Overview. References. Actions Labeled transition system Transition semantics Simulation Bisimulation

Strong Bisimulation. Overview. References. Actions Labeled transition system Transition semantics Simulation Bisimulation Strong Bisimultion Overview Actions Lbeled trnsition system Trnsition semntics Simultion Bisimultion References Robin Milner, Communiction nd Concurrency Robin Milner, Communicting nd Mobil Systems 32

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

CM10196 Topic 4: Functions and Relations

CM10196 Topic 4: Functions and Relations CM096 Topic 4: Functions nd Reltions Guy McCusker W. Functions nd reltions Perhps the most widely used notion in ll of mthemtics is tht of function. Informlly, function is n opertion which tkes n input

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

Lecture 3: Equivalence Relations

Lecture 3: Equivalence Relations Mthcmp Crsh Course Instructor: Pdric Brtlett Lecture 3: Equivlence Reltions Week 1 Mthcmp 2014 In our lst three tlks of this clss, we shift the focus of our tlks from proof techniques to proof concepts

More information

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

12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2014 CS125 Lecture 12 Fll 2014 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

Revision Sheet. (a) Give a regular expression for each of the following languages:

Revision Sheet. (a) Give a regular expression for each of the following languages: Theoreticl Computer Science (Bridging Course) Dr. G. D. Tipldi F. Bonirdi Winter Semester 2014/2015 Revision Sheet University of Freiurg Deprtment of Computer Science Question 1 (Finite Automt, 8 + 6 points)

More information

Let's start with an example:

Let's start with an example: Finite Automt Let's strt with n exmple: Here you see leled circles tht re sttes, nd leled rrows tht re trnsitions. One of the sttes is mrked "strt". One of the sttes hs doule circle; this is terminl stte

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

NFA DFA Example 3 CMSC 330: Organization of Programming Languages. Equivalence of DFAs and NFAs. Equivalence of DFAs and NFAs (cont.

NFA DFA Example 3 CMSC 330: Organization of Programming Languages. Equivalence of DFAs and NFAs. Equivalence of DFAs and NFAs (cont. NFA DFA Exmple 3 CMSC 330: Orgniztion of Progrmming Lnguges NFA {B,D,E {A,E {C,D {E Finite Automt, con't. R = { {A,E, {B,D,E, {C,D, {E 2 Equivlence of DFAs nd NFAs Any string from {A to either {D or {CD

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

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

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

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. Comparing DFAs and NFAs (cont.) Finite Automata 2

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. Comparing DFAs and NFAs (cont.) Finite Automata 2 CMSC 330: Orgniztion of Progrmming Lnguges Finite Automt 2 Types of Finite Automt Deterministic Finite Automt () Exctly one sequence of steps for ech string All exmples so fr Nondeterministic Finite Automt

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

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

Non-deterministic Finite Automata

Non-deterministic Finite Automata Non-deterministic Finite Automt Eliminting non-determinism Rdoud University Nijmegen Non-deterministic Finite Automt H. Geuvers nd T. vn Lrhoven Institute for Computing nd Informtion Sciences Intelligent

More information

2D1431 Machine Learning Lab 3: Reinforcement Learning

2D1431 Machine Learning Lab 3: Reinforcement Learning 2D1431 Mchine Lerning Lb 3: Reinforcement Lerning Frnk Hoffmnn modified by Örjn Ekeberg December 7, 2004 1 Introduction In this lb you will lern bout dynmic progrmming nd reinforcement lerning. It is ssumed

More information

Exercises with (Some) Solutions

Exercises with (Some) Solutions Exercises with (Some) Solutions Techer: Luc Tesei Mster of Science in Computer Science - University of Cmerino Contents 1 Strong Bisimultion nd HML 2 2 Wek Bisimultion 31 3 Complete Lttices nd Fix Points

More information

Homework 3 Solutions

Homework 3 Solutions CS 341: Foundtions of Computer Science II Prof. Mrvin Nkym Homework 3 Solutions 1. Give NFAs with the specified numer of sttes recognizing ech of the following lnguges. In ll cses, the lphet is Σ = {,1}.

More information

Review: set theoretic definition of the numbers. Natural numbers:

Review: set theoretic definition of the numbers. Natural numbers: Review: reltions A inry reltion on set A is suset R Ñ A ˆ A, where elements p, q re written s. Exmple: A Z nd R t pmod nqu. A inry reltion on set A is... (R) reflexive if for ll P A; (S) symmetric if implies

More information

The Value 1 Problem for Probabilistic Automata

The Value 1 Problem for Probabilistic Automata The Vlue 1 Prolem for Proilistic Automt Bruxelles Nthnël Fijlkow LIAFA, Université Denis Diderot - Pris 7, Frnce Institute of Informtics, Wrsw University, Polnd nth@lif.univ-pris-diderot.fr June 20th,

More information

CS 310 (sec 20) - Winter Final Exam (solutions) SOLUTIONS

CS 310 (sec 20) - Winter Final Exam (solutions) SOLUTIONS CS 310 (sec 20) - Winter 2003 - Finl Exm (solutions) SOLUTIONS 1. (Logic) Use truth tles to prove the following logicl equivlences: () p q (p p) (q q) () p q (p q) (p q) () p q p q p p q q (q q) (p p)

More information

CHAPTER 1 Regular Languages. Contents

CHAPTER 1 Regular Languages. Contents Finite Automt (FA or DFA) CHAPTE 1 egulr Lnguges Contents definitions, exmples, designing, regulr opertions Non-deterministic Finite Automt (NFA) definitions, euivlence of NFAs nd DFAs, closure under regulr

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

CMSC 330: Organization of Programming Languages

CMSC 330: Organization of Programming Languages CMSC 330: Orgniztion of Progrmming Lnguges Finite Automt 2 CMSC 330 1 Types of Finite Automt Deterministic Finite Automt (DFA) Exctly one sequence of steps for ech string All exmples so fr Nondeterministic

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

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

A negative answer to a question of Wilke on varieties of!-languages

A negative answer to a question of Wilke on varieties of!-languages A negtive nswer to question of Wilke on vrieties of!-lnguges Jen-Eric Pin () Astrct. In recent pper, Wilke sked whether the oolen comintions of!-lnguges of the form! L, for L in given +-vriety of lnguges,

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

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. NFA for (a b)*abb.

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. NFA for (a b)*abb. CMSC 330: Orgniztion of Progrmming Lnguges Finite Automt 2 Types of Finite Automt Deterministic Finite Automt () Exctly one sequence of steps for ech string All exmples so fr Nondeterministic Finite Automt

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

Vectors , (0,0). 5. A vector is commonly denoted by putting an arrow above its symbol, as in the picture above. Here are some 3-dimensional vectors:

Vectors , (0,0). 5. A vector is commonly denoted by putting an arrow above its symbol, as in the picture above. Here are some 3-dimensional vectors: Vectors 1-23-2018 I ll look t vectors from n lgeric point of view nd geometric point of view. Algericlly, vector is n ordered list of (usully) rel numers. Here re some 2-dimensionl vectors: (2, 3), ( )

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

Bypassing no-go theorems for consistent interactions in gauge theories

Bypassing no-go theorems for consistent interactions in gauge theories Bypssing no-go theorems for consistent interctions in guge theories Simon Lykhovich Tomsk Stte University Suzdl, 4 June 2014 The tlk is bsed on the rticles D.S. Kprulin, S.L.Lykhovich nd A.A.Shrpov, Consistent

More information

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4 Intermedite Mth Circles Wednesdy, Novemer 14, 2018 Finite Automt II Nickols Rollick nrollick@uwterloo.c Regulr Lnguges Lst time, we were introduced to the ide of DFA (deterministic finite utomton), one

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

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

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

CMSC 330: Organization of Programming Languages. DFAs, and NFAs, and Regexps (Oh my!)

CMSC 330: Organization of Programming Languages. DFAs, and NFAs, and Regexps (Oh my!) CMSC 330: Orgniztion of Progrmming Lnguges DFAs, nd NFAs, nd Regexps (Oh my!) CMSC330 Spring 2018 Types of Finite Automt Deterministic Finite Automt (DFA) Exctly one sequence of steps for ech string All

More information

Formal Methods in Software Engineering

Formal Methods in Software Engineering Forml Methods in Softwre Engineering Lecture 09 orgniztionl issues Prof. Dr. Joel Greenyer Decemer 9, 2014 Written Exm The written exm will tke plce on Mrch 4 th, 2015 The exm will tke 60 minutes nd strt

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

System Validation (IN4387) November 2, 2012, 14:00-17:00

System Validation (IN4387) November 2, 2012, 14:00-17:00 System Vlidtion (IN4387) Novemer 2, 2012, 14:00-17:00 Importnt Notes. The exmintion omprises 5 question in 4 pges. Give omplete explntion nd do not onfine yourself to giving the finl nswer. Good luk! Exerise

More information

AUTOMATA AND LANGUAGES. Definition 1.5: Finite Automaton

AUTOMATA AND LANGUAGES. Definition 1.5: Finite Automaton 25. Finite Automt AUTOMATA AND LANGUAGES A system of computtion tht only hs finite numer of possile sttes cn e modeled using finite utomton A finite utomton is often illustrted s stte digrm d d d. d q

More information

In-depth introduction to main models, concepts of theory of computation:

In-depth introduction to main models, concepts of theory of computation: CMPSCI601: Introduction Lecture 1 In-depth introduction to min models, concepts of theory of computtion: Computility: wht cn e computed in principle Logic: how cn we express our requirements Complexity:

More information

Normal Forms for Context-free Grammars

Normal Forms for Context-free Grammars Norml Forms for Context-free Grmmrs 1 Linz 6th, Section 6.2 wo Importnt Norml Forms, pges 171--178 2 Chomsky Norml Form All productions hve form: A BC nd A vrile vrile terminl 3 Exmples: S AS S AS S S

More information

Probabilistic Model Checking Michaelmas Term Dr. Dave Parker. Department of Computer Science University of Oxford

Probabilistic Model Checking Michaelmas Term Dr. Dave Parker. Department of Computer Science University of Oxford Probbilistic Model Checking Michelms Term 2011 Dr. Dve Prker Deprtment of Computer Science University of Oxford Long-run properties Lst lecture: regulr sfety properties e.g. messge filure never occurs

More information

AUTOMATED REASONING. Agostino Dovier. Udine, November Università di Udine CLPLAB

AUTOMATED REASONING. Agostino Dovier. Udine, November Università di Udine CLPLAB AUTOMATED REASONING Agostino Dovier Università di Udine CLPLAB Udine, Novemer 2017 AGOSTINO DOVIER (CLPLAB) AUTOMATED REASONING UDINE, NOVEMBER 2017 1 / 15 Semntics of Logic Progrms AGOSTINO DOVIER (CLPLAB)

More information

a,b a 1 a 2 a 3 a,b 1 a,b a,b 2 3 a,b a,b a 2 a,b CS Determinisitic Finite Automata 1

a,b a 1 a 2 a 3 a,b 1 a,b a,b 2 3 a,b a,b a 2 a,b CS Determinisitic Finite Automata 1 CS4 45- Determinisitic Finite Automt -: Genertors vs. Checkers Regulr expressions re one wy to specify forml lnguge String Genertor Genertes strings in the lnguge Deterministic Finite Automt (DFA) re nother

More information

2 L. BILLINGS AND E.M. BOLLT 2 s well roken liner trnsformtions [5], wek unimodl mps [6]. Other closely relted res in the study the chotic ehvior of t

2 L. BILLINGS AND E.M. BOLLT 2 s well roken liner trnsformtions [5], wek unimodl mps [6]. Other closely relted res in the study the chotic ehvior of t PROBABILITY DENSITY FUNCTIONS OF SOME SKEW TENT MAPS L. BILLINGS AND E.M. BOLLT 2 Astrct. We consider fmily of chotic skew tent mps. The skew tent mp is two-prmeter, piecewise-liner, wekly-unimodl, mp

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

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

Domino Recognizability of Triangular Picture Languages

Domino Recognizability of Triangular Picture Languages Interntionl Journl of Computer Applictions (0975 8887) Volume 57 No.5 Novemer 0 Domino Recognizility of ringulr icture Lnguges V. Devi Rjselvi Reserch Scholr Sthym University Chenni 600 9. Klyni Hed of

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

Process Algebra: An Algebraic Theory of Concurrency

Process Algebra: An Algebraic Theory of Concurrency Process Alger: An Algeric Theory of Concurrency Wn Fokkink Vrije Universiteit Amsterdm, Deprtment of Theoreticl Computer Science, De Boeleln 1081, 1081 HV Amsterdm, The Netherlnds wnf@cs.vu.nl Astrct.

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

Uninformed Search Lecture 4

Uninformed Search Lecture 4 Lecture 4 Wht re common serch strtegies tht operte given only serch problem? How do they compre? 1 Agend A quick refresher DFS, BFS, ID-DFS, UCS Unifiction! 2 Serch Problem Formlism Defined vi the following

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

, if x 1 and f(x) = x, if x 0.

, if x 1 and f(x) = x, if x 0. Indin Institute of Informtion Technology Design nd Mnufcturing, Kncheepurm Chenni 600 7, Indi An Autonomous Institute under MHRD, Govt of Indi An Institute of Ntionl Importnce wwwiiitdmcin COM05T Discrete

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

Deciding the value 1 problem for probabilistic leaktight automata

Deciding the value 1 problem for probabilistic leaktight automata Deciding the vlue 1 prolem for proilistic lektight utomt Nthnël Fijlkow, joint work with Hugo Gimert nd Youssouf Oulhdj LIAFA, Université Pris 7, Frnce, University of Wrsw, Polnd. LICS, Durovnik, Croti

More information

Converting Regular Expressions to Discrete Finite Automata: A Tutorial

Converting Regular Expressions to Discrete Finite Automata: A Tutorial Converting Regulr Expressions to Discrete Finite Automt: A Tutoril Dvid Christinsen 2013-01-03 This is tutoril on how to convert regulr expressions to nondeterministic finite utomt (NFA) nd how to convert

More information

378 Relations Solutions for Chapter 16. Section 16.1 Exercises. 3. Let A = {0,1,2,3,4,5}. Write out the relation R that expresses on A.

378 Relations Solutions for Chapter 16. Section 16.1 Exercises. 3. Let A = {0,1,2,3,4,5}. Write out the relation R that expresses on A. 378 Reltions 16.7 Solutions for Chpter 16 Section 16.1 Exercises 1. Let A = {0,1,2,3,4,5}. Write out the reltion R tht expresses > on A. Then illustrte it with digrm. 2 1 R = { (5,4),(5,3),(5,2),(5,1),(5,0),(4,3),(4,2),(4,1),

More information