On the Language Inclusion Problem for Timed Automata: Closing a Decidability Gap
|
|
- Bernadette Todd
- 5 years ago
- Views:
Transcription
1 SVC On the Language Inclusion Problem for Timed Automata 1 On the Language Inclusion Problem for Timed Automata: Closing a Decidability Gap Joël Ouaknine Computer Science Department, Carnegie Mellon University James Worrell Department of Mathematics, Tulane University SVC seminar Sept. 2, 2003
2 A : SVC On the Language Inclusion Problem for Timed Automata 2 Timed Automata Standard modeling formalism for real-time. Finite-state automata with clocks. Timed trace semantics: sequences of events with real-valued delay timestamps. u = E.g., h0:3;a;2;b;0;c;1:1;ai. a b,c a 3.4 L(A) := set of timed traces accepted by A. a a a a a x:=0 x=1?
3 Language inclusion problem, L(B) & SVC On the Language Inclusion Problem for Timed Automata 3 Known Facts about Timed Automata Emptiness problem, L(A)? = ;: PSPACE-complete [Alur et al. 90] Universality problem, L(A)? = TT: Undecidable [Alur-Dill 94]? L(A): Undecidable [Idem]
4 ? L(A) SVC On the Language Inclusion Problem for Timed Automata 4 Our Main Contribution Theorem. If A has at most one clock, the language inclusion problem is decidable. L(B)
5 ? L(A) SVC On the Language Inclusion Problem for Timed Automata 5 Our Main Contribution Theorem. If A has at most one clock, the language inclusion problem is decidable. L(B) This result is unexpected: in all other known computational models, deciding language inclusion always uses L(B) L(A) () L(B) L(A) = ;: However, one-clock timed automata cannot be complemented...
6 SVC On the Language Inclusion Problem for Timed Automata 6 Timed Automata Language Inclusion: Related Work Digitization techniques: [Henzinger-Manna-Pnueli 92], [Bošnački 99], [Ouaknine-Worrell 03a] Determinizable classes of timed automata: [Alur-Fix-Henzinger 94], [Wilke 96], [Raskin 99] Fuzzy semantics / noise-based techniques: [Maass-Orponen 96], [Gupta-Henzinger-Jagadeesan 97], [Fränzle 99], [Henzinger-Raskin 00], [Puri 00], [Asarin-Bouajjani 01], [Ouaknine-Worrell 03b]
7 SVC On the Language Inclusion Problem for Timed Automata 7 Some Applications Hardware and software systems are often described via high-level specifications, describing their intended functional behavior. Specifications are often given as finite-state machines. A proposed implementation IMP meets its specification SPEC iff L(IMP ) L(SPEC ): Our work enables us to describe and handle timed specifications: timed automata with a single clock.
8 SVC On the Language Inclusion Problem for Timed Automata 8 Example: A Login Protocol x>10? restart START login_name x:=0 restart x>60? VALIDATE x<60? pw_wrong pw_correct x<60? connected DELAY restart x>60? LOG_ERROR x:=0 log_pw_wrong x:=0 log_pw_wrong LOG_ERROR pw_wrong x<60? RE_VALIDATE pw_correct x<60?
9 SVC On the Language Inclusion Problem for Timed Automata 9 passive OPEN create TCB CLOSED CLOSE delete TCB active OPEN create TCB snd SYN LISTEN CLOSE delete TCB SYN RCVD CLOSE snd FIN FIN WAIT_1 rcv ACK of FIN x FIN WAIT_2 rcv FIN snd ACK rcv SYN snd SYN, ACK rcv ACK of SYN x CLOSE snd FIN rcv FIN snd ACK rcv ACK of FIN x rcv SYN snd ACK ESTAB CLOSING TIME_WAIT SEND snd SYN rcv SYN, ACK snd ACK rcv FIN snd ACK Timeout=2MSL delete TCB SYN SENT CLOSE WAIT CLOSE snd FIN LAST_ACK rcv ACK of FIN x CLOSED TCP spec. (DARPA) &
10 SVC On the Language Inclusion Problem for Timed Automata 10 Some Applications (ctd.) Compositional and assume-guarantee verification: Let NET = B 1 jjb 2 jj :::jjb n be a network of timed automata.
11 SVC On the Language Inclusion Problem for Timed Automata 11 Some Applications (ctd.) Compositional and assume-guarantee verification: Let NET = B 1 jjb 2 jj :::jjb n be a network of timed automata. Suppose you want to verify that L(NET ) = ;.
12 SVC On the Language Inclusion Problem for Timed Automata 12 Some Applications (ctd.) Compositional and assume-guarantee verification: Let NET = B 1 jjb 2 jj :::jjb n be a network of timed automata. Suppose you want to verify that L(NET ) = ;. Find one-clock automata A 1, A 2, :::, A n such that L(B i ) L(A i ).
13 SVC On the Language Inclusion Problem for Timed Automata 13 Some Applications (ctd.) Compositional and assume-guarantee verification: Let NET = B 1 jjb 2 jj :::jjb n be a network of timed automata. Suppose you want to verify that L(NET ) = ;. Find one-clock automata A 1, A 2, :::, A n such that L(B i ) L(A i ). Write ABS = A 1 jja 2 jj :::jja n.
14 SVC On the Language Inclusion Problem for Timed Automata 14 Some Applications (ctd.) Compositional and assume-guarantee verification: Let NET = B 1 jjb 2 jj :::jjb n be a network of timed automata. Suppose you want to verify that L(NET ) = ;. Find one-clock automata A 1, A 2, :::, A n such that L(B i ) L(A i ). Write ABS = A 1 jja 2 jj :::jja n. Theorem: If L(ABS ) = ;,thenl(net ) = ;.
15 SVC On the Language Inclusion Problem for Timed Automata 15 Sketch of the Algorithm? L(A) to a Reduce the language inclusion question L(B) reachability question on an infinite graph H.
16 SVC On the Language Inclusion Problem for Timed Automata 16 Sketch of the Algorithm? L(A) to a Reduce the language inclusion question L(B) reachability question on an infinite graph H. Construct a compatible 4 well-quasi-order on H: W 4 W Whenever : W if is safe, W then is safe. 0 0 Any infinite sequence W 1, W 2, W 3, ::: eventually saturates: there exists i < j such that W i 4 W j.
17 SVC On the Language Inclusion Problem for Timed Automata 17 Sketch of the Algorithm? L(A) to a Reduce the language inclusion question L(B) reachability question on an infinite graph H. Construct a compatible 4 well-quasi-order on H: W 4 W Whenever : W if is safe, W then is safe. 0 0 Any infinite sequence W 1, W 2, W 3, ::: eventually saturates: there exists i < j such that W i 4 W j. Explore H, looking for bad nodes. The search must eventually terminate.
18 SVC On the Language Inclusion Problem for Timed Automata 18 Sketch of the Algorithm? L(A) to a Reduce the language inclusion question L(B) reachability question on an infinite graph H. Construct a compatible 4 well-quasi-order on H: W 4 W Whenever : W if is safe, W then is safe. 0 0 Any infinite sequence W 1, W 2, W 3, ::: eventually saturates: there exists i < j such that W i 4 W j. Explore H, looking for bad nodes. The search must eventually terminate. For simplicity, we will focus on universality: A? = TT.
19 SVC On the Language Inclusion Problem for Timed Automata 19 Higman s Lemma Let Λ = fa 1 ;a 2 ;::: ;a n gbe an alphabet. Let 4 be the subword order on Λ Λ, the set of finite words over Λ. Ex.: HIGMAN 4 HIGHMOUNTAIN Then 4 is a well-quasi-order on Λ Λ : Any infinite sequence of words W 1, W 2, W 3, ::: must eventually have two words W i 4 W j, with i < j.
20 SVC On the Language Inclusion Problem for Timed Automata 20 Higman s Lemma Let Λ = fa 1 ;a 2 ;::: ;a n gbe an alphabet. Let 4 be the subword order on Λ Λ, the set of finite words over Λ. Ex.: HIGMAN 4 HIGHMOUNTAIN Then 4 is a well-quasi-order on Λ Λ : Any infinite sequence of words W 1, W 2, W 3, ::: must eventually have two words W i 4 W j, with i < j.
21 SVC On the Language Inclusion Problem for Timed Automata 21 Timed Automata Configurations Let A be a timed automaton with a single clock x, and discrete locations, s 1, :::, s n. Astate of A is a pair (s; v): s is a location. v 2 R + is the value of clock x. A configuration of A is a finite set of states. s x>2? b 0 1 a x:= 0 s 1<x <3? b
22 SVC On the Language Inclusion Problem for Timed Automata 22 Timed Automata Configurations Let A be a timed automaton with a single clock x, and discrete locations, s 1, :::, s n. Astate of A is a pair (s; v): s is a location. v 2 R + is the value of clock x. A configuration of A is a finite set of states. (s 1 ; 1:4) x>2? b s 1 1<x <3? b a x:= 0
23 SVC On the Language Inclusion Problem for Timed Automata 23 Timed Automata Configurations Let A be a timed automaton with a single clock x, and discrete locations, s 1, :::, s n. Astate of A is a pair (s; v): s is a location. v 2 R + is the value of clock x. (s 1 ; 4:5) x>2? b s 1 1<x <3? b a x:= 0 A configuration of A is a finite set of states.
24 SVC On the Language Inclusion Problem for Timed Automata 24 Timed Automata Configurations Let A be a timed automaton with a single clock x, and discrete locations, s 1, :::, s n. Astate of A is a pair (s; v): s is a location. v 2 R + is the value of clock x. A configuration of A is a finite set of states. f( ; 2); (s 1 ; 1:4)g x>2? b s 1 1<x <3? b a x:= 0
25 SVC On the Language Inclusion Problem for Timed Automata 25 Timed Automata Configurations (ctd.) Every timed trace u gives rise to a configuration of A. Ex.: u = h0:5;a;0:2;b;0:4;cileads to f(s 5 ; 0:6); (s 6 ; 0:4)g. b 1 s c 3 s a x:=0 s 5 ::: s 2 c 4 s a b x:=0 s 6 :::
26 SVC On the Language Inclusion Problem for Timed Automata 26 Bisimilar Configurations If C is a configuration, let A[C] be A started in configuration C. Definition. A relation R on configurations is a bisimulation if, whenever C 1 R C 2,then 8a ±,8t 2 R +,9t 2 2 R 1 such that 2 if + t 1;a! A[C 0 1 ],thena[c 2] t 2;a ] A[C 1 Vice-versa.! A[C 0 2 ],andc 0 1 R C 0 2.
27 SVC On the Language Inclusion Problem for Timed Automata 27 Bisimilar Configurations If C is a configuration, let A[C] be A started in configuration C. Definition. A relation R on configurations is a bisimulation if, whenever C 1 R C 2,then 8a ±,8t 2 R +,9t 2 2 R 1 such that 2 if + t 1;a! A[C 0 1 ],thena[c 2] t 2;a ] A[C 1! A[C 0 2 ],andc 0 1 R C 0 2. Vice-versa. We say that C 1 and C 2 are bisimilar, written C 1 ο C 2, if there exists some bisimulation relating them.
28 SVC On the Language Inclusion Problem for Timed Automata 28 Bisimilar Configurations If C is a configuration, let A[C] be A started in configuration C. Definition. A relation R on configurations is a bisimulation if, whenever C 1 R C 2,then 8a ±,8t 2 R +,9t 2 2 R 1 such that 2 if + t 1;a! A[C 0 1 ],thena[c 2] t 2;a ] A[C 1! A[C 0 2 ],andc 0 1 R C 0 2. Vice-versa. We say that C 1 and C 2 are bisimilar, written C 1 ο C 2, if there exists some bisimulation relating them. Theorem. If C 1 ο C 2,then A[C 1 ] is universal () A[C 2 ] is universal:
29 SVC On the Language Inclusion Problem for Timed Automata 29 Bisimilar Configurations: Examples C 1 = f( ; 0:5)g fi C 2 = f( ; 1:3)g: C 1 : C 2 : ~
30 A : SVC On the Language Inclusion Problem for Timed Automata 30 Bisimilar Configurations: Examples C 1 = f( ; 0:5)g fi C 2 = f( ; 1:3)g: C 1 : C 2 : ~ x>1? s ± 0 s 1 ±
31 A : SVC On the Language Inclusion Problem for Timed Automata 31 Bisimilar Configurations: Examples C 1 = f( ; 0:5)g fi C 2 = f( ; 1:3)g: C 1 : C 2 : ~ x>1? s ± 0 s 1 ± A[C 2 ] is universal, but A[C 1 ] rejects h0;ai.
32 SVC On the Language Inclusion Problem for Timed Automata 32 Bisimilar Configurations: Examples (ctd.) ~
33 SVC On the Language Inclusion Problem for Timed Automata 33 Bisimilar Configurations: Examples (ctd.) ~ ~
34 SVC On the Language Inclusion Problem for Timed Automata 34 Bisimilar Configurations: Examples (ctd.) ~ ~ ~
35 SVC On the Language Inclusion Problem for Timed Automata 35 Bisimilar Configurations: Examples (ctd.) C 1 : C 2 : ~
36 A : SVC On the Language Inclusion Problem for Timed Automata 36 Bisimilar Configurations: Examples (ctd.) C 1 : C 2 : ~ x<1_x>2? s ± 0 s 1 ±
37 A : SVC On the Language Inclusion Problem for Timed Automata 37 Bisimilar Configurations: Examples (ctd.) C 1 : C 2 : ~ x<1_x>2? s ± 0 s 1 ± A[C 2 ] is universal, but A[C 1 ] rejects h0:5;ai.
38 SVC On the Language Inclusion Problem for Timed Automata 38 From Bisimulation to Simulation Definition. We say that C 1 is simulated by C 2, written C 1 4 C 2,ifthere exists C 0 2 C 2 such that C 1 ο C 0 2.
39 SVC On the Language Inclusion Problem for Timed Automata 39 From Bisimulation to Simulation Definition. We say that C 1 is simulated by C 2, written C 1 4 C 2,ifthere exists C 0 2 C 2 such that C 1 ο C 0 2. Theorem. If C 1 4 C 2,then A[C 1 ] is universal =) A[C 2 ] is universal:
40 SVC On the Language Inclusion Problem for Timed Automata 40 Constructing a Decidable Bisimulation Relation Let K 2 N be the largest constant appearing in clock constraints of A. Theorem. Let C and C 0 be configurations of A. If there exists a bijection f : C! C 0 that preserves locations: f (s; v) = ( ;v 0 ) =) s =, integer parts of clock x,uptok: f (s; v) = ( ;v 0 ) =) ((dve = dv 0 e ^ bvc = bv 0 c) _ v; v 0 > K), the ordering of the fractional parts of clock x: ), i ;v i ) = ( i ;v0 i ) =) (v i <v j () v 0 i <v0 j f (s ο C then. C 0
41 n o 1); f1g; (1; 2);::: ;fkg;(k; 1) (0; f0g; SVC On the Language Inclusion Problem for Timed Automata 41 Constructing a Decidable Bisimulation Relation (ctd.) Let K be the largest constant appearing in clock constraints of A. Let REG = be the collection of one-dimensional regions of A. Let S = f ;s 1 ;::: ;s n gbe the set of locations of A. Let Λ = S REG. Let C be a configuration of A. For simplicity, assume all the fractional parts of states C in are distinct. Note that each state in C has a unique matching letter in Λ. Encode as a H(C) 2 Λ word, ordered by increasing fractional C parts Λ of states.
42 SVC On the Language Inclusion Problem for Timed Automata 42 Constructing a Decidable Bisimulation Relation (ctd.) Corollary. For any configurations C and C 0 of A, H(C) = H(C 0 ) =) C ο C 0 :
43 SVC On the Language Inclusion Problem for Timed Automata 43 Constructing a Decidable Bisimulation Relation (ctd.) Corollary. For any configurations C and C 0 of A, H(C) = H(C 0 ) =) C ο C 0 : Theorem. For any configurations C and C 0 of A, H(C) 4 H(C 0 ) =) C 4 C 0 :
44 SVC On the Language Inclusion Problem for Timed Automata 44 Constructing a Decidable Bisimulation Relation (ctd.) Corollary. For any configurations C and C 0 of A, H(C) = H(C 0 ) =) C ο C 0 : Theorem. For any configurations C and C 0 of A, H(C) 4 H(C 0 ) =) C 4 C 0 : Corollary. For configurations C and C 0 of A,ifH(C) 4 H(C 0 ),then A[C] is universal =) A[C 0 ] is universal:
45 SVC On the Language Inclusion Problem for Timed Automata 45 The Algorithm: Recapitulation Reduce the universality question L(A)? = TT to a reachability question on the infinite Λ graph. Λ The subword 4 order Λ on is a compatible well-quasi-order: Λ 4 H(C Whenever ): H(C) 0 if is universal, A[C then ] is universal. 0 A[C] Any infinite sequence H(C 1 ), H(C 2 ), H(C 3 ), ::: eventually saturates: there exists i < j such that H(C i ) 4 H(C j ). Explore, looking for a word/configuration from which A cannot Λ perform some event. The search must Λ eventually terminate.
46 SVC On the Language Inclusion Problem for Timed Automata 46 Summary We have given an algorithm to decide the language inclusion? question L(A), A provided has at most one L(B) clock. Unexpected and fundamentally new result in the theory of timed automata. Interesting potential applications to hardware/software engineering and verification.
47 SVC On the Language Inclusion Problem for Timed Automata 47 Closing the Gap Our decidability result is for all practical purposes the tightest one can get in terms of restricting the resources of timed automata: Theorem. For A a timed automaton, the universality question L(A)? = TT remains undecidable under any of the following restrictions: A has two clocks and a one-event alphabet, or A has two clocks and uses a single constant in clock constraints, or A has a single location and a one-event alphabet, or A has a single location and uses a single constant in clock constraints.
48 SVC On the Language Inclusion Problem for Timed Automata 48 Future Work Complexity of the algorithm. Extend (if possible) to Büchi timed automata. Efficient implementation.
Timed Automata. Rajeev Alur. University of Pennsylvania
Timed Automata Rajeev Alur University of Pennsylvania www.cis.upenn.edu/~alur/ SFM-RT, Bertinoro, Sept 2004 model temporal property Model Checker yes error-trace Advantages Automated formal verification,
More informationModel checking pushdown systems
Model checking pushdown systems R. Ramanujam Institute of Mathematical Sciences, Chennai jam@imsc.res.in Update Meeting, IIT-Guwahati, 4 July 2006 p. 1 Sources of unboundedness Data manipulation: integers,
More informationTimed Automata: Semantics, Algorithms and Tools
Timed Automata: Semantics, Algorithms and Tools Johan Bengtsson and Wang Yi Uppsala University Email: {johanb,yi}@it.uu.se Abstract. This chapter is to provide a tutorial and pointers to results and related
More informationLecture 2. Decidability and Verification
Lecture 2. Decidability and Verification model temporal property Model Checker yes error-trace Advantages Automated formal verification, Effective debugging tool Moderate industrial success In-house groups:
More informationCOMP 763. Eugene Syriani. Ph.D. Student in the Modelling, Simulation and Design Lab School of Computer Science. McGill University
Eugene Syriani Ph.D. Student in the Modelling, Simulation and Design Lab School of Computer Science McGill University 1 OVERVIEW In the context In Theory: Timed Automata The language: Definitions and Semantics
More informationLimitations of Algorithmic Solvability In this Chapter we investigate the power of algorithms to solve problems Some can be solved algorithmically and
Computer Language Theory Chapter 4: Decidability 1 Limitations of Algorithmic Solvability In this Chapter we investigate the power of algorithms to solve problems Some can be solved algorithmically and
More informationImplementation of Lexical Analysis
Implementation of Lexical Analysis Outline Specifying lexical structure using regular expressions Finite automata Deterministic Finite Automata (DFAs) Non-deterministic Finite Automata (NFAs) Implementation
More informationImplementation of Lexical Analysis
Implementation of Lexical Analysis Outline Specifying lexical structure using regular expressions Finite automata Deterministic Finite Automata (DFAs) Non-deterministic Finite Automata (NFAs) Implementation
More informationAN ABSTRACTION TECHNIQUE FOR REAL-TIME VERIFICATION
AN ABSTRACTION TECHNIQUE FOR REAL-TIME VERIFICATION Edmund M. Clarke, Flavio Lerda, Muralidhar Talupur Computer Science Department Carnegie Mellon University Pittsburgh, PA 15213 {flerda,tmurali,emc}@cs.cmu.edu
More informationFurther Topics in Modelling & Verification
Further Topics in Modelling & Verification Thursday Oct 09, 2014 Philipp Rümmer Uppsala University Philipp.Ruemmer@it.uu.se 1/34 Recap: Timed automata (TA) 2/34 Recap: Properties 3/34 Questions about TA
More informationSource of Slides: Introduction to Automata Theory, Languages, and Computation By John E. Hopcroft, Rajeev Motwani and Jeffrey D.
Source of Slides: Introduction to Automata Theory, Languages, and Computation By John E. Hopcroft, Rajeev Motwani and Jeffrey D. Ullman And Introduction to Languages and The by J. C. Martin Basic Mathematical
More information1 Elementary number theory
Math 215 - Introduction to Advanced Mathematics Spring 2019 1 Elementary number theory We assume the existence of the natural numbers and the integers N = {1, 2, 3,...} Z = {..., 3, 2, 1, 0, 1, 2, 3,...},
More informationLexical Analysis. Chapter 2
Lexical Analysis Chapter 2 1 Outline Informal sketch of lexical analysis Identifies tokens in input string Issues in lexical analysis Lookahead Ambiguities Specifying lexers Regular expressions Examples
More informationAutomatic synthesis of switching controllers for linear hybrid systems: Reachability control
Automatic synthesis of switching controllers for linear hybrid systems: Reachability control Massimo Benerecetti and Marco Faella Università di Napoli Federico II, Italy Abstract. We consider the problem
More informationDecision Properties of RLs & Automaton Minimization
Decision Properties of RLs & Automaton Minimization Martin Fränzle formatics and Mathematical Modelling The Technical University of Denmark Languages and Parsing MF Fall p./ What you ll learn. Decidable
More information13 th Annual Johns Hopkins Math Tournament Saturday, February 19, 2011 Automata Theory EUR solutions
13 th Annual Johns Hopkins Math Tournament Saturday, February 19, 011 Automata Theory EUR solutions Problem 1 (5 points). Prove that any surjective map between finite sets of the same cardinality is a
More informationIntroduction to Lexical Analysis
Introduction to Lexical Analysis Outline Informal sketch of lexical analysis Identifies tokens in input string Issues in lexical analysis Lookahead Ambiguities Specifying lexical analyzers (lexers) Regular
More informationSoftware Testing IV. Prof. Dr. Holger Schlingloff. Humboldt-Universität zu Berlin
Software Testing IV Prof. Dr. Holger Schlingloff Humboldt-Universität zu Berlin and Fraunhofer Institute of Computer Architecture and Software Technology FIRST Outline of this Lecture Series 2006/11/24:
More informationDr. D.M. Akbar Hussain
1 2 Compiler Construction F6S Lecture - 2 1 3 4 Compiler Construction F6S Lecture - 2 2 5 #include.. #include main() { char in; in = getch ( ); if ( isalpha (in) ) in = getch ( ); else error (); while
More informationLexical Analysis. Lecture 2-4
Lexical Analysis Lecture 2-4 Notes by G. Necula, with additions by P. Hilfinger Prof. Hilfinger CS 164 Lecture 2 1 Administrivia Moving to 60 Evans on Wednesday HW1 available Pyth manual available on line.
More informationReducing Clocks in Timed Automata while Preserving Bisimulation
Reducing Clocks in Timed Automata while Preserving Bisimulation Shibashis Guha Chinmay Narayan S. Arun-Kumar Indian Institute of Technology Delhi {shibashis, chinmay, sak}@cse.iitd.ac.in arxiv:1404.6613v2
More informationRegular Languages and Regular Expressions
Regular Languages and Regular Expressions According to our definition, a language is regular if there exists a finite state automaton that accepts it. Therefore every regular language can be described
More informationTaibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103. Chapter 2. Sets
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 2 Sets Slides are adopted from Discrete Mathematics and It's Applications Kenneth H.
More informationL41: Lab 4 - The TCP State Machine
L41: Lab 4 - The TCP State Machine Dr Robert N. M. Watson 29 January 2016 Dr Robert N. M. Watson L41: Lab 4 - The TCP State Machine 29 January 2016 1 / 10 L41: Lab 4 - The TCP State Machine The TCP state
More informationRational subsets in HNN-extensions
Rational subsets in HNN-extensions G. Sénizergues joint work with M. Lohrey ROUPE DE TRAVAIL-LGL-28/02/06 1 0- PLAN 0 INTRODUCTION 0.1 Problems 0.2 Motivations 0.3 Results 0.4 Tools 1- HNN EXTENSIONS 1.1
More information1. Draw the state graphs for the finite automata which accept sets of strings composed of zeros and ones which:
P R O B L E M S Finite Autom ata. Draw the state graphs for the finite automata which accept sets of strings composed of zeros and ones which: a) Are a multiple of three in length. b) End with the string
More informationSérgio Campos, Edmund Clarke
Sérgio Campos, Edmund 1 / 23 Model checking is a technique that relies on building a finite model of a system and checking that a desired property holds in that model. The check is performed by an exhaustive
More informationNew York University Computer Science Department Courant Institute of Mathematical Sciences
New York University Computer Science Department Courant Institute of Mathematical Sciences Course Title: Data Communications & Networks Course Number: CSCI-GA.2662-001 Instructor: Jean-Claude Franchitti
More information9.5 Equivalence Relations
9.5 Equivalence Relations You know from your early study of fractions that each fraction has many equivalent forms. For example, 2, 2 4, 3 6, 2, 3 6, 5 30,... are all different ways to represent the same
More informationCounting multiplicity over infinite alphabets
Counting multiplicity over infinite alphabets Amal Dev Manuel and R. Ramanujam The Institute of Mathematical Sciences, Chennai, India {amal,jam}@imsc.res.in Summary Motivation for infinite data. We need
More informationTimed Automata From Theory to Implementation
Timed Automata From Theory to Implementation Patricia Bouyer LSV CNRS & ENS de Cachan France Chennai january 2003 Timed Automata From Theory to Implementation p.1 Roadmap Timed automata, decidability issues
More informationLecture 9: Reachability
Lecture 9: Reachability Outline of Lecture Reachability General Transition Systems Algorithms for Reachability Safety through Reachability Backward Reachability Algorithm Given hybrid automaton H : set
More informationCS402 - Theory of Automata Glossary By
CS402 - Theory of Automata Glossary By Acyclic Graph : A directed graph is said to be acyclic if it contains no cycles. Algorithm : A detailed and unambiguous sequence of instructions that describes how
More informationRegular Languages (14 points) Solution: Problem 1 (6 points) Minimize the following automaton M. Show that the resulting DFA is minimal.
Regular Languages (14 points) Problem 1 (6 points) inimize the following automaton Show that the resulting DFA is minimal. Solution: We apply the State Reduction by Set Partitioning algorithm (särskiljandealgoritmen)
More informationLexical Analysis. Lecture 3-4
Lexical Analysis Lecture 3-4 Notes by G. Necula, with additions by P. Hilfinger Prof. Hilfinger CS 164 Lecture 3-4 1 Administrivia I suggest you start looking at Python (see link on class home page). Please
More informationMath Introduction to Advanced Mathematics
Math 215 - Introduction to Advanced Mathematics Number Theory Fall 2017 The following introductory guide to number theory is borrowed from Drew Shulman and is used in a couple of other Math 215 classes.
More informationCSE 105 THEORY OF COMPUTATION
CSE 105 THEORY OF COMPUTATION Spring 2016 http://cseweb.ucsd.edu/classes/sp16/cse105-ab/ Today's learning goals Sipser Ch 3.2, 3.3 Define variants of TMs Enumerators Multi-tape TMs Nondeterministic TMs
More informationWe show that the composite function h, h(x) = g(f(x)) is a reduction h: A m C.
219 Lemma J For all languages A, B, C the following hold i. A m A, (reflexive) ii. if A m B and B m C, then A m C, (transitive) iii. if A m B and B is Turing-recognizable, then so is A, and iv. if A m
More informationGraphical Tool For SC Automata.
Graphical Tool For SC Automata. Honours Project: 2000 Dr. Padmanabhan Krishnan 1 Luke Haslett 1 Supervisor Abstract SC automata are a variation of timed automata which are closed under complementation.
More informationFormal Languages and Automata
Mobile Computing and Software Engineering p. 1/3 Formal Languages and Automata Chapter 3 Regular languages and Regular Grammars Chuan-Ming Liu cmliu@csie.ntut.edu.tw Department of Computer Science and
More informationAlphabets, strings and formal. An introduction to information representation
Alphabets, strings and formal languages An introduction to information representation 1 Symbols Definition: A symbol is an object endowed with a denotation (i.e. literal meaning) Examples: Variables are
More informationTimed Automata with Asynchronous Processes: Schedulability and Decidability
Timed Automata with Asynchronous Processes: Schedulability and Decidability Elena Fersman, Paul Pettersson and Wang Yi Uppsala University, Sweden Abstract. In this paper, we exend timed automata with asynchronous
More informationImplementation of Lexical Analysis
Outline Implementation of Lexical nalysis Specifying lexical structure using regular expressions Finite automata Deterministic Finite utomata (DFs) Non-deterministic Finite utomata (NFs) Implementation
More informationBehavioural Equivalences and Abstraction Techniques. Natalia Sidorova
Behavioural Equivalences and Abstraction Techniques Natalia Sidorova Part 1: Behavioural Equivalences p. p. The elevator example once more How to compare this elevator model with some other? The cabin
More informationModel Checking with Automata An Overview
Model Checking with Automata An Overview Vanessa D Carson Control and Dynamical Systems, Caltech Doyle Group Presentation, 05/02/2008 VC 1 Contents Motivation Overview Software Verification Techniques
More informationDiscrete Mathematics Lecture 4. Harper Langston New York University
Discrete Mathematics Lecture 4 Harper Langston New York University Sequences Sequence is a set of (usually infinite number of) ordered elements: a 1, a 2,, a n, Each individual element a k is called a
More informationEliminating the Storage Tape in Reachability Constructions
Eliminating the Storage Tape in Reachability Constructions Oscar H. Ibarra Department of Computer Science University of California Santa Barbara, CA 93106, USA Zhe Dang School of Electrical Engineering
More informationMaterial from Recitation 1
Material from Recitation 1 Darcey Riley Frank Ferraro January 18, 2011 1 Introduction In CSC 280 we will be formalizing computation, i.e. we will be creating precise mathematical models for describing
More informationReasoning about Timed Systems Using Boolean Methods
Reasoning about Timed Systems Using Boolean Methods Sanjit A. Seshia EECS, UC Berkeley Joint work with Randal E. Bryant (CMU) Kenneth S. Stevens (Intel, now U. Utah) Timed System A system whose correctness
More informationOn the Expressiveness of Infinite Behavior and Name Scoping in Process Calculi
On the Expressiveness of Infinite Behavior and Name Scoping in Process Calculi Pablo Giambiagi (KTH, Sweden) Gerardo Schneider (IRISA/INRIA) Speaker: Frank D. Valencia (Uppsala Univ., Sweden) FOSSACS 04,
More informationTimo Latvala. January 28, 2004
Reactive Systems: Kripke Structures and Automata Timo Latvala January 28, 2004 Reactive Systems: Kripke Structures and Automata 3-1 Properties of systems invariants: the system never reaches a bad state
More information3. Determine whether f is a function from the set of all bit strings to the set of integers if
Exercises Exercises 1. Why is f not a function from R to R if a) f(x) = 1/x? b) c) 2. Determine whether f is a function from Z to R if a) f(n) = ± n. b). c) f(n) = 1/(n2 4). 3. Determine whether f is a
More informationA Typed Lambda Calculus for Input Sanitation
A Typed Lambda Calculus for Input Sanitation Nathan Fulton Carthage College nfulton@carthage.edu April 11, 2013 Abstract Programmers often wish to validate or sanitize user input. One common approach to
More informationUTILIZATION OF TIMED AUTOMATA AS A VERIFICATION TOOL FOR REAL-TIME SECURITY PROTOCOLS
UTILIZATION OF TIMED AUTOMATA AS A VERIFICATION TOOL FOR REAL-TIME SECURITY PROTOCOLS A Thesis Submitted to the Graduate School of Engineering and Sciences of İzmir Institute of Technology in Partial Fulfillment
More informationVariants of Turing Machines
November 4, 2013 Robustness Robustness Robustness of a mathematical object (such as proof, definition, algorithm, method, etc.) is measured by its invariance to certain changes Robustness Robustness of
More informationT Reactive Systems: Kripke Structures and Automata
Tik-79.186 Reactive Systems 1 T-79.186 Reactive Systems: Kripke Structures and Automata Spring 2005, Lecture 3 January 31, 2005 Tik-79.186 Reactive Systems 2 Properties of systems invariants: the system
More informationImplementation of Lexical Analysis
Implementation of Lexical Analysis Lecture 4 (Modified by Professor Vijay Ganesh) Tips on Building Large Systems KISS (Keep It Simple, Stupid!) Don t optimize prematurely Design systems that can be tested
More informationAdministrivia. Lexical Analysis. Lecture 2-4. Outline. The Structure of a Compiler. Informal sketch of lexical analysis. Issues in lexical analysis
dministrivia Lexical nalysis Lecture 2-4 Notes by G. Necula, with additions by P. Hilfinger Moving to 6 Evans on Wednesday HW available Pyth manual available on line. Please log into your account and electronically
More informationNegations in Refinement Type Systems
Negations in Refinement Type Systems T. Tsukada (U. Tokyo) 14th March 2016 Shonan, JAPAN This Talk About refinement intersection type systems that refute judgements of other type systems. Background Refinement
More informationMA651 Topology. Lecture 4. Topological spaces 2
MA651 Topology. Lecture 4. Topological spaces 2 This text is based on the following books: Linear Algebra and Analysis by Marc Zamansky Topology by James Dugundgji Fundamental concepts of topology by Peter
More informationRewriting Models of Boolean Programs
Rewriting Models of Boolean Programs Javier Esparza University of Stuttgart Joint work with Ahmed Bouajjani Automatic verification using model-checking Initiated in the early 80s in USA and France. 25
More informationSequencing and control
Computer Mathematics Week 11 Sequencing and control Finite State Machines College of Information Science and Engineering Ritsumeikan University last week sequential digital circuits stateful logic level-triggered
More informationModel Checking for Hybrid Systems
Model Checking for Hybrid Systems Bruce H. Krogh Carnegie Mellon University Hybrid Dynamic Systems Models Dynamic systems with both continuous & discrete state variables Continuous-State Systems differential
More informationThompson groups, Cantor space, and foldings of de Bruijn graphs. Peter J. Cameron University of St Andrews
Thompson groups, Cantor space, and foldings of de Bruijn graphs Peter J Cameron University of St Andrews Breaking the boundaries University of Sussex April 25 The 97s Three groups I was born (in Paul Erdős
More information6.852 Lecture 17. Atomic objects Reading: Chapter 13 Next lecture: Atomic snapshot, read/write register
6.852 Lecture 17 Atomic objects Reading: Chapter 13 Next lecture: Atomic snapshot, read/write register Shared-memory model Single I/O automaton with locality restrictions doesn't exploit I/O automaton
More informationfor (i=1; i<=100000; i++) { x = sqrt (y); // square root function cout << x+i << endl; }
Ex: The difference between Compiler and Interpreter The interpreter actually carries out the computations specified in the source program. In other words, the output of a compiler is a program, whereas
More informationMulti-Clock Timed Networks
Multi-Clock Timed Networks arosh Aziz Abdulla, Johann Deneux, and ritha Mahata Dept of Information Technology Uppsala University Sweden parosh,johannd,pritha @ituuse Abstract We consider verification of
More informationFunctions 2/1/2017. Exercises. Exercises. Exercises. and the following mathematical appetizer is about. Functions. Functions
Exercises Question 1: Given a set A = {x, y, z} and a set B = {1, 2, 3, 4}, what is the value of 2 A 2 B? Answer: 2 A 2 B = 2 A 2 B = 2 A 2 B = 8 16 = 128 Exercises Question 2: Is it true for all sets
More informationOn the Recognizability of Arrow and Graph Languages
On the Recognizability of Arrow and Graph Languages Christoph Blume Sander Bruggink Barbara König Universität Duisburg-Essen, Germany Background Applications of finite automata and regular (word) languages
More informationPower Set of a set and Relations
Power Set of a set and Relations 1 Power Set (1) Definition: The power set of a set S, denoted P(S), is the set of all subsets of S. Examples Let A={a,b,c}, P(A)={,{a},{b},{c},{a,b},{b,c},{a,c},{a,b,c}}
More information1. (10 points) Draw the state diagram of the DFA that recognizes the language over Σ = {0, 1}
CSE 5 Homework 2 Due: Monday October 6, 27 Instructions Upload a single file to Gradescope for each group. should be on each page of the submission. All group members names and PIDs Your assignments in
More informationCSE 20 DISCRETE MATH. Fall
CSE 20 DISCRETE MATH Fall 2017 http://cseweb.ucsd.edu/classes/fa17/cse20-ab/ Final exam The final exam is Saturday December 16 11:30am-2:30pm. Lecture A will take the exam in Lecture B will take the exam
More informationOutline. Language Hierarchy
Outline Language Hierarchy Definition of Turing Machine TM Variants and Equivalence Decidability Reducibility Language Hierarchy Regular: finite memory CFG/PDA: infinite memory but in stack space TM: infinite
More informationSets 1. The things in a set are called the elements of it. If x is an element of the set S, we say
Sets 1 Where does mathematics start? What are the ideas which come first, in a logical sense, and form the foundation for everything else? Can we get a very small number of basic ideas? Can we reduce it
More informationComputer Sciences Department
1 Reference Book: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER 3 D E C I D A B I L I T Y 4 Objectives 5 Objectives investigate the power of algorithms to solve problems.
More informationAmbiguous Grammars and Compactification
Ambiguous Grammars and Compactification Mridul Aanjaneya Stanford University July 17, 2012 Mridul Aanjaneya Automata Theory 1/ 44 Midterm Review Mathematical Induction and Pigeonhole Principle Finite Automata
More informationA Characterization of the Chomsky Hierarchy by String Turing Machines
A Characterization of the Chomsky Hierarchy by String Turing Machines Hans W. Lang University of Applied Sciences, Flensburg, Germany Abstract A string Turing machine is a variant of a Turing machine designed
More information===Socket API User/ OS interface === COP
The COP (connection oriented reliable packet stream) protocol COP is a packet oriented transport protocol whose objective is to tame some aspects of the bad behavior of UDP. Application ===Socket API User/
More informationDecidable Problems. We examine the problems for which there is an algorithm.
Decidable Problems We examine the problems for which there is an algorithm. Decidable Problems A problem asks a yes/no question about some input. The problem is decidable if there is a program that always
More informationImplementation of Lexical Analysis. Lecture 4
Implementation of Lexical Analysis Lecture 4 1 Tips on Building Large Systems KISS (Keep It Simple, Stupid!) Don t optimize prematurely Design systems that can be tested It is easier to modify a working
More informationVerification of Infinite-State Dynamic Systems Using Approximate Quotient Transition Systems
IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL 46, NO 9, SEPTEMBER 2001 1401 Verification of Infinite-State Dynamic Systems Using Approximate Quotient Transition Systems Alongkrit Chutinan and Bruce H Krogh,
More informationChapter 3 Lexical Analysis
Chapter 3 Lexical Analysis Outline Role of lexical analyzer Specification of tokens Recognition of tokens Lexical analyzer generator Finite automata Design of lexical analyzer generator The role of lexical
More informationBy: Chaitanya Settaluri Devendra Kalia
By: Chaitanya Settaluri Devendra Kalia What is an embedded system? An embedded system Uses a controller to perform some function Is not perceived as a computer Software is used for features and flexibility
More informationLexical Analysis. Implementation: Finite Automata
Lexical Analysis Implementation: Finite Automata Outline Specifying lexical structure using regular expressions Finite automata Deterministic Finite Automata (DFAs) Non-deterministic Finite Automata (NFAs)
More informationCS4700/CS5700 Fundamentals of Computer Networks
CS4700/CS5700 Fundamentals of Computer Networks Lecture 14: TCP Slides used with permissions from Edward W. Knightly, T. S. Eugene Ng, Ion Stoica, Hui Zhang Alan Mislove amislove at ccs.neu.edu Northeastern
More informationL41: Lab 4 - The TCP State Machine
L41: Lab 4 - The TCP State Machine Dr Robert N. M. Watson Dr Graeme Jenkinson 3 February 2017 r Robert N. M. Watson, Dr Graeme Jenkinson L41: Lab 4 - The TCP State Machine 3 February 2017 1 / 11 L41: Lab
More informationCompiler course. Chapter 3 Lexical Analysis
Compiler course Chapter 3 Lexical Analysis 1 A. A. Pourhaji Kazem, Spring 2009 Outline Role of lexical analyzer Specification of tokens Recognition of tokens Lexical analyzer generator Finite automata
More informationAn Introduction to UPPAAL. Purandar Bhaduri Dept. of CSE IIT Guwahati
An Introduction to UPPAAL Purandar Bhaduri Dept. of CSE IIT Guwahati Email: pbhaduri@iitg.ernet.in OUTLINE Introduction Timed Automata UPPAAL Example: Train Gate Example: Task Scheduling Introduction UPPAAL:
More informationFine-grained Compatibility and Replaceability Analysis of Timed Web Service Protocols
Fine-grained Compatibility and Replaceability Analysis of Timed Web Service Protocols Julien Ponge 1,2, Boualem Benatallah 2, Fabio Casati 3 and Farouk Toumani 1 (1) Université Blaise Pascal, Clermont-Ferrand,
More informationPhil 320 Chapter 1: Sets, Functions and Enumerability I. Sets Informally: a set is a collection of objects. The objects are called members or
Phil 320 Chapter 1: Sets, Functions and Enumerability I. Sets Informally: a set is a collection of objects. The objects are called members or elements of the set. a) Use capital letters to stand for sets
More informationLecture 6: Faces, Facets
IE 511: Integer Programming, Spring 2019 31 Jan, 2019 Lecturer: Karthik Chandrasekaran Lecture 6: Faces, Facets Scribe: Setareh Taki Disclaimer: These notes have not been subjected to the usual scrutiny
More informationSafra's Büchi determinization algorithm
Safra's Büchi determinization algorithm Aditya Oak Seminar on Automata Theory 28 Jan 2016 Introduction Proposed by S. Safra in 1988 For determinization of non-deterministic Büchi automaton Gives equivalent
More informationUNIT I PART A PART B
OXFORD ENGINEERING COLLEGE (NAAC ACCREDITED WITH B GRADE) DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING LIST OF QUESTIONS YEAR/SEM: III/V STAFF NAME: Dr. Sangeetha Senthilkumar SUB.CODE: CS6503 SUB.NAME:
More informationEDAA40 At home exercises 1
EDAA40 At home exercises 1 1. Given, with as always the natural numbers starting at 1, let us define the following sets (with iff ): Give the number of elements in these sets as follows: 1. 23 2. 6 3.
More informationReflection in the Chomsky Hierarchy
Reflection in the Chomsky Hierarchy Henk Barendregt Venanzio Capretta Dexter Kozen 1 Introduction We investigate which classes of formal languages in the Chomsky hierarchy are reflexive, that is, contain
More informationEquivalence of NTMs and TMs
Equivalence of NTMs and TMs What is a Turing Machine? Similar to a finite automaton, but with unlimited and unrestricted memory. It uses an infinitely long tape as its memory which can be read from and
More informationChapter Seven: Regular Expressions. Formal Language, chapter 7, slide 1
Chapter Seven: Regular Expressions Formal Language, chapter 7, slide The first time a young student sees the mathematical constant π, it looks like just one more school artifact: one more arbitrary symbol
More information1 Elementary number theory
1 Elementary number theory We assume the existence of the natural numbers and the integers N = {1, 2, 3,...} Z = {..., 3, 2, 1, 0, 1, 2, 3,...}, along with their most basic arithmetical and ordering properties.
More informationPast Pushdown Timed Automata and Safety Verification
Past Pushdown Timed Automata and Safety Verification Zhe Dang, Tevfik Bultan, Oscar H. Ibarra, and Richard A. Kemmerer Abstract We consider past pushdown timed automata that are discrete pushdown timed
More informationTh(N, +) is decidable
Theorem 6.12 Th(N, +) is decidable Presented by: Brian Lee Two Domains 1. We can give an algorithm to decide truth 2. A problem is undecidable First Order Logic Also known as First order predicate calculus
More information