1 Undecidable Problems of Decentralized Observation and Control Stavros Tripakis VERIMAG (based on [Puri,Tripakis,Varaiya-SCODES’01], [Tripakis-CDC’01],

Slides:



Advertisements
Similar presentations
Comparative Succinctness of KR Formalisms Paolo Liberatore.
Advertisements

Theory of Computing Lecture 23 MAS 714 Hartmut Klauck.
CS 267: Automated Verification Lecture 8: Automata Theoretic Model Checking Instructor: Tevfik Bultan.
Lecture 24 MAS 714 Hartmut Klauck
1 Fault Diagnosis for Timed Automata Stavros Tripakis VERIMAG.
Knowledge Based Synthesis of Control for Distributed Systems Doron Peled.
Virtual Time “Virtual Time and Global States of Distributed Systems” Friedmann Mattern, 1989 The Model: An asynchronous distributed system = a set of processes.
CSE 202 – Formal Languages and Automata Theory 1 REGULAR LANGUAGE.
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen Department of Computer Science University of Texas-Pan American.
Probability Theory Part 1: Basic Concepts. Sample Space - Events  Sample Point The outcome of a random experiment  Sample Space S The set of all possible.
Diagnosis of Discrete Event Systems Meir Kalech Partly based on slides of Gautam Biswass.
February 6, 2015CS21 Lecture 141 CS21 Decidability and Tractability Lecture 14 February 6, 2015.
1 Section 14.1 Computability Some problems cannot be solved by any machine/algorithm. To prove such statements we need to effectively describe all possible.
1 Introduction to Computability Theory Lecture12: Decidable Languages Prof. Amos Israeli.
1 Introduction to Computability Theory Lecture12: Reductions Prof. Amos Israeli.
Fall 2004COMP 3351 Undecidable problems for Recursively enumerable languages continued…
Convertibility Verification and Converter Synthesis: Two Faces of the Same Coin Jie-Hong Jiang EE249 Discussion 11/21/2002 Passerone et al., ICCAD ’ 02.
1 Module 19 LNFA subset of LFSA –Theorem 4.1 on page 131 of Martin textbook –Compare with set closure proofs Main idea –A state in FSA represents a set.
Regular Languages Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 3 Comments, additions and modifications.
COMMONWEALTH OF AUSTRALIA Copyright Regulations 1969 WARNING This material has been reproduced and communicated to you by or on behalf of Monash University.
Regular Languages Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 3 Comments, additions and modifications.
1/25 Context-Bounded Analysis of Concurrent Queue Systems Gennaro Parlato University of Illinois at Urbana-Champaign Università degli Studi di Salerno.
1 Decidability continued. 2 Undecidable Problems Halting Problem: Does machine halt on input ? State-entry Problem: Does machine enter state halt on input.
Automata & Formal Languages, Feodor F. Dragan, Kent State University 1 CHAPTER 5 Reducibility Contents Undecidable Problems from Language Theory.
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
Theory of Computing Lecture 22 MAS 714 Hartmut Klauck.
On Everlasting Security in the Hybrid Bounded Storage Model Danny Harnik Moni Naor.
Regular Model Checking Ahmed Bouajjani,Benget Jonsson, Marcus Nillson and Tayssir Touili Moran Ben Tulila
Comparison of methods for supervisory control and submodule construction 1 Gregor v. Bochmann, University of Ottawa Comparison of methods for supervisory.
Zvi Kohavi and Niraj K. Jha 1 Memory, Definiteness, and Information Losslessness of Finite Automata.
Synthesis for Concurrent Models Anca Muscholl LIAFA, Univ. Paris 7 Dagstuhl, June 2005 joint work with Blaise Genest (Warwick, UK)
Consensus and Its Impossibility in Asynchronous Systems.
Lecture 05: Theory of Automata:08 Kleene’s Theorem and NFA.
Decidable Questions About Regular languages 1)Membership problem: “Given a specification of known type and a string w, is w in the language specified?”
CSCI 3160 Design and Analysis of Algorithms Tutorial 10 Chengyu Lin.
Correct-by-construction asynchronous implementation of modular synchronous specifications Jacky Potop Benoît Caillaud Albert Benveniste IRISA, France.
Submodule construction for specifications with I/O, Nov Gregor v. Bochmann, University of Ottawa Submodule construction for specifications with.
1 Black-box conformance testing for real-time systems Stavros Tripakis VERIMAG Joint work with Moez Krichen.
Lecture # 12. Nondeterministic Finite Automaton (NFA) Definition: An NFA is a TG with a unique start state and a property of having single letter as label.
1 Turing’s Thesis. 2 Turing’s thesis: Any computation carried out by mechanical means can be performed by a Turing Machine (1930)
Chap 15. Agreement. Problem Processes need to agree on a single bit No link failures A process can fail by crashing (no malicious behavior) Messages take.
Basic Concepts of Encoding Codes and Error Correction 1.
Products of MSC-Graphs Philippe Darondeau Blaise Genest Loïc Hélouët IRISA Laboratory / CNRS&INRIA Rennes, France.
CS 367: Model-Based Reasoning Lecture 7 (02/05/2002) Gautam Biswas.
Pushdown Automata Chapter 12. Recognizing Context-Free Languages Two notions of recognition: (1) Say yes or no, just like with FSMs (2) Say yes or no,
1 Recap lecture 28 Examples of Myhill Nerode theorem, Quotient of a language, examples, Pseudo theorem: Quotient of a language is regular, prefixes of.
CS 154 Formal Languages and Computability April 28 Class Meeting Department of Computer Science San Jose State University Spring 2016 Instructor: Ron Mak.
Recursively Enumerable and Recursive Languages. Definition: A language is recursively enumerable if some Turing machine accepts it.
Communicating Timed Automata Pavel Krčál Wang Yi Uppsala University [CAV’06]
Synthesis from scenarios and requirements
Busch Complexity Lectures: Reductions
Reductions.
Reductions Costas Busch - LSU.
CSE 105 theory of computation
High-Level Abstraction of Concurrent Finite Automata
Information Security CS 526
4. Properties of Regular Languages
Recap lecture 29 Example of prefixes of a language, Theorem: pref(Q in R) is regular, proof, example, Decidablity, deciding whether two languages are equivalent.
CSCI 2670 Introduction to Theory of Computing
Minimal DFA Among the many DFAs accepting the same regular language L, there is exactly one (up to renaming of states) which has the smallest possible.
Undecidable problems:
Fault Diagnosis for Timed Automata
Recap lecture 18 NFA corresponding to union of FAs,example, NFA corresponding to concatenation of FAs,examples, NFA corresponding to closure of an FA,examples.
Instructor: Aaron Roth
Decidability continued….
Information Security CS 526
More Undecidable Problems
CSC312 Automata Theory Lecture # 24 Chapter # 11 by Cohen Decidability.
Data Link Layer. Position of the data-link layer.
Presentation transcript:

1 Undecidable Problems of Decentralized Observation and Control Stavros Tripakis VERIMAG (based on [Puri,Tripakis,Varaiya-SCODES’01], [Tripakis-CDC’01], [Tripakis-WODES’02])

2 Plan of talk Decentralized observation: –Observation architecture and problem definition. –Necessary-sufficient conditions and examples. –Undecidability. –Links to formal language theory. –Open questions. Decentralized control: –A problem from supervisory control theory. –Reducing observation to control. Example: the Alternating Bit Protocol.

3 Observation architecture Plant Observation 1 Decision function Does behavior meet a certain property ? Observation n … observation point 1observation point n

4 Observation architecture Plant: regular lang. L over  plant’s behavior:   L  1 = Proj( ,  1 ) Decision function   K ?  n = Proj( ,  n ) …

5 Definition Given regular languages K  L   * and subalphabets  i   *, i=1,…,n, K is called observable w.r.t. L,  i, if there exists a total function such that for all   L, f   1     n   ** f( P 1(  ), …, P n(  ) ) = 1 iff   K

6 Example of non-observability L={a b,b a} K={a b} Decision function The decision function receives the same input in both cases!  1 ={a}  2 ={b} ab

7 Necessary and sufficient conditions K is observable w.r.t. L,  i, iff  K.  ’  L-K.  i=1,…,n. Pi(  )  Pi(  ’)

8 Example of observability with ``unbounded memory’’ L= (a b)* (1 + b b) K= (a b)* The decision function must count !  1 ={a}  2 ={b}

9 Decidability of centralized observability (n=1) Checking observability is decidable in the centralized case (n=1). In this case nec./suf. condition becomes:  K.  ’  L-K. P1(  )  P1(  ’)  P1(K)  P1(L-K) = 

10 Note Decentralized observability is not equivalent to: This condition is much stronger.  i=1,…,n. Pi(K)  Pi(L-K) = 

11 Illustration of stronger condition L 11 * 22 * K L-K K is observable w.r.t. L,  1,  2 projections x y z

12 Illustration of observability L 11 * 22 * K L-K K is unobservable w.r.t. L,  1,  2 projections

13 Undecidability of decentralized observability (n  2) Checking observability is undecidable: –For two (or more) observers (n=2). –For three (or more) observers, even if K, L are prefix-closed. –Question open for n=2 and K, L prefix- closed.

14 Undecidability proof By reduction of Post’s Correspondence Problem (PCP): –For a given instance of PCP, build K, L,  i, such that K is jointly observable w.r.t. L,  i iff the PCP instance has no solution. the PCP alphabet

15 Links to theory of rational sets (thanks to anonymous reviewer) Given regular language L   * and  i   *, i=1,…,n, define the set which is a rational subset of the monoid Then, observability is equivalent to checking that

16 Links to theory of rational sets Another way of getting at the undecidability result: –Given rational sets A,B, checking if A  B={} is undecidable –For every rational subset A of, there exists regular language L(A)   *, such that A  B={}iff iff

17 Links to theory of traces (working on it) K observable w.r.t.  *,  i  K is a trace language w.r.t. the dependency where

18 Open questions The question n=2 and prefix-closed. Special case of the problem where L=  *. –When  i are a partition of , decidable and equivalent to finite-memory observability (c.f. Zielonka’s theorem). Same problems with finite-memory observers (finite-state automata). –Note that they are not asynchronous automata (they do not synchronize on common events).

19 Decentralized control A problem from supervisory control theory (Ramadge-Wonham et al). Variants of the problem known to be decidable (e.g., [Cieslak et al’88], [Rudie-Wonham’92]). This variant is probably the most interesting: –It captures protocol synthesis. –If the problem was decidable, we could automatically synthesize protocols such as the Alternating Bit Protocol !

20 Centralized control architecture Regular language L   * supervisor

21 Decentralized control architecture (without communication)

22 Property model Responsiveness property over  : a formula of the form A word w over  satisfies a  b if for every a in w there is a b after the a. Specification: a set  of responsiveness properties. A set of words L satisfies  if every word in L satisfies every property in . a  ba, b  

23 Control problem Given: –A plant G over , and subalphabets  Oi,  Ci of  –A specification over  Find: –Supervisors Ci observing  Oi and controlling  Ci Such that: –The language of the closed-loop system satisfies the specification.

24 Control problem (alternative formulation) Given: –A plant G over , and subalphabets  Oi,  Ci of  –A specification over  Find: –Supervisors Ci observing  Oi and controlling  Ci Such that: –The language of the closed-loop system satisfies the specification.

25 Reducing observation to control (for simplicity, n=2) Suppose we want to check whether K is observable w.r.t. L,  i ’, for i=1,…,n. We will reduce this to checking existence of n supervisors: –Each supervisor will initially observe a behavior in L. –Then supervisors 2 to n will “send” their observations to supervisor 1 (how?). –Finally, supervisor 1 will have to decide whether the original behavior was in K or in L-K.

26 Reducing observation to control (for simplicity, n=2) Let Ti be alphabets of “fresh” letters, copies of  i ’, for i=2,…,n. The plant will be:

27 Reducing observation to control (for simplicity, n=2) Let Ti be alphabets of “fresh” letters, copies of  i ’, for i=2,…,n. The plant will be: Everybody observes L (a and b are unobservable)

28 Reducing observation to control (for simplicity, n=2) Let Ti be alphabets of “fresh” letters, copies of  i ’, for i=2,…,n. The plant will be: Supervisor 2 transmits its observation to supervisor 1

29 Reducing observation to control (for simplicity, n=2) Let Ti be alphabets of “fresh” letters, copies of  i ’, for i=2,…,n. The plant will be: Supervisor n transmits its observation to supervisor 1

30 Reducing observation to control (for simplicity, n=2) Let Ti be alphabets of “fresh” letters, copies of  i ’, for i=2,…,n. The plant will be: Supervisor 1 must decide (a’ and b’ are controllable by sup.1)

31 Reducing observation to control (for simplicity, n=2) The specification will be: That is: if behavior was in K, enable a’, otherwise enable b’.

32 Undecidability of control problem Supervisors exist iff K is observable: –If K not observable, supervisors cannot distinguish between an observation in K and an observation in L-K. –If K observable, supervisor 1 gathers the observations of everybody, then applies the f function (note that supervisors are infinite-state). Control problem undecidable for n  2.

33 Example: how to synthesize a reliable transmission protocol over an unreliable channel ? Sending client Receiving client Backward channel Forward channel ? Channels are lossy but FIFO. O,1 donesend deliver

34 The problem is a decentralized control synthesis problem ? Sending client Receiving client Backward channel Forward channel ? O f,1 f O f ’,1 f ’ O b,1 b donesend deliver Plant supervisors observable events controllable events O b ’,1 b ’

35 Other results Decentralized diagnosability is also undecidable. Adding communication with unbounded delays (lossless, FIFO) does not help. Bounded-delay communication helps (but the details have to be worked out). Hierarchy of control problems with communication:

36 Thanks to... Raja Sengupta Anuj Puri Pravin Varaiya David de Frutos Stephane Lafortune Albert Benveniste Karen Rudie John Thistle Anonymous reviewer of SCODES’01 Jean Berstel …

37 Merci !