CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics
|
|
- Martin Armstrong
- 5 years ago
- Views:
Transcription
1 CS256/Spring 2008 Lecture #11 Zohar Manna Beyond Temporal Logics Temporal logic expresses properties of infinite sequences of states, but there are interesting properties that cannot be expressed, e.g., p is true only (at most) at even positions. Questions (foundational/practical): What other languages can we use to express properties of sequences ( properties of programs)? How do their expressive powers compare? How do their computational complexities (for the decision problems) compare? ω-languages Σ: nonempty finite set (alphabet) of characters Σ : set of all finite strings of characters in Σ finite word w Σ Σ ω : set of all infinite strings of characters in Σ ω-word w Σ ω (finitary) language: L Σ ω-language: L Σ ω States Propositional LTL (PLTL) formulas are constructed from the following: propositions p 1, p 2,..., p n. boolean/temporal operators. a state s {f, t} n i.e., every state s is a truth-value assignment to all n propositional variables. If n = 3, then s : p 1 : t, p 2 : f, p 3 : t corresponds to state tf t. p 1 p 2 denotes the set of states {fff, fft, t t f, t t t} alphabet Σ = {f, t} n i.e, 2 n strings, one string for every state Note: t, f = formulas (syntax) t, f = truth values (semantics) 11-4
2 Models of PLTL ω-languages Other Languages to Talk about Infinite Sequences A model of PLTL for the language with n propositions σ : s 0, s 1, s 2,... can be viewed as an infinite string s 0 s 1 s 2..., i.e., ω-regular expressions ω-automata σ ({f, t} n ) ω A PLTL formula ϕ denotes an ω-language L = {σ σ Õ ϕ} ({f, t} n ) ω If n = 3, then ϕ : ¼ (p 1 p 2 ) denotes the ω-language L(ϕ) = {fff, fft, t t f, t t t} ω Regular Expressions ω-regular expressions Syntax: r ::= ε a r 1 r 2 r 1 + r 2 r (ε = empty word, a Σ) Semantics: A regular expression r (on alphabet Σ) denotes a finitary language L(r) Σ : L( ) = L(ε) = {ε} L(a) = {a} L(r 1 r 2 ) = L(r 1 ) L(r 2 ) = {xy x L(r 1 ), y L(r 2 )} L(r 1 + r 2 ) = L(r 1 ) L(r 2 ) L(r ) = L(r) = {x 1 x 2 x n n 0, x 1, x 2,..., x n L(r)} 11-7 Syntax: ωr ::= r 1 (s 1 ) ω + r 2 (s 2 ) ω + + r n (s n ) ω Semantics: n 1, r i, s i = regular expressions L(rs ω ) = {xy 1 y 2 x L(r), y 1, y 2,... L(s) \ {ε}} rs ω denotes all infinite strings with an initial prefix in L(r), followed by a concatenation of infinitely many nonempty words in L(s). 11-8
3 ω-regular expressions (cont.) PLTL (future) ω-r.e. s Take A = {a, b}. What languages do the following ω-r.e. s denote? aa b ω ω-word starting with two a s, followed by b s a b ω all ω-words starting with a finite string of a s, followed by b s (a + b) b ω all ω-words with only finitely many a s ((a + b) b) ω all ω-words containing infinitely many b s p is an abbreviation for tt + tf q is an abbreviation for tt + ft t is an abbreviation for tt + tf + ft + ff ¼ p: p ω ½ q: t q t ω puq: p q t ω p ¼ q: ( p) q ω + ( p) ω ¼ ½ p: (t p) ω ½ ¼ q: t q ω Expressive Power Finite-State Automata Every PLTL formula has an equivalent ω-r.e. PLTL is strictly weaker than ω-r.e. s: n 1 : a, b n 2 : c p is true only (at most) at even positions. not expressible in PLTL (Pierre Wolper, 1983) Finite alphabet Σ. ω-r.e.: (t( p)) ω ω-r.e. s are equivalent to ω-automata. Automaton A: N, N 0, E, µ, F, where N: nodes N 0 N: initial nodes E N N: edges µ : N 2 Σ : node labeling function F N: final nodes Note: We label the nodes and not the edges
4 Finite-State Automata (Cont d) Main question: Given a string σ: s 0... s k over Σ, is σ accepted by A? path A sequence of nodes is a path of A if n 0 N 0 π: n 0,..., n k for every i: 0... k 1, n i, n i+1 E. trail A path Finite-State Automata (Cont d) of A is a trail of a string π: n 0,..., n k σ: s 0,..., s k in A if for every i: 0... k, accepted A string s i µ(n i ). σ: s 0... s k is accepted by A if it has a trail in A such that π: n 0,..., n k n k F Finite-State Automata (Cont d) L(A) The set of all strings ( languages ) accepted by A. deterministic An automaton A is called deterministic if every string has exactly one (not necessarily accepting) trail in A. Finite-State Automata: Decision Problems Emptiness: Is any string accepted? L(A)? = Ø Universality: Are all strings accepted? L(A)? = Σ total An automaton A is called total if every string has at least one (not necessarily accepting) trail in A. Inclusion: Are all strings accepted by A 1 accepted by A 2? L(A 1 )? L(A 2 )
5 Finite-State Automata: Operations Complementation: A L(A) = Σ L(A) Product: A 1 A 2 L(A 1 A 2 ) = L(A 1 ) L(A 2 ) Union: A 1 + A 2 L(A 1 + A 2 ) = L(A 1 ) L(A 2 ) Using complementation and product construction, we only need a decision procedure for emptiness to decide universality and inclusion: Finite-State Automata: Determinization For every nondeterministic automaton A N, there exists a deterministic automaton A D such that L(A N ) = L(A D ). (May cause exponential blowup in size.) Universality: L(A) = Σ L(A) = Ø Inclusion: L(A 1 ) L(A 2 ) L(A 1 A 2 ) = Ø ω-automata Finite-state automata over infinite strings. ω-automata (Motivation) Main question: Given an infinite sequence of states is σ accepted by A? σ : s 0, s 1, s 2,... n 1 : p 1 n 2 : p 1 p 2 Additional references: Section 5 of Wolfgang Thomas: Languages, Automata, and Logic. In G. Rozenberg and A. Salomaa (eds.), Handbook of Formal Languages, V. III. (Tech Report version available on the web), pp , Part I of Wolfgang Thomas: Automata on Infinite Objects. In Jan van Leeuwen (ed.), Handbook of Theoretical Computer Science, vol. B, Elsevier, 1990, pp Moshe Vardi and Pierre Wolper, An Automata Theoretic Approach to Program Verification, Symposium on Logic in Computer Science, 1986, pp n 1 represents all states in which p 1 is true; i.e. tf and t t. µ(n 1 ) = {tf, t t} n 2 represents all states in which p 1 is false and p 2 is true. µ(n 2 ) = {ft} 11-20
6 ω-automata: Trails ω-automata (Definition) Set of propositions: p 1,..., p n. Alphabet Σ = {t, f} n. Automaton A: N, N 0, E, µ, F, where N: finite set of nodes N 0 N: initial nodes E N N: edges µ : N 2 Σ : node labeling function (assertions) F : acceptance condition Note: Most of the literature on ω-automata uses edge labeling, similarly to automata on finite strings. However, we use node labeling to ease the transition to diagrams. The two approaches are equally expressive and can easily be translated into each other Definition: A path π : n 0, n 1,... of A is a trail of an infinite sequence of states if for every i 0, n 1 : p 1 σ : s 0, s 1,... s i Õ µ(n i ) (or s i µ(n i )). The sequence of states n 2 : p 1 p 2 p 1 t p 2 t σ :, tf, ft, t t, tf, ft,... has trail π : n 1, n 1, n 2, n 1, n 1, n 2,... Note: no trail for σ :..., ff,.... In general, A is nondeterministic i.e., trail π is not necessarily unique for σ. A is deterministic if for every σ, there is exactly one trail π of σ inf(π): Inf(π) infinite sequence of states σ : s 0, s 1, s 2,... infinite trail π : n 0, n 1, n 2,... The set of nodes appearing infinitely often in π. Observe: inf(π) is nonempty since the set of nodes of the automaton is finite. The nodes in inf(π) form a Strongly Connected Subgraph (SCS) in A. SCS S: Every node in S is reachable from every other node in S. MSCS S: a maximal SCS; i.e., S is not contained in any larger SCS. Definition: An infinite sequence of states σ is accepted by A if it has a trail π such that inf(π) is accepted by the acceptance condition ω-automata: Acceptance Conditions A: Name Büchi Muller Type of acceptance condition F N a set of nodes F 2 N a set of subsets of nodes Condition for acceptance inf(π) F Ø inf(π) F To accept L(¼ ½ p) with A F = {n 2 } F = {{n 1, n 2 }, {n 2 }} To accept L(½ ¼ p) with A no deterministic Büchi automaton accepts this language F = {{n 2 }} 11-24
7 ω-automata: Acceptance Conditions (Cont d) A: Name Streett Rabin Type of acceptance condition Condition for acceptance F 2 N 2 N a set of pairs {(P 1, R 1 ),..., (P n, R n )} where each P i, R i is a set of nodes for every i : [1..n] inf(π) P i or inf(π) R i Ø To accept L(¼ ½ p) with A F = {(Ø, {n 2 })} for some i : [1..n] inf(π) P i and inf(π) R i Ø F = {({n 1, n 2 }, {n 2 })} To accept L(½ ¼ p) with A F = {({n 2 }, Ø)} F = {({n 2 }, {n 2 })} Automata Automaton for ¼ ½ p ¼ ½ q (if p happens infinitely often, then q happens infinitely often) ½ ¼ p ¼ ½ q Deterministic: n 1 : p q n 3 : p q q n 4 : p q Muller acceptance condition (P = powerset): F = P({n 1, n 2, n 3, n 4 }) {{n 2 }, {n 2, n 4 }} Streett acceptance condition: eventually always p {}}{ F = {({n 3, n 4 } or, infinitely often q {}}{ {n 1, n 3 })} Automata (Cont d) Automaton for ¼ ½ p ¼ ½ q ½ ¼ p ¼ ½ q Nondeterministic: n 1 : t n 2 : p Muller acceptance condition: n 3 : t n 4 : q F = {{n 2 }, {n 4 }, {n 3, n 4 }} Streett acceptance condition: F = {({n 2 }, {n 4 })} More Examples: Muller/Streett ¼ p p ½ q n 1 : p F M = {{n 1 }} F S = {({n 1 }, Ø)} n 2 : q n 3 : q F M = {{n 1 }, {n 3 }, {n 1, n 3 }, {n 2, n 3 }, {n 1, n 2, n 3 }} F S = {(Ø, {n 1, n 3 })} Question: Why is {n 1, n 2 } not in F M? 11-28
8 More Examples: Muller/Streett More Examples: Muller/Streett pwq n 1 : p n 2 : q n 3 : t F M = {{n 1 }, {n 3 }} F S = {({n 1, n 3 }, Ø)} puq n 1 : p q n 2 : q n 3 : t F M = {{n 3 }} F S = {({n 3 }, Ø)} p ½ ¼ q p qwr n 2 : q n 3 : q F M = {{n 1 }, {n 3 }} n 2 : q n 3 : r F M = P({n 1, n 2, n 3 }) {n 1, n 2 } Question: Why n 1 : p q and not n 1 : p? F S = {({n 1, n 3 }, Ø)} F S = {(Ø, {n 1, n 2, n 3 })} n 2 : q m More Examples: Muller/Streett p q m Wq m 1... q 1 Wq 0 F M = P({n 1,..., n m+2 }) F S = {(Ø, {n 1,..., n m+2 })} n 3 : q m 1. n 4 : q m 2 n m+1 : q 1 n m+2 : q
9 Existence of ω-automaton Theorem: For every PLTL formula ϕ, there exists an ω-automaton A ϕ such that L(ϕ) = L(A ϕ ). Question: Does the converse also hold? Consider A: n 1 : t Existence of ω-automaton (Cont d) First attempt: ¾ p ¼ (p ¾ p) Not good because it only accepts p p p p p... F M = {{n 1, n 2 }} L(A) = all sequences of form p p p p p p p p p p p p... That is, it accepts L(A 1 ), with A 1 : F M = {{n 1, n 2 }} Is there a PLTL formula ϕ such that L(A) = L(ϕ)? Existence of ω-automaton (Cont d) Second attempt: ¾ p ¼ (p ¾ ¾ p) Not good because it accepts only and p p p p p... p p p p p... That is, it accepts L(A 2 ), with A 2 : n 3 : p F M = {{n 1, n 2 }, {n 3 }} ω-automaton Expressiblity It was shown by Wolper (1982) that there does not exist a PLTL formula ϕ such that L(ϕ) = L(A) for the automaton A shown above. Theorem: ω-automata are strictly more expressive than PLTL. Theorem: For every ω-automaton A there exists an existentially quantified formula ϕ such that L(A) = L(ϕ)
10 n 1 : t k.( ¾ k }{{} k holds in the second position F = {{n 1, n 2 }} ¼ (k ¾ k) ¼ (k p) ) }{{} k-positions alternate } {{ } whenever k holds, p also holds k is a flexible, auxiliary boolean variable: its value may be different in different positions. Note: k at position 0. Why? 11-37
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 informationAutomata, 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 informationTimo Latvala. March 7, 2004
Reactive Systems: Safety, Liveness, and Fairness Timo Latvala March 7, 2004 Reactive Systems: Safety, Liveness, and Fairness 14-1 Safety Safety properties are a very useful subclass of specifications.
More informationLinear 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 informationNondeterministic Finite Automata
Nondeterministic Finite Automata Not A DFA Does not have exactly one transition from every state on every symbol: Two transitions from q 0 on a No transition from q 1 (on either a or b) Though not a DFA,
More informationLTL is Closed Under Topological Closure
LTL is Closed Under Topological Closure Grgur Petric Maretić, Mohammad Torabi Dashti, David Basin Department of Computer Science, ETH Universitätstrasse 6 Zürich, Switzerland Abstract We constructively
More informationLogic Model Checking
Logic Model Checking Lecture Notes 10:18 Caltech 101b.2 January-March 2004 Course Text: The Spin Model Checker: Primer and Reference Manual Addison-Wesley 2003, ISBN 0-321-22862-6, 608 pgs. the assignment
More informationLecture 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 informationCDS 270 (Fall 09) - Lecture Notes for Assignment 8.
CDS 270 (Fall 09) - Lecture Notes for Assignment 8. ecause this part of the course has no slides or textbook, we will provide lecture supplements that include, hopefully, enough discussion to complete
More informationChapter 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 informationAutomata-based Verification - III
COMP30172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20: email: howard.barringer@manchester.ac.uk March 2009 Third Topic Infinite Word Automata Motivation Büchi Automata
More informationLecturecise 22 Weak monadic second-order theory of one successor (WS1S)
Lecturecise 22 Weak monadic second-order theory of one successor (WS1S) 2013 Reachability in the Heap Many programs manipulate linked data structures (lists, trees). To express many important properties
More informationPartially Ordered Two-way Büchi Automata
Partially Ordered Two-way Büchi Automata Manfred Kufleitner Alexander Lauser FMI, Universität Stuttgart, Germany {kufleitner, lauser}@fmi.uni-stuttgart.de June 14, 2010 Abstract We introduce partially
More informationLecture 11 Safety, Liveness, and Regular Expression Logics
Lecture 11 Safety, Liveness, and Regular Expression Logics Safety and Liveness Regular Expressions w-regular Expressions Programs, Computations, and Properties Guarantee, Response, and Persistance Properties.
More informationTecniche di Specifica e di Verifica. Automata-based LTL Model-Checking
Tecniche di Specifica e di Verifica Automata-based LTL Model-Checking Finite state automata A finite state automaton is a tuple A = (Σ,S,S 0,R,F) Σ: set of input symbols S: set of states -- S 0 : set of
More informationWatson-Crick ω-automata. Elena Petre. Turku Centre for Computer Science. TUCS Technical Reports
Watson-Crick ω-automata Elena Petre Turku Centre for Computer Science TUCS Technical Reports No 475, December 2002 Watson-Crick ω-automata Elena Petre Department of Mathematics, University of Turku and
More informationTemporal Logic with Past is Exponentially More Succinct
Temporal Logic with Past is Exponentially More Succinct Nicolas Markey Lab. Informatique Fondamentale d Orléans Univ. Orléans & CNRS FRE 2490 Rue Léonard de Vinci - BP 6759 45067 Orléans Cedex 2 - France
More informationAlan Bundy. Automated Reasoning LTL Model Checking
Automated Reasoning LTL Model Checking Alan Bundy Lecture 9, page 1 Introduction So far we have looked at theorem proving Powerful, especially where good sets of rewrite rules or decision procedures have
More informationAutomata-based Verification - III
CS3172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20/22: email: howard.barringer@manchester.ac.uk March 2005 Third Topic Infinite Word Automata Motivation Büchi Automata
More informationAdvanced Automata Theory 7 Automatic Functions
Advanced Automata Theory 7 Automatic Functions Frank Stephan Department of Computer Science Department of Mathematics National University of Singapore fstephan@comp.nus.edu.sg Advanced Automata Theory
More informationAutomata 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 informationTree Automata and Rewriting
and Rewriting Ralf Treinen Université Paris Diderot UFR Informatique Laboratoire Preuves, Programmes et Systèmes treinen@pps.jussieu.fr July 23, 2010 What are? Definition Tree Automaton A tree automaton
More informationω-automata Automata that accept (or reject) words of infinite length. Languages of infinite words appear:
ω-automata ω-automata Automata that accept (or reject) words of infinite length. Languages of infinite words appear: in verification, as encodings of non-terminating executions of a program. in arithmetic,
More informationTheoretical Foundations of the UML
Theoretical Foundations of the UML Lecture 17+18: A Logic for MSCs Joost-Pieter Katoen Lehrstuhl für Informatik 2 Software Modeling and Verification Group moves.rwth-aachen.de/teaching/ws-1718/fuml/ 5.
More informationCS21 Decidability and Tractability
CS21 Decidability and Tractability Lecture 2 January 5, 2018 January 5, 2018 CS21 Lecture 2 1 Outline Finite Automata Nondeterministic Finite Automata Closure under regular operations NFA, FA equivalence
More informationBüchi Automata and their closure properties. - Ajith S and Ankit Kumar
Büchi Automata and their closure properties - Ajith S and Ankit Kumar Motivation Conventional programs accept input, compute, output result, then terminate Reactive program : not expected to terminate
More informationIntroduction. Büchi Automata and Model Checking. Outline. Büchi Automata. The simplest computation model for infinite behaviors is the
Introduction Büchi Automata and Model Checking Yih-Kuen Tsay Department of Information Management National Taiwan University FLOLAC 2009 The simplest computation model for finite behaviors is the finite
More informationClasses and conversions
Classes and conversions Regular expressions Syntax: r = ε a r r r + r r Semantics: The language L r of a regular expression r is inductively defined as follows: L =, L ε = {ε}, L a = a L r r = L r L r
More informationThe theory of regular cost functions.
The theory of regular cost functions. Denis Kuperberg PhD under supervision of Thomas Colcombet Hebrew University of Jerusalem ERC Workshop on Quantitative Formal Methods Jerusalem, 10-05-2013 1 / 30 Introduction
More informationSanjit A. Seshia EECS, UC Berkeley
EECS 219C: Computer-Aided Verification Explicit-State Model Checking: Additional Material Sanjit A. Seshia EECS, UC Berkeley Acknowledgments: G. Holzmann Checking if M satisfies : Steps 1. Compute Buchi
More informationComputer-Aided Program Design
Computer-Aided Program Design Spring 2015, Rice University Unit 3 Swarat Chaudhuri February 5, 2015 Temporal logic Propositional logic is a good language for describing properties of program states. However,
More informationTecniche di Specifica e di Verifica. Automata-based LTL Model-Checking
Tecniche di Specifica e di Verifica Automata-based LTL Model-Checking Finite state automata A finite state automaton is a tuple A = (S,S,S 0,R,F) S: set of input symbols S: set of states -- S 0 : set of
More informationComplexity Bounds for Regular Games (Extended Abstract)
Complexity Bounds for Regular Games (Extended Abstract) Paul Hunter and Anuj Dawar University of Cambridge Computer Laboratory, Cambridge CB3 0FD, UK. paul.hunter@cl.cam.ac.uk, anuj.dawar@cl.cam.ac.uk
More informationStrategy Logic. 1 Introduction. Krishnendu Chatterjee 1, Thomas A. Henzinger 1,2, and Nir Piterman 2
Strategy Logic Krishnendu Chatterjee 1, Thomas A. Henzinger 1,2, and Nir Piterman 2 1 University of California, Berkeley, USA 2 EPFL, Switzerland c krish@eecs.berkeley.edu, {tah,nir.piterman}@epfl.ch Abstract.
More informationTemporal 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 informationFrom 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 informationBüchi Automata and Their Determinization
Büchi Automata and Their Determinization Edinburgh, October 215 Plan of the Day 1. Büchi automata and their determinization 2. Infinite games 3. Rabin s Tree Theorem 4. Decidability of monadic theories
More informationAutomata Theory and Model Checking
Automata Theory and Model Checking Orna Kupferman Abstract We study automata on infinite words and their applications in system specification and verification. We first introduce Büchi automata and survey
More informationHelsinki University of Technology Laboratory for Theoretical Computer Science Research Reports 83
Helsinki University of Technology Laboratory for Theoretical Computer Science Research Reports 83 Teknillisen korkeakoulun tietojenkäsittelyteorian laboratorion tutkimusraportti 83 Espoo 2003 HUT-TCS-A83
More informationOn the Accepting Power of 2-Tape Büchi Automata
On the Accepting Power of 2-Tape Büchi Automata Equipe de Logique Mathématique Université Paris 7 STACS 2006 Acceptance of infinite words In the sixties, Acceptance of infinite words by finite automata
More informationInf2A: Converting from NFAs to DFAs and Closure Properties
1/43 Inf2A: Converting from NFAs to DFAs and Stuart Anderson School of Informatics University of Edinburgh October 13, 2009 Starter Questions 2/43 1 Can you devise a way of testing for any FSM M whether
More informationLanguages, logics and automata
Languages, logics and automata Anca Muscholl LaBRI, Bordeaux, France EWM summer school, Leiden 2011 1 / 89 Before all that.. Sonia Kowalewskaya Emmy Noether Julia Robinson All this attention has been gratifying
More informationWeak Alternating Automata Are Not That Weak
Weak Alternating Automata Are Not That Weak Orna Kupferman Hebrew University Moshe Y. Vardi Rice University Abstract Automata on infinite words are used for specification and verification of nonterminating
More informationRepresenting Arithmetic Constraints with Finite Automata: An Overview
Representing Arithmetic Constraints with Finite Automata: An Overview Bernard Boigelot Pierre Wolper Université de Liège Motivation Linear numerical constraints are a very common and useful formalism (our
More informationAutomata-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 informationPSL 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 informationCSE 1400 Applied Discrete Mathematics Definitions
CSE 1400 Applied Discrete Mathematics Definitions Department of Computer Sciences College of Engineering Florida Tech Fall 2011 Arithmetic 1 Alphabets, Strings, Languages, & Words 2 Number Systems 3 Machine
More information2. Elements of the Theory of Computation, Lewis and Papadimitrou,
Introduction Finite Automata DFA, regular languages Nondeterminism, NFA, subset construction Regular Epressions Synta, Semantics Relationship to regular languages Properties of regular languages Pumping
More informationESE601: Hybrid Systems. Introduction to verification
ESE601: Hybrid Systems Introduction to verification Spring 2006 Suggested reading material Papers (R14) - (R16) on the website. The book Model checking by Clarke, Grumberg and Peled. What is verification?
More informationTemporal Logic Model Checking
18 Feb, 2009 Thomas Wahl, Oxford University Temporal Logic Model Checking 1 Temporal Logic Model Checking Thomas Wahl Computing Laboratory, Oxford University 18 Feb, 2009 Thomas Wahl, Oxford University
More informationFinite Automata and Languages
CS62, IIT BOMBAY Finite Automata and Languages Ashutosh Trivedi Department of Computer Science and Engineering, IIT Bombay CS62: New Trends in IT: Modeling and Verification of Cyber-Physical Systems (2
More informationSri vidya college of engineering and technology
Unit I FINITE AUTOMATA 1. Define hypothesis. The formal proof can be using deductive proof and inductive proof. The deductive proof consists of sequence of statements given with logical reasoning in order
More informationComplexity Bounds for Muller Games 1
Complexity Bounds for Muller Games 1 Paul Hunter a, Anuj Dawar b a Oxford University Computing Laboratory, UK b University of Cambridge Computer Laboratory, UK Abstract We consider the complexity of infinite
More informationChapter Five: Nondeterministic Finite Automata
Chapter Five: Nondeterministic Finite Automata From DFA to NFA A DFA has exactly one transition from every state on every symbol in the alphabet. By relaxing this requirement we get a related but more
More informationRegular Languages. Problem Characterize those Languages recognized by Finite Automata.
Regular Expressions Regular Languages Fundamental Question -- Cardinality Alphabet = Σ is finite Strings = Σ is countable Languages = P(Σ ) is uncountable # Finite Automata is countable -- Q Σ +1 transition
More informationTHEORY OF SYSTEMS MODELING AND ANALYSIS. Henny Sipma Stanford University. Master class Washington University at St Louis November 16, 2006
THEORY OF SYSTEMS MODELING AND ANALYSIS Henny Sipma Stanford University Master class Washington University at St Louis November 16, 2006 1 1 COURSE OUTLINE 8:37-10:00 Introduction -- Computational model
More informationThe State Explosion Problem
The State Explosion Problem Martin Kot August 16, 2003 1 Introduction One from main approaches to checking correctness of a concurrent system are state space methods. They are suitable for automatic analysis
More informationTransformation Between Regular Expressions and ω-automata
Transformation Between Regular Expressions and ω-automata Christof Löding 1 and Andreas Tollkötter 2 1 RWTH Aachen, Lehrstuhl für Informatik 7, 52056 Aachen, Germany loeding@informatik.rwth-aachen.de 2
More informationTemporal 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 informationAutomata Theory for Presburger Arithmetic Logic
Automata Theory for Presburger Arithmetic Logic References from Introduction to Automata Theory, Languages & Computation and Constraints in Computational Logic Theory & Application Presented by Masood
More informationWhat You Must Remember When Processing Data Words
What You Must Remember When Processing Data Words Michael Benedikt, Clemens Ley, and Gabriele Puppis Oxford University Computing Laboratory, Park Rd, Oxford OX13QD UK Abstract. We provide a Myhill-Nerode-like
More informationImpartial Anticipation in Runtime-Verification
Impartial Anticipation in Runtime-Verification Wei Dong 1, Martin Leucker 2, and Christian Schallhart 2 1 School of Computer, National University of Defense Technology, P.R.China 2 Institut für Informatik,
More informationTimed Test Generation Based on Timed Temporal Logic
Timed Test Generation Based on Timed Temporal Logic STEFAN D. BRUDA and CHUN DAI Department of Computer Science Bishop s University Sherbrooke, Quebec J1M 1Z7 CANADA stefan@bruda.ca, cdai@cs.ubishops.ca
More informationLecture 3: Nondeterministic Finite Automata
Lecture 3: Nondeterministic Finite Automata September 5, 206 CS 00 Theory of Computation As a recap of last lecture, recall that a deterministic finite automaton (DFA) consists of (Q, Σ, δ, q 0, F ) where
More informationAlternating 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 informationCS 208: Automata Theory and Logic
CS 28: Automata Theory and Logic b a a start A x(la(x) y(x < y) L b (y)) B b Department of Computer Science and Engineering, Indian Institute of Technology Bombay of 32 Nondeterminism Alternation 2 of
More informationOn Recognizable Languages of Infinite Pictures
On Recognizable Languages of Infinite Pictures Equipe de Logique Mathématique CNRS and Université Paris 7 LIF, Marseille, Avril 2009 Pictures Pictures are two-dimensional words. Let Σ be a finite alphabet
More informationCHURCH SYNTHESIS PROBLEM and GAMES
p. 1/? CHURCH SYNTHESIS PROBLEM and GAMES Alexander Rabinovich Tel-Aviv University, Israel http://www.tau.ac.il/ rabinoa p. 2/? Plan of the Course 1. The Church problem - logic and automata. 2. Games -
More informationCS 154, Lecture 2: Finite Automata, Closure Properties Nondeterminism,
CS 54, Lecture 2: Finite Automata, Closure Properties Nondeterminism, Why so Many Models? Streaming Algorithms 0 42 Deterministic Finite Automata Anatomy of Deterministic Finite Automata transition: for
More informationHKN CS/ECE 374 Midterm 1 Review. Nathan Bleier and Mahir Morshed
HKN CS/ECE 374 Midterm 1 Review Nathan Bleier and Mahir Morshed For the most part, all about strings! String induction (to some extent) Regular languages Regular expressions (regexps) Deterministic finite
More informationApplied Automata Theory
Applied Automata Theory Roland Meyer TU Kaiserslautern Roland Meyer (TU KL) Applied Automata Theory (WiSe 2013) 1 / 161 Table of Contents I 1 Regular Languages and Finite Automata Regular Languages Finite
More informationMathematical Preliminaries. Sipser pages 1-28
Mathematical Preliminaries Sipser pages 1-28 Mathematical Preliminaries This course is about the fundamental capabilities and limitations of computers. It has 3 parts 1. Automata Models of computation
More informationLogic and Automata I. Wolfgang Thomas. EATCS School, Telc, July 2014
Logic and Automata I EATCS School, Telc, July 2014 The Plan We present automata theory as a tool to make logic effective. Four parts: 1. Some history 2. Automata on infinite words First step: MSO-logic
More informationExtending temporal logic with!-automata Thesis for the M.Sc. Degree by Nir Piterman Under the Supervision of Prof. Amir Pnueli Department of Computer
Extending temporal logic with!-automata Thesis for the M.Sc. Degree by Nir Piterman Under the Supervision of Prof. Amir Pnueli Department of Computer Science The Weizmann Institute of Science Prof. Moshe
More informationFirst-order resolution for CTL
First-order resolution for Lan Zhang, Ullrich Hustadt and Clare Dixon Department of Computer Science, University of Liverpool Liverpool, L69 3BX, UK {Lan.Zhang, U.Hustadt, CLDixon}@liverpool.ac.uk Abstract
More informationChapter 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 informationWeak Alternating Automata and Tree Automata Emptiness
Weak Alternating Automata and Tree Automata Emptiness Orna Kupferman UC Berkeley Moshe Y. Vardi Rice University Abstract Automata on infinite words and trees are used for specification and verification
More informationFurther discussion of Turing machines
Further discussion of Turing machines In this lecture we will discuss various aspects of decidable and Turing-recognizable languages that were not mentioned in previous lectures. In particular, we will
More informationOn language equations with one-sided concatenation
Fundamenta Informaticae 126 (2013) 1 34 1 IOS Press On language equations with one-sided concatenation Franz Baader Alexander Okhotin Abstract. Language equations are equations where both the constants
More informationAutomata, Logic and Games. C.-H. L. Ong
Automata, Logic and Games C.-H. L. Ong June 12, 2015 2 Contents 0 Automata, Logic and Games 1 0.1 Aims and Prerequisites............................... 1 0.2 Motivation.....................................
More informationAutomata-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 informationDefinition of Büchi Automata
Büchi Automata Definition of Büchi Automata Let Σ = {a,b,...} be a finite alphabet. By Σ ω we denote the set of all infinite words over Σ. A non-deterministic Büchi automaton (NBA) over Σ is a tuple A
More informationSemi-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 informationCOM364 Automata Theory Lecture Note 2 - Nondeterminism
COM364 Automata Theory Lecture Note 2 - Nondeterminism Kurtuluş Küllü March 2018 The FA we saw until now were deterministic FA (DFA) in the sense that for each state and input symbol there was exactly
More informationThe Safety Simple Subset
The Safety Simple Subset Shoham Ben-David 1 Dana Fisman 2,3 Sitvanit Ruah 3 1 University of Waterloo 2 Weizmann Institute of Science 3 IBM Haifa Research Lab Abstract. Regular-LTL (RLTL), extends LTL with
More informationAutomata Theory and Formal Grammars: Lecture 1
Automata Theory and Formal Grammars: Lecture 1 Sets, Languages, Logic Automata Theory and Formal Grammars: Lecture 1 p.1/72 Sets, Languages, Logic Today Course Overview Administrivia Sets Theory (Review?)
More informationTheory of Computation (I) Yijia Chen Fudan University
Theory of Computation (I) Yijia Chen Fudan University Instructor Yijia Chen Homepage: http://basics.sjtu.edu.cn/~chen Email: yijiachen@fudan.edu.cn Textbook Introduction to the Theory of Computation Michael
More informationFrom Monadic Second-Order Definable String Transformations to Transducers
From Monadic Second-Order Definable String Transformations to Transducers Rajeev Alur 1 Antoine Durand-Gasselin 2 Ashutosh Trivedi 3 1 University of Pennsylvania 2 LIAFA, Université Paris Diderot 3 Indian
More informationHelsinki University of Technology Laboratory for Theoretical Computer Science Research Reports 66
Helsinki University of Technology Laboratory for Theoretical Computer Science Research Reports 66 Teknillisen korkeakoulun tietojenkäsittelyteorian laboratorion tutkimusraportti 66 Espoo 2000 HUT-TCS-A66
More informationFinite Automata. BİL405 - Automata Theory and Formal Languages 1
Finite Automata BİL405 - Automata Theory and Formal Languages 1 Deterministic Finite Automata (DFA) A Deterministic Finite Automata (DFA) is a quintuple A = (Q,,, q 0, F) 1. Q is a finite set of states
More informationIntroduction to the Theory of Computation. Automata 1VO + 1PS. Lecturer: Dr. Ana Sokolova.
Introduction to the Theory of Computation Automata 1VO + 1PS Lecturer: Dr. Ana Sokolova http://cs.uni-salzburg.at/~anas/ Setup and Dates Lectures and Instructions 23.10. 3.11. 17.11. 24.11. 1.12. 11.12.
More informationTemporal & 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 informationCS21 Decidability and Tractability
CS21 Decidability and Tractability Lecture 3 January 9, 2017 January 9, 2017 CS21 Lecture 3 1 Outline NFA, FA equivalence Regular Expressions FA and Regular Expressions January 9, 2017 CS21 Lecture 3 2
More informationA Note on the Reduction of Two-Way Automata to One-Way Automata
A Note on the Reduction of Two-Way Automata to One-Way Automata Moshe Y. Vardi IBM Almaden Research Center Abstract We describe a new elementary reduction of two-way automata to one-way automata. The reduction
More informationTheory of Computation
Thomas Zeugmann Hokkaido University Laboratory for Algorithmics http://www-alg.ist.hokudai.ac.jp/ thomas/toc/ Lecture 3: Finite State Automata Motivation In the previous lecture we learned how to formalize
More informationBüchi Automata and Linear Temporal Logic
Büchi Automata and Linear Temporal Logic Joshua D. Guttman Worcester Polytechnic Institute 18 February 2010 Guttman ( WPI ) Büchi & LTL 18 Feb 10 1 / 10 Büchi Automata Definition A Büchi automaton is a
More informationModel Checking of Safety Properties
Model Checking of Safety Properties Orna Kupferman Hebrew University Moshe Y. Vardi Rice University October 15, 2010 Abstract Of special interest in formal verification are safety properties, which assert
More informationOn Recognizable Languages of Infinite Pictures
On Recognizable Languages of Infinite Pictures Equipe de Logique Mathématique CNRS and Université Paris 7 JAF 28, Fontainebleau, Juin 2009 Pictures Pictures are two-dimensional words. Let Σ be a finite
More informationIntroduction to the Theory of Computation. Automata 1VO + 1PS. Lecturer: Dr. Ana Sokolova.
Introduction to the Theory of Computation Automata 1VO + 1PS Lecturer: Dr. Ana Sokolova http://cs.uni-salzburg.at/~anas/ Setup and Dates Lectures Tuesday 10:45 pm - 12:15 pm Instructions Tuesday 12:30
More informationLogic in Automatic Verification
Logic in Automatic Verification Javier Esparza Sofware Reliability and Security Group Institute for Formal Methods in Computer Science University of Stuttgart Many thanks to Abdelwaheb Ayari, David Basin,
More information