Synthesizing Robust Systems

Size: px
Start display at page:

Download "Synthesizing Robust Systems"

Transcription

1 Synthesizing Robust Systems Roderick Bloem and Karin Greimel (TU-Graz) Thomas Henzinger (EPFL and IST-Austria) Barbara Jobstmann (CNRS/Verimag) FMCAD 2009 in Austin, Texas Barbara Jobstmann 1

2 Motivation When designing systems: environment might not be known, or cannot be precisely modeled, e.g., physical environment behaves differently from expected program in libraries, might be used in other than the intended way transmission and other errors environment model necessary Barbara Jobstmann 2

3 Motivation A system should not only be correct, it should also behave reasonably, even in circumstances that were not anticipated in the requirements specification[... ] [ Fundamentals of software engineering by GJM] In short, it should also be robust. Barbara Jobstmann 3

4 Simple Example Resource controller for two clients Clients send requests using signals, Controller grant resource using signals, Client 1 Client 2 Controller Barbara Jobstmann 4

5 Specification Assumption A on clients never( ) Guarantee G of controller always( next( )) always( next( )) never( ) Specification A G Barbara Jobstmann 5

6 Two Correct Controllers Specification: A G M1 M2 Input trace:( )( ) ω Output trace:( )( ) ω ( )( ) ω ( )( ) ω Barbara Jobstmann 6

7 Two Correct Controllers Does not recover from an error! Does not recover from an error! Does recover from an error! Does recover from an error! M1 M2 Input trace:( )( ) ω Output trace:( )( ) ω ( )( ) ω ( )( ) ω Barbara Jobstmann 7

8 Definition Outline Error specifications Robustness (our proposal) Verify Robustness Synthesize Robust Systems Conclusion Barbara Jobstmann 8

9 Setting Reactive finite-state system M (signals I/O) Alphabet Σ= 2 I O (evaluations of I O) Behavior of M is a sequence σ Σ ω Set of all behavior: L(M) Specification ϕ = A G A is assumption on environment G is guarantee of system A and G are safety specifications over Σ σ satisfies or does not satisfy ϕ Barbara Jobstmann 9

10 Error Specification (1) Error function d: Σ ω Σ * N { } maps all behaviors/prefixes to number or Idea: count errors (violations of specification), higher value means more errors Quantitative specification M2 M1 M2 M1 good bad good bad Barbara Jobstmann 10

11 Error Specification (2) Error function d: Σ ω Σ * N { } Det. Automaton A with weight function w mapping edges to weights d(σ) = sum of weights of run over σ Error specification is pair (d e,d s ) d e error function for environment d s error function for systems q 0 (1) q 1 Barbara Jobstmann 11

12 From Spec to Error Function In general, a design choice We show: one way of going from spec to error function Safety Spec Automaton Automaton + weight fct Error Function ϕ Σ ω safe Trap ? d: Σ */ω N Barbara Jobstmann 12

13 From Spec to Error Function Recall, example: always( next( ))... q 0 (1) g1 (1) q 1 q 2 Safe region={q 0,q 1 } Good properties of this error function: - If behavior σ is error-free, then d(σ)=0 - If behavior σ has errors d(σ)>0 Bad properties: - Does not distinguish between single and multiple errors (it s a trap) Barbara Jobstmann 13

14 Example What to do with traps? (a) Reset go to initial states (restart property) (b) Skip self loop (ignore input) (c) Follow closest correct letter in alphabet q 0 g1 (1) q 1 q 2 (1) A: never( ) G 1 :always( next( )) G 2 :always( next( )) G 3 :never( ) Barbara Jobstmann 14 q 0 (1) d e =#( ) d s1 =#( next( )) d s2 =#( next( )) d s3 =#( ) q 1 d s =d s1 +d s2 +d s3

15 Robustness System M is robust wrt error spec (d e,d s ) if forallσ L(M): d e (σ) implies d s (σ) System M is k-robust wrt (d e,d s ) if exists c N s.t. forallσ prefix(l(m)) d s (σ) k d e (σ) + c k-robustness classifies robust systems wrt infinite behavior Barbara Jobstmann 15

16 Verifying Robustness (1) Given system M and automata A e and A s for d e and d s, resp., check if M is robust Compute product M A e A s with two weight functions w s and w e Then, M is robust if forallσ L(M A e A s ) sum of w e over σ implies sum of w s. Equivalently, if infinitely often w s > 0, then infinitely often w e >0 (Streett) Barbara Jobstmann 16

17 Verifying Robustness (2) Two sets E s, E e of edges: one with w s >0 and on with w e >0 Streett cond. with pair (E s,e e ), linear in #edges (0,1) (2,1) (1,0) M A e A s q 0 (0,0) q 1 Barbara Jobstmann 17

18 Example M A e A s (s,e) d e =#( ) (0,1) d s1 =#( next( )) (1,0) d s2 =#( next( )) (1,0) d s3 =#( ) (1,0) infinitely often w s > 0 but only finitely often w e >0 (0,0) (0,0) (0,0) (0,0) (2,1) (2,1) (0,0) (1,0) (1,0) (2,1) Non-robust Barbara Jobstmann 18

19 Verifying K-Robustness (1) Recall, exists c N, forallσ prefix(l(m)) d s (σ) k d e (σ) + c 0-Robust = finitely many errors d s (σ) c k-robust = average ratio between #system errors and #environment errors is k #s-#e c #s/#e k Barbara Jobstmann 19

20 Verifying K-Robustness (2) Given robust system M, automata A e and A s, check if M is k-robust. Compute product M A e A s with two weight functions w s and w e M is k-robust if forall runs q 0 q 1 q 2 lim m liminf l sum i=m..l (w s (q i,q i+1 )) 1+sum i=m..l (w e (q i,q i+1 )) k True if maximum simple cycle ratio k, computable in O(#states 2 #edges) Barbara Jobstmann 20

21 Example M A e A s (0,0) (1,1) (0,0) (1,1) (0,0) maximum simple cycle ratio=1 (0,0) 1-robust Barbara Jobstmann 21

22 Synthesizing Systems Spec d e : Automaton + weight fct w e Spec d s : Automaton + weight fct w s Automaton + two weight functions w e and w s Streett game Synthesis game + two weight fcts Ratio game Strategy Strategy Robust System k-robust System Barbara Jobstmann 22

23 Synthesis Game: Example (w 1 ) s 0 (w 1 ) (w 2 ) s 0 s 1 (w 1 ) (w 2 ) (w 2 ) g1 s 1 s 2 Two players Alternately, pick signal assignments Add weights accordingly Winning objective? Barbara Jobstmann 23

24 Synthesizing Systems Spec d e : Automaton + weight fct w e Spec d s : Automaton + weight fct w s Automaton + two weight functions w e and w s Streett game Synthesis game + two weight fcts Ratio game Strategy Strategy Robust System k-robust System Barbara Jobstmann 24

25 Synthesizing Robust Systems Play is winning: if infinitely many edges with w s >0, then infinitely many edges with w e >0 Two sets E s, E e of edges: one with w s >0 and on with w e >0 Winning objective: Streett with 1-pair (E s,e e ) (0,0) (0,1) (0,0) (1,0) (1,2) (0,0) Barbara Jobstmann 25

26 Synthesizing Systems Spec d e : Automaton + weight fct w e Spec d s : Automaton + weight fct w s Automaton + two weight functions w e and w s Streett game Synthesis game + two weight fcts Ratio game Strategy Strategy Robust System k-robust System Barbara Jobstmann 26

27 Ratio Game A novel game type Formally, value of a play ρ=q 0 q 1 q 2 is v(ρ) = lim m liminf l sum i=m..l (w s (q i,q i+1 )) 1+sum i=m..l (w e (q i,q i+1 )) Objective of Player System: minimize v(ρ) In paper, we show that in ratio games both players have memoryless winning strategies and reduction to mean-payoff game (decision) Barbara Jobstmann 27

28 Conclusion A notion of robustness based on error functions Algorithms to verify robustness and k-robustness synthesize robust systems with minimal k (based on our ratio games) Barbara Jobstmann 28

Infinite Games. Sumit Nain. 28 January Slides Credit: Barbara Jobstmann (CNRS/Verimag) Department of Computer Science Rice University

Infinite Games. Sumit Nain. 28 January Slides Credit: Barbara Jobstmann (CNRS/Verimag) Department of Computer Science Rice University Infinite Games Sumit Nain Department of Computer Science Rice University 28 January 2013 Slides Credit: Barbara Jobstmann (CNRS/Verimag) Motivation Abstract games are of fundamental importance in mathematics

More information

Timo Latvala. March 7, 2004

Timo Latvala. March 7, 2004 Reactive Systems: Safety, Liveness, and Fairness Timo Latvala March 7, 2004 Reactive Systems: Safety, Liveness, and Fairness 14-1 Safety Safety properties are a very useful subclass of specifications.

More information

Games with Costs and Delays

Games with Costs and Delays Games with Costs and Delays Martin Zimmermann Saarland University June 20th, 2017 LICS 2017, Reykjavik, Iceland Martin Zimmermann Saarland University Games with Costs and Delays 1/14 Gale-Stewart Games

More information

Finitary Winning in \omega-regular Games

Finitary Winning in \omega-regular Games Finitary Winning in \omega-regular Games Krishnendu Chatterjee Thomas A. Henzinger Florian Horn Electrical Engineering and Computer Sciences University of California at Berkeley Technical Report No. UCB/EECS-2007-120

More information

Monitoring the full range of ω-regular properties of Stochastic Systems

Monitoring the full range of ω-regular properties of Stochastic Systems Monitoring the full range of ω-regular properties of Stochastic Systems Kalpana Gondi, Yogesh K. Patel, A. Prasad Sistla University of Illinois at Chicago Outline of the talk Motivation Outline of the

More information

Synthesis of Designs from Property Specifications

Synthesis of Designs from Property Specifications Synthesis of Designs from Property Specifications Amir Pnueli New York University and Weizmann Institute of Sciences FMCAD 06 San Jose, November, 2006 Joint work with Nir Piterman, Yaniv Sa ar, Research

More information

A Symbolic Approach to Safety LTL Synthesis

A Symbolic Approach to Safety LTL Synthesis A Symbolic Approach to Safety LTL Synthesis Shufang Zhu 1 Lucas M. Tabajara 2 Jianwen Li Geguang Pu 1 Moshe Y. Vardi 2 1 East China Normal University 2 Rice Lucas M. Tabajara (Rice University) 2 University

More information

From Boolean to Quantitative System Specifications. Tom Henzinger EPFL

From Boolean to Quantitative System Specifications. Tom Henzinger EPFL From Boolean to Quantitative System Specifications Tom Henzinger EPFL Outline 1 The Quantitative Agenda 2 Some Basic Open Problems 3 Some Promising Directions The Boolean Agenda Program/ System Property/

More information

Admissible Strategies for Synthesizing Systems

Admissible Strategies for Synthesizing Systems Admissible Strategies for Synthesizing Systems Ocan Sankur Univ Rennes, Inria, CNRS, IRISA, Rennes Joint with Romain Brenguier (DiffBlue), Guillermo Pérez (Antwerp), and Jean-François Raskin (ULB) (Multiplayer)

More information

Integrating Induction and Deduction for Verification and Synthesis

Integrating Induction and Deduction for Verification and Synthesis Integrating Induction and Deduction for Verification and Synthesis Sanjit A. Seshia Associate Professor EECS Department UC Berkeley DATE 2013 Tutorial March 18, 2013 Bob s Vision: Exploit Synergies between

More information

Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication 1

Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication 1 Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication 1 Stavros Tripakis 2 VERIMAG Technical Report TR-2004-26 November 2004 Abstract We introduce problems of decentralized

More information

Reactive Synthesis. Swen Jacobs VTSA 2013 Nancy, France u

Reactive Synthesis. Swen Jacobs VTSA 2013 Nancy, France u Reactive Synthesis Nancy, France 24.09.2013 u www.iaik.tugraz.at 2 Property Synthesis (You Will Never Code Again) 3 Construct Correct Systems Automatically Don t do the same

More information

Synthesis of Reactive(1) Designs

Synthesis of Reactive(1) Designs Synthesis of Reactive(1) Designs Roderick Bloem a, Barbara Jobstmann b, Nir Piterman c, Amir Pnueli, Yaniv Sa ar d a Graz University of Technology, Austria b CNRS/Verimag, France c Imperial College London,

More information

Synthesis weakness of standard approach. Rational Synthesis

Synthesis weakness of standard approach. Rational Synthesis 1 Synthesis weakness of standard approach Rational Synthesis 3 Overview Introduction to formal verification Reactive systems Verification Synthesis Introduction to Formal Verification of Reactive Systems

More information

Finitary Winning in ω-regular Games

Finitary Winning in ω-regular Games Finitary Winning in ω-regular Games Krishnendu Chatterjee 1 and Thomas A. Henzinger 1,2 1 University of California, Berkeley, USA 2 EPFL, Switzerland {c krish,tah}@eecs.berkeley.edu Abstract. Games on

More information

A Framework for Automated Competitive Analysis of On-line Scheduling of Firm-Deadline Tasks

A Framework for Automated Competitive Analysis of On-line Scheduling of Firm-Deadline Tasks A Framework for Automated Competitive Analysis of On-line Scheduling of Firm-Deadline Tasks Krishnendu Chatterjee 1, Andreas Pavlogiannis 1, Alexander Kößler 2, Ulrich Schmid 2 1 IST Austria, 2 TU Wien

More information

Quantitative reactive modeling and verification

Quantitative reactive modeling and verification Comput Sci Res Dev (2013) 28:331 344 DOI 10.1007/s00450-013-0251-7 SPECIAL ISSUE PAPER Quantitative reactive modeling and verification Thomas A. Henzinger Published online: 5 October 2013 The Author(s)

More information

A Survey of Partial-Observation Stochastic Parity Games

A Survey of Partial-Observation Stochastic Parity Games Noname manuscript No. (will be inserted by the editor) A Survey of Partial-Observation Stochastic Parity Games Krishnendu Chatterjee Laurent Doyen Thomas A. Henzinger the date of receipt and acceptance

More information

arxiv: v2 [cs.lo] 3 Sep 2017

arxiv: v2 [cs.lo] 3 Sep 2017 Safe Reinforcement Learning via Shielding Mohammed Alshiekh 1, Roderick Bloem 2, Rüdiger Ehlers 3, Bettina Könighofer 2, Scott Niekum 1, Ufuk Topcu 1 1 University of Texas at Austin, USA 2 IAIK, Graz University

More information

Quantitative Languages

Quantitative Languages Quantitative Languages Krishnendu Chatterjee 1, Laurent Doyen 2, and Thomas A. Henzinger 2 1 University of California, Santa Cruz 2 EPFL, Lausanne, Switzerland Abstract. Quantitative generalizations of

More information

Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication

Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication Stavros Tripakis Abstract We introduce problems of decentralized control with communication, where we explicitly

More information

Revisiting Synthesis of GR(1) Specifications

Revisiting Synthesis of GR(1) Specifications Revisiting Synthesis of GR(1) Specifications Uri Klein & Amir Pnueli Courant Institute of Mathematical Sciences, NYU Haifa Verification Conference, October 2010 What Is Synthesis? Rather than implement

More information

Games derived from a generalized Thue-Morse word

Games derived from a generalized Thue-Morse word Games derived from a generalized Thue-Morse word Aviezri S. Fraenkel, Dept. of Computer Science and Applied Mathematics, Weizmann Institute of Science, Rehovot 76100, Israel; fraenkel@wisdom.weizmann.ac.il

More information

Formal Definition of Computation. August 28, 2013

Formal Definition of Computation. August 28, 2013 August 28, 2013 Computation model The model of computation considered so far is the work performed by a finite automaton Finite automata were described informally, using state diagrams, and formally, as

More information

Synthesizing Efficient Controllers

Synthesizing Efficient Controllers Synthesizing Efficient Controllers Christian von Essen 1 and Barbara Jobstmann 2 1 UJF/Verimag, Grenoble, France 2 CNRS/Verimag, Grenoble, France Abstract. In many situations, we are interested in controllers

More information

Automatic Synthesis of Distributed Protocols

Automatic Synthesis of Distributed Protocols Automatic Synthesis of Distributed Protocols Rajeev Alur Stavros Tripakis 1 Introduction Protocols for coordination among concurrent processes are an essential component of modern multiprocessor and distributed

More information

Peled, Vardi, & Yannakakis: Black Box Checking

Peled, Vardi, & Yannakakis: Black Box Checking Peled, Vardi, & Yannakakis: Black Box Checking Martin Leucker leucker@it.uu.se Department of Computer Systems,, Sweden Plan Preliminaries State identification and verification Conformance Testing Extended

More information

Lipschitz Robustness of Finite-state Transducers

Lipschitz Robustness of Finite-state Transducers Lipschitz Robustness of Finite-state Transducers Roopsha Samanta IST Austria Joint work with Tom Henzinger and Jan Otop December 16, 2014 Roopsha Samanta Lipschitz Robustness of Finite-state Transducers

More information

TWO-WAY FINITE AUTOMATA & PEBBLE AUTOMATA. Written by Liat Peterfreund

TWO-WAY FINITE AUTOMATA & PEBBLE AUTOMATA. Written by Liat Peterfreund TWO-WAY FINITE AUTOMATA & PEBBLE AUTOMATA Written by Liat Peterfreund 1 TWO-WAY FINITE AUTOMATA A two way deterministic finite automata (2DFA) is a quintuple M Q,,, q0, F where: Q,, q, F are as before

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

Games with Costs and Delays

Games with Costs and Delays Games with Costs and Delays Martin Zimmermann Reactive Systems Group, Saarland University, 66123 Saarbrücken, Germany Email: zimmermann@react.uni-saarland.de Abstract We demonstrate the usefulness of adding

More information

Games and Synthesis. Nir Piterman University of Leicester Telč, July-Autugst 2014

Games and Synthesis. Nir Piterman University of Leicester Telč, July-Autugst 2014 Games and Synthesis Nir Piterman University of Leicester Telč, July-Autugst 2014 Games and Synthesis, EATCS Young Researchers School, Telč, Summer 2014 Games and Synthesis, EATCS Young Researchers School,

More information

Quantitative Specifications for Verification and Synthesis

Quantitative Specifications for Verification and Synthesis Quantitative Specifications for Verification and Synthesis PhD Thesis Author: Arjun Radhakrishna Supervisor: Thomas A. Henzinger, IST Austria, Klosterneuburg, Austria Thesis Committee: Roderick Bloem,

More information

arxiv: v2 [cs.lo] 9 Apr 2012

arxiv: v2 [cs.lo] 9 Apr 2012 Mean-Payoff Pushdown Games Krishnendu Chatterjee 1 and Yaron Velner 2 1 IST Austria 2 Tel Aviv University, Israel arxiv:1201.2829v2 [cs.lo] 9 Apr 2012 Abstract. Two-player games on graphs are central in

More information

Automata, Logic and Games: Theory and Application

Automata, Logic and Games: Theory and Application Automata, Logic and Games: Theory and Application 2 Parity Games, Tree Automata, and S2S Luke Ong University of Oxford TACL Summer School University of Salerno, 14-19 June 2015 Luke Ong S2S 14-19 June

More information

Lipschitz Robustness of Finite-state Transducers

Lipschitz Robustness of Finite-state Transducers Lipschitz Robustness of Finite-state Transducers Thomas A. Henzinger, Jan Otop, Roopsha Samanta IST Austria Abstract We investigate the problem of checking if a finite-state transducer is robust to uncertainty

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

Generalized Parity Games

Generalized Parity Games Generalized Parity Games Krishnendu Chatterjee 1, Thomas A. Henzinger 1,2, and Nir Piterman 2 1 University of California, Berkeley, USA 2 EPFL, Switzerland c krish@eecs.berkeley.edu, {tah,nir.piterman}@epfl.ch

More information

Synthesis of Winning Strategies for Interaction under Partial Information

Synthesis of Winning Strategies for Interaction under Partial Information Synthesis of Winning Strategies for Interaction under Partial Information Oberseminar Informatik Bernd Puchala RWTH Aachen University June 10th, 2013 1 Introduction Interaction Strategy Synthesis 2 Main

More information

Cooperative Reactive Synthesis

Cooperative Reactive Synthesis Cooperative Reactive Synthesis Roderick Bloem IAIK, Graz University of Technology, Graz, Austria Rüdiger Ehlers University of Bremen and DFKI GmbH, Bremen, Germany Robert Könighofer IAIK, Graz University

More information

Approximate Determinization of Quantitative Automata

Approximate Determinization of Quantitative Automata Approximate Determinization of Quantitative Automata Udi Boker,2 and Thomas A. Henzinger 2 Hebrew University of Jerusalem 2 IST Austria Abstract Quantitative automata are nondeterministic finite automata

More information

CHURCH SYNTHESIS PROBLEM and GAMES

CHURCH SYNTHESIS PROBLEM and GAMES p. 1/? CHURCH SYNTHESIS PROBLEM and GAMES Alexander Rabinovich Tel-Aviv University, Israel http://www.tau.ac.il/ rabinoa p. 2/? Plan of the Course 1. The Church problem - logic and automata. 2. Games -

More information

Robust Linear Temporal Logic

Robust Linear Temporal Logic Robust Linear Temporal Logic Paulo Tabuada 1 and Daniel Neider 2 1 Department of Electrical Engineering, University of California at Los Angeles, Los Angeles, CA 90095, USA tabuada@ucla.edu 2 Department

More information

CDS 270 (Fall 09) - Lecture Notes for Assignment 8.

CDS 270 (Fall 09) - Lecture Notes for Assignment 8. CDS 270 (Fall 09) - Lecture Notes for Assignment 8. ecause this part of the course has no slides or textbook, we will provide lecture supplements that include, hopefully, enough discussion to complete

More information

EXACT AND APPROXIMATE DETERMINIZATION OF DISCOUNTED-SUM AUTOMATA

EXACT AND APPROXIMATE DETERMINIZATION OF DISCOUNTED-SUM AUTOMATA Logical Methods in Computer Science Vol. 10(1:10)2014, pp. 1 33 www.lmcs-online.org Submitted May. 22, 2013 Published Feb. 13, 2014 EXACT AND APPROXIMATE DETERMINIZATION OF DISCOUNTED-SUM AUTOMATA a The

More information

Perfect-Information Stochastic Mean-Payo Parity Games

Perfect-Information Stochastic Mean-Payo Parity Games Perfect-Information Stochastic Mean-Payo Parity Games Krishnendu Chatterjee and Laurent Doyen and Hugo Gimbert and Youssouf Oualhadj Technical Report No. IST-2013-128-v1+1 Deposited at UNSPECIFIED http://repository.ist.ac.at/128/1/full

More information

IC3 and Beyond: Incremental, Inductive Verification

IC3 and Beyond: Incremental, Inductive Verification IC3 and Beyond: Incremental, Inductive Verification Aaron R. Bradley ECEE, CU Boulder & Summit Middle School IC3 and Beyond: Incremental, Inductive Verification 1/62 Induction Foundation of verification

More information

Ranked Predicate Abstraction for Branching Time. Complete, Incremental, and Precise

Ranked Predicate Abstraction for Branching Time. Complete, Incremental, and Precise : Complete, Incremental, and Precise Harald Fecher 1 Michael Huth 2 1 Christian-Albrechts-University at Kiel, Germany 2 Imperial College London, United Kingdom Beijing, ATVA 2006 Main Issues Foundation

More information

Automata-based Verification - III

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

More information

Integrating Induction, Deduction and Structure for Synthesis

Integrating Induction, Deduction and Structure for Synthesis Integrating Induction, Deduction and Structure for Synthesis Sanjit A. Seshia Associate Professor EECS Department UC Berkeley Students: S. Jha, W.Li, L. Dworkin, D. Sadigh Collaborators: A. Tiwari, S.

More information

Game Theory. Greg Plaxton Theory in Programming Practice, Spring 2004 Department of Computer Science University of Texas at Austin

Game Theory. Greg Plaxton Theory in Programming Practice, Spring 2004 Department of Computer Science University of Texas at Austin Game Theory Greg Plaxton Theory in Programming Practice, Spring 2004 Department of Computer Science University of Texas at Austin Bimatrix Games We are given two real m n matrices A = (a ij ), B = (b ij

More information

Synthesis from Probabilistic Components

Synthesis from Probabilistic Components Synthesis from Probabilistic Components Yoad Lustig, Sumit Nain, and Moshe Y. Vardi Department of Computer Science Rice University, Houston, TX 77005, USA yoad.lustig@gmail.com, nain@cs.rice.edu, vardi@cs.rice.edu

More information

Computational Models #1

Computational Models #1 Computational Models #1 Handout Mode Nachum Dershowitz & Yishay Mansour March 13-15, 2017 Nachum Dershowitz & Yishay Mansour Computational Models #1 March 13-15, 2017 1 / 41 Lecture Outline I Motivation

More information

Generalized Parity Games

Generalized Parity Games Generalized Parity Games Krishnendu Chatterjee Thomas A. Henzinger Nir Piterman Electrical Engineering and Computer Sciences University of California at Berkeley Technical Report No. UCB/EECS-2006-144

More information

Alan Bundy. Automated Reasoning LTL Model Checking

Alan Bundy. Automated Reasoning LTL Model Checking Automated Reasoning LTL Model Checking Alan Bundy Lecture 9, page 1 Introduction So far we have looked at theorem proving Powerful, especially where good sets of rewrite rules or decision procedures have

More information

A subexponential lower bound for the Random Facet algorithm for Parity Games

A subexponential lower bound for the Random Facet algorithm for Parity Games A subexponential lower bound for the Random Facet algorithm for Parity Games Oliver Friedmann 1 Thomas Dueholm Hansen 2 Uri Zwick 3 1 Department of Computer Science, University of Munich, Germany. 2 Center

More information

Synthesizing Efficient Systems in Probabilistic Environments

Synthesizing Efficient Systems in Probabilistic Environments Acta Informatica manuscript No. (will be inserted by the editor) Synthesizing Efficient Systems in Probabilistic Environments Christian von Essen, Barbara Jobstmann, David Parker, Rahul Varshneya February

More information

On Promptness in Parity Games (preprint version)

On Promptness in Parity Games (preprint version) Fundamenta Informaticae XXI (2X) 28 DOI.3233/FI-22- IOS Press On Promptness in Parity Games (preprint version) Fabio Mogavero Aniello Murano Loredana Sorrentino Università degli Studi di Napoli Federico

More information

On the Power of Imperfect Information

On the Power of Imperfect Information Foundations of Software Technology and Theoretical Computer Science (Bangalore) 2008. Editors: R. Hariharan, M. Mukund, V. Vinay; pp 73-82 On the Power of Imperfect Information Dietmar Berwanger 1 and

More information

EECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization

EECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization EECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Discrete Systems Lecture: Automata, State machines, Circuits Stavros Tripakis University of California, Berkeley Stavros

More information

The purpose here is to classify computational problems according to their complexity. For that purpose we need first to agree on a computational

The purpose here is to classify computational problems according to their complexity. For that purpose we need first to agree on a computational 1 The purpose here is to classify computational problems according to their complexity. For that purpose we need first to agree on a computational model. We'll remind you what a Turing machine is --- you

More information

Games and Abstract Inductive definitions

Games and Abstract Inductive definitions University of Bristol Kolkata, 5.i.2007 www.maths.bris.ac.uk/ mapdw Introduction 1) Ordinals and operators. (i) Ordinals (ii) Operators, monotone and non-monotone. 2) Circular Definitions (Gupta-Belnap).

More information

arxiv: v1 [cs.lo] 2 May 2014

arxiv: v1 [cs.lo] 2 May 2014 Safraless Synthesis for Epistemic Temporal Specifications Rodica Bozianu 1, Cătălin Dima 1, and Emmanuel Filiot 2, 1 Université Paris Est, LACL (EA 4219), UPEC, 94010 Créteil Cedex, France 2 Université

More information

Classes and conversions

Classes and conversions Classes and conversions Regular expressions Syntax: r = ε a r r r + r r Semantics: The language L r of a regular expression r is inductively defined as follows: L =, L ε = {ε}, L a = a L r r = L r L r

More information

Real-time Synthesis is Hard!

Real-time Synthesis is Hard! Real-time Synthesis is Hard! @ Highlights 2016 Benjamin Monmege (LIF, Aix-Marseille Université) Thomas Brihaye, Morgane Estiévenart, Hsi-Ming Ho (UMONS) Gilles Geeraerts (ULB) Nathalie Sznajder (UPMC,

More information

Introduction to Formal Verification Methods Exercise 4

Introduction to Formal Verification Methods Exercise 4 Introduction to Formal Verification Methods Exercise 4 Guy Katz, 301062063 May 30, 2013 Question 1 We argue that there exists a weakly fair non-progress cycle in the given model. ssuming weak fairness,

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

Distributed games with causal memory are decidable for series-parallel systems

Distributed games with causal memory are decidable for series-parallel systems Distributed games with causal memory are decidable for series-parallel systems Paul Gastin, enjamin Lerman, Marc Zeitoun Firstname.Name@liafa.jussieu.fr LIF, Université Paris 7, UMR CNRS 7089 FSTTCS, dec.

More information

Runtime Verification of Safety/Progress Properties

Runtime Verification of Safety/Progress Properties untime Verification of Safety/Progress Properties VEIMAG Lab & Université Joseph Fourier Grenoble, France Yliès Falcone and Jean-Claude Fernandez and Laurent Mounier November 24 th 2009, Prague, Czesh

More information

2. Syntactic Congruences and Monoids

2. Syntactic Congruences and Monoids IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 3: Algebra and Languages David Mix Barrington and Alexis Maciel July 19, 2000 1.

More information

Trading Infinite Memory for Uniform Randomness in Timed Games

Trading Infinite Memory for Uniform Randomness in Timed Games Trading Infinite Memory for Uniform Randomness in Timed Games Krishnendu Chatterjee Thomas A. Henzinger Vinayak Prabhu Electrical Engineering and Computer Sciences University of California at Berkeley

More information

Lecture 9 Synthesis of Reactive Control Protocols

Lecture 9 Synthesis of Reactive Control Protocols Lecture 9 Synthesis of Reactive Control Protocols Nok Wongpiromsarn Singapore-MIT Alliance for Research and Technology Richard M. Murray and Ufuk Topcu California Institute of Technology EECI, 16 May 2012

More information

Analysis of a Boost Converter Circuit Using Linear Hybrid Automata

Analysis of a Boost Converter Circuit Using Linear Hybrid Automata Analysis of a Boost Converter Circuit Using Linear Hybrid Automata Ulrich Kühne LSV ENS de Cachan, 94235 Cachan Cedex, France, kuehne@lsv.ens-cachan.fr 1 Introduction Boost converter circuits are an important

More information

Recitation 2 - Non Deterministic Finite Automata (NFA) and Regular OctoberExpressions

Recitation 2 - Non Deterministic Finite Automata (NFA) and Regular OctoberExpressions Recitation 2 - Non Deterministic Finite Automata (NFA) and Regular Expressions Orit Moskovich Gal Rotem Tel Aviv University October 28, 2015 Recitation 2 - Non Deterministic Finite Automata (NFA) and Regular

More information

Bounded Synthesis. Sven Schewe and Bernd Finkbeiner. Universität des Saarlandes, Saarbrücken, Germany

Bounded Synthesis. Sven Schewe and Bernd Finkbeiner. Universität des Saarlandes, Saarbrücken, Germany Bounded Synthesis Sven Schewe and Bernd Finkbeiner Universität des Saarlandes, 66123 Saarbrücken, Germany Abstract. The bounded synthesis problem is to construct an implementation that satisfies a given

More information

Theoretical Computer Science

Theoretical Computer Science Theoretical Computer Science 458 (2012) 49 60 Contents lists available at SciVerse ScienceDirect Theoretical Computer Science journal homepage: www.elsevier.com/locate/tcs Energy parity games Krishnendu

More information

Formal Definition of a Finite Automaton. August 26, 2013

Formal Definition of a Finite Automaton. August 26, 2013 August 26, 2013 Why a formal definition? A formal definition is precise: - It resolves any uncertainties about what is allowed in a finite automaton such as the number of accept states and number of transitions

More information

Language Stability and Stabilizability of Discrete Event Dynamical Systems 1

Language Stability and Stabilizability of Discrete Event Dynamical Systems 1 Language Stability and Stabilizability of Discrete Event Dynamical Systems 1 Ratnesh Kumar Department of Electrical Engineering University of Kentucky Lexington, KY 40506-0046 Vijay Garg Department of

More information

On Safety Properties and Their Monitoring

On Safety Properties and Their Monitoring Scientific Annals of Computer Science vol.??, 201?, pp. 1 39 On Safety Properties and Their Monitoring Grigore Roşu 1 Abstract This paper addresses the problem of runtime verification from a foundational

More information

Towards the Complexity of Controls for Timed Automata with a Small Number of Clocks

Towards the Complexity of Controls for Timed Automata with a Small Number of Clocks Fifth International Conference on Fuzzy Systems and Knowledge Discovery Towards the Complexity of Controls for Timed Automata with a Small Number of Clocks Taolue Chen CWI PO Box 94079, 1090 GB Amsterdam,

More information

Failure Diagnosis of Discrete Event Systems With Linear-Time Temporal Logic Specifications

Failure Diagnosis of Discrete Event Systems With Linear-Time Temporal Logic Specifications Failure Diagnosis of Discrete Event Systems With Linear-Time Temporal Logic Specifications Shengbing Jiang and Ratnesh Kumar Abstract The paper studies failure diagnosis of discrete event systems with

More information

Runtime Verification of Safety-Progress Properties

Runtime Verification of Safety-Progress Properties Unité Mixte de Recherche 5104 CNRS - INPG - UJF Centre Equation 2, avenue de VIGNATE F-38610 GIERES tel : +33 456 52 03 40 fax : +33 456 52 03 50 http://www-verimag.imag.fr Runtime Verification of Safety-Progress

More information

Learning Regular ω-languages

Learning Regular ω-languages Learning Regular ω-languages 1 2 Overview Motivation Background (ω-automata) 2014 Previous work on learning regular ω-languages Why is it difficult to extend L* [Angluin] to ω- languages? L* works due

More information

A Enforceable Security Policies Revisited

A Enforceable Security Policies Revisited A Enforceable Security Policies Revisited DAVID BASIN, ETH Zurich VINCENT JUGÉ, MINES ParisTech FELIX KLAEDTKE, ETH Zurich EUGEN ZĂLINESCU, ETH Zurich We revisit Schneider s work on policy enforcement

More information

Runtime Verification. Grigore Roşu. University of Illinois at Urbana-Champaign

Runtime Verification. Grigore Roşu. University of Illinois at Urbana-Champaign Runtime Verification Grigore Roşu University of Illinois at Urbana-Champaign 2 Contents 1 Introduction 7 2 Background, Preliminaries, Notations 13 3 Safety Properties 17 3.1 Finite Traces...........................

More information

Finite State Machines 2

Finite State Machines 2 Finite State Machines 2 Joseph Spring School of Computer Science 1COM0044 Foundations of Computation 1 Discussion Points In the last lecture we looked at: 1. Abstract Machines 2. Finite State Machines

More information

arxiv: v1 [cs.gt] 9 Jan 2017

arxiv: v1 [cs.gt] 9 Jan 2017 Games with Costs and Delays Martin Zimmermann Reactive Systems Group, Saarland University, 66123 Saarbrücken, Germany zimmermann@react.uni-saarland.de arxiv:1701.02168v1 [cs.gt] 9 Jan 2017 Abstract. We

More information

Recognizing Safety and Liveness by Alpern and Schneider

Recognizing Safety and Liveness by Alpern and Schneider Recognizing Safety and Liveness by Alpern and Schneider Calvin Deutschbein 17 Jan 2017 1 Intro 1.1 Safety What is safety? Bad things do not happen For example, consider the following safe program in C:

More information

Chapter 3: Linear temporal logic

Chapter 3: Linear temporal logic INFOF412 Formal verification of computer systems Chapter 3: Linear temporal logic Mickael Randour Formal Methods and Verification group Computer Science Department, ULB March 2017 1 LTL: a specification

More information

Assume-admissible synthesis

Assume-admissible synthesis Assume-admissible synthesis Romain Brenguier, Jean-François Raskin, Ocan Sankur To cite this version: Romain Brenguier, Jean-François Raskin, Ocan Sankur. Assume-admissible synthesis. Acta Informatica,

More information

Compositional Reasoning

Compositional Reasoning EECS 219C: Computer-Aided Verification Compositional Reasoning and Learning for Model Generation Sanjit A. Seshia EECS, UC Berkeley Acknowledgments: Avrim Blum Compositional Reasoning S. A. Seshia 2 1

More information

PS2 - Comments. University of Virginia - cs3102: Theory of Computation Spring 2010

PS2 - Comments. University of Virginia - cs3102: Theory of Computation Spring 2010 University of Virginia - cs3102: Theory of Computation Spring 2010 PS2 - Comments Average: 77.4 (full credit for each question is 100 points) Distribution (of 54 submissions): 90, 12; 80 89, 11; 70-79,

More information

Lecture 2 Automata Theory

Lecture 2 Automata Theory Lecture 2 Automata Theory Ufuk Topcu Nok Wongpiromsarn Richard M. Murray Outline: Transition systems Linear-time properties Regular propereties EECI, 14 May 2012 This short-course is on this picture applied

More information

Logic Model Checking

Logic Model Checking Logic Model Checking Lecture Notes 10:18 Caltech 101b.2 January-March 2004 Course Text: The Spin Model Checker: Primer and Reference Manual Addison-Wesley 2003, ISBN 0-321-22862-6, 608 pgs. the assignment

More information

A Survey of Stochastic ω-regular Games

A Survey of Stochastic ω-regular Games A Survey of Stochastic ω-regular Games Krishnendu Chatterjee Thomas A. Henzinger EECS, University of California, Berkeley, USA Computer and Communication Sciences, EPFL, Switzerland {c krish,tah}@eecs.berkeley.edu

More information

CISC 4090: Theory of Computation Chapter 1 Regular Languages. Section 1.1: Finite Automata. What is a computer? Finite automata

CISC 4090: Theory of Computation Chapter 1 Regular Languages. Section 1.1: Finite Automata. What is a computer? Finite automata CISC 4090: Theory of Computation Chapter Regular Languages Xiaolan Zhang, adapted from slides by Prof. Werschulz Section.: Finite Automata Fordham University Department of Computer and Information Sciences

More information

Infinite-Duration Bidding Games

Infinite-Duration Bidding Games Infinite-Duration Bidding Games Guy Avni 1, Thomas A. Henzinger 2, and Ventsislav Chonev 3 1 IST Austria, Klosterneuburg, Austria 2 IST Austria, Klosterneuburg, Austria 3 Max Planck Institute for Software

More information

Randomness for Free. 1 Introduction. Krishnendu Chatterjee 1, Laurent Doyen 2, Hugo Gimbert 3, and Thomas A. Henzinger 1

Randomness for Free. 1 Introduction. Krishnendu Chatterjee 1, Laurent Doyen 2, Hugo Gimbert 3, and Thomas A. Henzinger 1 Randomness for Free Krishnendu Chatterjee 1, Laurent Doyen 2, Hugo Gimbert 3, and Thomas A. Henzinger 1 1 IST Austria (Institute of Science and Technology Austria) 2 LSV, ENS Cachan & CNRS, France 3 LaBri

More information

The Complexity of Stochastic Müller Games

The Complexity of Stochastic Müller Games The Complexity of Stochastic Müller Games Krishnendu Chatterjee Electrical Engineering and Computer Sciences University of California at Berkeley Technical Report No. UCB/EECS-2007-110 http://www.eecs.berkeley.edu/pubs/techrpts/2007/eecs-2007-110.html

More information

Chapter Two: Finite Automata

Chapter Two: Finite Automata Chapter Two: Finite Automata In theoretical computer science, automata theory is the study of abstract machines (or more appropriately, abstract 'mathematical' machines or systems) and the computational

More information