Foundation of Diagnosis and Predictability in Probabilistic Systems

Size: px
Start display at page:

Download "Foundation of Diagnosis and Predictability in Probabilistic Systems"

Transcription

1 Foundtion of Dignosis nd Preditility in Proilisti Systems Nthlie Bertrnd 1, Serge Hddd 2, Engel Lefuheux 1,2 1 Inri Rennes, Frne 2 LSV, ENS Chn & CNRS & Inri Sly, Frne De. 16th FSTTCS 14

2 Dignosis of disrete event systems Ojetive: tell whether fult f ourred, sed on oservtions. f f 1 f 2 f 3 q 0 u q 1 q 2 Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-2/ 18

3 Dignosis of disrete event systems Ojetive: tell whether fult f ourred, sed on oservtions. q 0 f u f 1 f 2 f 3 q 1 q 2 + orret + fulty +? miguous Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-2/ 18

4 Dignosis of disrete event systems Ojetive: tell whether fult f ourred, sed on oservtions. q 0 f u f 1 f 2 f 3 q 1 q 2 + orret + fulty +? miguous Dignosility: ll oserved sequenes re unmiguous. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-2/ 18

5 Dignosis of disrete event systems Ojetive: tell whether fult f ourred, sed on oservtions. q 0 f u f 1 f 2 f 3 q 1 q 2 + orret + fulty +? miguous Dignosility: ll oserved sequenes re unmiguous. Dignoser: ssigns verdits to oserved sequenes D : Σ o {,,?} Soundness: if fult is limed, fult ourred. Retivity: every fult will e deteted. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-2/ 18

6 Dignosis of disrete event systems Ojetive: tell whether fult f ourred, sed on oservtions. q 0 f u f 1 f 2 f 3 q 1 q 2 + orret + fulty +? miguous Dignosility: ll oserved sequenes re unmiguous. Dignoser: ssigns verdits to oserved sequenes D : Σ o {,,?} Soundness: if fult is limed, fult ourred. Retivity: every fult will e deteted. Dignosility nd dignoser synthesis in PTIME [Jing et l. TAC 2001] Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-2/ 18

7 Dignosis of proilisti systems,1/2 f,1/2,1/2 f 1 f 2 f 3 q 0 u,1/2 q 1 q 2,1/2,1/2 Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-3/ 18

8 Dignosis of proilisti systems,1/2 f,1/2,1/2 f 1 f 2 f 3 + miguous ut... q 0 u,1/2 q 1 q 2,1/2,1/2 Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-3/ 18

9 Dignosis of proilisti systems,1/2 f,1/2,1/2 f 1 f 2 f 3 + miguous ut... q 0 u,1/2 q 1 q 2,1/2 lim n P(fn + u n ) = 0,1/2 Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-3/ 18

10 Dignosis of proilisti systems,1/2 f,1/2,1/2 f 1 f 2 f 3 + miguous ut... q 0 u,1/2 q 1 q 2,1/2 lim n P(fn + u n ) = 0,1/2 Our ontriution Relevnt soundness nd retivity riteri in proilisti setting Deidility nd omplexity of dignosility Optiml dignoser onstrution Beyond dignosis: preditility nd predignosis Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-3/ 18

11 Outline Dignosility Speifying dignosility Chrteristion Complexity Preditility nd predignosility Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-4/ 18

12 Outline Dignosility Speifying dignosility Chrteristion Complexity Preditility nd predignosility Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-5/ 18

13 All runs or fulty runs? u,1/2 f,1/2,1/2 q 1 q 0 f 1 f 2,1/2 Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-6/ 18

14 All runs or fulty runs? u,1/2 f,1/2,1/2 q 1 q 0 f 1 f 2 + is miguous,1/2 Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-6/ 18

15 All runs or fulty runs? u,1/2 f,1/2,1/2 q 1 q 0 f 1 f 2 + is miguous lim n P(fn ) = 0,1/2 Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-6/ 18

16 All runs or fulty runs? u,1/2 f,1/2,1/2 q 1 q 0 f 1 f 2 + is miguous lim n P(fn ) = 0,1/2 lim n P(un ) = 1 2 Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-6/ 18

17 All runs or fulty runs? u,1/2 f,1/2,1/2 q 1 q 0 f 1 f 2 + is miguous lim n P(fn ) = 0,1/2 lim n P(un ) = 1 2 Retivity speifitions: Detet fult, lmost surely. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-6/ 18

18 All runs or fulty runs? u,1/2 f,1/2,1/2 q 1 q 0 f 1 f 2 + is miguous lim n P(fn ) = 0,1/2 lim n P(un ) = 1 2 Retivity speifitions: Detet fult, lmost surely. Detet if run is fulty or orret, lmost surely. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-6/ 18

19 Infinite sequenes or their finite prefixes? u,1/2 u,1/2 f,1/2,1/2 q 1 q 0 q 2 f 1 f 2,1,1/2,1/2,1/2 Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-7/ 18

20 Infinite sequenes or their finite prefixes? u,1/2 u,1/2 f,1/2,1/2 q 1 q 0 q 2 f 1 f 2 ω is orret.,1,1/2,1/2,1/2 Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-7/ 18

21 Infinite sequenes or their finite prefixes? u,1/2 u,1/2 f,1/2,1/2 q 1 q 0 q 2 f 1 f 2,1,1/2,1/2,1/2 ω is orret. n is miguous nd P(q 0 u(q 1 ) n ) = 1 2. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-7/ 18

22 Infinite sequenes or their finite prefixes? u,1/2 u,1/2 f,1/2,1/2 q 1 q 0 q 2 f 1 f 2,1,1/2,1/2,1/2 ω is orret. n is miguous nd P(q 0 u(q 1 ) n ) = 1 2. Infinite sequenes re lmost surely non miguous. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-7/ 18

23 Infinite sequenes or their finite prefixes? u,1/2 u,1/2 f,1/2,1/2 q 1 q 0 q 2 f 1 f 2,1,1/2,1/2,1/2 ω is orret. n is miguous nd P(q 0 u(q 1 ) n ) = 1 2. Infinite sequenes re lmost surely non miguous. The proility of miguous prefixes tends to 0. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-7/ 18

24 Four dignosility notions Dignosility All runs Fulty runs Finite prefixes FA FF Infinite sequenes IA IF Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-8/ 18

25 Four dignosility notions Dignosility All runs Fulty runs Finite prefixes FA FF Infinite sequenes IA IF Fous on IF in this tlk. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-8/ 18

26 Chrteristion of dignosility Speifition of IF-dignosility: Infinite sequenes, Fult dignosis u u f A q 1 q 0 q 2 f 1 f 2 Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-9/ 18

27 Chrteristion of dignosility Speifition of IF-dignosility: Infinite sequenes, Fult dignosis u u f A q 1 q 0 q 2 f 1 f 2 Oserver: trks possile orret sttes fter given oserved sequene. O A {q 0} {q 1,q 2}, Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-9/ 18

28 Chrteristion of dignosility Speifition of IF-dignosility: Infinite sequenes, Fult dignosis u u f A q 1 q 0 q 2 f 1 f 2 Oserver: trks possile orret sttes fter given oserved sequene. O A {q 0} {q 1,q 2}, A is not IF-dignosle iff there exists stte (q, U) in BSCC of A O A with q fulty nd U. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-9/ 18

29 Dignoser synthesis For every IF-dignosle system with n orret sttes one n uild n IF-dignoser with t most 2 n sttes. Dignoser derived from oserver O A : emits in stte. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-10/ 18

30 Dignoser synthesis For every IF-dignosle system with n orret sttes one n uild n IF-dignoser with t most 2 n sttes. Dignoser derived from oserver O A : emits in stte. There is fmily (A n ) of IF-dignosle systems suh tht A n hs n + 1 orret sttes nd ny IF-dignoser needs 2 n sttes., q 0,,, q 1 q 2... q n A n f 0 f,,, f 1 f 2... f n Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-10/ 18

31 Dignosility is in PSPACE Dignosility is deidle in PSPACE for proilisti systems. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-11/ 18

32 Dignosility is in PSPACE Dignosility is deidle in PSPACE for proilisti systems. Sketh of proof relies on the hrteristion on A O A voids uilding the produt uses Svith s theorem for pproprite guesses Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-11/ 18

33 Dignosility is PSPACE-hrd L Σ is eventully universl if v Σ, v 1 L = Σ. The eventul universlity prolem for NFA is PSPACE-hrd. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-12/ 18

34 Dignosility is PSPACE-hrd L Σ is eventully universl if v Σ, v 1 L = Σ. The eventul universlity prolem for NFA is PSPACE-hrd. Dignosility is PSPACE-hrd. Redution from eventul universlity to dignosility. NFA q 0 u q f 0 f 0 Σ A not dignosle iff A O A ontins BSCC where eh stte hs the form (f 0, U) with U Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-12/ 18

35 Comprison with non-proilisti disrete event systems Dignosility is PSPACE-omplete for proilisti systems. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-13/ 18

36 Comprison with non-proilisti disrete event systems Dignosility is PSPACE-omplete for proilisti systems. Dignosility is deidle in PTIME for non-proilisti systems. [Jing, Hung, Chndr, Kumr TAC 2001] Sketh of proof uild the twin-produt with opy restrited to orret sttes hek for SCC with fulty sttes in the first omponent Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-13/ 18

37 Comprison with non-proilisti disrete event systems Dignosility is PSPACE-omplete for proilisti systems. Dignosility is deidle in PTIME for non-proilisti systems. [Jing, Hung, Chndr, Kumr TAC 2001] Sketh of proof uild the twin-produt with opy restrited to orret sttes hek for SCC with fulty sttes in the first omponent Erroneous dpttion to proilisti se in [Chen, Kumr TASE 2013]. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-13/ 18

38 Outline Dignosility Speifying dignosility Chrteristion Complexity Preditility nd predignosility Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-14/ 18

39 Preditility Ojetive: tell whether fult will our, sed on oservtions. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-15/ 18

40 Preditility Ojetive: tell whether fult will our, sed on oservtions. q 3 q 0 q 1 q 2 f f 1 + orret + surely eventully fulty +.s. eventully fulty Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-15/ 18

41 Preditility Ojetive: tell whether fult will our, sed on oservtions. q 3 q 0 q 1 q 2 f f 1 + orret + surely eventully fulty +.s. eventully fulty Two notions of soundness: sure: if fult is limed, fult will our lmost-sure: if fult is limed, fult will lmost-surely our Retivity: fult is deteted t lest k steps efore ourrene. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-15/ 18

42 Preditility Ojetive: tell whether fult will our, sed on oservtions. q 3 q 0 q 1 q 2 f f 1 + orret + surely eventully fulty +.s. eventully fulty surely 0-preditle lmost surely 1-preditle not 2-preditle Two notions of soundness: sure: if fult is limed, fult will our lmost-sure: if fult is limed, fult will lmost-surely our Retivity: fult is deteted t lest k steps efore ourrene. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-15/ 18

43 Preditility Ojetive: tell whether fult will our, sed on oservtions. q 3 q 0 q 1 q 2 f f 1 + orret + surely eventully fulty +.s. eventully fulty surely 0-preditle lmost surely 1-preditle not 2-preditle Two notions of soundness: sure: if fult is limed, fult will our lmost-sure: if fult is limed, fult will lmost-surely our Retivity: fult is deteted t lest k steps efore ourrene. Preditility is NLOGSPACE-omplete for proilisti systems. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-15/ 18

44 Predignosility Ojetive: detet nd foresee fults nlysing pst nd future f f 1 q 0 q 1 f q 2 + orret +.s. eventully fulty Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-16/ 18

45 Predignosility Ojetive: detet nd foresee fults nlysing pst nd future f f 1 q 0 q 1 f q 2 + orret +.s. eventully fulty Soundness: If fult is limed, fult hppened or (lmost) surely will. Retivity: Fults re lmost surely limed. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-16/ 18

46 Predignosility Ojetive: detet nd foresee fults nlysing pst nd future f f 1 q 0 q 1 f q 2 + orret +.s. eventully fulty Soundness: If fult is limed, fult hppened or (lmost) surely will. Retivity: Fults re lmost surely limed. Predignosility is PSPACE-omplete. Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-16/ 18

47 Conlusion: Foundtion of proilisti dignosis Summry of ontriutions Investigtion of semntil issues Tight omplexity ounds for dignosility nd dignoser synthesis prolems Introdution of predignosility Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-17/ 18

48 Conlusion: Foundtion of proilisti dignosis Summry of ontriutions Investigtion of semntil issues Tight omplexity ounds for dignosility nd dignoser synthesis prolems Introdution of predignosility Future work Approximte dignosis (relxing soundness) Other prdigms relted to prtil oservtion (detetility, opity, et.) Spe nd time optimistion of oservtions Foundtion of Dignosis nd Preditility in Proilisti Systems De. 16th FSTTCS 14-17/ 18

Active Diagnosis. Serge Haddad. Vecos 16. October the 6th 2016

Active Diagnosis. Serge Haddad. Vecos 16. October the 6th 2016 Ative Dignosis Serge Hddd LSV, ENS Chn & CNRS & Inri, Frne Veos 16 Otoer the 6th 2016 joint work with Nthlie Bertrnd 2, Eri Fre 2, Sten Hr 1,2, Loï Hélouët 2, Trek Melliti 1, Sten Shwoon 1 (1) FSTTCS 2013

More information

Controlling a population of identical NFA

Controlling a population of identical NFA Controlling popultion of identicl NFA Nthlie Bertrnd Inri Rennes joint work with Miheer Dewskr (ex CMI student), Blise Genest (IRISA) nd Hugo Gimert (LBRI) LSV 20th nniversry LSV 20th nniversry, My 2017

More information

Optimal Constructions for Active Diagnosis

Optimal Constructions for Active Diagnosis Optiml Construtions or Ative Dignosis Sten Hr 1, Serge Hddd 1, Trek Melliti 2, nd Sten Shwoon 1 1 LSV (CNRS & ENS Chn) & INRIA, Frne 2 IBISC (Univ Evry Vl-Essonne), Frne Astrt The tsk o dignosis onsists

More information

State Complexity of Union and Intersection of Binary Suffix-Free Languages

State Complexity of Union and Intersection of Binary Suffix-Free Languages Stte Complexity of Union nd Intersetion of Binry Suffix-Free Lnguges Glin Jirásková nd Pvol Olejár Slovk Ademy of Sienes nd Šfárik University, Košie 0000 1111 0000 1111 Glin Jirásková nd Pvol Olejár Binry

More information

Petri Nets. Rebecca Albrecht. Seminar: Automata Theory Chair of Software Engeneering

Petri Nets. Rebecca Albrecht. Seminar: Automata Theory Chair of Software Engeneering Petri Nets Ree Alreht Seminr: Automt Theory Chir of Softwre Engeneering Overview 1. Motivtion: Why not just using finite utomt for everything? Wht re Petri Nets nd when do we use them? 2. Introdution:

More information

Automatic Synthesis of New Behaviors from a Library of Available Behaviors

Automatic Synthesis of New Behaviors from a Library of Available Behaviors Automti Synthesis of New Behviors from Lirry of Aville Behviors Giuseppe De Giomo Università di Rom L Spienz, Rom, Itly degiomo@dis.unirom1.it Sestin Srdin RMIT University, Melourne, Austrli ssrdin@s.rmit.edu.u

More information

Behavior Composition in the Presence of Failure

Behavior Composition in the Presence of Failure Behvior Composition in the Presene of Filure Sestin Srdin RMIT University, Melourne, Austrli Fio Ptrizi & Giuseppe De Giomo Spienz Univ. Rom, Itly KR 08, Sept. 2008, Sydney Austrli Introdution There re

More information

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER MACHINES AND THEIR LANGUAGES ANSWERS

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER MACHINES AND THEIR LANGUAGES ANSWERS The University of ottinghm SCHOOL OF COMPUTR SCIC A LVL 2 MODUL, SPRIG SMSTR 2015 2016 MACHIS AD THIR LAGUAGS ASWRS Time llowed TWO hours Cndidtes my omplete the front over of their nswer ook nd sign their

More information

Learning Partially Observable Markov Models from First Passage Times

Learning Partially Observable Markov Models from First Passage Times Lerning Prtilly Oservle Mrkov s from First Pssge s Jérôme Cllut nd Pierre Dupont Europen Conferene on Mhine Lerning (ECML) 8 Septemer 7 Outline. FPT in models nd sequenes. Prtilly Oservle Mrkov s (POMMs).

More information

Decentralized Diagnosis for Nonfailures of Discrete Event Systems Using Inference-Based Ambiguity Management

Decentralized Diagnosis for Nonfailures of Discrete Event Systems Using Inference-Based Ambiguity Management IEEE TRANSACTIONS ON SYSTEMS, MAN, AND CYBERNETICS PART A: SYSTEMS AND HUMANS, VOL. XX, NO. X, XXX 2009 1 Deentrlized Dignosis or Nonilures o Disrete Event Systems Using Inerene-Bsed Amiguity Mngement

More information

On the Maximally-Permissive Range Control Problem in Partially-Observed Discrete Event Systems

On the Maximally-Permissive Range Control Problem in Partially-Observed Discrete Event Systems On the Mximlly-Permissie Rnge Control Prolem in Prtilly-Osered Disrete Eent Systems Xing Yin nd Stéphne Lfortune EECS Deprtment, Uniersity of Mihign 55th IEEE CDC, De 2-4, 206, Ls Vegs, USA X.Yin & S.Lfortune

More information

Chapter 4 State-Space Planning

Chapter 4 State-Space Planning Leture slides for Automted Plnning: Theory nd Prtie Chpter 4 Stte-Spe Plnning Dn S. Nu CMSC 722, AI Plnning University of Mrylnd, Spring 2008 1 Motivtion Nerly ll plnning proedures re serh proedures Different

More information

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014 S 224 DIGITAL LOGI & STATE MAHINE DESIGN SPRING 214 DUE : Mrh 27, 214 HOMEWORK III READ : Relte portions of hpters VII n VIII ASSIGNMENT : There re three questions. Solve ll homework n exm prolems s shown

More information

Prefix-Free Regular-Expression Matching

Prefix-Free Regular-Expression Matching Prefix-Free Regulr-Expression Mthing Yo-Su Hn, Yjun Wng nd Derik Wood Deprtment of Computer Siene HKUST Prefix-Free Regulr-Expression Mthing p.1/15 Pttern Mthing Given pttern P nd text T, find ll sustrings

More information

03. Early Greeks & Aristotle

03. Early Greeks & Aristotle 03. Erly Greeks & Aristotle I. Erly Greeks Topis I. Erly Greeks II. The Method of Exhustion III. Aristotle. Anximnder (. 60 B.C.) to peiron - the unlimited, unounded - fundmentl sustne of relity - underlying

More information

Abstraction of Nondeterministic Automata Rong Su

Abstraction of Nondeterministic Automata Rong Su Astrtion of Nondeterministi Automt Rong Su My 6, 2010 TU/e Mehnil Engineering, Systems Engineering Group 1 Outline Motivtion Automton Astrtion Relevnt Properties Conlusions My 6, 2010 TU/e Mehnil Engineering,

More information

Lecture 6: Coding theory

Lecture 6: Coding theory Leture 6: Coing theory Biology 429 Crl Bergstrom Ferury 4, 2008 Soures: This leture loosely follows Cover n Thoms Chpter 5 n Yeung Chpter 3. As usul, some of the text n equtions re tken iretly from those

More information

Project 6: Minigoals Towards Simplifying and Rewriting Expressions

Project 6: Minigoals Towards Simplifying and Rewriting Expressions MAT 51 Wldis Projet 6: Minigols Towrds Simplifying nd Rewriting Expressions The distriutive property nd like terms You hve proly lerned in previous lsses out dding like terms ut one prolem with the wy

More information

Cyclic Inputs. Surface Generation (Part II) Ambiguity-preserving Generation. Ambiguity-preserving Generation. Ambiguity-preserving Generation

Cyclic Inputs. Surface Generation (Part II) Ambiguity-preserving Generation. Ambiguity-preserving Generation. Ambiguity-preserving Generation Cyli Inputs The set of strings tht grmmr reltes to yli input struture might e non-ontext-free Surfe Genertion (Prt II) Amiguity-preserving Genertion Amiguity-preserving Genertion Motivtion Motivtion ()

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 5 Supplement Greedy Algorithms Cont d Minimizing lteness Ching (NOT overed in leture) Adm Smith 9/8/10 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov,

More information

Alpha Algorithm: Limitations

Alpha Algorithm: Limitations Proess Mining: Dt Siene in Ation Alph Algorithm: Limittions prof.dr.ir. Wil vn der Alst www.proessmining.org Let L e n event log over T. α(l) is defined s follows. 1. T L = { t T σ L t σ}, 2. T I = { t

More information

Bottom-Up Parsing. Canonical Collection of LR(0) items. Part II

Bottom-Up Parsing. Canonical Collection of LR(0) items. Part II 2 ottom-up Prsing Prt II 1 Cnonil Colletion of LR(0) items CC_LR(0)_I items(g :ugmented_grmmr){ C = {CLOURE({ })} ; repet{ foreh(i C) foreh(grmmr symol X) if(goto(i,x) && GOTO(I,X) C) C = C {GOTO(I,X)};

More information

NON-DETERMINISTIC FSA

NON-DETERMINISTIC FSA Tw o types of non-determinism: NON-DETERMINISTIC FS () Multiple strt-sttes; strt-sttes S Q. The lnguge L(M) ={x:x tkes M from some strt-stte to some finl-stte nd ll of x is proessed}. The string x = is

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 8 Mx. lteness ont d Optiml Ching Adm Smith 9/12/2008 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov, K. Wyne Sheduling to Minimizing Lteness Minimizing

More information

On-Time Diagnosis of Discrete Event Systems

On-Time Diagnosis of Discrete Event Systems Proeedings of the 9th Interntionl Workshop on Disrete Event Systems Göteorg, Sweden, My 28-30, 2008 FrM1.3 On-Time Dignosis of Disrete Event Systems Adity Mhjn nd Demosthenis Teneketzis Deprtment of EECS,

More information

Functions. mjarrar Watch this lecture and download the slides

Functions. mjarrar Watch this lecture and download the slides 9/6/7 Mustf Jrrr: Leture Notes in Disrete Mthemtis. Birzeit University Plestine 05 Funtions 7.. Introdution to Funtions 7. One-to-One Onto Inverse funtions mjrrr 05 Wth this leture nd downlod the slides

More information

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6 CS311 Computtionl Strutures Regulr Lnguges nd Regulr Grmmrs Leture 6 1 Wht we know so fr: RLs re losed under produt, union nd * Every RL n e written s RE, nd every RE represents RL Every RL n e reognized

More information

Symmetrical Components 1

Symmetrical Components 1 Symmetril Components. Introdution These notes should e red together with Setion. of your text. When performing stedy-stte nlysis of high voltge trnsmission systems, we mke use of the per-phse equivlent

More information

Running an NFA & the subset algorithm (NFA->DFA) CS 350 Fall 2018 gilray.org/classes/fall2018/cs350/

Running an NFA & the subset algorithm (NFA->DFA) CS 350 Fall 2018 gilray.org/classes/fall2018/cs350/ Running n NFA & the suset lgorithm (NFA->DFA) CS 350 Fll 2018 gilry.org/lsses/fll2018/s350/ 1 NFAs operte y simultneously exploring ll pths nd epting if ny pth termintes t n ept stte.!2 Try n exmple: L

More information

Alpha Algorithm: A Process Discovery Algorithm

Alpha Algorithm: A Process Discovery Algorithm Proess Mining: Dt Siene in Ation Alph Algorithm: A Proess Disovery Algorithm prof.dr.ir. Wil vn der Alst www.proessmining.org Proess disovery = Ply-In Ply-In event log proess model Ply-Out Reply proess

More information

CS241 Week 6 Tutorial Solutions

CS241 Week 6 Tutorial Solutions 241 Week 6 Tutoril olutions Lnguges: nning & ontext-free Grmmrs Winter 2018 1 nning Exerises 1. 0x0x0xd HEXINT 0x0 I x0xd 2. 0xend--- HEXINT 0xe I nd ER -- MINU - 3. 1234-120x INT 1234 INT -120 I x 4.

More information

Supervisory Control under Partial Observation

Supervisory Control under Partial Observation Supervisory Control under Prtil Observtion Dr Rong Su S1-B1b-59, Shool of EEE Nnyng Tehnologil University Tel: +65 6790-6042, Emil: rsu@ntu.edu.sg EE6226 Disrete Event Dynmi Systems 1 Outline Motivtion

More information

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version A Lower Bound for the Length of Prtil Trnsversl in Ltin Squre, Revised Version Pooy Htmi nd Peter W. Shor Deprtment of Mthemtil Sienes, Shrif University of Tehnology, P.O.Bo 11365-9415, Tehrn, Irn Deprtment

More information

Hybrid Systems Modeling, Analysis and Control

Hybrid Systems Modeling, Analysis and Control Hyrid Systems Modeling, Anlysis nd Control Rdu Grosu Vienn University of Tehnology Leture 5 Finite Automt s Liner Systems Oservility, Rehility nd More Miniml DFA re Not Miniml NFA (Arnold, Diky nd Nivt

More information

Nondeterministic Automata vs Deterministic Automata

Nondeterministic Automata vs Deterministic Automata Nondeterministi Automt vs Deterministi Automt We lerned tht NFA is onvenient model for showing the reltionships mong regulr grmmrs, FA, nd regulr expressions, nd designing them. However, we know tht n

More information

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b CS 294-2 9/11/04 Quntum Ciruit Model, Solovy-Kitev Theorem, BQP Fll 2004 Leture 4 1 Quntum Ciruit Model 1.1 Clssil Ciruits - Universl Gte Sets A lssil iruit implements multi-output oolen funtion f : {0,1}

More information

Linear choosability of graphs

Linear choosability of graphs Liner hoosility of grphs Louis Esperet, Mikel Montssier, André Rspud To ite this version: Louis Esperet, Mikel Montssier, André Rspud. Liner hoosility of grphs. Stefn Felsner. 2005 Europen Conferene on

More information

On Determinisation of History-Deterministic Automata.

On Determinisation of History-Deterministic Automata. On Deterministion of History-Deterministic Automt. Denis Kupererg Mich l Skrzypczk University of Wrsw YR-ICALP 2014 Copenhgen Introduction Deterministic utomt re centrl tool in utomt theory: Polynomil

More information

1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true.

1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true. York University CSE 2 Unit 3. DFA Clsses Converting etween DFA, NFA, Regulr Expressions, nd Extended Regulr Expressions Instructor: Jeff Edmonds Don t chet y looking t these nswers premturely.. For ech

More information

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs Isomorphism of Grphs Definition The simple grphs G 1 = (V 1, E 1 ) n G = (V, E ) re isomorphi if there is ijetion (n oneto-one n onto funtion) f from V 1 to V with the property tht n re jent in G 1 if

More information

Bayesian Networks: Approximate Inference

Bayesian Networks: Approximate Inference pproches to inference yesin Networks: pproximte Inference xct inference Vrillimintion Join tree lgorithm pproximte inference Simplify the structure of the network to mkxct inferencfficient (vritionl methods,

More information

Chapter Five: Nondeterministic Finite Automata. Formal Language, chapter 5, slide 1

Chapter Five: Nondeterministic Finite Automata. Formal Language, chapter 5, slide 1 Chpter Five: Nondeterministic Finite Automt Forml Lnguge, chpter 5, slide 1 1 A DFA hs exctly one trnsition from every stte on every symol in the lphet. By relxing this requirement we get relted ut more

More information

Unfoldings of Networks of Timed Automata

Unfoldings of Networks of Timed Automata Unfolings of Networks of Time Automt Frnk Cssez Thoms Chtin Clue Jr Ptrii Bouyer Serge H Pierre-Alin Reynier Rennes, Deemer 3, 2008 Unfolings [MMilln 93] First efine for Petri nets Then extene to other

More information

Computing with finite semigroups: part I

Computing with finite semigroups: part I Computing with finite semigroups: prt I J. D. Mitchell School of Mthemtics nd Sttistics, University of St Andrews Novemer 20th, 2015 J. D. Mitchell (St Andrews) Novemer 20th, 2015 1 / 34 Wht is this tlk

More information

Graph Theory. Simple Graph G = (V, E). V={a,b,c,d,e,f,g,h,k} E={(a,b),(a,g),( a,h),(a,k),(b,c),(b,k),...,(h,k)}

Graph Theory. Simple Graph G = (V, E). V={a,b,c,d,e,f,g,h,k} E={(a,b),(a,g),( a,h),(a,k),(b,c),(b,k),...,(h,k)} Grph Theory Simple Grph G = (V, E). V ={verties}, E={eges}. h k g f e V={,,,,e,f,g,h,k} E={(,),(,g),(,h),(,k),(,),(,k),...,(h,k)} E =16. 1 Grph or Multi-Grph We llow loops n multiple eges. G = (V, E.ψ)

More information

Infinite-Step Opacity of Stochastic Discrete-Event Systems

Infinite-Step Opacity of Stochastic Discrete-Event Systems 7 th Asin Control Conferene (ASCC) Gold Cost Convention Centre, Austrli Deemer 7-, 7 Infinite-Step Opity of Stohsti Disrete-Event Systems Xing Yin, Zhojin Li, Weilin Wng nd Shoyun Li Astrt Opity is n importnt

More information

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4 Intermedite Mth Circles Wednesdy, Novemer 14, 2018 Finite Automt II Nickols Rollick nrollick@uwterloo.c Regulr Lnguges Lst time, we were introduced to the ide of DFA (deterministic finite utomton), one

More information

A Symbolic Approach to Control via Approximate Bisimulations

A Symbolic Approach to Control via Approximate Bisimulations A Symolic Approch to Control vi Approximte Bisimultions Antoine Girrd Lortoire Jen Kuntzmnn, Université Joseph Fourier Grenole, Frnce Interntionl Symposium on Innovtive Mthemticl Modelling Tokyo, Jpn,

More information

CODIAGNOSABILITY OF NETWORKED DISCRETE EVENT SYSTEMS WITH TIMING STRUCTURE. Gustavo da Silva Viana

CODIAGNOSABILITY OF NETWORKED DISCRETE EVENT SYSTEMS WITH TIMING STRUCTURE. Gustavo da Silva Viana CODIAGNOSABILITY OF NETWORKED DISCRETE EVENT SYSTEMS WITH TIMING STRUCTURE Gustvo d Silv Vin Tese de Doutordo presentd o Progrm de Pós-grdução em Engenhri Elétri, COPPE, d Universidde Federl do Rio de

More information

CONTROLLABILITY and observability are the central

CONTROLLABILITY and observability are the central 1 Complexity of Infiml Oservle Superlnguges Tomáš Msopust Astrt The infiml prefix-losed, ontrollle nd oservle superlnguge plys n essentil role in the reltionship etween ontrollility, oservility nd o-oservility

More information

5. Every rational number have either terminating or repeating (recurring) decimal representation.

5. Every rational number have either terminating or repeating (recurring) decimal representation. CHAPTER NUMBER SYSTEMS Points to Rememer :. Numer used for ounting,,,,... re known s Nturl numers.. All nturl numers together with zero i.e. 0,,,,,... re known s whole numers.. All nturl numers, zero nd

More information

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution Tehnishe Universität Münhen Winter term 29/ I7 Prof. J. Esprz / J. Křetínský / M. Luttenerger. Ferur 2 Solution Automt nd Forml Lnguges Homework 2 Due 5..29. Exerise 2. Let A e the following finite utomton:

More information

Instructions. An 8.5 x 11 Cheat Sheet may also be used as an aid for this test. MUST be original handwriting.

Instructions. An 8.5 x 11 Cheat Sheet may also be used as an aid for this test. MUST be original handwriting. ID: B CSE 2021 Computer Orgniztion Midterm Test (Fll 2009) Instrutions This is losed ook, 80 minutes exm. The MIPS referene sheet my e used s n id for this test. An 8.5 x 11 Chet Sheet my lso e used s

More information

Finite State Automata and Determinisation

Finite State Automata and Determinisation Finite Stte Automt nd Deterministion Tim Dworn Jnury, 2016 Lnguges fs nf re df Deterministion 2 Outline 1 Lnguges 2 Finite Stte Automt (fs) 3 Non-deterministi Finite Stte Automt (nf) 4 Regulr Expressions

More information

CS415 Compilers. Lexical Analysis and. These slides are based on slides copyrighted by Keith Cooper, Ken Kennedy & Linda Torczon at Rice University

CS415 Compilers. Lexical Analysis and. These slides are based on slides copyrighted by Keith Cooper, Ken Kennedy & Linda Torczon at Rice University CS415 Compilers Lexicl Anlysis nd These slides re sed on slides copyrighted y Keith Cooper, Ken Kennedy & Lind Torczon t Rice University First Progrmming Project Instruction Scheduling Project hs een posted

More information

Behavior Composition in the Presence of Failure

Behavior Composition in the Presence of Failure Behior Composition in the Presene of Filure Sestin Srdin RMIT Uniersity, Melourne, Austrli Fio Ptrizi & Giuseppe De Giomo Spienz Uni. Rom, Itly KR 08, Sept. 2008, Sydney Austrli Introdution There re t

More information

Génération aléatoire uniforme pour les réseaux d automates

Génération aléatoire uniforme pour les réseaux d automates Génértion létoire uniforme pour les réseux d utomtes Niols Bsset (Trvil ommun ve Mihèle Sori et Jen Miresse) Université lire de Bruxelles Journées Alé 2017 1/25 Motivtions (1/2) p q Automt re omni-present

More information

CS 360 Exam 2 Fall 2014 Name

CS 360 Exam 2 Fall 2014 Name CS 360 Exm 2 Fll 2014 Nme 1. The lsses shown elow efine singly-linke list n stk. Write three ifferent O(n)-time versions of the reverse_print metho s speifie elow. Eh version of the metho shoul output

More information

Pre-Lie algebras, rooted trees and related algebraic structures

Pre-Lie algebras, rooted trees and related algebraic structures Pre-Lie lgers, rooted trees nd relted lgeri strutures Mrh 23, 2004 Definition 1 A pre-lie lger is vetor spe W with mp : W W W suh tht (x y) z x (y z) = (x z) y x (z y). (1) Exmple 2 All ssoitive lgers

More information

Outline. Theory-based Bayesian framework for property induction Causal structure induction

Outline. Theory-based Bayesian framework for property induction Causal structure induction Outline Theory-sed Byesin frmework for property indution Cusl struture indution Constrint-sed (ottom-up) lerning Theory-sed Byesin lerning The origins of usl knowledge Question: how do people relily ome

More information

Compiler Design. Spring Lexical Analysis. Sample Exercises and Solutions. Prof. Pedro C. Diniz

Compiler Design. Spring Lexical Analysis. Sample Exercises and Solutions. Prof. Pedro C. Diniz University of Southern Cliforni Computer Siene Deprtment Compiler Design Spring 7 Lexil Anlysis Smple Exerises nd Solutions Prof. Pedro C. Diniz USC / Informtion Sienes Institute 47 Admirlty Wy, Suite

More information

Revision Sheet. (a) Give a regular expression for each of the following languages:

Revision Sheet. (a) Give a regular expression for each of the following languages: Theoreticl Computer Science (Bridging Course) Dr. G. D. Tipldi F. Bonirdi Winter Semester 2014/2015 Revision Sheet University of Freiurg Deprtment of Computer Science Question 1 (Finite Automt, 8 + 6 points)

More information

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of:

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of: 22: Union Fin CS 473u - Algorithms - Spring 2005 April 14, 2005 1 Union-Fin We wnt to mintin olletion of sets, uner the opertions of: 1. MkeSet(x) - rete set tht ontins the single element x. 2. Fin(x)

More information

Parse trees, ambiguity, and Chomsky normal form

Parse trees, ambiguity, and Chomsky normal form Prse trees, miguity, nd Chomsky norml form In this lecture we will discuss few importnt notions connected with contextfree grmmrs, including prse trees, miguity, nd specil form for context-free grmmrs

More information

Logic Synthesis and Verification

Logic Synthesis and Verification Logi Synthesis nd Verifition SOPs nd Inompletely Speified Funtions Jie-Hong Rolnd Jing 江介宏 Deprtment of Eletril Engineering Ntionl Tiwn University Fll 2010 Reding: Logi Synthesis in Nutshell Setion 2 most

More information

Regular expressions, Finite Automata, transition graphs are all the same!!

Regular expressions, Finite Automata, transition graphs are all the same!! CSI 3104 /Winter 2011: Introduction to Forml Lnguges Chpter 7: Kleene s Theorem Chpter 7: Kleene s Theorem Regulr expressions, Finite Automt, trnsition grphs re ll the sme!! Dr. Neji Zgui CSI3104-W11 1

More information

Laboratory for Foundations of Computer Science. An Unfolding Approach. University of Edinburgh. Model Checking. Javier Esparza

Laboratory for Foundations of Computer Science. An Unfolding Approach. University of Edinburgh. Model Checking. Javier Esparza An Unfoling Approh to Moel Cheking Jvier Esprz Lbortory for Fountions of Computer Siene University of Einburgh Conurrent progrms Progrm: tuple P T 1 T n of finite lbelle trnsition systems T i A i S i i

More information

input tape head moves current state

input tape head moves current state CPS 140 - Mthemticl Foundtions of CS Dr. Susn Rodger Section: Finite Automt (Ch. 2) (lecture notes) Things to do in clss tody (Jn. 13, 2004): ffl questions on homework 1 ffl finish chpter 1 ffl Red Chpter

More information

Haplotype Frequencies and Linkage Disequilibrium. Biostatistics 666

Haplotype Frequencies and Linkage Disequilibrium. Biostatistics 666 Hlotye Frequencies nd Linkge isequilirium iosttistics 666 Lst Lecture Genotye Frequencies llele Frequencies Phenotyes nd Penetrnces Hrdy-Weinerg Equilirium Simle demonstrtion Exercise: NO2 nd owel isese

More information

Geometry of the Circle - Chords and Angles. Geometry of the Circle. Chord and Angles. Curriculum Ready ACMMG: 272.

Geometry of the Circle - Chords and Angles. Geometry of the Circle. Chord and Angles. Curriculum Ready ACMMG: 272. Geometry of the irle - hords nd ngles Geometry of the irle hord nd ngles urriulum Redy MMG: 272 www.mthletis.om hords nd ngles HRS N NGLES The irle is si shpe nd so it n e found lmost nywhere. This setion

More information

CS 573 Automata Theory and Formal Languages

CS 573 Automata Theory and Formal Languages Non-determinism Automt Theory nd Forml Lnguges Professor Leslie Lnder Leture # 3 Septemer 6, 2 To hieve our gol, we need the onept of Non-deterministi Finite Automton with -moves (NFA) An NFA is tuple

More information

QUADRATIC EQUATION. Contents

QUADRATIC EQUATION. Contents QUADRATIC EQUATION Contents Topi Pge No. Theory 0-04 Exerise - 05-09 Exerise - 09-3 Exerise - 3 4-5 Exerise - 4 6 Answer Key 7-8 Syllus Qudrti equtions with rel oeffiients, reltions etween roots nd oeffiients,

More information

Arrow s Impossibility Theorem

Arrow s Impossibility Theorem Rep Voting Prdoxes Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Voting Prdoxes Properties Arrow s Theorem Leture Overview 1 Rep

More information

Graph width-parameters and algorithms

Graph width-parameters and algorithms Grph width-prmeters nd lgorithms Jisu Jeong (KAIST) joint work with Sigve Hortemo Sæther nd Jn Arne Telle (University of Bergen) 2015 KMS Annul Meeting 2015.10.24. YONSEI UNIVERSITY Grph width-prmeters

More information

Synchronizing Automata with Random Inputs

Synchronizing Automata with Random Inputs Synchronizing Automt with Rndom Inputs Vldimir Gusev Url Federl University, Ekterinurg, Russi 9 August, 14 Vldimir Gusev (UrFU) Synchronizing Automt with Rndom Input 9 August, 14 1 / 13 Introduction Synchronizing

More information

Test Generation from Timed Input Output Automata

Test Generation from Timed Input Output Automata Chpter 8 Test Genertion from Timed Input Output Automt The purpose of this hpter is to introdue tehniques for the genertion of test dt from models of softwre sed on vrints of timed utomt. The tests generted

More information

Appendix C Partial discharges. 1. Relationship Between Measured and Actual Discharge Quantities

Appendix C Partial discharges. 1. Relationship Between Measured and Actual Discharge Quantities Appendi Prtil dishrges. Reltionship Between Mesured nd Atul Dishrge Quntities A dishrging smple my e simply represented y the euilent iruit in Figure. The pplied lternting oltge V is inresed until the

More information

Plotting Ordered Pairs Using Integers

Plotting Ordered Pairs Using Integers SAMPLE Plotting Ordered Pirs Using Integers Ple two elsti nds on geoord to form oordinte xes shown on the right to help you solve these prolems.. Wht letter of the lphet does eh set of pirs nme?. (, )

More information

Ling 3701H / Psych 3371H: Lecture Notes 9 Hierarchic Sequential Prediction

Ling 3701H / Psych 3371H: Lecture Notes 9 Hierarchic Sequential Prediction Ling 3701H / Psyh 3371H: Leture Notes 9 Hierrhi Sequentil Predition Contents 9.1 Complex events.................................... 1 9.2 Reognition of omplex events using event frgments................

More information

Arrow s Impossibility Theorem

Arrow s Impossibility Theorem Rep Fun Gme Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Fun Gme Properties Arrow s Theorem Leture Overview 1 Rep 2 Fun Gme 3 Properties

More information

Bases for Vector Spaces

Bases for Vector Spaces Bses for Vector Spces 2-26-25 A set is independent if, roughly speking, there is no redundncy in the set: You cn t uild ny vector in the set s liner comintion of the others A set spns if you cn uild everything

More information

Spacetime and the Quantum World Questions Fall 2010

Spacetime and the Quantum World Questions Fall 2010 Spetime nd the Quntum World Questions Fll 2010 1. Cliker Questions from Clss: (1) In toss of two die, wht is the proility tht the sum of the outomes is 6? () P (x 1 + x 2 = 6) = 1 36 - out 3% () P (x 1

More information

On Decentralized Observability of Discrete Event Systems

On Decentralized Observability of Discrete Event Systems 2011 50th IEEE Conference on Decision nd Control nd Europen Control Conference (CDC-ECC) Orlndo, FL, USA, Decemer 12-15, 2011 On Decentrlized Oservility of Discrete Event Systems M.P. Csino, A. Giu, C.

More information

Unit 4. Combinational Circuits

Unit 4. Combinational Circuits Unit 4. Comintionl Ciruits Digitl Eletroni Ciruits (Ciruitos Eletrónios Digitles) E.T.S.I. Informáti Universidd de Sevill 5/10/2012 Jorge Jun 2010, 2011, 2012 You re free to opy, distriute

More information

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides. 1 PYTHAGORAS THEOREM 1 1 Pythgors Theorem In this setion we will present geometri proof of the fmous theorem of Pythgors. Given right ngled tringle, the squre of the hypotenuse is equl to the sum of the

More information

CS 330 Formal Methods and Models

CS 330 Formal Methods and Models CS 330 Forml Methods nd Models Dn Richrds, George Mson University, Spring 2017 Quiz Solutions Quiz 1, Propositionl Logic Dte: Ferury 2 1. Prove ((( p q) q) p) is tutology () (3pts) y truth tle. p q p q

More information

Modeling of Catastrophic Failures in Power Systems

Modeling of Catastrophic Failures in Power Systems Modeling of tstrophi Filures in Power Systems hnn Singh nd lex Sprintson Deprtment of Eletril nd omputer Engineering Texs &M hnn Singh nd lex Sprintson Modeling of tstrophi Filures Motivtion Reent events

More information

CS 491G Combinatorial Optimization Lecture Notes

CS 491G Combinatorial Optimization Lecture Notes CS 491G Comintoril Optimiztion Leture Notes Dvi Owen July 30, August 1 1 Mthings Figure 1: two possile mthings in simple grph. Definition 1 Given grph G = V, E, mthing is olletion of eges M suh tht e i,

More information

CSC2542 State-Space Planning

CSC2542 State-Space Planning CSC2542 Stte-Spe Plnning Sheil MIlrith Deprtment of Computer Siene University of Toronto Fll 2010 1 Aknowlegements Some the slies use in this ourse re moifitions of Dn Nu s leture slies for the textook

More information

Implication Graphs and Logic Testing

Implication Graphs and Logic Testing Implition Grphs n Logi Testing Vishwni D. Agrwl Jmes J. Dnher Professor Dept. of ECE, Auurn University Auurn, AL 36849 vgrwl@eng.uurn.eu www.eng.uurn.eu/~vgrwl Joint reserh with: K. K. Dve, ATI Reserh,

More information

The Value 1 Problem for Probabilistic Automata

The Value 1 Problem for Probabilistic Automata The Vlue 1 Prolem for Proilistic Automt Bruxelles Nthnël Fijlkow LIAFA, Université Denis Diderot - Pris 7, Frnce Institute of Informtics, Wrsw University, Polnd nth@lif.univ-pris-diderot.fr June 20th,

More information

Lecture Notes No. 10

Lecture Notes No. 10 2.6 System Identifition, Estimtion, nd Lerning Leture otes o. Mrh 3, 26 6 Model Struture of Liner ime Invrint Systems 6. Model Struture In representing dynmil system, the first step is to find n pproprite

More information

Calculus Cheat Sheet. Integrals Definitions. where F( x ) is an anti-derivative of f ( x ). Fundamental Theorem of Calculus. dx = f x dx g x dx

Calculus Cheat Sheet. Integrals Definitions. where F( x ) is an anti-derivative of f ( x ). Fundamental Theorem of Calculus. dx = f x dx g x dx Clulus Chet Sheet Integrls Definitions Definite Integrl: Suppose f ( ) is ontinuous Anti-Derivtive : An nti-derivtive of f ( ) on [, ]. Divide [, ] into n suintervls of is funtion, F( ), suh tht F = f.

More information

Homework 3 Solutions

Homework 3 Solutions CS 341: Foundtions of Computer Science II Prof. Mrvin Nkym Homework 3 Solutions 1. Give NFAs with the specified numer of sttes recognizing ech of the following lnguges. In ll cses, the lphet is Σ = {,1}.

More information

NFA and regex. the Boolean algebra of languages. non-deterministic machines. regular expressions

NFA and regex. the Boolean algebra of languages. non-deterministic machines. regular expressions NFA nd regex l the Boolen lger of lnguges non-deterministi mhines regulr expressions Informtis The intersetion of two regulr lnguges is regulr Run oth mhines in prllel? Build one mhine tht simultes two

More information

Exercise 3 Logic Control

Exercise 3 Logic Control Exerise 3 Logi Control OBJECTIVE The ojetive of this exerise is giving n introdution to pplition of Logi Control System (LCS). Tody, LCS is implemented through Progrmmle Logi Controller (PLC) whih is lled

More information

Learning Moore Machines from Input-Output Traces

Learning Moore Machines from Input-Output Traces Lerning Moore Mchines from Input-Output Trces Georgios Gintmidis 1 nd Stvros Tripkis 1,2 1 Alto University, Finlnd 2 UC Berkeley, USA Motivtion: lerning models from blck boxes Inputs? Lerner Forml Model

More information

Transition systems (motivation)

Transition systems (motivation) Trnsition systems (motivtion) Course Modelling of Conurrent Systems ( Modellierung neenläufiger Systeme ) Winter Semester 2009/0 University of Duisurg-Essen Brr König Tehing ssistnt: Christoph Blume In

More information

Date Lesson Text TOPIC Homework. Solving for Obtuse Angles QUIZ ( ) More Trig Word Problems QUIZ ( )

Date Lesson Text TOPIC Homework. Solving for Obtuse Angles QUIZ ( ) More Trig Word Problems QUIZ ( ) UNIT 5 TRIGONOMETRI RTIOS Dte Lesson Text TOPI Homework pr. 4 5.1 (48) Trigonometry Review WS 5.1 # 3 5, 9 11, (1, 13)doso pr. 6 5. (49) Relted ngles omplete lesson shell & WS 5. pr. 30 5.3 (50) 5.3 5.4

More information

PYTHAGORAS THEOREM WHAT S IN CHAPTER 1? IN THIS CHAPTER YOU WILL:

PYTHAGORAS THEOREM WHAT S IN CHAPTER 1? IN THIS CHAPTER YOU WILL: PYTHAGORAS THEOREM 1 WHAT S IN CHAPTER 1? 1 01 Squres, squre roots nd surds 1 02 Pythgors theorem 1 03 Finding the hypotenuse 1 04 Finding shorter side 1 05 Mixed prolems 1 06 Testing for right-ngled tringles

More information