Formal Verification by Model Checking

Size: px
Start display at page:

Download "Formal Verification by Model Checking"

Transcription

1 Outline Formal Verifiation by Model Cheking Natasha Sharygina Carnegie Mellon University Guest Letures at the Analysis of Software Artifats Class, Spring Leture 1: Overview of Model Cheking Leture 2: Complexity Redution Tehniques Leture 3: Software Verifiation Leture 4: State/Event-based software model heking Leture 5: Component Substitutability Leture 6: Model Cheking Pratium (Student Reports on the Lab exerises) 2 Today s Leture Temporal Logi Model Cheking Motivation Model Cheking Overview Motivation More and more omplex systems => exploding testing osts Inreased dependability => quality onerns Inreased funtionality 3 4 1

2 v EEF NASA Robot Controller v EEF Verifiation Properties ee_referene=0; end_position=0; EE6: MoveEndEffetor(EE_ID) Idle EE5: bak(ee_id) Initial Following positioning Desired EE3: BaktoIdle(EE_ID) Trajetory EE2: ChekLimits(EE_ID) ee_referene=1;.. For (int i=0;i<6;i++){ if(current_position>=final_point) if (Current_position[i]>Limit[i]{ end_position=1; End_position=1;}} EE4: ChekConstraints(EE_ID) Cheking onstraints EndEffetor Foreah Joint{ Generate J1:Configure(Joint(Joint_ID).Joint_ID);} arm_status=0; MovingJoints A1:Valid(Arm_ID) A2: NotValidConfiguration(Arm_ID) A3:toNotValidState(Arm_ID Valid ) Not_Valid arm_status=0; arm_status=1; A4:toValidState(Arm_ID) A5:stop(Arm_ID) stopped abort_var=1; Arm A6:terminate(Arm_ID) 5 Configuration Validity Chek If the EndEffetor is in the FollowingDesiredTrajetory state, then the Arm is in the Valid state Always((ee_referene=1) ->(arm_status=1)) Safety If the EndEffetor reahes an undesired position, then the program terminates prior to a new move of the EndEffetor AfterAlwaysUntil(undesired_position =1,ee_referene=1,abort_var=1) 6 v EEF Verifiation Properties Configuration Validity Chek (FALSE) If the EndEffetor is in the FollowingDesiredTrajetory state, then the Arm is in the Valid state Why is this hard? Generating all possible paths of exeution is hard; ask any testing expert. In partiular, foring a olletion of (potentially distributed) proesses to exeute in all possible relative orders is notoriously diffiult. A B A B Always((ee_referene=1) ->(arm_status=1)) C D C D E F E F 7 8 2

3 Motivation What are the problems with the analysis tehniques you have learned so far? - not exhaustive (missed behaviors) - not all are automated (manual reviews, manual testing) - do not sale (large programs are hard to handle) - no guarantee of results (no mathematial proofs) - onurreny problems Formal Verifiation by Model Cheking Domain: Continuously operating onurrent systems (e.g. operating systems, hardware ontrollers and network protools) Ongoing, reative semantis Non-terminating, infinite omputations Manifest non-determinism Instrument: Temporal logi [Pnueli 77] is a formalism for reasoning about behavior of reative systems Need for automated, exhaustive and mathematially sound analysis! 9 10 Temporal Logi Model Cheking [Clarke,Emerson 81][Queille,Sifakis 82] Temporal Logi Model Cheking Systems are modeled by finite state mahines Properties are written in propositional temporal logi Verifiation proedure is an exhaustive searh of the state spae of the design Finite State Mahine Preproessor Property Diagnosti ounterexamples Model Cheker True or Counterexample

4 What is Model Cheking? What is M? Does model M satisfy a property P? (written M = P) What is M? States: valuations to all variables Initial states: subset of states Ars: transitions between states What is P? Atomi Propositions: e.g. x = 5, y = true b What is satisfy? Observation (olor): Valuation to all atomi propositions State Transition Graph or Kripke Model What is M? Model of Computation M = W, I, R, L, Γ W - set of states I W set of initial states R W X W - set of ars L - set of atomi propositions b b Γ : W 2 L mapping from states to olors State Transition Graph Infinite Computation Tree Unwind State Graph to obtain Infinite Tree. 15 A trae is an infinite sequene of states. 16 4

5 Semantis What is P? Different kinds of temporal logis b Syntax: What are the formulas in the logi? b Semantis: formula P? What does it mean for model M to satisfy State Transition Graph Infinite Computation Tree The semantis of a FSM is a set of traes. Semantis of the omposition of FSMs is the intersetion of traes of individual FSMs. 17 Formulas: - Atomi propositions: properties of states - Temporal Logi Speifiations: properties of traes. 18 Computation Tree Logis Computation Tree Logis Examples: Safety (mutual exlusion): no two proesses an be at a ritial setion at the same time Formulas are onstruted from path quantifiers and temporal operators: Liveness (absene of starvation): every request will be eventually granted Temporal logis differ aording to how they handle branhing in the underlying omputation tree. In a linear temporal logi (LTL), operators are provided for desribing system behavior along a single omputation path. 1. Path Quantifiers: A for every path E there exists a path 2. Temporal Operator: Xα - α holds next time Fα - α holds sometime in the future Gα - α holds globally in the future α U - α holds until holds In ranhing-time logi (CTL), the temporal operators quantify over the paths that are possible from a given state

6 The Logi LTL The Logi CTL Linear Time Logi (LTL) [Pnueli 77]: logi of temporal sequenes. In ranhing-time logi (CTL), the temporal operators quantify over the paths that are possible from a given state (s 0 ). AXα: α holds in the next state α AFγ: γ holds eventually Aλ: λ holds from now on λ λ γ λ λ M, s 0 = AG M, s 0 = AF α U β: α holds until β holds α α β 21 M, s 0 = EF M, s 0 = EG 22 Typial CTL Formulas Robot Controller System EF (Started Ready): it is possible to get to a state where Started holds but Ready does not hold. AG (Req AF Ak): if Request ours, then it will be eventually Aknowledged. AG (DevieEnabled): DevieEnabled holds infinitely often on every omputation path. AG (EF Restart): from any state it is possible to get to the Restart state. 23 ee_referene=0; end_position=0; EE6: MoveEndEffetor(EE_ID) Idle EE5: bak(ee_id) Initial Following positioning Desired EE3: BaktoIdle(EE_ID) Trajetory EE2: ChekLimits(EE_ID) ee_referene=1;.. For (int i=0;i<6;i++){ if(current_position>=final_point) if (Current_position[i]>Limit[i]{ end_position=1; End_position=1;}} EE4: ChekConstraints(EE_ID) Cheking onstraints EndEffetor Foreah Joint{ Generate J1:Configure(Joint(Joint_ID).Joint_ID);} arm_status=0; MovingJoints A1:Valid(Arm_ID) A2: NotValidConfiguration(Arm_ID) A3:toNotValidState(Arm_ID Valid ) Not_Valid arm_status=0; arm_status=1; A4:toValidState(Arm_ID) A5:stop(Arm_ID) stopped A6:terminate(Arm_ID) abort_var=1; Arm 24 6

7 Examples of the Robot Control Properties Safety Operation: If the EndEffetor reahes an undesired position, then the program terminates prior to a new move of the EndEffetor AfterAlwaysUntil(undesired_position =1,ee_referene=1,abort_var=1) Configuration Validity Chek: If an instane of EndEffetor is in the FollowingDesiredTrajetory state, then the instane of the orresponding Arm lass is in the Valid state Always((ee_referene=1) ->(arm_status=1) Control Termination: Eventually the robot ontrol terminates Linear vs. branhing-time logis some advantages of LTL LTL properties are preserved under abstration : i.e., if M approximates a more omplex model M, by introduing more paths, then M ² ψ ) M ² ψ ounterexamples for LTL are simpler: onsisting of single exeutions (rather than trees). The automata-theoreti approah to LTL model heking is simpler (no tree automata involved). anedotally, it seems most properties people are interested in are linear-time properties. some advantages of BT logis BT allows expression of some useful properties like reset. CTL, a limited fragment of the more omplete BT logi CTL*, an be model heked in time linear in the formula size (as well as in the transition system). But formulas are usually far smaller than system models, so this isn t as important as it may first seem. Some BT logis, like µ-alulus and CTL, are well-suited for the kind of fixed-point omputation sheme used in symboli model heking. EventuallyAlways(abort_var=1) What is satisfy? M satisfies P if all the reahable states satisfy P Different Algorithms to hek if M = P. Common Feature: Exhaustive State Spae Exploration! Expliit state spae exploration: 1) Invariant heking Algorithm. Invariant: ϕ: What is satisfy? atomi propositions (e.g. x =5, b=true) ϕ ϕ ψ ϕ ψ 27 satisfation: M satisfies ϕ if all the reahable states satisfy ϕ 28 7

8 Invariant heking Algorithm Refinement Does M satisfy P? 1. Start at the initial states and explore the states of M using DFS or BFS. r 1 r 2 r 1 F r 2 G 1 G 2 g 1 g 2 Idea: Implementation Speifiation 2. In any state, if P is violated then print an error trae. 3. If all reahable states have been visited then say yes. r 1 ~r 1 F 1 ~r F 2 2 g 1 Every behavior of the implementation should be an allowable behavior of the speifiation. Model heking omplexity: M r 2 r 1 r 2 G 1 G 2 g Every trae of M is a trae of S Language Containment M S - Linear Time Every formula in linear logi (LTL) satisfied by S, is also satisfied by M Complexity: M * 2 S In pratie an be done using reahability Symboli State Spae Exploration What is satisfy? (ont.) a 0 1 b b d d d d d d d d Idea: to use Boolean enoding for state mahine and sets of states. Compat representation of transition relations. Can handle muh larger designs hundreds of state variables BDDs traditionally used to represent Boolean funtions

9 State Spae Explosion Problem: Size of the state graph an be exponential in size of the program (both in the number of the program variables and the number of program omponents) Model Cheking Performane Model Chekers today an routinely handle systems with between 100 and 300 state variables. M = M 1 M n If eah M i has just 2 loal states, potentially 2 n global states Systems with reahable states have been heked. By using appropriate abstration tehniques, systems with an essentially unlimited number of states an be heked. Researh Diretions: State spae redution (next lass) Notable Examples IEEE Salable Coherent Interfae In 1992 Dill s group at Stanford used Murphi to find several errors, ranging from uninitialized variables to subtle logial errors IEEE Futurebus In 1992 Clarke s group at CMU found previously undeteted design errors PowerSale multiproessor (proessor, memory ontroller, and bus arbiter) was verified by Verimag researhers using CAESAR toolbox The Grand Challenge: Model Chek Software Extrat finite state mahines from programs written in onventional programming languages Use a finite state programming language: exeutable design speifiations (Stateharts, xuml, et.). Unroll the state mahine obtained from the exeutable of the program. Luent teleom. protools were verified by FormalChek errors leading to lost transitions were identified PowerPC 620 Miroproessor was verified by Motorola s Verdit 35 model heker. 36 9

10 The Grand Challenge: Model Chek Software Use a ombination of the state spae redution tehniques to avoid generating too many states. Verisoft (Bell Labs) FormalChek/xUML (UT Austin, Bell Labs) ComFoRT (CMU/SEI) Use stati analysis to extrat a finite state skeleton from a program. Model hek the result. Bandera Kansas State Java PathFinder NASA Ames SLAM/Bebop - Mirosoft 37 10

Abstractions and Decision Procedures for Effective Software Model Checking

Abstractions and Decision Procedures for Effective Software Model Checking Abstractions and Decision Procedures for Effective Software Model Checking Prof. Natasha Sharygina The University of Lugano, Carnegie Mellon University Microsoft Summer School, Moscow, July 2011 Lecture

More information

FORMAL METHODS LECTURE VI BINARY DECISION DIAGRAMS (BDD S)

FORMAL METHODS LECTURE VI BINARY DECISION DIAGRAMS (BDD S) Alessandro Artale (FM First Semester 2009/2010) p. 1/38 FORMAL METHODS LECTURE VI BINARY DECISION DIAGRAMS (BDD S) Alessandro Artale Faulty of Computer Siene Free University of Bolzano artale@inf.unibz.it

More information

Model Checking. Boris Feigin March 9, University College London

Model Checking. Boris Feigin March 9, University College London b.feigin@cs.ucl.ac.uk University College London March 9, 2005 Outline 1 2 Techniques Symbolic 3 Software 4 Vs. Deductive Verification Summary Further Reading In a nutshell... Model checking is a collection

More information

Control Theory association of mathematics and engineering

Control Theory association of mathematics and engineering Control Theory assoiation of mathematis and engineering Wojieh Mitkowski Krzysztof Oprzedkiewiz Department of Automatis AGH Univ. of Siene & Tehnology, Craow, Poland, Abstrat In this paper a methodology

More information

Pushdown Specifications

Pushdown Specifications Orna Kupferman Hebrew University Pushdown Speifiations Nir Piterman Weizmann Institute of Siene une 9, 2002 Moshe Y Vardi Rie University Abstrat Traditionally, model heking is applied to finite-state systems

More information

Formal Specification for Transportation Cyber Physical Systems

Formal Specification for Transportation Cyber Physical Systems Formal Speifiation for Transportation Cyber Physial Systems ihen Zhang, Jifeng He and Wensheng Yu Shanghai Key aboratory of Trustworthy Computing East China Normal University Shanghai 200062, China Zhanglihen1962@163.om

More information

Chapter 8 Hypothesis Testing

Chapter 8 Hypothesis Testing Leture 5 for BST 63: Statistial Theory II Kui Zhang, Spring Chapter 8 Hypothesis Testing Setion 8 Introdution Definition 8 A hypothesis is a statement about a population parameter Definition 8 The two

More information

Maximum Entropy and Exponential Families

Maximum Entropy and Exponential Families Maximum Entropy and Exponential Families April 9, 209 Abstrat The goal of this note is to derive the exponential form of probability distribution from more basi onsiderations, in partiular Entropy. It

More information

Finite-State Model Checking

Finite-State Model Checking EECS 219C: Computer-Aided Verification Intro. to Model Checking: Models and Properties Sanjit A. Seshia EECS, UC Berkeley Finite-State Model Checking G(p X q) Temporal logic q p FSM Model Checker Yes,

More information

Reliability Guaranteed Energy-Aware Frame-Based Task Set Execution Strategy for Hard Real-Time Systems

Reliability Guaranteed Energy-Aware Frame-Based Task Set Execution Strategy for Hard Real-Time Systems Reliability Guaranteed Energy-Aware Frame-Based ask Set Exeution Strategy for Hard Real-ime Systems Zheng Li a, Li Wang a, Shuhui Li a, Shangping Ren a, Gang Quan b a Illinois Institute of ehnology, Chiago,

More information

Formal Verification SE303 Conception des systèmes sur puces (SoC)

Formal Verification SE303 Conception des systèmes sur puces (SoC) Formal Verifiation SE33 Coneption des systèmes sur pues (SoC) Ulrih Kühne 29//27 Outline Introdution Short History of Hardware Failures Design and Verifiation Proess Funtional Verifiation Ciruit Models

More information

Temporal Logic Model Checking

Temporal Logic Model Checking 18 Feb, 2009 Thomas Wahl, Oxford University Temporal Logic Model Checking 1 Temporal Logic Model Checking Thomas Wahl Computing Laboratory, Oxford University 18 Feb, 2009 Thomas Wahl, Oxford University

More information

A brief history of model checking. Ken McMillan Cadence Berkeley Labs

A brief history of model checking. Ken McMillan Cadence Berkeley Labs A brief history of model checking Ken McMillan Cadence Berkeley Labs mcmillan@cadence.com Outline Part I -- Introduction to model checking Automatic formal verification of finite-state systems Applications

More information

Model Checking: An Introduction

Model Checking: An Introduction Model Checking: An Introduction Meeting 3, CSCI 5535, Spring 2013 Announcements Homework 0 ( Preliminaries ) out, due Friday Saturday This Week Dive into research motivating CSCI 5535 Next Week Begin foundations

More information

Digital Systems. Validation, verification. R. Pacalet January 4, 2018

Digital Systems. Validation, verification. R. Pacalet January 4, 2018 Digital Systems Validation, verification R. Pacalet January 4, 2018 2/98 Simulation Extra design tasks Reference model Simulation environment A simulation cannot be exhaustive Can discover a bug Cannot

More information

Model Checking. Temporal Logic. Fifth International Symposium in Programming, volume. of concurrent systems in CESAR. In Proceedings of the

Model Checking. Temporal Logic. Fifth International Symposium in Programming, volume. of concurrent systems in CESAR. In Proceedings of the Sérgio Campos, Edmund Why? Advantages: No proofs Fast Counter-examples No problem with partial specifications can easily express many concurrency properties Main Disadvantage: State Explosion Problem Too

More information

Hankel Optimal Model Order Reduction 1

Hankel Optimal Model Order Reduction 1 Massahusetts Institute of Tehnology Department of Eletrial Engineering and Computer Siene 6.245: MULTIVARIABLE CONTROL SYSTEMS by A. Megretski Hankel Optimal Model Order Redution 1 This leture overs both

More information

Model for reactive systems/software

Model for reactive systems/software Temporal Logics CS 5219 Abhik Roychoudhury National University of Singapore The big picture Software/ Sys. to be built (Dream) Properties to Satisfy (caution) Today s lecture System Model (Rough Idea)

More information

CS 687 Jana Kosecka. Uncertainty, Bayesian Networks Chapter 13, Russell and Norvig Chapter 14,

CS 687 Jana Kosecka. Uncertainty, Bayesian Networks Chapter 13, Russell and Norvig Chapter 14, CS 687 Jana Koseka Unertainty Bayesian Networks Chapter 13 Russell and Norvig Chapter 14 14.1-14.3 Outline Unertainty robability Syntax and Semantis Inferene Independene and Bayes' Rule Syntax Basi element:

More information

Structural Reconfiguration of Systems under Behavioral Adaptation

Structural Reconfiguration of Systems under Behavioral Adaptation Strutural Reonfiguration of Systems under Behavioral Adaptation Carlos Canal a, Javier Cámara b, Gwen Salaün a Department of Computer Siene, University of Málaga, Spain b Department of Informatis Engineering,

More information

Algorithmic verification

Algorithmic verification Algorithmic verification Ahmed Rezine IDA, Linköpings Universitet Hösttermin 2018 Outline Overview Model checking Symbolic execution Outline Overview Model checking Symbolic execution Program verification

More information

IMPEDANCE EFFECTS OF LEFT TURNERS FROM THE MAJOR STREET AT A TWSC INTERSECTION

IMPEDANCE EFFECTS OF LEFT TURNERS FROM THE MAJOR STREET AT A TWSC INTERSECTION 09-1289 Citation: Brilon, W. (2009): Impedane Effets of Left Turners from the Major Street at A TWSC Intersetion. Transportation Researh Reord Nr. 2130, pp. 2-8 IMPEDANCE EFFECTS OF LEFT TURNERS FROM THE

More information

Bounded Model Checking with SAT/SMT. Edmund M. Clarke School of Computer Science Carnegie Mellon University 1/39

Bounded Model Checking with SAT/SMT. Edmund M. Clarke School of Computer Science Carnegie Mellon University 1/39 Bounded Model Checking with SAT/SMT Edmund M. Clarke School of Computer Science Carnegie Mellon University 1/39 Recap: Symbolic Model Checking with BDDs Method used by most industrial strength model checkers:

More information

Estimating the probability law of the codelength as a function of the approximation error in image compression

Estimating the probability law of the codelength as a function of the approximation error in image compression Estimating the probability law of the odelength as a funtion of the approximation error in image ompression François Malgouyres Marh 7, 2007 Abstrat After some reolletions on ompression of images using

More information

Lecture 2: Symbolic Model Checking With SAT

Lecture 2: Symbolic Model Checking With SAT Lecture 2: Symbolic Model Checking With SAT Edmund M. Clarke, Jr. School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213 (Joint work over several years with: A. Biere, A. Cimatti, Y.

More information

Software Verification using Predicate Abstraction and Iterative Refinement: Part 1

Software Verification using Predicate Abstraction and Iterative Refinement: Part 1 using Predicate Abstraction and Iterative Refinement: Part 1 15-414 Bug Catching: Automated Program Verification and Testing Sagar Chaki November 28, 2011 Outline Overview of Model Checking Creating Models

More information

Parallel disrete-event simulation is an attempt to speed-up the simulation proess through the use of multiple proessors. In some sense parallel disret

Parallel disrete-event simulation is an attempt to speed-up the simulation proess through the use of multiple proessors. In some sense parallel disret Exploiting intra-objet dependenies in parallel simulation Franeso Quaglia a;1 Roberto Baldoni a;2 a Dipartimento di Informatia e Sistemistia Universita \La Sapienza" Via Salaria 113, 198 Roma, Italy Abstrat

More information

23.1 Tuning controllers, in the large view Quoting from Section 16.7:

23.1 Tuning controllers, in the large view Quoting from Section 16.7: Lesson 23. Tuning a real ontroller - modeling, proess identifiation, fine tuning 23.0 Context We have learned to view proesses as dynami systems, taking are to identify their input, intermediate, and output

More information

Handling Uncertainty

Handling Uncertainty Handling Unertainty Unertain knowledge Typial example: Diagnosis. Name Toothahe Cavity Can we ertainly derive the diagnosti rule: if Toothahe=true then Cavity=true? The problem is that this rule isn t

More information

Chapter 3 Church-Turing Thesis. CS 341: Foundations of CS II

Chapter 3 Church-Turing Thesis. CS 341: Foundations of CS II CS 341: Foundations of CS II Marvin K. Nakayama Computer Siene Department New Jersey Institute of Tehnology Newark, NJ 07102 CS 341: Chapter 3 3-2 Contents Turing Mahines Turing-reognizable Turing-deidable

More information

Planning with Uncertainty in Position: an Optimal Planner

Planning with Uncertainty in Position: an Optimal Planner Planning with Unertainty in Position: an Optimal Planner Juan Pablo Gonzalez Anthony (Tony) Stentz CMU-RI -TR-04-63 The Robotis Institute Carnegie Mellon University Pittsburgh, Pennsylvania 15213 Otober

More information

On the Designs and Challenges of Practical Binary Dirty Paper Coding

On the Designs and Challenges of Practical Binary Dirty Paper Coding On the Designs and Challenges of Pratial Binary Dirty Paper Coding 04 / 08 / 2009 Gyu Bum Kyung and Chih-Chun Wang Center for Wireless Systems and Appliations Shool of Eletrial and Computer Eng. Outline

More information

Statistical physics analysis of the computational complexity of solving random satisfiability problems using backtrack algorithms

Statistical physics analysis of the computational complexity of solving random satisfiability problems using backtrack algorithms Eur. Phys. J. B, 55 53 ) THE EUROPEAN PHYSICAL JOURNAL B EDP Sienes Soietà Italiana di Fisia Springer-Verlag Statistial physis analysis of the omputational omplexity of solving random satisfiability problems

More information

Indexing and Efficient Instance-based Retrieval of Process Models Using Untanglings

Indexing and Efficient Instance-based Retrieval of Process Models Using Untanglings Indexing and Effiient Instane-based Retrieval of Proess Models Using Untanglings Artem Polyvyanyy 1, Marello La Rosa 1,2, and Arthur H.M. ter Hofstede 1,3 1 Queensland University of Tehnology, Brisbane,

More information

Double Header. Model Checking. Model Checking. Overarching Plan. Take-Home Message. Spoiler Space. Topic: (Generic) Model Checking

Double Header. Model Checking. Model Checking. Overarching Plan. Take-Home Message. Spoiler Space. Topic: (Generic) Model Checking Double Header Model Checking #1 Two Lectures Model Checking SoftwareModel Checking SLAM and BLAST Flying Boxes It is traditional to describe this stuff (especially SLAM and BLAST) with high-gloss animation

More information

Modeling of discrete/continuous optimization problems: characterization and formulation of disjunctions and their relaxations

Modeling of discrete/continuous optimization problems: characterization and formulation of disjunctions and their relaxations Computers and Chemial Engineering (00) 4/448 www.elsevier.om/loate/omphemeng Modeling of disrete/ontinuous optimization problems: haraterization and formulation of disjuntions and their relaxations Aldo

More information

3-Valued Abstraction-Refinement

3-Valued Abstraction-Refinement 3-Valued Abstraction-Refinement Sharon Shoham Academic College of Tel-Aviv Yaffo 1 Model Checking An efficient procedure that receives: A finite-state model describing a system A temporal logic formula

More information

Advanced Computational Fluid Dynamics AA215A Lecture 4

Advanced Computational Fluid Dynamics AA215A Lecture 4 Advaned Computational Fluid Dynamis AA5A Leture 4 Antony Jameson Winter Quarter,, Stanford, CA Abstrat Leture 4 overs analysis of the equations of gas dynamis Contents Analysis of the equations of gas

More information

EE 321 Project Spring 2018

EE 321 Project Spring 2018 EE 21 Projet Spring 2018 This ourse projet is intended to be an individual effort projet. The student is required to omplete the work individually, without help from anyone else. (The student may, however,

More information

Are You Ready? Ratios

Are You Ready? Ratios Ratios Teahing Skill Objetive Write ratios. Review with students the definition of a ratio. Explain that a ratio an be used to ompare anything that an be assigned a number value. Provide the following

More information

State-Space Exploration. Stavros Tripakis University of California, Berkeley

State-Space Exploration. Stavros Tripakis University of California, Berkeley EE 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Fall 2014 State-Space Exploration Stavros Tripakis University of California, Berkeley Stavros Tripakis (UC Berkeley) EE

More information

TIME-OPTIMAL CONTROL OF A PARTICLE IN A DIELECTROPHORETIC SYSTEM. Dong Eui Chang Nicolas Petit Pierre Rouchon

TIME-OPTIMAL CONTROL OF A PARTICLE IN A DIELECTROPHORETIC SYSTEM. Dong Eui Chang Nicolas Petit Pierre Rouchon TIME-OPTIMAL CONTROL OF A PARTICLE IN A DIELECTROPHORETIC SYSTEM Dong Eui Chang Niolas Petit Pierre Rouhon CAS, Eole des Mines de Paris 60, bd. Saint-Mihel, 75272 Paris, CEDEX 06, Frane Abstrat: We stud

More information

Sufficient Conditions for a Flexible Manufacturing System to be Deadlocked

Sufficient Conditions for a Flexible Manufacturing System to be Deadlocked Paper 0, INT 0 Suffiient Conditions for a Flexile Manufaturing System to e Deadloked Paul E Deering, PhD Department of Engineering Tehnology and Management Ohio University deering@ohioedu Astrat In reent

More information

Overview. Discrete Event Systems Verification of Finite Automata. What can finite automata be used for? What can finite automata be used for?

Overview. Discrete Event Systems Verification of Finite Automata. What can finite automata be used for? What can finite automata be used for? Computer Engineering and Networks Overview Discrete Event Systems Verification of Finite Automata Lothar Thiele Introduction Binary Decision Diagrams Representation of Boolean Functions Comparing two circuits

More information

Probabilistic and nondeterministic aspects of Anonymity 1

Probabilistic and nondeterministic aspects of Anonymity 1 MFPS XX1 Preliminary Version Probabilisti and nondeterministi aspets of Anonymity 1 Catusia Palamidessi 2 INRIA and LIX Éole Polytehnique, Rue de Salay, 91128 Palaiseau Cedex, FRANCE Abstrat Anonymity

More information

Modal Horn Logics Have Interpolation

Modal Horn Logics Have Interpolation Modal Horn Logis Have Interpolation Marus Kraht Department of Linguistis, UCLA PO Box 951543 405 Hilgard Avenue Los Angeles, CA 90095-1543 USA kraht@humnet.ula.de Abstrat We shall show that the polymodal

More information

arxiv:cond-mat/ v1 [cond-mat.stat-mech] 16 Aug 2004

arxiv:cond-mat/ v1 [cond-mat.stat-mech] 16 Aug 2004 Computational omplexity and fundamental limitations to fermioni quantum Monte Carlo simulations arxiv:ond-mat/0408370v1 [ond-mat.stat-meh] 16 Aug 2004 Matthias Troyer, 1 Uwe-Jens Wiese 2 1 Theoretishe

More information

Linear Temporal Logic and Büchi Automata

Linear Temporal Logic and Büchi Automata Linear Temporal Logic and Büchi Automata Yih-Kuen Tsay Department of Information Management National Taiwan University FLOLAC 2009 Yih-Kuen Tsay (SVVRL @ IM.NTU) Linear Temporal Logic and Büchi Automata

More information

Announcements. Office Hours Swap: OH schedule has been updated to reflect this.

Announcements. Office Hours Swap: OH schedule has been updated to reflect this. SA Solving Announements Offie Hours Swap: Zavain has offie hours from 4-6PM toay in builing 460, room 040A. Rose has offie hours tonight from 7-9PM in Gates B26B. Keith has offie hours hursay from 2-4PM

More information

Formal Multi-Lane Traffic Diagrams

Formal Multi-Lane Traffic Diagrams Formal Multi-Lane Traffi Diagrams Sven Linker Carl von Ossietzky Universität Oldenburg 07.12.2012 1/9 Sven Linker Traffi Diagrams 2/9 Sven Linker Traffi Diagrams Motivation Senario: Automated traffi on

More information

Model Checking with CTL. Presented by Jason Simas

Model Checking with CTL. Presented by Jason Simas Model Checking with CTL Presented by Jason Simas Model Checking with CTL Based Upon: Logic in Computer Science. Huth and Ryan. 2000. (148-215) Model Checking. Clarke, Grumberg and Peled. 1999. (1-26) Content

More information

Lightpath routing for maximum reliability in optical mesh networks

Lightpath routing for maximum reliability in optical mesh networks Vol. 7, No. 5 / May 2008 / JOURNAL OF OPTICAL NETWORKING 449 Lightpath routing for maximum reliability in optial mesh networks Shengli Yuan, 1, * Saket Varma, 2 and Jason P. Jue 2 1 Department of Computer

More information

Behavioural description based web service composition using abstraction and refinement

Behavioural description based web service composition using abstraction and refinement 54 nt. J. Web and Grid Servies, Vol. 9, No. 1, 2013 Behavioural desription based web servie omposition using abstration and refinement Hyunyoung Kil The Researh nstitute of Computer nformation and Communiation,

More information

A Unified View on Multi-class Support Vector Classification Supplement

A Unified View on Multi-class Support Vector Classification Supplement Journal of Mahine Learning Researh??) Submitted 7/15; Published?/?? A Unified View on Multi-lass Support Vetor Classifiation Supplement Ürün Doğan Mirosoft Researh Tobias Glasmahers Institut für Neuroinformatik

More information

Complexity of Regularization RBF Networks

Complexity of Regularization RBF Networks Complexity of Regularization RBF Networks Mark A Kon Department of Mathematis and Statistis Boston University Boston, MA 02215 mkon@buedu Leszek Plaskota Institute of Applied Mathematis University of Warsaw

More information

T Reactive Systems: Temporal Logic LTL

T Reactive Systems: Temporal Logic LTL Tik-79.186 Reactive Systems 1 T-79.186 Reactive Systems: Temporal Logic LTL Spring 2005, Lecture 4 January 31, 2005 Tik-79.186 Reactive Systems 2 Temporal Logics Temporal logics are currently the most

More information

An Adaptive Optimization Approach to Active Cancellation of Repeated Transient Vibration Disturbances

An Adaptive Optimization Approach to Active Cancellation of Repeated Transient Vibration Disturbances An aptive Optimization Approah to Ative Canellation of Repeated Transient Vibration Disturbanes David L. Bowen RH Lyon Corp / Aenteh, 33 Moulton St., Cambridge, MA 138, U.S.A., owen@lyonorp.om J. Gregory

More information

Writing a VUMAT. Appendix 3. Overview

Writing a VUMAT. Appendix 3. Overview ABAQUS/Expliit: Advaned Topis Appendix 3 Writing a VUMAT ABAQUS/Expliit: Advaned Topis A3.2 Overview Introdution Motivation Steps Required in Writing a VUMAT Example: VUMAT for Kinemati Hardening Plastiity

More information

A New Version of Flusser Moment Set for Pattern Feature Extraction

A New Version of Flusser Moment Set for Pattern Feature Extraction A New Version of Flusser Moment Set for Pattern Feature Extration Constantin-Iulian VIZITIU, Doru MUNTEANU, Cristian MOLDER Communiations and Eletroni Systems Department Military Tehnial Aademy George

More information

Formal Verification of Mobile Network Protocols

Formal Verification of Mobile Network Protocols Dipartimento di Informatica, Università di Pisa, Italy milazzo@di.unipi.it Pisa April 26, 2005 Introduction Modelling Systems Specifications Examples Algorithms Introduction Design validation ensuring

More information

Sensitivity Analysis in Markov Networks

Sensitivity Analysis in Markov Networks Sensitivity Analysis in Markov Networks Hei Chan and Adnan Darwihe Computer Siene Department University of California, Los Angeles Los Angeles, CA 90095 {hei,darwihe}@s.ula.edu Abstrat This paper explores

More information

Average Rate Speed Scaling

Average Rate Speed Scaling Average Rate Speed Saling Nikhil Bansal David P. Bunde Ho-Leung Chan Kirk Pruhs May 2, 2008 Abstrat Speed saling is a power management tehnique that involves dynamially hanging the speed of a proessor.

More information

The universal model of error of active power measuring channel

The universal model of error of active power measuring channel 7 th Symposium EKO TC 4 3 rd Symposium EKO TC 9 and 5 th WADC Workshop nstrumentation for the CT Era Sept. 8-2 Kosie Slovakia The universal model of error of ative power measuring hannel Boris Stogny Evgeny

More information

MODEL CHECKING. Arie Gurfinkel

MODEL CHECKING. Arie Gurfinkel 1 MODEL CHECKING Arie Gurfinkel 2 Overview Kripke structures as models of computation CTL, LTL and property patterns CTL model-checking and counterexample generation State of the Art Model-Checkers 3 SW/HW

More information

NPTEL STRUCTURAL RELIABILITY

NPTEL STRUCTURAL RELIABILITY NTEL Course On STRUCTURL RELIBILITY Module # 02 Leture 2 Course Format: Web Instrutor: Dr. runasis Chakraborty Department of Civil Engineering Indian Institute of Tehnology Guwahati 2. Leture 02: Theory

More information

Synthesis of verifiably hazard-free asynchronous control circuits

Synthesis of verifiably hazard-free asynchronous control circuits Synthesis of verifiably hazardfree asynhronous ontrol iruits L. Lavagno Dept. of EECS University of California, Berkeley K. Keutzer AT&T Bell Laboratories Murray Hill, NJ November 9, 990 A. SangiovanniVinentelli

More information

A Queueing Model for Call Blending in Call Centers

A Queueing Model for Call Blending in Call Centers A Queueing Model for Call Blending in Call Centers Sandjai Bhulai and Ger Koole Vrije Universiteit Amsterdam Faulty of Sienes De Boelelaan 1081a 1081 HV Amsterdam The Netherlands E-mail: {sbhulai, koole}@s.vu.nl

More information

Satellite Image Interpretation using Spatial Reasoning

Satellite Image Interpretation using Spatial Reasoning Abstrat Satellite Image Interpretation using Spatial Reasoning Jane Brennan and Arot Sowmya Department of Artifiial Intelligene Shool of Computer Siene and Engineering University of New South Wales Sydney

More information

DIGITAL DISTANCE RELAYING SCHEME FOR PARALLEL TRANSMISSION LINES DURING INTER-CIRCUIT FAULTS

DIGITAL DISTANCE RELAYING SCHEME FOR PARALLEL TRANSMISSION LINES DURING INTER-CIRCUIT FAULTS CHAPTER 4 DIGITAL DISTANCE RELAYING SCHEME FOR PARALLEL TRANSMISSION LINES DURING INTER-CIRCUIT FAULTS 4.1 INTRODUCTION Around the world, environmental and ost onsiousness are foring utilities to install

More information

A Brief Introduction to Model Checking

A Brief Introduction to Model Checking A Brief Introduction to Model Checking Jan. 18, LIX Page 1 Model Checking A technique for verifying finite state concurrent systems; a benefit on this restriction: largely automatic; a problem to fight:

More information

ESE601: Hybrid Systems. Introduction to verification

ESE601: Hybrid Systems. Introduction to verification ESE601: Hybrid Systems Introduction to verification Spring 2006 Suggested reading material Papers (R14) - (R16) on the website. The book Model checking by Clarke, Grumberg and Peled. What is verification?

More information

Temporal logics and explicit-state model checking. Pierre Wolper Université de Liège

Temporal logics and explicit-state model checking. Pierre Wolper Université de Liège Temporal logics and explicit-state model checking Pierre Wolper Université de Liège 1 Topics to be covered Introducing explicit-state model checking Finite automata on infinite words Temporal Logics and

More information

Automata-Theoretic Model Checking of Reactive Systems

Automata-Theoretic Model Checking of Reactive Systems Automata-Theoretic Model Checking of Reactive Systems Radu Iosif Verimag/CNRS (Grenoble, France) Thanks to Tom Henzinger (IST, Austria), Barbara Jobstmann (CNRS, Grenoble) and Doron Peled (Bar-Ilan University,

More information

Developing Excel Macros for Solving Heat Diffusion Problems

Developing Excel Macros for Solving Heat Diffusion Problems Session 50 Developing Exel Maros for Solving Heat Diffusion Problems N. N. Sarker and M. A. Ketkar Department of Engineering Tehnology Prairie View A&M University Prairie View, TX 77446 Abstrat This paper

More information

SINCE Zadeh s compositional rule of fuzzy inference

SINCE Zadeh s compositional rule of fuzzy inference IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 14, NO. 6, DECEMBER 2006 709 Error Estimation of Perturbations Under CRI Guosheng Cheng Yuxi Fu Abstrat The analysis of stability robustness of fuzzy reasoning

More information

Verification Using Temporal Logic

Verification Using Temporal Logic CMSC 630 February 25, 2015 1 Verification Using Temporal Logic Sources: E.M. Clarke, O. Grumberg and D. Peled. Model Checking. MIT Press, Cambridge, 2000. E.A. Emerson. Temporal and Modal Logic. Chapter

More information

Normative and descriptive approaches to multiattribute decision making

Normative and descriptive approaches to multiattribute decision making De. 009, Volume 8, No. (Serial No.78) China-USA Business Review, ISSN 57-54, USA Normative and desriptive approahes to multiattribute deision making Milan Terek (Department of Statistis, University of

More information

Sequence Analysis, WS 14/15, D. Huson & R. Neher (this part by D. Huson & J. Fischer) January 21,

Sequence Analysis, WS 14/15, D. Huson & R. Neher (this part by D. Huson & J. Fischer) January 21, Sequene Analysis, WS 14/15, D. Huson & R. Neher (this part by D. Huson & J. Fisher) January 21, 201511 9 Suffix Trees and Suffix Arrays This leture is based on the following soures, whih are all reommended

More information

CIS 842: Specification and Verification of Reactive Systems. Lecture Specifications: Specification Patterns

CIS 842: Specification and Verification of Reactive Systems. Lecture Specifications: Specification Patterns CIS 842: Specification and Verification of Reactive Systems Lecture Specifications: Specification Patterns Copyright 2001-2002, Matt Dwyer, John Hatcliff, Robby. The syllabus and all lectures for this

More information

Model Checking I. What are LTL and CTL? dack. and. dreq. and. q0bar

Model Checking I. What are LTL and CTL? dack. and. dreq. and. q0bar Model Checking I What are LTL and CTL? q0 or and dack dreq q0bar and 1 View circuit as a transition system (dreq, q0, dack) (dreq, q0, dack ) q0 = dreq and dack = dreq & (q0 + ( q0 & dack)) q0 or and D

More information

Indian Institute of Technology Bombay. Department of Electrical Engineering. EE 325 Probability and Random Processes Lecture Notes 3 July 28, 2014

Indian Institute of Technology Bombay. Department of Electrical Engineering. EE 325 Probability and Random Processes Lecture Notes 3 July 28, 2014 Indian Institute of Tehnology Bombay Department of Eletrial Engineering Handout 5 EE 325 Probability and Random Proesses Leture Notes 3 July 28, 2014 1 Axiomati Probability We have learned some paradoxes

More information

ONLINE APPENDICES for Cost-Effective Quality Assurance in Crowd Labeling

ONLINE APPENDICES for Cost-Effective Quality Assurance in Crowd Labeling ONLINE APPENDICES for Cost-Effetive Quality Assurane in Crowd Labeling Jing Wang Shool of Business and Management Hong Kong University of Siene and Tehnology Clear Water Bay Kowloon Hong Kong jwang@usthk

More information

Automata-based Verification - III

Automata-based Verification - III COMP30172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20: email: howard.barringer@manchester.ac.uk March 2009 Third Topic Infinite Word Automata Motivation Büchi Automata

More information

Computation Tree Logic (CTL) & Basic Model Checking Algorithms

Computation Tree Logic (CTL) & Basic Model Checking Algorithms Computation Tree Logic (CTL) & Basic Model Checking Algorithms Martin Fränzle Carl von Ossietzky Universität Dpt. of Computing Science Res. Grp. Hybride Systeme Oldenburg, Germany 02917: CTL & Model Checking

More information

The State Explosion Problem

The State Explosion Problem The State Explosion Problem Martin Kot August 16, 2003 1 Introduction One from main approaches to checking correctness of a concurrent system are state space methods. They are suitable for automatic analysis

More information

Temporal Logic. M φ. Outline. Why not standard logic? What is temporal logic? LTL CTL* CTL Fairness. Ralf Huuck. Kripke Structure

Temporal Logic. M φ. Outline. Why not standard logic? What is temporal logic? LTL CTL* CTL Fairness. Ralf Huuck. Kripke Structure Outline Temporal Logic Ralf Huuck Why not standard logic? What is temporal logic? LTL CTL* CTL Fairness Model Checking Problem model, program? M φ satisfies, Implements, refines property, specification

More information

Computation Tree Logic

Computation Tree Logic Computation Tree Logic Hao Zheng Department of Computer Science and Engineering University of South Florida Tampa, FL 33620 Email: zheng@cse.usf.edu Phone: (813)974-4757 Fax: (813)974-5456 Hao Zheng (CSE,

More information

Discrete Bessel functions and partial difference equations

Discrete Bessel functions and partial difference equations Disrete Bessel funtions and partial differene equations Antonín Slavík Charles University, Faulty of Mathematis and Physis, Sokolovská 83, 186 75 Praha 8, Czeh Republi E-mail: slavik@karlin.mff.uni.z Abstrat

More information

On embedding memory in Markov Models specified in Statecharts

On embedding memory in Markov Models specified in Statecharts On embedding memory in Markov Models speified in Stateharts Nandamudi Lankalapalli Vijaykumar 1, Solon Venânio de Carvalho 1, Valéria Maria Barros de Andrade 1, Vakulathil Abdurahiman 2 1 Laboratório Assoiado

More information

Symbolic Trajectory Evaluation (STE): Orna Grumberg Technion, Israel

Symbolic Trajectory Evaluation (STE): Orna Grumberg Technion, Israel Symbolic Trajectory Evaluation (STE): Automatic Refinement and Vacuity Detection Orna Grumberg Technion, Israel Marktoberdort 2007 1 Agenda Model checking Symbolic Trajectory Evaluation Basic Concepts

More information

Feature Selection by Independent Component Analysis and Mutual Information Maximization in EEG Signal Classification

Feature Selection by Independent Component Analysis and Mutual Information Maximization in EEG Signal Classification Feature Seletion by Independent Component Analysis and Mutual Information Maximization in EEG Signal Classifiation Tian Lan, Deniz Erdogmus, Andre Adami, Mihael Pavel BME Department, Oregon Health & Siene

More information

A NETWORK SIMPLEX ALGORITHM FOR THE MINIMUM COST-BENEFIT NETWORK FLOW PROBLEM

A NETWORK SIMPLEX ALGORITHM FOR THE MINIMUM COST-BENEFIT NETWORK FLOW PROBLEM NETWORK SIMPLEX LGORITHM FOR THE MINIMUM COST-BENEFIT NETWORK FLOW PROBLEM Cen Çalışan, Utah Valley University, 800 W. University Parway, Orem, UT 84058, 801-863-6487, en.alisan@uvu.edu BSTRCT The minimum

More information

Optimization of Statistical Decisions for Age Replacement Problems via a New Pivotal Quantity Averaging Approach

Optimization of Statistical Decisions for Age Replacement Problems via a New Pivotal Quantity Averaging Approach Amerian Journal of heoretial and Applied tatistis 6; 5(-): -8 Published online January 7, 6 (http://www.sienepublishinggroup.om/j/ajtas) doi:.648/j.ajtas.s.65.4 IN: 36-8999 (Print); IN: 36-96 (Online)

More information

Crash course Verification of Finite Automata CTL model-checking

Crash course Verification of Finite Automata CTL model-checking Crash course Verification of Finite Automata CTL model-checking Exercise session - 07.12.2016 Xiaoxi He 1 Reminders Big picture Objective Verify properties over DES models Formal method Absolute guarantee!

More information

Searching All Approximate Covers and Their Distance using Finite Automata

Searching All Approximate Covers and Their Distance using Finite Automata Searhing All Approximate Covers and Their Distane using Finite Automata Ondřej Guth, Bořivoj Melihar, and Miroslav Balík České vysoké učení tehniké v Praze, Praha, CZ, {gutho1,melihar,alikm}@fel.vut.z

More information

State Diagrams. Margaret M. Fleck. 14 November 2011

State Diagrams. Margaret M. Fleck. 14 November 2011 State Diagrams Margaret M. Flek 14 November 2011 These notes over state diagrams. 1 Introdution State diagrams are a type of direted graph, in whih the graph nodes represent states and labels on the graph

More information

Array Design for Superresolution Direction-Finding Algorithms

Array Design for Superresolution Direction-Finding Algorithms Array Design for Superresolution Diretion-Finding Algorithms Naushad Hussein Dowlut BEng, ACGI, AMIEE Athanassios Manikas PhD, DIC, AMIEE, MIEEE Department of Eletrial Eletroni Engineering Imperial College

More information

Model checking the basic modalities of CTL with Description Logic

Model checking the basic modalities of CTL with Description Logic Model checking the basic modalities of CTL with Description Logic Shoham Ben-David Richard Trefler Grant Weddell David R. Cheriton School of Computer Science University of Waterloo Abstract. Model checking

More information

A Logic of Local Graph Shapes

A Logic of Local Graph Shapes CTIT Tehnial Report TR CTIT 03 35, University of Twente, 2003 A Logi of Loal Graph Shapes Arend Rensink Department of Computer Siene, University of Twente P.O.Box 27, 7500 AE, The Netherlands rensink@s.utwente.nl

More information

Formal Verification Techniques. Riccardo Sisto, Politecnico di Torino

Formal Verification Techniques. Riccardo Sisto, Politecnico di Torino Formal Verification Techniques Riccardo Sisto, Politecnico di Torino State exploration State Exploration and Theorem Proving Exhaustive exploration => result is certain (correctness or noncorrectness proof)

More information