Verification. Lecture 9. Bernd Finkbeiner Peter Faymonville Michael Gerke

Size: px
Start display at page:

Download "Verification. Lecture 9. Bernd Finkbeiner Peter Faymonville Michael Gerke"

Transcription

1 Verification Lecture 9 Bernd Finkbeiner Peter Faymonville Michael Gerke

2 REVIEW: Overview of LTL model checking System Negation of property Model of system LTL-formula φ model checker GeneralisedBüchiautomatonG φ Transition system TS BüchiautomatonA φ Product transition system TS A φ TS A φ P pers(a φ) Yes No (counter-example)

3 REVIEW: The GNBA of LTL-formula φ ForLTL-formulaφ,letG φ =(Q,2 AP,δ,Q 0,F)where QisthesetofallelementarysetsofformulasB closure(φ) Q0 ={B Q φ B} F ={{B Q φ 1 Uφ 2 / Borφ 2 B} φ 1 Uφ 2 closure(φ)} Thetransitionrelationδ Q 2 AP 2 Q isgivenby: δ(b,b AP)isthesetofallelementarysetsofformulasB satisfying: (i) Forevery ψ closure(φ): ψ B ψ B,and (ii) Foreveryψ 1Uψ 2 closure(φ): ψ 1Uψ 2 B (ψ 2 B (ψ 1 B ψ 1Uψ 2 B ))

4 REVIEW: Main result [Vardi, Wolper& Sistla 1986] ForanyLTL-formulaφ(overAP)thereexistsa GNBAG φ over2 AP suchthat: (a) Words(φ)=L ω (G φ ) (b)g φ canbeconstructedintimeandspaceo(2 φ ) (c) #acceptingsetsofg φ isboundedabovebyo( φ ) every LTL-formula expresses an ω-regular property!

5 REVIEW: NBA are more expressive than LTL ThereisnoLTLformulaφwithWords(φ)=PfortheLT-property: P={A 0 A 1 A 2... (2 {a} ) ω a A 2i fori 0} ButthereexistsanNBAAwithL ω (A)=P there are ω-regular properties that cannot be expressed in LTL!

6 REVIEW: Complexity for LTL to NBA ForanyLTL-formulaφ(overAP)thereexistsanNBAA φ withwords(φ)=l ω (A φ )and whichcanbeconstructedintimeandspacein2 O( φ )

7 The LTL model-checking problem is co-np-hard The Hamiltonian path problem is polynomially reducible to the complement of the LTL model-checking problem In fact, the LTL model-checking problem is PSPACE-complete [Sistla& Clarke 1985]

8 Reduction to Hamiltonian Path Problem HamiltonianPathforagraph(V,E)passeseveryvertexexactly once. Stategraph:(V {b},e (V {b}) {b}, L(v)={v}forv V,L(b)= ) LTL property no path is Hamiltonian : ( v (v v)) v V

9 PSPACE-hardness Let M be a polynomial space-bounded Turing machine that acceptswordsofalanguagek (i.e.,k isapspace-language) WeconstructforeachwordwastategraphSandanLTL formulaφsuchthats φiffw K. Single-tapeTuringmachine(Q,q 0,F,Σ,δ) δ Q Σ Q Σ {L,R,N} L:left,R:right,N:nomove Space-bounded: there is a polynomial P(n) such that the computationoninputwordoflengthnvisitsatmostp(n)tape cells.

10 begin P(n) S={0,1,...,P(n)} {(q,a,i) q Q { },A Σ,0<i P(n)} Idea:q QidentifiescurrentstateofTuringmachineandcurrent position of cursor; everywhere else.

11 Configuration(TapecontentA 1,...,A P(n),currentstateq, cursor position i) is encoded as path fragment 0(,A 1,1)1(,A 2,2)2...i 1(q,A i,i)i(,a i+1,i+1)...p(n) Computation is encoded as a sequence of such fragments. Legal configurations: φ conf = (begin φ 1 conf φ2 conf ) φ 1 conf = 1 i P(n) 2i 1 Φ Q whereφ Q = (q,a,i) S,q Q (q,a,i) φ 2 conf = 1 i P(n)( 2i 1 Φ Q 1 j P(n),j i 2j 1 Φ Q )

12 Transition function forδ(q,a)=(p,b,l): φ q,a = 1 i P(n) ( 2i 1 (q,a,i) ψ(q,a,i,p,b,l)) where ψ(q,a,i,p,b,l)= 1 j P(n),i j,c Σ ( 2j 1 C 2j 1+2P(n)+1 C) contentofallcells iunchanged 2i 1+2P(n)+1 B overwriteabybincelli 2i 1+2P(n)+1 2 p movetostatepandcursortocelli 1 φ δ = φ q,a q,a [C shortfor r,j (r,c,j),pshortfor D,j (p,d,j)]

13 Starting configuration φ w start=begin q 0 1 i n 2i 1 A i n<i P(n) 2i 1 blank Accepting configuration φ accept = q F q Full encoding φ w = φ conf φ w start φ δ φ accept Modelcheck φ w.

14 PSPACE-completeness Claim: TheLTLmodelcheckingproblemcanbesolvedbya nondeterministic polynomial space-bounded algorithm Idea:Guess,nondeterministically,anacceptingruninS G φ : u 0 u 1...u n 1 (v 0 v 1...v m 1 ) ω wheren,m S 2 φ Guess n, m nondeterministically by guessing log( S 2 φ ) =O(log( S ) φ )bits. Guessthesequenceu 0 u 1...u n 1 u n...u n+m wheren i =(s i,b i ) such that si isasuccessorofs i 1 fori 1 Bi iselementary Bi AP=L(s i ) Bi δ(b i 1,L(s i 1 ))fori 1. Checkifu n =u n+m Checkthatwheneverφ 1 Uφ 2 B i forsomei {n,...n+m 1} then j {n,...,n+m 1}withφ 2 B j

15 Required space n+mcanbeexponential.however,weonlyneed: pairofstatesu i 1,u i ; flagwhichφ 1 Uφ 2 haveappearedinloop; flagwhichφ 2 haveappeared; u n polynomial space

16 LTL satisfiability and validity checking Satisfiability problem: Words(φ)/= for LTL-formula φ? doesthereexistatransitionsystemforwhichφholds? Solution:constructanNBAA φ andcheckforemptiness nesteddepth-firstsearchforcheckingpersistenceproperties Validityproblem:isφ true,i.e.,words(φ)=(2 AP ) ω? doesφholdforeverytransitionsystem? Solution:asforsatisfiability,asφisvalidiff φisnotsatisfiable runtime is exponential; a more efficient algorithm most probably does not exist!

17 LTL satisfiability and validity checking The satisfiability and validity problem for LTL are PSPACE-complete Idea: Reduce model checking problem of φ to satisfiability problem by encoding transition system as LTL formula: ψ=ψ I ψ S ψ AP ψ I = q I q ψ S = q S q q Post(q) q ψ AP = q S q a L(q) a a/ L(q) a Check satisfiability of ψ φ.

18 Summary of LTL model checking(1) LTL is a logic for formalizing path-based properties Expansion law allows for rewriting until into local conditions and next LTL-formulaφcanbetransformedalgorithmicallyintoNBAA φ thismaycauseanexponentialblowup algorithm:firstconstructagnbaforφ;thentransformitintoan equivalent NBA LTL-formulae describe ω-regular LT-properties butdonothavethesameexpressivityasω-regularlanguages

19 Summary of LTL model checking(2) TS φcanbesolvedbyanesteddepth-firstsearchints A φ timecomplexityoftheltlmodel-checkingalgorithmislinear intsandexponentialin φ Fairness assumptions can be described by LTL-formulae the model-checking problem for LTL with fairness is reducible to the standard LTL model-checking problem The LTL-model checking problem is PSPACE-complete Satisfiability and validity of LTL amounts to NBA emptiness-check The satisfiability and validitiy problems for LTL are PSPACE-complete

20 Linear and branching temporal logic Linear temporal logic: statements about(all) paths starting in a state s (x 20)iffforallpossiblepathsstartinginsalwaysx 20 Branching temporal logic: statements about all or some paths starting in a state s AG(x 20)iffforallpathsstartinginsalwaysx 20 s EG(x 20)iffforsomepathstartinginsalwaysx 20 nestingofpathquantifiersisallowed CheckingEφinLTLcanbedoneusingA φ...butthisdoesnotworkfornestedformulassuchasagefa

21 Linear versus branching temporal logic Semanticsisbasedonabranchingnotionoftime aninfinitetreeofstatesobtainedbyunfoldingtransitionsystem one timeinstant mayhaveseveralpossiblesuccessor time instants Incomparable expressiveness therearepropertiesthatcanbeexpressedinltl,butnotinctl therearepropertiesthatcanbeexpressedinctl,butnotinltl Distinct model checking algorithms, and their time complexities Distinct treatment of fairness assumptions Distinct equivalences(pre-orders) on transition systems thatcorrespondtologicalequivalenceinltlandbranching temporal logics

22 Transition systems and trees (s 0,0) s 0 s 1 {x=0} (s 1,1) {x 0} (s 2,2) (s 3,2) s 3 s 2 {x=0} (s 3,3) (s 2,3) (s 3,3) {x=1,x 0} (s 2,4) (s 3,4) (s 3,4) (s 2,4) (s 3,4)

23 behavior path-based: state-based: in a state s trace(s) computation tree of s temporal LTL: path formulas φ CTL: state formulas logic s φ iff existential path quantification φ π Paths(s). π φ universal path quantification: φ complexity of the PSPACE--complete PTIME model checking problems O( TS 2 φ ) O( TS Φ ) implementation- trace inclusion and the like simulation and bisimulation relation (proof is PSPACE-complete) (proof in polynomial time) fairness no special techniques special techniques needed

24 Branching temporal logics There are various branching temporal logics: Hennessy-Milner logic Computation Tree Logic(CTL) ExtendedComputationTreeLogic(CTL ) combinesltlandctlintoasingleframework Alternation-free modal µ-calculus Modal µ-calculus Propositional dynamic logic

25 Computation tree logic modal logic over infinite trees[clarke& Emerson 1981] Statements over states a AP atomicproposition ΦandΦ Ψ negationandconjunction Eφ thereexistsapathfulfillingφ Aφ allpathsfulfillφ Statements over paths XΦ thenextstatefulfillsφ ΦUΨ ΦholdsuntilaΨ-stateisreached notethatxand U alternatewitha ande AXXΦandAEX Φ/ CTL,butAXAX ΦandAXEX Φ CTL Alternativesyntax:E,A,X,G,F.

26 Derived operators potentiallyφ: EFΦ = E(trueUΦ) inevitablyφ: AFΦ = A(trueUΦ) potentiallyalwaysφ: EGΦ = AF Φ invariantlyφ: AGΦ = EF Φ weakuntil: E(ΦWΨ) = A((Φ Ψ)U( Φ Ψ)) A(ΦWΨ) = E((Φ Ψ)U( Φ Ψ)) the boolean connectives are derived as usual

27 Visualization of semantics EFred EGred E(yellowUred) AFred AGred A(yellowUred)

28 Semantics of CTL state-formulas Definedbyarelation suchthat s ΦifandonlyifformulaΦholdsinstates s a iff a L(s) s Φ iff (s Φ) s Φ Ψ iff (s Φ) (s Ψ) s Eφ iff π φforsomepathπthatstartsins s Aφ iff π φforallpathsπthatstartins

29 Semantics of CTL path-formulas Definedbyarelation suchthat π φifandonlyifpathπsatisfiesφ π XΦ iffπ[1] Φ π ΦUΨ iff( j 0.π[j] Ψ ( 0 k<j.π[k] Φ)) whereπ[i]denotesthestates i inthepathπ

30 Transition system semantics For CTL-state-formula Φ, the satisfaction set Sat(Φ) is defined by: Sat(Φ)={s S s Φ} TSsatisfiesCTL-formulaΦiffΦholdsinallitsinitialstates: TS Φ ifandonlyif s 0 I.s 0 Φ thisisequivalenttoi Sat(Φ) Pointofattention:TS/ ΦandTS/ Φispossible! becauseofseveralinitialstates,e.g.s0 EGΦands 0 / EGΦ

31 CTL equivalence CTL-formulasΦandΨ(overAP)areequivalent,denotedΦ Ψ ifandonlyifsat(φ)=sat(ψ)foralltransitionsystemstsoverap Φ Ψ iff (TS Φ ifandonlyif TS Ψ)

32 Duality laws AXΦ EX Φ EXΦ AX Φ AFΦ EG Φ EFΦ AG Φ A(ΦUΨ) E((Φ Ψ)W( Φ Ψ))

33 Expansion laws RecallinLTL:φUψ ψ (φ X(φUψ)) In CTL: A(ΦUΨ) Ψ (Φ AXA(ΦUΨ)) AFΦ Φ AXAFΦ AGΦ Φ AXAGΦ E(ΦUΨ) Ψ (Φ EXE(ΦUΨ)) EFΦ Φ EXEFΦ EGΦ Φ EXEGΦ

34 Distributive laws Recall in LTL: G(φ ψ) Gφ Gψ F(φ ψ) Fφ Fψ In CTL: AG(Φ Ψ) AGΦ AGΨ EF(Φ Ψ) EFΦ EFΨ notethateg(φ Ψ) / EGΦ EGΨandAF(Φ Ψ) / AFΦ AFΨ

35 Existential normal form(enf) ThesetofCTLformulasinexistentialnormalform(ENF)isgivenby: Φ = true a Φ 1 Φ 2 Φ EXΦ E(Φ 1 UΦ 2 ) EGΦ For each CTL formula, there exists an equivalent CTL formula in ENF AXΦ EX Φ A(ΦUΨ) E( ΨU( Φ Ψ)) EG Ψ

36 Model checking CTL HowtocheckwhetherstategraphTSsatisfiesCTLformula Φ? converttheformula ΦintotheequivalentΦinENF computerecursivelythesetsat(φ)={q S q Φ} TS ΦifandonlyifeachinitialstateofTSbelongstoSat(Φ) Recursive bottom-up computation of Sat(Φ): considertheparse-treeofφ starttocomputesat(ai ),forallleafsinthetree thengoonelevelupinthetreeanddeterminesat( )forthese nodes e.g.,: Sat(Ψ 1 Ψ 2 )=Sat( Ψ 1 nodeatleveli node at level i 1 ) Sat( Ψ 2 node at level i 1 thengoonelevelupanddeterminesat( )ofthesenodes andsoon...untiltherootistreated,i.e.,sat(φ)iscomputed )

37 Example Sat(Φ) Sat(Ψ) EX EU Sat(Ψ ) b EG Sat(Ψ ) a c Φ= EXa Ψ E(bU EG c) Ψ Ψ.

38 Basic algorithm Require: finite transition system TS with states S and initial states I, and CTLformulaΦ(bothoverAP) Ensure: TS Φ {computethesetssat(φ)={q S q Φ}} foralli Φ do forallψ Sub(Φ)with Ψ =ido computesat(ψ)fromsat(ψ ){formaximalproperψ Sub(Ψ)} end for end for returni Sat(Φ)

39 Characterization of Sat(1) ForallCTLformulasΦ,ΨoverAPitholds: Sat(true) = S Sat(a) = {q S a L(q)}, foranya AP Sat(Φ Ψ) = Sat(Φ) Sat(Ψ) Sat( Φ) = S Sat(Φ) Sat(EXΦ) = {q S Post(q) Sat(Φ)/= } for a given finite transition system with states S

40 Characterization of Sat(2) Sat(E(ΦUΨ))isthesmallestsubsetT ofs,suchthat: (1)Sat(Ψ) T and (2)(q Sat(Φ)andPost(q) T ) q T Sat(EGΦ)isthelargestsubsetT ofs,suchthat: (3)T Sat(Φ) and (4)q T impliespost(q) T/=

41 ComputingSat(E(ΦUΨ))(1) Sat(E(ΦUΨ))isthesmallestsetT Qsuchthat: (1)Sat(Ψ) T and (2)(q Sat(Φ)andPost(q) T ) q T ThissuggeststocomputeSat(E(ΦUΨ))iteratively: T 0 = Sat(Ψ) and T i+1 = T i {q Sat(Φ) Post(q) T i /= } T i =statesthatcanreachaψ-stateinatmostistepsviaa Φ-path Byinductiononjitfollows: T 0 T 1... T j T j+1... Sat(E(ΦUΨ))

42 ComputingSat(E(ΦUΨ))(2) TSisfinite,soforsomej 0wehave:T j = T j+1 = T j+2 =... Therefore:T j = T j {q Sat(Φ) Post(q) T j /= } Hence:{q Sat(Φ) Post(q) T j /= } T j hence,tj satisfies(2),i.e., (q Sat(Φ)andPost(q) T j ) q T j further,sat(ψ)=t0 T j so,t j satisfies(1),i.e.sat(ψ) T j AsSat(E(ΦUΨ))isthesmallestsetsatisfying(1)and(2): Sat(E(ΦUΨ)) Tj andthussat(e(φuψ))=t j Hence:T 0 T 1 T 2... T j =T j+1 =...=Sat(E(ΦUΨ))

43 ComputingSat(E(ΦUΨ))(3) Require: finite transition system with states S CTL-formula E(Φ U Ψ) Ensure: Sat(E(ΦUΨ))={q S q E(ΦUΨ)} V =Sat(Ψ);{V administersstatesqwithq E(ΦUΨ)} T =V;{T containsthealreadyvisitedstatesqwithq E(ΦUΨ)} whilev/= do let q V; V =V {q }; forallq Pre(q )do if q Sat(Φ) T thenv =V {q};t =T {q}; endif end for end while return T

44 Computing Sat(EG Φ) V = S Sat(Φ);{V containsanynotvisitedq withq / EGΦ} T = Sat(Φ);{T containsanyqforwhichq EGΦhasnotyetbeendisproven} forallq Sat(Φ)doc[q] = Post(q) ; od{initializearrayc} whilev do {loopinvariant:c[q]= Post(q) (T V) } letq V;{q / Φ} V = V {q };{q hasbeenconsidered} forallq Pre(q )do ifq T then c[q] = c[q] 1;{updatecounterc[q]forpredecessorqofq } ifc[q]=0then T = T {q};v = V {q};{qdoesnothaveanysuccessorint} endif endif end for end while return T

45 Alternative algorithm for Sat(EG Φ) 1. Consideronlystateqifq Φ,otherwiseeliminateq changestatestos =Sat(Φ), allremovedstateswillnotsatisfyegφ,andthuscanbesafely removed 2. Determine all non-trivial strongly connected components in TS[Φ] non-trivialscc=maximal,connectedsubgraphwithatleast one edge anystateinsuchsccsatisfiesegφ 3. q EGΦisequivalentto somesccisreachablefromq thissearchcanbedoneinabackwardmanner

Overview. overview / 357

Overview. overview / 357 Overview overview6.1 Introduction Modelling parallel systems Linear Time Properties Regular Properties Linear Temporal Logic (LTL) Computation Tree Logic syntax and semantics of CTL expressiveness of CTL

More information

Chapter 4: Computation tree logic

Chapter 4: Computation tree logic INFOF412 Formal verification of computer systems Chapter 4: Computation tree logic Mickael Randour Formal Methods and Verification group Computer Science Department, ULB March 2017 1 CTL: a specification

More information

LTL and CTL. Lecture Notes by Dhananjay Raju

LTL and CTL. Lecture Notes by Dhananjay Raju LTL and CTL Lecture Notes by Dhananjay Raju draju@cs.utexas.edu 1 Linear Temporal Logic: LTL Temporal logics are a convenient way to formalise and verify properties of reactive systems. LTL is an infinite

More information

Computation Tree Logic

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

More information

Computation Tree Logic

Computation Tree Logic Computation Tree Logic Computation tree logic (CTL) is a branching-time logic that includes the propositional connectives as well as temporal connectives AX, EX, AU, EU, AG, EG, AF, and EF. The syntax

More information

Topics in Verification AZADEH FARZAN FALL 2017

Topics in Verification AZADEH FARZAN FALL 2017 Topics in Verification AZADEH FARZAN FALL 2017 Last time LTL Syntax ϕ ::= true a ϕ 1 ϕ 2 ϕ ϕ ϕ 1 U ϕ 2 a AP. ϕ def = trueu ϕ ϕ def = ϕ g intuitive meaning of and is obt Limitations of LTL pay pay τ τ soda

More information

Chapter 6: Computation Tree Logic

Chapter 6: Computation Tree Logic Chapter 6: Computation Tree Logic Prof. Ali Movaghar Verification of Reactive Systems Outline We introduce Computation Tree Logic (CTL), a branching temporal logic for specifying system properties. A comparison

More information

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

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

More information

Temporal Logic. Stavros Tripakis University of California, Berkeley. We have designed a system. We want to check that it is correct.

Temporal Logic. Stavros Tripakis University of California, Berkeley. We have designed a system. We want to check that it is correct. EE 244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Fall 2016 Temporal logic Stavros Tripakis University of California, Berkeley Stavros Tripakis (UC Berkeley) EE 244, Fall 2016

More information

An Introduction to Temporal Logics

An Introduction to Temporal Logics An Introduction to Temporal Logics c 2001,2004 M. Lawford Outline Motivation: Dining Philosophers Safety, Liveness, Fairness & Justice Kripke structures, LTS, SELTS, and Paths Linear Temporal Logic Branching

More information

Chapter 5: Linear Temporal Logic

Chapter 5: Linear Temporal Logic Chapter 5: Linear Temporal Logic Prof. Ali Movaghar Verification of Reactive Systems Spring 94 Outline We introduce linear temporal logic (LTL), a logical formalism that is suited for specifying LT properties.

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

Model Checking Algorithms

Model Checking Algorithms Model Checking Algorithms Bow-Yaw Wang Institute of Information Science Academia Sinica, Taiwan November 14, 2018 Bow-Yaw Wang (Academia Sinica) Model Checking Algorithms November 14, 2018 1 / 56 Outline

More information

Temporal Logics for Specification and Verification

Temporal Logics for Specification and Verification Temporal Logics for Specification and Verification Valentin Goranko DTU Informatics FIRST Autumn School on Modal Logic November 11, 2009 Transition systems (Labelled) transition system (TS): T = S, {R

More information

NPTEL Phase-II Video course on. Design Verification and Test of. Dr. Santosh Biswas Dr. Jatindra Kumar Deka IIT Guwahati

NPTEL Phase-II Video course on. Design Verification and Test of. Dr. Santosh Biswas Dr. Jatindra Kumar Deka IIT Guwahati NPTEL Phase-II Video course on Design Verification and Test of Digital VLSI Designs Dr. Santosh Biswas Dr. Jatindra Kumar Deka IIT Guwahati Module IV: Temporal Logic Lecture I: Introduction to formal methods

More information

Chapter 5: Linear Temporal Logic

Chapter 5: Linear Temporal Logic Chapter 5: Linear Temporal Logic Prof. Ali Movaghar Verification of Reactive Systems Spring 91 Outline We introduce linear temporal logic (LTL), a logical formalism that is suited for specifying LT properties.

More information

Model for reactive systems/software

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

More information

FAIRNESS FOR INFINITE STATE SYSTEMS

FAIRNESS FOR INFINITE STATE SYSTEMS FAIRNESS FOR INFINITE STATE SYSTEMS Heidy Khlaaf University College London 1 FORMAL VERIFICATION Formal verification is the process of establishing whether a system satisfies some requirements (properties),

More information

Models. Lecture 25: Model Checking. Example. Semantics. Meanings with respect to model and path through future...

Models. Lecture 25: Model Checking. Example. Semantics. Meanings with respect to model and path through future... Models Lecture 25: Model Checking CSCI 81 Spring, 2012 Kim Bruce Meanings with respect to model and path through future... M = (S,, L) is a transition system if S is a set of states is a transition relation

More information

Lecture Notes on Model Checking

Lecture Notes on Model Checking Lecture Notes on Model Checking 15-816: Modal Logic André Platzer Lecture 18 March 30, 2010 1 Introduction to This Lecture In this course, we have seen several modal logics and proof calculi to justify

More information

The Complexity of Satisfiability for Fragments of CTL and CTL 1

The Complexity of Satisfiability for Fragments of CTL and CTL 1 The Complexity of Satisfiability for Fragments of CTL and CTL 1 Arne Meier a Martin Mundhenk b Michael Thomas a Heribert Vollmer a a Theoretische Informatik Gottfried Wilhelm Leibniz Universität Appelstr.

More information

Computation Tree Logic (CTL)

Computation Tree Logic (CTL) Computation Tree Logic (CTL) Fazle Rabbi University of Oslo, Oslo, Norway Bergen University College, Bergen, Norway fazlr@student.matnat.uio.no, Fazle.Rabbi@hib.no May 30, 2015 Fazle Rabbi et al. (UiO,

More information

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either Introduction to Temporal Logic The purpose of temporal logics is to specify properties of dynamic systems. These can be either Desired properites. Often liveness properties like In every infinite run action

More information

Linear-Time Logic. Hao Zheng

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

More information

Computation Tree Logic (CTL) & Basic Model Checking Algorithms

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

More information

Verification Using Temporal Logic

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

More information

Database Theory VU , SS Complexity of Query Evaluation. Reinhard Pichler

Database Theory VU , SS Complexity of Query Evaluation. Reinhard Pichler Database Theory Database Theory VU 181.140, SS 2018 5. Complexity of Query Evaluation Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 17 April, 2018 Pichler

More information

Model-Checking Games: from CTL to ATL

Model-Checking Games: from CTL to ATL Model-Checking Games: from CTL to ATL Sophie Pinchinat May 4, 2007 Introduction - Outline Model checking of CTL is PSPACE-complete Presentation of Martin Lange and Colin Stirling Model Checking Games

More information

Model Checking Games for Branching Time Logics

Model Checking Games for Branching Time Logics Model Checking Games for Branching Time Logics Martin Lange and Colin Stirling LFCS, Division of Informatics The University of Edinburgh email: {martin,cps}@dcsedacuk December 2000 Abstract This paper

More information

Model Checking with CTL. Presented by Jason Simas

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

More information

Systems Verification. Alessandro Abate. Day 1 January 25, 2016

Systems Verification. Alessandro Abate. Day 1 January 25, 2016 Systems Verification Alessandro Abate Day 1 January 25, 2016 Outline Course setup Intro to formal verification Models - labelled transition systems Properties as specifications - modal logics Model checking

More information

Focus Games for Satisfiability and Completeness of Temporal Logic

Focus Games for Satisfiability and Completeness of Temporal Logic Focus Games for Satisfiability and Completeness of Temporal Logic Martin Lange Colin Stirling LFCS, Division of Informatics, University of Edinburgh, JCMB, King s Buildings, Edinburgh, EH9 3JZ {martin,cps}@dcs.ed.ac.uk

More information

Verification. Arijit Mondal. Dept. of Computer Science & Engineering Indian Institute of Technology Patna

Verification. Arijit Mondal. Dept. of Computer Science & Engineering Indian Institute of Technology Patna IIT Patna 1 Verification Arijit Mondal Dept. of Computer Science & Engineering Indian Institute of Technology Patna arijit@iitp.ac.in Introduction The goal of verification To ensure 100% correct in functionality

More information

Automata on Infinite words and LTL Model Checking

Automata on Infinite words and LTL Model Checking Automata on Infinite words and LTL Model Checking Rodica Condurache Lecture 4 Lecture 4 Automata on Infinite words and LTL Model Checking 1 / 35 Labeled Transition Systems Let AP be the (finite) set of

More information

Computation Tree Logic

Computation Tree Logic Chapter 6 Computation Tree Logic Pnueli [88] has introduced linear temporal logic to the computer science community for the specification and verification of reactive systems. In Chapter 3 we have treated

More information

Complexity of Temporal Logics

Complexity of Temporal Logics Master s Thesis Complexity of Temporal Logics Arne Meier 2007-11-09 Gottfried Wilhelm Leibniz Universität Hannover Fakultät für Elektrotechnik und Informatik Institut für Theoretische Informatik Danksagung

More information

Decision Procedures for CTL

Decision Procedures for CTL Decision Procedures for CTL Oliver Friedmann 1 Markus Latte 1 1 Dept. of Computer Science, Ludwig-Maximilians-University, Munich, Germany CLoDeM Edinburgh, 15 July 2010 Introduction to CTL Origin: Emerson

More information

MODEL CHECKING. Arie Gurfinkel

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

More information

Universität Augsburg. Quantales and Temporal Logics. Institut für Informatik D Augsburg. B. Möller P. Höfner G. Struth. Report June 2006

Universität Augsburg. Quantales and Temporal Logics. Institut für Informatik D Augsburg. B. Möller P. Höfner G. Struth. Report June 2006 Universität Augsburg Quantales and Temporal Logics B. Möller P. Höfner G. Struth Report 2006-06 June 2006 Institut für Informatik D-86135 Augsburg Copyright c B. Möller P. Höfner G. Struth Institut für

More information

Symbolic Model Checking Property Specification Language*

Symbolic Model Checking Property Specification Language* Symbolic Model Checking Property Specification Language* Ji Wang National Laboratory for Parallel and Distributed Processing National University of Defense Technology *Joint Work with Wanwei Liu, Huowang

More information

Automata-Theoretic Verification

Automata-Theoretic Verification Automata-Theoretic Verification Javier Esparza TU München Orna Kupferman The Hebrew University Moshe Y. Vardi Rice University 1 Introduction This chapter describes the automata-theoretic approach to the

More information

PSPACE-completeness of LTL/CTL model checking

PSPACE-completeness of LTL/CTL model checking PSPACE-completeness of LTL/CTL model checking Peter Lohmann April 10, 2007 Abstract This paper will give a proof for the PSPACE-completeness of LTLsatisfiability and for the PSPACE-completeness of the

More information

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

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

More information

What is Temporal Logic? The Basic Paradigm. The Idea of Temporal Logic. Formulas

What is Temporal Logic? The Basic Paradigm. The Idea of Temporal Logic. Formulas What is Temporal Logic? A logical formalism to describe sequences of any kind. We use it to describe state sequences. An automaton describes the actions of a system, a temporal logic formula describes

More information

Linear Temporal Logic (LTL)

Linear Temporal Logic (LTL) Linear Temporal Logic (LTL) Grammar of well formed formulae (wff) φ φ ::= p (Atomic formula: p AP) φ (Negation) φ 1 φ 2 (Disjunction) Xφ (successor) Fφ (sometimes) Gφ (always) [φ 1 U φ 2 ] (Until) Details

More information

Decision Procedures for CTL

Decision Procedures for CTL Decision Procedures for CTL Oliver Friedmann and Markus Latte Dept. of Computer Science, University of Munich, Germany Abstract. We give an overview over three serious attempts to devise an effective decision

More information

QBF Encoding of Temporal Properties and QBF-based Verification

QBF Encoding of Temporal Properties and QBF-based Verification QBF Encoding of Temporal Properties and QBF-based Verification Wenhui Zhang State Key Laboratory of Computer Science Institute of Software, Chinese Academy of Sciences P.O.Box 8718, Beijing 100190, China

More information

Revising Specifications with CTL Properties using Bounded Model Checking

Revising Specifications with CTL Properties using Bounded Model Checking Revising Specifications with CTL Properties using Bounded Model Checking No Author Given No Institute Given Abstract. During the process of software development, it is very common that inconsistencies

More information

Lecture 16: Computation Tree Logic (CTL)

Lecture 16: Computation Tree Logic (CTL) Lecture 16: Computation Tree Logic (CTL) 1 Programme for the upcoming lectures Introducing CTL Basic Algorithms for CTL CTL and Fairness; computing strongly connected components Basic Decision Diagrams

More information

Multi-Valued Symbolic Model-Checking

Multi-Valued Symbolic Model-Checking Multi-Valued Symbolic Model-Checking MARSHA CHECHIK, BENET DEVEREUX, STEVE EASTERBROOK AND ARIE GURFINKEL University of Toronto This paper introduces the concept of multi-valued model-checking and describes

More information

a Hebrew University b Weizmann Institute c Rice University

a Hebrew University b Weizmann Institute c Rice University Once and For All Orna Kupferman a, Amir Pnueli b,1, Moshe Y. Vardi c a Hebrew University b Weizmann Institute c Rice University Abstract It has long been known that past-time operators add no expressive

More information

LTL with Arithmetic and its Applications in Reasoning about Hierarchical Systems

LTL with Arithmetic and its Applications in Reasoning about Hierarchical Systems This space is reserved for the EPiC Series header, do not use it LTL with Arithmetic and its Applications in Reasoning about Hierarchical Systems Rachel Faran and Orna Kupferman The Hebrew University,

More information

Reasoning about Strategies: From module checking to strategy logic

Reasoning about Strategies: From module checking to strategy logic Reasoning about Strategies: From module checking to strategy logic based on joint works with Fabio Mogavero, Giuseppe Perelli, Luigi Sauro, and Moshe Y. Vardi Luxembourg September 23, 2013 Reasoning about

More information

From Liveness to Promptness

From Liveness to Promptness From Liveness to Promptness Orna Kupferman Hebrew University Nir Piterman EPFL Moshe Y. Vardi Rice University Abstract Liveness temporal properties state that something good eventually happens, e.g., every

More information

Model Checking: An Introduction

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

More information

Model checking (III)

Model checking (III) Theory and Algorithms Model checking (III) Alternatives andextensions Rafael Ramirez rafael@iua.upf.es Trimester1, Oct2003 Slide 9.1 Logics for reactive systems The are many specification languages for

More information

Probabilistic Model Checking Michaelmas Term Dr. Dave Parker. Department of Computer Science University of Oxford

Probabilistic Model Checking Michaelmas Term Dr. Dave Parker. Department of Computer Science University of Oxford Probabilistic Model Checking Michaelmas Term 20 Dr. Dave Parker Department of Computer Science University of Oxford Overview PCTL for MDPs syntax, semantics, examples PCTL model checking next, bounded

More information

How Vacuous is Vacuous?

How Vacuous is Vacuous? How Vacuous is Vacuous? Arie Gurfinkel and Marsha Chechik Department of Computer Science, University of Toronto, Toronto, ON M5S 3G4, Canada. Email: {arie,chechik}@cs.toronto.edu Abstract. Model-checking

More information

Linear Temporal Logic and Büchi Automata

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

More information

Lecture 21: Algebraic Computation Models

Lecture 21: Algebraic Computation Models princeton university cos 522: computational complexity Lecture 21: Algebraic Computation Models Lecturer: Sanjeev Arora Scribe:Loukas Georgiadis We think of numerical algorithms root-finding, gaussian

More information

SATISFIABILITY GAMES FOR BRANCHING-TIME LOGICS

SATISFIABILITY GAMES FOR BRANCHING-TIME LOGICS Logical Methods in Computer Science Vol. 9(4:5)2013, pp. 1 36 www.lmcs-online.org Submitted Feb. 5, 2013 Published Oct. 16, 2013 SATISFIABILITY GAMES FOR BRANCHING-TIME LOGICS OLIVER FRIEDMANN a, MARKUS

More information

Scuola Estiva di Logica, Gargnano, 31 agosto - 6 settembre 2008 LOGIC AT WORK. Formal Verification of Complex Systems via. Symbolic Model Checking

Scuola Estiva di Logica, Gargnano, 31 agosto - 6 settembre 2008 LOGIC AT WORK. Formal Verification of Complex Systems via. Symbolic Model Checking 1. Logic at Work c Roberto Sebastiani, 2008 Scuola Estiva di Logica, Gargnano, 31 agosto - 6 settembre 2008 LOGIC AT WORK Formal Verification of Complex Systems via Symbolic Model Checking Roberto Sebastiani

More information

Chapter 5: Linear Temporal Logic

Chapter 5: Linear Temporal Logic Chapter 5: Linear Temporal Logic Prof. Ali Movaghar Verification of Reactive Systems Outline n n We introduce linear temporal logic (LTL), a logical formalism that is suited for specifying LT properties.

More information

Reducing CTL-live Model Checking to Semantic Entailment in First-Order Logic (Version 1)

Reducing CTL-live Model Checking to Semantic Entailment in First-Order Logic (Version 1) 1 Reducing CTL-live Model Checking to Semantic Entailment in First-Order Logic (Version 1) Amirhossein Vakili and Nancy A. Day Cheriton School of Computer Science University of Waterloo Waterloo, Ontario,

More information

An Introduction to Multi Valued Model Checking

An Introduction to Multi Valued Model Checking An Introduction to Multi Valued Model Checking Georgios E. Fainekos Department of Computer and Information Science University of Pennsylvania, Philadelphia, PA 19104, USA E-mail: fainekos (at) grasp.cis.upenn.edu

More information

Models for Efficient Timed Verification

Models for Efficient Timed Verification Models for Efficient Timed Verification François Laroussinie LSV / ENS de Cachan CNRS UMR 8643 Monterey Workshop - Composition of embedded systems Model checking System Properties Formalizing step? ϕ Model

More information

arxiv: v1 [cs.lo] 8 Sep 2014

arxiv: v1 [cs.lo] 8 Sep 2014 An Epistemic Strategy Logic Xiaowei Huang Ron van der Meyden arxiv:1409.2193v1 [cs.lo] 8 Sep 2014 The University of New South Wales Abstract The paper presents an extension of temporal epistemic logic

More information

Model Checking CTL is Almost Always Inherently Sequential

Model Checking CTL is Almost Always Inherently Sequential Model Checking CTL is Almost Always Inherently Sequential Olaf Beyersdorff Arne Meier Michael Thomas Heribert Vollmer Theoretical Computer Science, University of Hannover, Germany {beyersdorff, meier,

More information

CTL Model checking. 1. finite number of processes, each having a finite number of finite-valued variables. Model-Checking

CTL Model checking. 1. finite number of processes, each having a finite number of finite-valued variables. Model-Checking CTL Model checking Assumptions:. finite number of processes, each having a finite number of finite-valued variables.. finite length of CTL formula Problem:Determine whether formula f 0 is true in a finite

More information

3-Valued Abstraction-Refinement

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

More information

Summary. Computation Tree logic Vs. LTL. CTL at a glance. KM,s =! iff for every path " starting at s KM," =! COMPUTATION TREE LOGIC (CTL)

Summary. Computation Tree logic Vs. LTL. CTL at a glance. KM,s =! iff for every path  starting at s KM, =! COMPUTATION TREE LOGIC (CTL) Summary COMPUTATION TREE LOGIC (CTL) Slides by Alessandro Artale http://www.inf.unibz.it/ artale/ Some material (text, figures) displayed in these slides is courtesy of: M. Benerecetti, A. Cimatti, M.

More information

CS357: CTL Model Checking (two lectures worth) David Dill

CS357: CTL Model Checking (two lectures worth) David Dill CS357: CTL Model Checking (two lectures worth) David Dill 1 CTL CTL = Computation Tree Logic It is a propositional temporal logic temporal logic extended to properties of events over time. CTL is a branching

More information

PSL Model Checking and Run-time Verification via Testers

PSL Model Checking and Run-time Verification via Testers PSL Model Checking and Run-time Verification via Testers Formal Methods 2006 Aleksandr Zaks and Amir Pnueli New York University Introduction Motivation (Why PSL?) A new property specification language,

More information

Polynomial Time Computation. Topics in Logic and Complexity Handout 2. Nondeterministic Polynomial Time. Succinct Certificates.

Polynomial Time Computation. Topics in Logic and Complexity Handout 2. Nondeterministic Polynomial Time. Succinct Certificates. 1 2 Topics in Logic and Complexity Handout 2 Anuj Dawar MPhil Advanced Computer Science, Lent 2010 Polynomial Time Computation P = TIME(n k ) k=1 The class of languages decidable in polynomial time. The

More information

Alternating nonzero automata

Alternating nonzero automata Alternating nonzero automata Application to the satisfiability of CTL [,, P >0, P =1 ] Hugo Gimbert, joint work with Paulin Fournier LaBRI, Université de Bordeaux ANR Stoch-MC 06/07/2017 Control and verification

More information

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

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

More information

Abstract State Machines: Verification Problems and Complexity

Abstract State Machines: Verification Problems and Complexity Abstract State Machines: Verification Problems and Complexity Dissertation Marc Spielmann Rheinisch-Westfälische Technische Hochschule Aachen June 2000 Abstract Abstract state machines (ASMs) provide

More information

Tecniche di Verifica. Introduction to Propositional Logic

Tecniche di Verifica. Introduction to Propositional Logic Tecniche di Verifica Introduction to Propositional Logic 1 Logic A formal logic is defined by its syntax and semantics. Syntax An alphabet is a set of symbols. A finite sequence of these symbols is called

More information

Model Checking Succinct and Parametric One-Counter Automata

Model Checking Succinct and Parametric One-Counter Automata Model Checking Succinct and Parametric One-Counter Automata Stefan Göller 1, Christoph Haase 2, Joël Ouaknine 2, and James Worrell 2 1 Universität Bremen, Institut für Informatik, Germany 2 Oxford University

More information

Temporal & Modal Logic. Acronyms. Contents. Temporal Logic Overview Classification PLTL Syntax Semantics Identities. Concurrency Model Checking

Temporal & Modal Logic. Acronyms. Contents. Temporal Logic Overview Classification PLTL Syntax Semantics Identities. Concurrency Model Checking Temporal & Modal Logic E. Allen Emerson Presenter: Aly Farahat 2/12/2009 CS5090 1 Acronyms TL: Temporal Logic BTL: Branching-time Logic LTL: Linear-Time Logic CTL: Computation Tree Logic PLTL: Propositional

More information

P = k T IME(n k ) Now, do all decidable languages belong to P? Let s consider a couple of languages:

P = k T IME(n k ) Now, do all decidable languages belong to P? Let s consider a couple of languages: CS 6505: Computability & Algorithms Lecture Notes for Week 5, Feb 8-12 P, NP, PSPACE, and PH A deterministic TM is said to be in SP ACE (s (n)) if it uses space O (s (n)) on inputs of length n. Additionally,

More information

Automata-Theoretic LTL Model-Checking

Automata-Theoretic LTL Model-Checking Automata-Theoretic LTL Model-Checking Arie Gurfinkel arie@cmu.edu SEI/CMU Automata-Theoretic LTL Model-Checking p.1 LTL - Linear Time Logic (Pn 77) Determines Patterns on Infinite Traces Atomic Propositions

More information

Automata and Reactive Systems

Automata and Reactive Systems Automata and Reactive Systems Lecture WS 2002/2003 Prof. Dr. W. Thomas RWTH Aachen Preliminary version (Last change March 20, 2003) Translated and revised by S. N. Cho and S. Wöhrle German version by M.

More information

EAHyper: Satisfiability, Implication, and Equivalence Checking of Hyperproperties

EAHyper: Satisfiability, Implication, and Equivalence Checking of Hyperproperties EAHyper: Satisfiability, Implication, and Equivalence Checking of Hyperproperties Bernd Finkbeiner, Christopher Hahn, and Marvin Stenger Saarland Informatics Campus, Saarland University, Saarbrücken, Germany

More information

Counterexample-Driven Model Checking

Counterexample-Driven Model Checking Counterexample-Driven Model Checking (Extended Abstract) Natarajan Shankar and Maria Sorea SRI International Computer Science Laboratory 333 Ravenswood Avenue Menlo Park, CA 94025, USA {shankar, sorea}@csl.sri.com

More information

Verifying Mutable Systems

Verifying Mutable Systems Verifying Mutable Systems by Joseph Scott A thesis presented to the University of Waterloo in fulfillment of the thesis requirement for the degree of Master of Mathematics in Computer Science Waterloo,

More information

Efficient timed model checking for discrete-time systems

Efficient timed model checking for discrete-time systems Efficient timed model checking for discrete-time systems F. Laroussinie, N. Markey and Ph. Schnoebelen Lab. Spécification & Vérification ENS de Cachan & CNRS UMR 8643 6, av. Pdt. Wilson, 94235 Cachan Cedex

More information

Guest lecturer: Mark Reynolds, The University of Western Australia

Guest lecturer: Mark Reynolds, The University of Western Australia Università degli studi di Udine Laurea Magistrale: Informatica Lectures for April/May 2014 La verifica del software: temporal logic Lecture 05 CTL Satisfiability via tableau Guest lecturer: Mark Reynolds,

More information

Linear-time Temporal Logic

Linear-time Temporal Logic Linear-time Temporal Logic Pedro Cabalar Department of Computer Science University of Corunna, SPAIN cabalar@udc.es 2015/2016 P. Cabalar ( Department Linear oftemporal Computer Logic Science University

More information

SMV the Symbolic Model Verifier. Example: the alternating bit protocol. LTL Linear Time temporal Logic

SMV the Symbolic Model Verifier. Example: the alternating bit protocol. LTL Linear Time temporal Logic Model Checking (I) SMV the Symbolic Model Verifier Example: the alternating bit protocol LTL Linear Time temporal Logic CTL Fixed Points Correctness Slide 1 SMV - Symbolic Model Verifier SMV - Symbolic

More information

Complexity (Pre Lecture)

Complexity (Pre Lecture) Complexity (Pre Lecture) Dr. Neil T. Dantam CSCI-561, Colorado School of Mines Fall 2018 Dantam (Mines CSCI-561) Complexity (Pre Lecture) Fall 2018 1 / 70 Why? What can we always compute efficiently? What

More information

An n! Lower Bound On Formula Size

An n! Lower Bound On Formula Size An n! Lower Bound On Formula Size Micah Adler Computer Science Dept. UMass, Amherst, USA http://www.cs.umass.edu/ micah Neil Immerman Computer Science Dept. UMass, Amherst, USA http://www.cs.umass.edu/

More information

Lecture 20: conp and Friends, Oracles in Complexity Theory

Lecture 20: conp and Friends, Oracles in Complexity Theory 6.045 Lecture 20: conp and Friends, Oracles in Complexity Theory 1 Definition: conp = { L L NP } What does a conp computation look like? In NP algorithms, we can use a guess instruction in pseudocode:

More information

Semi-Automatic Distributed Synthesis

Semi-Automatic Distributed Synthesis Semi-Automatic Distributed Synthesis Bernd Finkbeiner and Sven Schewe Universität des Saarlandes, 66123 Saarbrücken, Germany {finkbeiner schewe}@cs.uni-sb.de Abstract. We propose a sound and complete compositional

More information

Notes for Lecture 3... x 4

Notes for Lecture 3... x 4 Stanford University CS254: Computational Complexity Notes 3 Luca Trevisan January 18, 2012 Notes for Lecture 3 In this lecture we introduce the computational model of boolean circuits and prove that polynomial

More information

Automata, Logic and Games: Theory and Application

Automata, Logic and Games: Theory and Application Automata, Logic and Games: Theory and Application 1. Büchi Automata and S1S Luke Ong University of Oxford TACL Summer School University of Salerno, 14-19 June 2015 Luke Ong Büchi Automata & S1S 14-19 June

More information

CTL Model Checking. Wishnu Prasetya.

CTL Model Checking. Wishnu Prasetya. CTL Model Checking Wishnu Prasetya wishnu@cs.uu.nl www.cs.uu.nl/docs/vakken/pv Background Example: verification of web applications à e.g. to prove existence of a path from page A to page B. Use of CTL

More information

Lecture Notes on Emptiness Checking, LTL Büchi Automata

Lecture Notes on Emptiness Checking, LTL Büchi Automata 15-414: Bug Catching: Automated Program Verification Lecture Notes on Emptiness Checking, LTL Büchi Automata Matt Fredrikson André Platzer Carnegie Mellon University Lecture 18 1 Introduction We ve seen

More information

Fairness for Infinite-State Systems

Fairness for Infinite-State Systems Fairness for Infinite-State Systems Byron Cook 1, Heidy Khlaaf 1, and Nir Piterman 2 1 University College London, London, UK 2 University of Leicester, Leicester, UK Abstract. In this paper we introduce

More information

DRAFT. Algebraic computation models. Chapter 14

DRAFT. Algebraic computation models. Chapter 14 Chapter 14 Algebraic computation models Somewhat rough We think of numerical algorithms root-finding, gaussian elimination etc. as operating over R or C, even though the underlying representation of the

More information