Timed Automata Formal Systems Pallab Dasgupta Professor,

Slides:



Advertisements
Similar presentations
Timed Automata Rajeev Alur University of Pennsylvania SFM-RT, Bertinoro, Sept 2004.
Advertisements

Real-Time Systems, DTU, Feb 15, 2000 Paul Pettersson, BRICS, Aalborg, Denmark. Timed Automata and Timed Computation Tree Logic Paul Pettersson
Real-Time Systems, DTU, Feb 29, 2000 Paul Pettersson, BRICS, Aalborg, Denmark. UPPAAL’s Modeling and Specification Language & Philips Bounded Retransmission.
UCb Symbolic Reachability and Beyound or how UPPAAL really works Kim Guldstrand Larsen
Algorithmic Software Verification VII. Computation tree logic and bisimulations.
Automatic Verification Book: Chapter 6. What is verification? Traditionally, verification means proof of correctness automatic: model checking deductive:
UPPAAL Introduction Chien-Liang Chen.
Hybrid Systems Presented by: Arnab De Anand S. An Intuitive Introduction to Hybrid Systems Discrete program with an analog environment. What does it mean?
Timed Automata.
Introduction to Uppaal ITV Multiprogramming & Real-Time Systems Anders P. Ravn Aalborg University May 2009.
UPPAAL Andreas Hadiyono Arrummaisha Adrifina Harya Iswara Aditya Wibowo Juwita Utami Putri.
CSE 522 UPPAAL – A Model Checking Tool Computer Science & Engineering Department Arizona State University Tempe, AZ Dr. Yann-Hang Lee
ESE601: Hybrid Systems Some tools for verification Spring 2006.
Compatibility between shared variable valuations in timed automaton network model- checking Zhao Jianhua, Zhou Xiuyi, Li Xuandong, Zheng Guoliang Presented.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Model Checking for Probabilistic Timed Systems Jeremy Sproston Università di Torino VOSS Dagstuhl seminar 9th December 2002.
Review of topics Final exam : -May 2nd to May 7 th - Projects due on May 7th.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Discrete Abstractions of Hybrid Systems Rajeev Alur, Thomas A. Henzinger, Gerardo Lafferriere and George J. Pappas.
Languages. A Language is set of finite length strings on the symbol set i.e. a subset of (a b c a c d f g g g) At this point, we don’t care how the language.
Scheduling Using Timed Automata Borzoo Bonakdarpour Wednesday, April 13, 2005 Selected Topics in Algorithms and Complexity (CSE960)
Sanjit A. Seshia and Randal E. Bryant Computer Science Department
CaV 2003 CbCb 1 Concurrency and Verification What? Why? How?
Languages. A Language is set of finite length strings on the symbol set i.e. a subset of (a b c a c d f g g g) At this point, we don’t care how the language.
1 Translating from LTL to automata. 2 Why translating? Want to write the specification in some logic. Want to check that an automaton (or a Kripke structure)
Timed UML State Machines Ognyana Hristova Tutor: Priv.-Doz. Dr. Thomas Noll June, 2007.
Models of Computation: FSM Model Reading: L. Lavagno, A.S. Vincentelli and E. Sentovich, “Models of computation for Embedded System Design”
Benjamin Gamble. What is Time?  Can mean many different things to a computer Dynamic Equation Variable System State 2.
1 An Introduction to Formal Languages and Automata Provided by : Babak Salimi webAdd:
Transformation of Timed Automata into Mixed Integer Linear Programs Sebastian Panek.
1 Unit 1: Automata Theory and Formal Languages Readings 1, 2.2, 2.3.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Software Verification 2 Automated Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität and Fraunhofer Institut für.
Lecture51 Timed Automata II CS 5270 Lecture 5.
CS5270 Lecture 41 Timed Automata I CS 5270 Lecture 4.
Lecture 81 Regional Automaton CS 5270 Lecture 8. Lecture 82 What We Need to Do Problem: –We need to analyze the timed behavior of a TTS. –The timed behavior.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Introduction Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering,
Lecture 81 Optimizing CTL Model checking + Model checking TCTL CS 5270 Lecture 9.
1 Outline:  Optimization of Timed Systems  TA-Modeling of Scheduling Tasks  Transformation of TA into Mixed-Integer Programs  Tree Search for TA using.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Synchronous Protocol Automata. Formal definitions Definition 1 A synchronous protocol automaton P is defined as a tuple (Q,S,D,V,A,->,clk,q0,qf) Channels.
1 Model Checking of of Timed Systems Rajeev Alur University of Pennsylvania.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
CSCI1600: Embedded and Real Time Software Lecture 28: Verification I Steven Reiss, Fall 2015.
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Hamiltonian Cycles Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering,
ECE/CS 584: Verification of Embedded Computing Systems Model Checking Timed Automata Sayan Mitra Lecture 09.
Variants of LTL Query Checking Hana ChocklerArie Gurfinkel Ofer Strichman IBM Research SEI Technion Technion - Israel Institute of Technology.
From Natural Language to LTL: Difficulties Capturing Natural Language Specification in Formal Languages for Automatic Analysis Elsa L Gunter NJIT.
ECE/CS 584: Verification of Embedded Computing Systems Timed to Hybrid Automata Sayan Mitra (edited by Yu Wang) Lecture 10.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
CS5270 Lecture 41 Timed Automata I CS 5270 Lecture 4.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Complexity of Compositional Model Checking of Computation Tree Logic on Simple Structures Krishnendu Chatterjee Pallab Dasgupta P.P. Chakrabarti IWDC 2004,
UPPAAL Real-Time Systems Lab. Seolyoung, Jeong.
Probabilistic Timed Automata
SS 2017 Software Verification Timed Automata
Sequential Flexibility
Hardware Verification
Timed Automata II CS 5270 Lecture Lecture5.
Instructor: Rajeev Alur
Program Synthesis is a Game
Arithmetic Constraints and Automata
Context-free Languages
CSEP590 – Model Checking and Automated Verification
The Balanced Sliding Window Protocol
Scalability in Model Checking
Graph Theory: Degree Sequences and Digraphs
Course: CS60030 FORMAL SYSTEMS
Presentation transcript:

Timed Automata Formal Systems Pallab Dasgupta Professor, Dept. of Computer Sc & Engg INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR

Simple Light Control Press Off Light Bright Press Press Press WANT: if press is issued twice quickly then the light will get brighter; otherwise the light is turned off. The source of some of these slides are from Prof. Rajeev Alur’s presentations

Simple Light Control Solution: Add a real-valued clock x Press Off x:=0 Light Bright Press Press x<=3 x>3 Press Solution: Add a real-valued clock x Adding continuous variables to state machines

Timed Automata Clocks: x, y State Guard Boolean combination of comparisons with Integer/rational bounds n Reset Action performed on clocks Action used for synchronization x<=5 & y>3 State ( location , x=v , y=u ) where v,u are in R a x := 0 Transitions ( n , x=2.4 , y=3.1415 ) ( m , x=0 , y=3.1415 ) a m ( n , x=2.4 , y=3.1415 ) ( n , x=3.5 , y=4.2415 ) wait(1.1)

Adding Invariants Clocks: x, y Transitions ( n , x=2.4 , y=3.1415 ) wait(3.2) Location Invariants ( n , x=2.4 , y=3.1415 ) a wait(1.1) ( n , x=2.4 , y=3.1415 ) ( n , x=3.5 , y=4.2415 ) x := 0 m y<=10 g4 g1 g3 Invariants ensure progress!! g2

Timed Automata: Syntax A finite set V of locations A subset V0 of initial locations A finite set S of labels (alphabet) A finite set X of clocks Invariant Inv(l) for each location: (clock constraint over X) A finite set E of edges. Each edge has source location l, target location l’ label a in S (e labels also allowed) guard g (a clock constraint over X) a subset I of clocks to be reset

Timed Automata: Semantics For a timed automaton A, define an infinite-state transition system S(A) States Q: a state q is a pair (l,v), where l is a location, and η is a clock vector, mapping clocks in X to R, satisfying Inv(l) (l,v) is initial state if l is in V0 and η(x)=0 Elapse of time transitions: for each nonnegative real number d, (l, η) →(l, η+d) if both η and η+d satisfy Inv(l) Location switch transitions: (l, η) → (l’, η’) if there is an edge (l,a,g,l,l’) such that η satisfies g and η’= η[l:=0] d a

Product Construction C D y<4 A B x<4 AC BC x<4 AD y<4 e f g g C D y<4 y:=0 y>3 f f| f,y:=0 A B x<4 x:=0 x>3 e f e | e,x:=0 AC BC x<4 x:=0 x>3 e f, y:=0 e| e,x:=0 AD y<4 y>3 g BD x>3, f| x>3, f,y:=0 e, x:=0

Timed Automata Model of a small Jobshop Must rest for at least 5 mins Cant work for more than 60 minutes x  10 x  60 y  4 Rest Work hit start done x  5 x  40 y  1 x := 0 y := 0 Cant rest for more than 10 mins At least one nail every 4 minutes At most one nail every minute Must work for at least 40 minutes

Verification System modeled as a product of timed automata Verification problem reduced to reachability or to temporal logic model checking Applications Real-time controllers Asynchronous timed circuits Scheduling Distributed timing-based algorithms