Approaches to Reactive System Synthesis J.-H. Roland Jiang.

Slides:



Advertisements
Similar presentations
The Quest for Correctness Joseph Sifakis VERIMAG Laboratory 2nd Sogeti Testing Academy April 29th 2009.
Advertisements

Model Checking Lecture 1.
Model Checking Lecture 3. Specification Automata Syntax, given a set A of atomic observations: Sfinite set of states S 0 Sset of initial states S S transition.
Model Checking Lecture 2. Three important decisions when choosing system properties: 1automata vs. logic 2branching vs. linear time 3safety vs. liveness.
From Graph Models to Game Models Tom Henzinger EPFL.
Additional Topics ARTIFICIAL INTELLIGENCE
Black Box Checking Book: Chapter 9 Model Checking Finite state description of a system B. LTL formula. Translate into an automaton P. Check whether L(B)
Greta YorshEran YahavMartin Vechev IBM Research. { ……………… …… …………………. ……………………. ………………………… } P1() Challenge: Correct and Efficient Synchronization { ……………………………
Knowledge Based Synthesis of Control for Distributed Systems Doron Peled.
Automatic Verification Book: Chapter 6. What is verification? Traditionally, verification means proof of correctness automatic: model checking deductive:
Synthesis of Reactive systems Orna Kupferman Hebrew University Moshe Vardi Rice University.
Event structures Mauro Piccolo. Interleaving Models Trace Languages:  computation described through a non-deterministic choice between all sequential.
Timed Automata.
Supervisory Control of Hybrid Systems Written by X. D. Koutsoukos et al. Presented by Wu, Jian 04/16/2002.
Lecture 12 Latches Section Schedule 3/10MondayLatches (1) /12WednesdayFlip-flops5.4 3/13ThursdayFlip-flops, D-latch 3/17MondaySpring.
Energy and Mean-Payoff Parity Markov Decision Processes Laurent Doyen LSV, ENS Cachan & CNRS Krishnendu Chatterjee IST Austria MFCS 2011.
Interface-based design Philippe Giabbanelli CMPT 894 – Spring 2008.
Nir Piterman Department of Computer Science TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAA Bypassing Complexity.
Krishnendu Chatterjee1 Partial-information Games with Reachability Objectives Krishnendu Chatterjee Formal Methods for Robotics and Automation July 15,
Randomness for Free Laurent Doyen LSV, ENS Cachan & CNRS joint work with Krishnendu Chatterjee, Hugo Gimbert, Tom Henzinger.
Alpaga A Tool for Solving Parity Games with Imperfect Information Dietmar Berwanger 1 Krishnendu Chatterjee 2 Martin De Wulf 3 Laurent Doyen 3,4 Tom Henzinger.
Computability and Complexity 5-1 Classifying Problems Computability and Complexity Andrei Bulatov.
Discounting the Future in Systems Theory Chess Review May 11, 2005 Berkeley, CA Luca de Alfaro, UC Santa Cruz Tom Henzinger, UC Berkeley Rupak Majumdar,
EECS 20 Lecture 38 (April 27, 2001) Tom Henzinger Review.
Inferring Synchronization under Limited Observability Martin Vechev Eran Yahav Greta Yorsh IBM T.J. Watson Research Center.
Convertibility Verification and Converter Synthesis: Two Faces of the Same Coin Jie-Hong Jiang EE249 Discussion 11/21/2002 Passerone et al., ICCAD ’ 02.
Stochastic Zero-sum and Nonzero-sum  -regular Games A Survey of Results Krishnendu Chatterjee Chess Review May 11, 2005.
Models and Theory of Computation (MTC) EPFL Dirk Beyer, Jasmin Fisher, Nir Piterman Simon Kramer: Logic for cryptography Marc Schaub: Models for biological.
Stochastic Games Games played on graphs with stochastic transitions Markov decision processes Games against nature Turn-based games Games against adversary.
Design of Fault Tolerant Data Flow in Ptolemy II Mark McKelvin EE290 N, Fall 2004 Final Project.
Review of the automata-theoretic approach to model-checking.
ECE 301 – Digital Electronics Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #17)
ECE 331 – Digital Systems Design Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #19)
Solving Games Without Determinization Nir Piterman École Polytechnique Fédéral de Lausanne (EPFL) Switzerland Joint work with Thomas A. Henzinger.
Institute for Applied Information Processing and Communications 1 Karin Greimel Semmering, Open Implication.
Energy Parity Games Laurent Doyen LSV, ENS Cachan & CNRS Krishnendu Chatterjee IST Austria.
Benjamin Gamble. What is Time?  Can mean many different things to a computer Dynamic Equation Variable System State 2.
Model Checking Lecture 3 Tom Henzinger. Model-Checking Problem I |= S System modelSystem property.
Languages of nested trees Swarat Chaudhuri University of Pennsylvania (with Rajeev Alur and P. Madhusudan)
DECIDABILITY OF PRESBURGER ARITHMETIC USING FINITE AUTOMATA Presented by : Shubha Jain Reference : Paper by Alexandre Boudet and Hubert Comon.
1 Solving problems by searching This Lecture Chapters 3.1 to 3.4 Next Lecture Chapter 3.5 to 3.7 (Please read lecture topic material before and after each.
Space Complexity. Reminder: P, NP classes P NP is the class of problems for which: –Guessing phase: A polynomial time algorithm generates a plausible.
Games with Secure Equilibria Krishnendu Chatterjee (Berkeley) Thomas A. Henzinger (EPFL) Marcin Jurdzinski (Warwick)
CS5270 Lecture 41 Timed Automata I CS 5270 Lecture 4.
Inferring Synchronization under Limited Observability Martin Vechev, Eran Yahav, Greta Yorsh IBM T.J. Watson Research Center (work in progress)
Avoiding Determinization Orna Kupferman Hebrew University Joint work with Moshe Vardi.
Submodule construction in logics 1 Gregor v. Bochmann, University of Ottawa Using First-Order Logic to Reason about Submodule Construction Gregor v. Bochmann.
Graz University of Technology Professor Horst Cerjak, Barbara Jobstmann San Jose, Nov 15Optimizations for LTL Synthesis Barbara Jobstmann.
Learning Symbolic Interfaces of Software Components Zvonimir Rakamarić.
MDPs (cont) & Reinforcement Learning
CSCI 4310 Lecture 2: Search. Search Techniques Search is Fundamental to Many AI Techniques.
Verification & Validation By: Amir Masoud Gharehbaghi
PROBLEM-SOLVING TECHNIQUES Rocky K. C. Chang November 10, 2015.
Model Checking Lecture 1. Model checking, narrowly interpreted: Decision procedures for checking if a given Kripke structure is a model for a given formula.
Specify, Compile, Run: Hardware from PSL Speaker: Chen-Hsuan Adonis Lin Advisor: Jie-Hong Roland Jiang 2016年2月22日星期一 2016年2月22日星期一 2016年2月22日星期一 1.
Church’s Problem and a Tour through Automata Theory Wolfgang Thomas Pillars of Computer Science. Springer Berlin Heidelberg, 2008.
About Alternating Automata Daniel Choi Provable Software Laboratory KAIST.
Software Synthesis Participants: Omri Ajchenbaum and Daniel Hasson Supervised by Dr. Hillel Kugler Mid-Project presentations: February 2016.
Controller Synthesis For Timed Automata Authors : Eugene Asarin, Oded Maler, Amir Pnueli and Joseph Sifakis Yean-Ru Chen Embedded System Laboratory of.
Model Checking Lecture 1: Specification Tom Henzinger.
Model Checking Lecture 2. Model-Checking Problem I |= S System modelSystem property.
CS5270 Lecture 41 Timed Automata I CS 5270 Lecture 4.
Model Checking Lecture 2 Tom Henzinger. Model-Checking Problem I |= S System modelSystem property.
Four Lectures on Model Checking Tom Henzinger University of California, Berkeley.
Sequential Flexibility
Program Synthesis is a Game
High-Level Abstraction of Concurrent Finite Automata
Alternating tree Automata and Parity games
Quantitative Modeling, Verification, and Synthesis
Presentation transcript:

Approaches to Reactive System Synthesis J.-H. Roland Jiang

Road Map

Functional Synthesis First-order specification  x  y.  (x,y) Find program p(x) such that  x.  (x,p(x)) Extract programs from proofs

Road Map

Reactive Synthesis Characterized by sequential behavior Specification  is temporal

Closed System Synthesis  x  y.  (x,y) Construct two components C 1 and C 2 which can modify x and y, respectively, such that the running values of x and y satisfy  (x,y)

Open System Synthesis  x  y.  (x,y) C 1, which modifies x, represents the environment over which the implementor has no control, while C 2, which modifies y, is the body of the system itself Find f(x) such that  x.  (x, f(x))

Church’s Problem [Church 62] Summary of early digital synthesis and verification Specification C (X: I , Y: J  ) in “restricted recursive arithmetic” Find operator f: I   J  such that  X. C (X, f(X)) is valid Requirements 1. f may not depend on the future 2. f may not depend on the far past

Solution 1: Tree Automata  x  y.  (x, y) X-player chooses branch; Y-player chooses labeling Realizability = Non-emptiness Extract deterministic transducer from model Complexity: 2EXPTIME

Specification  Tree Automata

Solution 2: Game Automata Infinite games played on finite graphs G = (Q 0, Q 1, E 0, E 1, ,  ) Specification  (Q 0 Q 1 )  Sequential games  Borel games All Borel games are determined

Specification  Game

Solution 3: Control Synthesis Discrete event system P :  controllable actions Qsystem states q 0 initial state  P : Q    2 Q transition function L: Q  2 Prop state labeling Find controller C =  M, m 0,  C : M    M  such that C  P ² 

Specification  Controller

Inter-reductions Tree automaton  game Game  controller Controller  tree automaton

Tree Automaton  Game

Game  Controller

Controller  Tree Automaton

Implementability Problem Prior formulations mainly focused on the implementability problem Asks if there exists a solution Largest solution in language equation vs. most permissive strategy in game Most permissive strategy only exist for safety games A strategy is permissive if it allows all the behaviors of all memoryless winning strategies in the game For every game there is a permissive strategy with finite memory Support design refinement

Supervisory Control Synthesis Controllability  =  c   u Controllable events can be disabled at any time; uncontrollable events are always enabled Observability Partial observation can be see as a projection  :   {  o   } Natural projection (  o   ) Signal hiding [Kupferman Vardi 97]

Wining Strategies and Controller Synthesis Most permissive strategies Exist only for safety games

Control of Synchronous Systems [de Alfaro Henzinger Mang 00] Non-blocking Every state should have at least one successor state Typing Prevents combinational loops

Research Directions Language equation solving with general partial observations Connection between S 1  S 2 and X 1  X 2 (for the same F) Game formulation of the unknown component problem Connection between permissive strategies in games and largest solutions in language equations

References J. Bernet, D. Janin and I. Walukiewicz. Permissive strategies: from parity games to safety games. RAIRO, N. Bjorner. A survey of reactive synthesis. Slides for DIMACS, L. de Alfaro, T. Henzinger and F. Mang. The control of synchronous systems. In Proc. CONCUR, O. Kupferman and M. Vardi. Synthesis with incomplete information. In Proc. Int’l Conf. Temporal Logic, A. Pnueli and R. Rosner. On the synthesis of a reactive module. In Proc. POPL, P. Ramadge, W. Wonham. A control of discrete event systems. Proceedings of the IEEE, 1989.