A Complexity Measure on Büchi Automata

Size: px
Start display at page:

Download "A Complexity Measure on Büchi Automata"

Transcription

1 A Complexity Mesure on Büchi Automt Dn Fismn University of Pennsylvni Abstrct. We define complexity mesure on non-deterministic Büchi utomt, bsed on the notion of the width of the skeleton tree introduced by Kähler nd Wilke. We show tht the induced hierrchy tightly correltes to the Wgner Hierrchy, corner stone in the theory of regulr ω-lnguges tht is derived from complexity mesure on deterministic Muller utomt. The reltion between the hierrchies entils, for instnce, tht nondeterministic Büchi utomton of width k cn be trnslted to deterministic prity utomton of degree t most 2k + 1. Keywords: utomt nd logic, utomt for system nlysis nd progrm verifiction, clssifiction of regulr ω-lnguges. 1 Introduction There re vrious wy to define cceptnce on infinite words, deriving different types of ω-utomt. Büchi utomt hve the simplest cceptnce criterion: run is declred ccepting if the set of sttes visited infinitely often intersect designted set of ccepting sttes F. Their dul, co-büchi utomt declre run ccepting if the set of sttes visited infinitely often does not intersect designted set of rejecting sttes F. Muller utomt hve the most generl cceptnce criterion: run is ccepting if the set of sttes visited infinitely often is exctly one of set of designted subsets of sttes F 1, F 2,..., F k. Other types of ω-utomt include Rbin, Streett nd prity. The different ω-utomt hve vrying levels of complexity nd expressivity. Using the convention tht DT (NT) for T {B, C, R, S, M, P} denotes the clss of lnguges ccepted by deterministic (nondeterministic) utomt of type Büchi, co-büchi, Rbin, Street, Muller or prity, resp., the following reltions re known. The clss DB is less expressive thn NB which is s expressive s DM, DP, DR, DS, which recognize ll regulr ω-lnguges. The clsses DB nd DC hve incomprble expressive power, in the sense tht there exists lnguges in DB \ DC nd in DC \ DB. Wgner [1] hs suggested complexity mesure on Muller utomt, nd showed tht this complexity mesure is lnguge-specific nd is invrint over ll utomt ccepting the sme lnguge. This result, referred to s the Wgner Hierrchy, is corner stone in the theory of regulr ω-lnguges. The clsses DB This reserch ws supported by US NSF grnt CCF

2 nd DC coincide with clsses of the lower levels of this hierrchy. For lnguge L the miniml number of colors required by recognizing deterministic prity utomton, nd the miniml number of pirs required by deterministic Rbin or Streett utomton tightly correltes to the miniml clss in the hierrchy in which the recognized lnguge L resides. In this pper we define complexity mesure on nondeterministic Büchi utomt (nb). The mesure is bsed on the notion of the width of the skeletontree, structure for summrizing runs of nbs, introduced by Kähler nd Wilke [7]. A lnguge L is sid to be of degree k, or belong to NB k, if there exists n nb N recognizing L such tht the width of the skeleton-tree of ll words with respect to N is t most k. We show tht this mesure induces strict hierrchy of clsses of lnguges, nd tht this hierrchy tightly correltes to the Wgner hierrchy. The reltion between the hierrchies entils, for instnce, tht n nb of width k cn be trnslted to prity utomton using t most 2k + 1 colors, nd lnguge L NB k+1 \ NB k cnnot be trnslted to prity utomton using less thn 2k colors. We provide definitions for ω-utomt, summry of the Wgner hierrchy, nd definition of the skeleton-tree in Section 2. The contribution of the pper strts in Section where we define the complexity mesure on Büchi utomt, nd stte the min theorem of the pper, tht the induced hierrchy tightly correltes to the Wgner hierrchy. Section 4 proves the direction from the proposed hierrchy to the Wgner hierrchy nd Section 5 the other direction. In sense, the direction from the Wgner hierrchy to the proposed hierrchy provides n insight on the need for non-determinism in the Büchi model, nd quntifiction of the mount of non-determinism needed reltive to the complexity of the Muller utomton. 2 Preliminries Automt on Infinite Words An utomton is tuple A = Σ, Q, q 0, δ, α consisting of finite lphbet Σ of symbols, finite set Q of sttes, n initil stte q 0, trnsition function δ : Q Σ 2 Q, nd n cceptnce condition α. A run of n utomton on n infinite word v = is n infinite sequence of sttes p 0, p 1, p 2..., such tht p 0 = q 0 nd p i+1 δ(p i, i ) for every i N. The trnsition function cn be extended to function from Q Σ (to Q) by defining δ(q, ɛ) = q nd δ(q, v) = δ(δ(q, ), v) for q Q, Σ nd v Σ, where ɛ denotes the empty word. We sy tht A is deterministic if δ(q, ) 1 for every q Q nd Σ. An utomton ccepts word if t lest one of the runs on tht word is ccepting. We use [A] to denote the set of words ccepted by A. We use L to denote the lnguge Σ ω \ L. For finite words the cceptnce condition is set F Q nd run on v is ccepting if it ends in n ccepting stte, i.e., if δ(q 0, v) F. For infinite words, there re mny cceptnce conditions in the literture; here we mention four: Büchi, co-büchi, prity nd Muller. In Büchi nd co-büchi utomt the cceptnce condition refers to subset F of the 2

3 sttes set. In prity utomt the cceptnce condition refers to mpping κ : Q [1..k] from the set of sttes to the set of colors [1..k]. 1 In Muller utomt the cceptnce condition is function τ : 2 Q {+, } ssigning positive/negtive polrity to subsets of sttes. Let ρ be n infinite sequence of sttes s 0, s 1, s We use κ(ρ) to denote the respective sequence of colors κ(s 0 ), κ(s 1 ), κ(s 2 ).... We use Inf(ρ) to denote the set of sttes tht pper infinitely often in ρ. An infinite pth ρ stisfies the Büchi condition w.r.t F iff Inf(ρ) F co-büchi condition w.r.t F iff Inf(ρ) F = prity condition w.r.t κ iff min(inf(κ(ρ))) is odd. Muller condition w.r.t τ iff τ(inf(ρ)) = +. We use db, dc, dp, nd dm, to denote deterministic Büchi, co-büchi, prity nd Muller utomt nd nb, nc, np, nd nm to denote the respective non-deterministic utomt. Similrly, we use DB, DC, DP nd DM to denote the clss of lnguges recognized by db, dc, dp nd dm, respectively, nd NB, NC, NP, NM to denote the clss of lnguges ccepted by nb, nc, np, nd nm, respectively. For prity utomt we use DP k to denote the set of lnguges recognized by dp with k colors, nd refer to it s the DP k hierrchy. The Chin Mesure Let D = Σ, Q, q 0, δ, τ be complete dm (i.e. dm where δ(q, ) = 1 for every q Q nd Σ). A set of sttes S Q is sid to be dmissible if S is rechble strongly connected component (scc) of D. An dmissible set S is sid to be positive or ccepting (resp. negtive or rejecting) iff τ(s) = + (resp. τ(s) = ). A chin of dmissible sets S 0 S 1 S m 1 is D-chin iff the sets re lterntely positive nd negtive. The length of such chin is m. The polrity of D-chin is determined ccording to the polrity of its bottom set. Tht is, the bove D-chin is sid to be positive (resp. negtive) iff S 0 is positive (resp. negtive). We use k(d), k + (D) nd k (D) to denote the mximl length of D-chin, positive D-chin nd negtive D-chin, resp. In the sequel we will focus on k + (D) to which we refer s the positive-chin mesure. Note tht 0 k(d) Q. Also k + (D) k (D) 1 simply by omitting the bottom set. Definition 1 (The Clsses DM + k nd DM k [1]) Let k N. The clss of lnguges DM + k nd DM k re defined s follows. DM + k = { L dm D : L = [D ], k+ (D) k} DM k = { L dm D : L = [D ], k (D) k} The Wgner hierrchy consists of n dditionl mesure, the length of the longest sequence of chins tht re rechble from ech other nd hve lternting polrities, nd tkes into ccount lso the polrity of the chins. We omit the detils for lck of spce nd since this mesure is of less importnce to this pper. 1 For j, k N s.t. j k, we use [j..k] to denote the set {j, j+1, j+2,..., k}.

4 Wgner [1] hs shown tht the hierrchy is strict nd tht these mesures re invrint overll dms ccepting the sme lnguge. He further showed tht the chin hierrchy tightly correltes to the miniml numbers of chins in Rbin utomton. A similr result regrding prity utomt (see f.g. [2, ]) sttes tht L DM + k iff L DP k. The reltion between dbs nd the clss DM + 1 ws lredy shown by Lndweber [10]. The Wgner hierrchy hs been rediscovered severl times [8, 1]. Theorem 1 ([1, 10, 2, ]). 1. L DM + k L DM k 2. DM k DM k+1 nd DM+ k DM+ k+1. L DM + 1 L DB nd L DM 1 L DC. 4. L DM + k L DP k The Skeleton Tree The complexity mesure we propose is bsed on the notion of the width of the skeleton tree introduced by Kähler nd Wilke [7]. Kähler nd Wilke, iming to provide constructions unifying Büchi determiniztion, complementtion nd dismbigution introduced the notions of the split tree, the reduced tree nd the skeleton tree, where the ltter hs been sid to be identified from the work of Muller nd Schupp [11]. All three re mechnisms to summrize runs of nbs. For lck of spce we suffice here with n informl description; the forml definition of these trees, nd n illustrting exmple, cn be found in the ppendix. The split-, reduced- nd skeleton-trees re defined per given word w nd w.r.t. given nb N. A key invrint tht is mintined is tht if there exists n ccepting run of N on w then there is n ccepting infinite pth in ll of these trees. Roughly speking, the split tree refines the subset construction by seprting ccepting nd non-ccepting sttes. From ech node of the tree the left son holds its ccepting successors nd the right son its non-ccepting successor. Thus, n ccepting pth hs infinitely mny left turns, nd is lso referred to s left recurring. The width of lyer of the split-tree is generlly unbounded. The reduced tree bounds the number of nodes on lyer of the tree to n, the number of sttes of the given Büchi utomton N, by eliminting from node of the tree ll sttes tht ppered in node to its left. The skeleton-tree is the smllest sub-tree of the reduced-tree tht contins ll its infinite pths. The width of the skeleton tree thus equls the number of infinite pths in the reduced tree. We use width(n, w) to denote the width of the skeleton tree for w w.r.t to N. A Complexity Mesure on NBAs Given n nb N we sy tht the width of N is the mximl width of skeleton tree on ny given word. Formlly width(n ) = mx {width(n, w) w Σ ω } 4

5 N 1 : 1 N 2 : 1 2 Fig. 1. Two nbs N 1 nd N 2 such tht [[N 1]] = [N 2]] yet width(n 1) width(n 2). It is not hrd to see tht two nbs N 1 nd N 2 my hve different widths even if [N 1 ] = [N 2 ] since we cn dd nondeterministic trnsitions to ccepting nd non-ccepting sttes without chnging the lnguge. For instnce, consider the nbs N 1 nd N 2 over lphbet Σ = {} depicted in Fig. 1. We hve [N 1 ] = [N 2 ] = { ω }, yet width(n 1, w ) = 1 nd width(n 2, w ) = 2. Moreover, since ω is the only word in Σ ω we hve width(n 1 ) = 1 nd width(n 2 ) = 2. Definition 2 (The Clsses NB k ) Let k 1 be nturl number. The clss of lnguges NB k is defined s follows. NB k = { L nb N : L = [N ], width(n ) k} The min contribution of this pper cn be summrized by the following two theorems. Theorem 2 sttes tht the hierrchy is strict. For every level k of the hierrchy there exists lnguge L such tht L cnnot be recognized by ny nb of width k or smller. Theorem sttes tht this hierrchy is tightly correlted to the Wgner hierrchy. Theorem 2. NB k NB k+1 Proof. This is corollry of Theorem 1 nd the forthcoming Theorem. Theorem. Let L be n ω-lnguge, nd let k 0 be nturl number. Then L NB k = L DM + 2k+1 L DM + k = L NB k 2 +1 Proof. The first nd second items re respectively given by the forthcoming Corollry 7 nd Proposition 12. Deciding the Width In view of these reltions, n importnt question is to find the width of given nb N. Proposition 4 The problem of finding the width of n nb is solvble in time n O(n) where n is the number of sttes in the given nb. Proof. Fismn nd Lustig [4, Proposition 2] provide construction for db B k tht ccepts word w iff width(n, w) < k when N is given nb. A db cn be seen s dp with 2 colors (ccepting sttes re colored 1 nd nonccepting sttes re colored 2). Given dp P k one cn construct dp P k for 5

6 its complement by ssigning κ(q) = κ(q) + 1 (where κ is the coloring function of P k nd κ is the coloring function of P k ). The constructed dp P k ccepts word w iff width(n, w) k. Thus, width(n ) < k iff P k is empty. Emptiness of dp cn be solved in time polynomil in the number of sttes nd colors. Applying binry serch would dd fctor of log n where n is the number of sttes in N. When n is the number of sttes in N, the db B k my hve upto n O(n) sttes. Since the dp P k hs the sme number of sttes s B k (nd the time spent to build B k is polynomil in the size of B k ), we cn decide the width in time n O(n). Krishnn, Puri nd Bryton [9] show tht determining the Rbin index (Streett index) of given dr (ds) is np-complete, yet it is decidble in polynomil time whether dr (ds) with f pirs hs Rbin index (Streett index) f or ny constnt c. 2 Wilke nd Yoo [14] show tht the chin mesure of given dm over n lphbet of size l with n sttes, m strongly connected components, nd f ccepting sets cn be decided in time O(f 2 nl + m log m). Note tht m nd f my be exponentil in n. Since the width is not n invrint mong ll nbs ccepting given lnguge, the question of finding the miniml k for which [N ] NB k where the input is N is not nswered by Proposition 4. It cn be nswered e.g. by trnslting it to dr or dm nd inferring the result using the bove mentioned results nd the reltions of the hierrchies, but lower bound remins open. 4 From NB k to DM k The proof of the first prt of Theorem goes vi dps, using the reltions between their rnk nd the chin mesure s stted in Theorem 1. Proposition 5 L NB k = L DP 2k+1. Proof. The known constructions from nb to dp, given n nb N with n sttes produce dp of rnk 2n [12, 4]. The construction of Fismn nd Lustig [4] is bsed on the notion of the width of the skeleton tree. Given n nb N, they first show how to construct dp P k tht provides correct nswer only for words of width exctly k w.r.t. N, s stted in Lemm 6. Lemm 6 ([4, Proposition 4]) Let N be n nb with n sttes, nd let k [1..n]. There exists dp P k using colors {0, 1, 2} such tht for ny word w if width(n, w) = k then P k ccepts w iff N does, if width(n, w) < k then P k rejects w, if P k ccepts w then w is ccepted by N, nd P k visits 0 infinitely often iff width(n, w) < k. 2 The Rbin index (Streett index) is the lest possible number of ccepting pirs used in dr (ds) recognizing the lnguge. 6

7 M 2 : {{0, 1}} 0 1 b b, c, c B 2 : 1, c b 2 0, b, c b, c Fig. 2. A dm M 2 in DM + 1 nd miniml equivlent db B2. They then show tht dp recognizing the sme lnguge s N cn be constructed by running the dps for width 1 to n in prllel, where n is the size of N. The colors re distributed so tht P k uses colors 2k, 2k + 1 nd 2n + 2, nd the color of the compound stte (s 1, s 2,..., s n ) where s i is the stte of P i is min{c 1, c 2,..., c n } where c i is the color of s i. The obtined dp hs rnk 2n + 2. Clerly the sme resoning shows tht given the width of N is t most k, the dp obtined by running in prllel the utomt P 1, P 2,..., P k provides correct result, nd uses 2k + 1 colors. The following is direct corollry of Proposition 5 nd Theorem 1. Corollry 7 L NB k = L DM + 2k+1. 5 From DM + k to NB k We show here the second item of Theorem. We strt with the simple cses DM + 1 nd DM 1, nd then generlize the ides of these constructions to obtin the construction for DM + k for rbitrry k. By Theorem 1, L DM + 1 L DB. Any db hs width 1 when regrded s n nb. It follows tht L DM + 1 implies L NB 1. We note, however, tht given dm M such tht M DM + 1 it is not lwys the cse tht we cn define db on the sme structure s M. Consider, for instnce, the dm M 2 of Figure 2 defined over lphbet Σ = {, b, c}. It ccepts the lnguge (Σ Σ b) ω. No rejecting set subsumes n ccepting set, thus the mximl length of positive chin is 1 nd [M 2 ] DM + 1. While M 2 hs two sttes there is no db with two sttes tht ccepts the sme lnguge. A miniml db for [M 2 ] requires t lest sttes. The db B 2 of the sme figure is miniml db for [M 2 ]. Proposition 8 below follows from the fct tht L DM + 1 L DB. We provide direct construction bsed on the lr (ltest ppernce record) dt structure due to Gurevich nd Hrrington [6], for completeness nd to introduce lr which will be used in the proof of the reltions of higher levels of the hierrchy s well. Proposition 8 L DM + 1 implies L NB 1 7

8 Proof. Let M be dm in DM + 1. From the definition of the hierrchy clss DM + 1 it follows tht no superset of n ccepting scc in M cn be rejecting. On the other hnd, subset of n ccepting set my be rejecting. To be ble to use Büchi condition we need to define set of sttes F such tht visit to F gurntees tht ll sttes of some ccepting set were visited. The solution uses the lr (ltest ppernce record) dt structure due to Gurevich nd Hrrington [6]. The ide is to construct deterministic utomton whose sttes re permuttions of the sttes of M ugmented by hit position, denoted. If the current stte is p 1 p 2... p i p i+1... p n nd δ(p n, ) = q nd q = p j, then δ B ( p 1 p 2... p i p i+1... p n, ) = p 1 p 2... p j 1 p j+1... p n p j Tht is, the trnsition reltion moves the stte p j currently visited by M to the rightmost position in the list, nd moves the symbol to the position on the list where p j resided previously. We formlize this using the following definitions, tht will lso be used in lter proofs. Formlly, let Q = {q 0, q 1,..., q n 1 }, δ : Q Σ Q, τ : 2 Q {+, }, symbol not in Q, nd A Q subset of crdinlity l with sttes p 1, p 2,..., p l so tht if p i = q j nd p i+1 = q k then j < k. Let lrset(a) = {w (A { }) q A { }, w q = 1} lrinit(a, p i ) = p 1 p 2... p i 1 p i+1 p i+2... p l p i lrtrns(a) = {( p 1 p 2... p i p i+1... p l,, p 1 p 2... p j 1 p j+1... p l p j ) δ(p l, ) = p j } lrcc(a, τ) = {u v set(uv) = A, τ(set(v)) = +} where set(v) denotes the set of sttes in the word v. Let M = Σ, Q, q 0, δ, τ. Let B be the db Σ, lrset(q), lrinit(q, q 0 ), lrtrns(q), lrcc(q, τ). Lemm 9 ([5, Lemm 1.21]) Let ρ be run of M on given word w nd let ρ B = s 0 s 1 s 2... be the run of B on w where s i = u i v i. Then Inf(ρ) = S iff the following conditions hold for some i 0 N for ll i > i 0 we hve set(v i ) S nd for infinitely mny i s we hve set(v i ) = S Since M DM + 1 gurntees tht no superset of n ccepting set my be rejecting, it is enough to require tht we infinitely often visit stte u v where ll sttes of v form n ccepting set of M, this is exctly the cceptnce condition of B. Therefore, [B ] = [M]. Since B is deterministic, the width of B is one. Hence, L NB 1. For L DM 1 there is no gurntee tht n equivlent db exists. We re gurnteed, though, tht n equivlent dc exists. In Proposition 11 we show tht this entils tht L NB 2. We use w to denote the number of occurrences of the letter in w. 8

9 First we need some terms nd lemm. Let ρ = q 0 q 1 q 2... be run of given utomton A on given word w. We sy tht the run ρ gets trpped in n scc S if strting from some z N for every z > z the stte q z of this run belongs to S. In n utomton with finitely mny sttes, every run on n infinite word should eventully get trpped in some scc. We let trp(ρ) denote the miniml scc tht ρ gets trpped in. If the utomton is non-deterministic, there my be severl runs on given word nd ech run my get trpped in different scc. For skeleton pth ϱ = Q 0 Q 1 Q 2... we sy tht it gets trpped in {S 1,..., S k } if strting from some z N for every z > z we hve Q z i [1..k] S i. We let trp(ϱ) = {S 1,..., S k } denote the miniml set of miniml sccs tht ϱ gets trpped in. Lemm 10 Let N = Σ, Q, q 0, δ, F be n nb with n scc S stisfying the following two conditions: For every letter Σ nd every stte q S, δ(q, ) = 1. For every pir of sttes q, p S we hve [N q0,q ] [N q0,p ] =. 4 Let SK A w be the skeleton-tree of w w.r.t N. Let ϱ 1 nd ϱ 2 be two skeleton pths in SK A w. Then S trp(ϱ 1 ) implies S / trp(ϱ 2 ). Proof. Consider word w = , nd let ρ 1 nd ρ 2 be two different runs of N on w. Assume now both ρ 1 nd ρ 2 get trpped in S. We clim tht there exists point in which both runs rech the sme stte. Tht is, if ρ 1 = q 0 q 1 q 2... nd ρ 2 = p 0 p 1 p 2... then there exists z N such tht for every z > z we hve q z = p z. Assume ρ 1, ρ 2 enter the scc S t time points z 1, z 2, resp. nd w.l.o.g. z 1 z 2. Then ρ 1 (resp. ρ 2 ) entered S fter reding the prefix z1 of w (resp z2 ). We clim tht p z2 = q z2. If not, then exists two sttes p, q S such tht p = p z2 q z2 = q nd z2 [N q0,p ] [N q0,q ] contrdicting the second premise of the lemm. Now tht we estblished p z2 = q z2, since by the first premise ll trnsitions within S re deterministic, it follows tht p z = q z for every z > z 2. Since ll runs tht get trpped in S eventully rech the sme stte, it follows tht they must conjoin to the sme pth ϱ of SK A w. Proposition 11 L DM 1 implies L NB 2 Proof. Let M be dm in DM 1. From the definition of the hierrchy clss DM 1 it follows tht no subset of n ccepting scc in M cn be rejecting. We show tht we cn build n equivlent nb B of width 2 using the following ide. The nb B will consists of ll of M s sttes nd trnsitions. In ddition, for ech mximl ccepting scc A of M, B will hve the bility to non-deterministiclly trnsit to copy A of A. The primed copy of A will hve ll the inner trnsitions of A, but no trnsitions out of A. This wy B cn t ny point during the run choose to move to primed copy A of one of the ccepting sccs A. Once this 4 The nottion N q,q is used to denote the nf Σ, Q, q, δ, {q } obtined from N by mking q the initil stte, q the finl stte, nd regrding it s nondeterminsitc utomton on finite words. 9

10 choice ws mde, B cn only remin in A or fll off the utomton. The set of ccepting sttes of B consists of ll sttes in the primed copies. If B visits such stte in sy the ccepting scc A i infinitely often then the run of M gets trpped in A i, nd if the run of M gets trpped in A i, then there exists run of B tht will get trpped in A i. Therefore, both recognize the sme lnguge. Formlly, let M = Σ, Q, λ, δ, τ. Let A 1, A 2,..., A k be the mximl ccepting sccs of M. 5 The nb B = Σ, Q B, q 0B, δ B, F B is defined s follows. The sttes of Q B re Q A 1 A 2... A k where A i = {q q A i }. The initil stte q 0B is q 0. The ccepting sttes F B re i [1..k] A i. The trnsitions δ B re defined s follows. If (q,, p) δ then (q,, p) δ B. In ddition, if q Q nd p A i then (q,, p ) δ B. If q A i nd p A i then (q,, p ) δ B. Suppose run q 0 q 1 q 2... of M on given word w gets trpped in n ccepting scc A i. Since no subset of A i is rejecting, this run is ccepting. Let z 0 be such tht q z A i for every z > z 0. Then B cn mimic M up to point z 0 1, t z 0 it cn mke nondeterministic trnsition to A i nd then sty there forever long. Tht is, the run q 0 q 1 q 2... q z0 1q z 0 q z 0+1q z where q z 0+i is the primed version of q z0+i is run of B, nd this run is ccepting. For the other direction, if there exists n ccepting run of B on given word w, it mens tht strting from some point the run moved to one of the A i s nd styed there forever long. This entils tht when M reds w, it will get trpped in the scc A i. (If this ws not the cse, tht run of B on w would encounter letter for which no trnsitions is vilble.) Thus [M] = [B ]. Next we show tht the width of B is 2. Let ρ w be the run of M on given word w nd let trp(ρ w ) = T. If T is rejecting then B cn only get trpped in T, since on ny choice to move to some A i it will end up flling of A i since M DM 1 implies T A i. (If this ws not the cse then, since for ny trnsition in A i there is trnsition from A i to A i, this would entil tht M would hve got trpped in A i which is not the cse.) If T is ccepting then it equls some A j for j [1..k]. Then run of B on w cn get trpped either in A j or in A j, but it cnnot get trpped in ny other A i or A i. Since, from the sme rguments s in the rejecting cse, if t some point B chooses to trnsit to A i it will eventully fll off of it. We hve shown tht ech run of B my get trpped in t most 2 msccs. Since ll msccs of B (the originls of M nd the new msccs A i ) stisfy the premises of Lemm 10, nd since for ech skeleton pth ϱ we hve trp(ϱ), the mximum width of ny run of B is 2. Thus [M] NB 2. We cn now generlize these two ides to obtin construction for DM + k rbitrry k. for Proposition 12 L DM + k = L NB k 2 +1 Proof. Let M be dm in DM + k. From the definition of the hierrchy clsses it follows tht the mximum length of positive chin is k. We build DM + k 5 An scc A of M is sid to be mximl ccepting if no ccepting scc A subsumes it. Note tht A is not required to be n mscc. E.g. if R = A {q} is n mscc, nd R is rejecting nd A is ccepting, then A is mximl ccepting scc, but not n mscc. 10

11 n equivlent nb B of width t most k using the following ide. As in the proof of Proposition 11, B will consists of ll sttes of the given dm M, nd will hve nondeterministic trnsitions to copies of ccepting sccs. Unlike in tht proof, we will need to consider not just the mximl ccepting sccs but ll ccepting sccs. As in the proof of Proposition 8, since n ccepting scc A my contin rejecting sccs, we will use lr construction to mke sure tht ll sttes of n ccepting scc re visited infinitely often. Formlly, let M = Σ, Q, λ, δ, τ. Assume A 1, A 2,..., A m re the ccepting sccs of M. We define the nb B = Σ, Q B, q 0B, δ B, F B s follows. q 0B = q 0 Q B = Q i [1..m] lrset(a i ) δ B = δ i [1..m] lrtrns(a i ) {(q,, lrinit(a i, p)) (q,, p) δ, q Q \ A i, p A i } F B = i [1..m] lrcc(a i, τ i ) where τ i (S) = + iff S = A i. We clim tht B recognizes the sme lnguge s M. Let w be word nd let ρ be the run of M on w. Let Inf(ρ) = S. If τ(s) = + then S = A i for some i [1..m]. Assume ρ gets trpped in S fter time point z. Thus B, t some time point fter z, cn choose trnsition of the form (q,, lrinit(a i, p)) nd move to lrset(a i ). Since M gets trpped in A i, B will not fll off lrset(a i ), nd by Lemm 9, infinitely often B will visit stte of the form i v such tht set(v) = A i. Thus B will ccept. Suppose now τ(s) =. If B did not move to ny of the lrset(a i ), clerly it will not ccept. Suppose it did move to lrset(a i ) for some i. If A i does not subsume S then B will fll off lrset(a i ). Assume thus A i S. Then by Lemm 9, eventully only sttes of the form u i v where set(v) S will be visited. Since A i S, by Lemm 9, it will not be the cse tht infinitely often sttes of the form i v with set(v) = A i will be visited, thus B will reject. Hence, [B ] = [M]. We turn to reson bout B s width. Let ρ w be the run of M on w nd ssume trp(ρ w ) = T. Let ρ be run of B, then from the sme rguments s in the proof of Proposition 11 we hve tht either trp(ρ) = T or trp(ρ) = lrset(a i ) for some A i T. Note tht by definition of B, for every i [1..m] the set lrset(a i ) is n mscc, nd ll the msccs of B stisfy the premises of Lemm 10. Thus if ϱ 1 nd ϱ 2 re two skeleton pths of SK B w then trp(ϱ 1 ) trp(ϱ 2 ) =. We clim further tht if lrset(a 1 ) trp(ϱ 1 ) nd lrset(a 2 ) trp(ϱ 2 ) then either A 1 A 2 or A 2 A 1. Assume this is not the cse. Note tht ϱ SK B w such tht T trp(ϱ). Since there is single run leding to T, nd ll of its sttes re non-ccepting, ϱ must be the rightmost skeleton-pth in SK B w. Since Q is the only non sink mscc of B, ll skeleton pths split from ϱ t some point. Assume ϱ 1 nd ϱ 2 split from ϱ t time points z 1 nd z 2, resp. The nodes t the splits must be ccepting (since their sibling in ϱ is non-ccepting). Thus t z 1 it must be tht ϱ 1 recently visited ll sttes of A 1 nd t z 2 it must be tht ϱ 2 recently visited ll sttes of A 2. Assume w.l.o.g. z 1 < z 2. If t some time point between z 1 nd z 2, the originl pth of M, ρ w visited node in A 2 \ A 1 then ϱ 1 will not hve ny descendnts (since lrset(a 1 ) hs no corresponding trnsitions). Assume thus ll nodes of A 2 \ A 1 hve recently been visited before z 1. Then 11

12 t z 1 not only ll A 1 re visited but lso ll of A 2, thus there exists split corresponding to lrset(a 2 ) before or t z 2, which contrdicts the split t z 2 since lrset(a 2 ) cn only be trpped in one skeleton-pth. Therefore if the set of skeleton pths of SK B w is {ϱ} {ϱ 1,..., ϱ l } where ϱ i split from ϱ before ϱ i+1 then trp(ϱ 1 ),..., trp(ϱ l ) will correspond to ccepting sets A 1,..., A l long one inclusion chin of M. Since the length of positive chin is bounded by k, the number of ccepting sets long such chin is bounded by k 2. Adding ϱ, the rightmost brnch, we obtin tht the width of B is k This completes the proof of Theorem. Acknowledgments I would like to thnk Jvier Esprz for sking me if I cn chrcterize words/lnguges of certin skeleton-width, when I presented [4] t CONCUR 15. This question initited this study. I would like to thnk Yod Lustig for mny interesting discussions on Büchi determiniztion, Dn Angluin for mny interesting discussions on the Wgner Hierrchy, nd Orn Kupfermn for importnt comments on n erly drft. References 1. Bru, R.: The Husdorff-Kurtowski hierrchy of omeg-regulr lnguges nd hierrchy of Muller utomt. Theoreticl Computer Science 96(2), (1992) 2. Crton, O., Perrin, D.: The Wdge-Wgner hierrchy of omeg-rtionl sets. In: ICALP. pp (1997). D. Perrin, J.E.P.: Infinite Words: Automt, Semigroups, Logic nd Gmes. Springer (2004) 4. Fismn, D., Lustig, Y.: A modulr pproch for Büchi determiniztion. In: 26th Int. Conf. on Concurrency Theory. pp (2015) 5. Grädel, E., Thoms, W., Wilke, T.: Automt, Logics, nd Infinite Gmes: A Guide to Current Reserch, Lecture Notes in Computer Science, vol Springer (2002) 6. Gurevich, Y., Hrrington, L.: Trees, utomt, nd gmes. In: Proc. 14th ACM Symp. on Theory of Computing. pp ACM Press (1982) 7. Kähler, D., Wilke, T.: Complementtion, dismbigution, nd determiniztion of Büchi utomt unified. In: Proc. 5th Int. Colloq. on Automt, Lnguges, nd Progrmming. Lecture Notes in Computer Science, vol. 5125, pp Springer (2008) 8. Kminski, M.: A clssifiction of ω-regulr lnguges. Theoreticl Computer Science 6, (1985) 9. Krishnn, S., Puri, A., Bryton, R.: Structurl complexity of ω-utomt. In: Proc. 12th Symp. on Theoreticl Aspects of Computer Science. Lecture Notes in Computer Science, vol Springer (1995) 10. Lndweber, L.: Decision problems for ω utomt. Mthemticl Systems Theory, (1969) 11. Muller, D., Schupp, P.: Simulting lternting tree utomt by nondeterministic utomt: New results nd new proofs of theorems of Rbin, McNughton nd Sfr. Theoreticl Computer Science 141, (1995) 12. Pitermn, N.: From nondeterministic Büchi nd Streett utomt to deterministic prity utomt. In: Proc. 21st IEEE Symp. on Logic in Computer Science. IEEE Computer Society Press (2006) 12

13 1. Wgner, K.W.: A hierrchy of regulr sequence sets. In: MFCS. pp (1975) 14. Wilke, T., Yoo, H.: Computing the Wdge degree, the Lifschitz degree, nd the Rbin index of regulr lnguge of infinite words in polynomil time. In: Proc. 6th Joint Conf. Theory nd Prctice of Softwre Development. pp (1995) A Forml definition of the skeleton tree We provide here the definitions of the split, reduced nd skeleton trees of Kähler nd Wilke. In the following we ssume fixed non-deterministic Büchi utomton A = (Σ, Q, q 0, δ, F ) with Q = n nd n infinite word w = σ 1 σ 2 σ... over Σ. We use F to denote the set of non-ccepting sttes, i.e. Q \ F. Annotted Binry Trees We first provide some elementry definitions of nnotted binry trees. The nodes of such trees re strings in {0, 1}. The root node is the empty string ɛ. The left successor of node t is t0 nd the right successor is t1. An nnotted binry tree is function from {0, 1} to some domin D. A node mpped to is regrded s bsent from the tree. The depth of node t, denoted t, is its distnce from the root, nd it equls the length of the string t. So the depth of the root is 0, nd the depth of its successors re 1. For t 1, t 2 {0, 1} we sy tht t 1 < lex t 2 if the string t 1 is lexicogrphiclly smller thn t 2. We sy tht t 1 < lft t 2 if t 1 = t 2 nd t 1 < lex t 2. The i-th level of n nnotted tree T consists of ll nodes in depth i. If t 1 < lex t 2 < lex < lex t n re ll the nodes of the i-th level of T then the i-th slice of T is the sequence T (t 1 ), T (t 2 ),..., T (t n ). The width of the i-th level is the number of nodes in tht level. The Split Tree The split tree cn be thought of s refinement of the subset construction by differentiting ccepting nd rejecting sttes. It is binry tree, where node holds subset of A s sttes. If S is subset in level i of the split-tree, then its left successor holds ll the ccepting successors of sttes in S nd its right successor holds ll the non-ccepting successors of sttes in S. Formlly, the split tree of A on w is function from {0, 1} to 2 Q stisfying SP A w(ɛ) = I, nd for t {0, 1} such tht t = i nd SP A w(t) = S, SP A w(t0) = δ(s, σ i+1 ) F nd SP A w(t1) = δ(s, σ i+1 ) F. We sy tht ρ {0, 1} ω is n infinite pth of SP A w(t) if SP A w(t) for every prefix t of ρ. We sy tht n infinite pth ρ of SP A w(t) is left-recurring or ccepting if ρ hs infinitely mny zeros (we use the term left recurring to emphsize the pth hs infinitely mny left turns, nd the term ccepting to emphsize it hs infinitely mny ccepting nodes). Clim ([7]). A ccepts w iff SP A w hs left recurring pth. The width of SP A w s lyers is unbounded, in generl. 1

14 W : 0 T ω : 0 T (b) ω : 0 1 b 2, b, b Fig.. A Büchi utomton W nd its reduced nd skeleton trees for words w 1 = ω nd w 2 = (b) ω. Solid nodes nd edges belong to both the reduced nd skeleton trees, nd dotted nodes nd edges belong to the reduced tree but not to the skeleton tree. A node lbeled with multiple digits stnds for the subset contining the corresponding sttes (e.g. 012 stnds for {0, 1, 2}). The Reduced Split Tree The width of the split-tree is unbounded, in generl, which mkes it hrd to hndle. The reduced split tree (or simply the reduced tree) reduces the split tree by removing from node ll sttes tht pper to the left of tht node, in the sme level. This reduction elimintes mny of the pths of the split-tree, but it keeps the left-most ccepting pth. And if there re ccepting runs of A on w, then t lest one is embedded in the left-most ccepting pth. Formlly, the reduced split tree of A on w, denoted RS A w, is function from {0, 1} to 2 Q stisfying RS A w(ɛ) = I, nd for t {0, 1} such tht t = i, RS A w(t) = S nd S = {S t < lft t, δ(rs A w(t ), σ i+1 ) = S }, Clim ([7]). RS A w(t0) = δ(s, σ i+1 ) F \ S nd RS A w(t1) = δ(s, σ i+1 ) F \ S. A ccepts w iff RS A w hs left recurring pth. The width of RS A w s lyers is bounded by n. The Skeleton Tree The reduced tree cn be effectively constructed nd hndled, thnks to its bounded width. It my, however, hve nodes with only finitely mny descendnts. Conceptully, it is esier to think bout tht tree without these nodes. The skeleton tree of A on w, denoted SK A w, is the mximl subtree of RS A w stisfying tht every node hs infinitely mny descendnts. Clim ([7]). A ccepts w iff SK A w hs left recurring pth. The width of SK A w s lyers is monotoniclly non-decresing nd bounded by n. 14

15 The second item sys tht there exists nturl number z 0 such tht forll z z 0, the width of SK A w t level z is k. This k is thus the number of infinite pths of the skeleton (or reduced) tree. We use width(a, w) to denote the width of the skeleton tree on w. Exmple 1. A Büchi utomton W nd its reduced nd skeleton trees for words w 1 = ω nd w 2 = (b) ω re depicted in Fig.. Both words re of width 2, i.e. width(w, w 1 ) = 2 = width(w, w 2 ), but w 1 / [W ] wheres w 2 [W ]. Indeed, the skeleton tree for w 1 hs no left-recurring pths, wheres the skeleton tree for w 2 does hve left-recurring pth. 15

Finite Automata. Informatics 2A: Lecture 3. John Longley. 22 September School of Informatics University of Edinburgh

Finite Automata. Informatics 2A: Lecture 3. John Longley. 22 September School of Informatics University of Edinburgh Lnguges nd Automt Finite Automt Informtics 2A: Lecture 3 John Longley School of Informtics University of Edinburgh jrl@inf.ed.c.uk 22 September 2017 1 / 30 Lnguges nd Automt 1 Lnguges nd Automt Wht is

More information

Finite Automata. Informatics 2A: Lecture 3. Mary Cryan. 21 September School of Informatics University of Edinburgh

Finite Automata. Informatics 2A: Lecture 3. Mary Cryan. 21 September School of Informatics University of Edinburgh Finite Automt Informtics 2A: Lecture 3 Mry Cryn School of Informtics University of Edinburgh mcryn@inf.ed.c.uk 21 September 2018 1 / 30 Lnguges nd Automt Wht is lnguge? Finite utomt: recp Some forml definitions

More information

Theory of Computation Regular Languages. (NTU EE) Regular Languages Fall / 38

Theory of Computation Regular Languages. (NTU EE) Regular Languages Fall / 38 Theory of Computtion Regulr Lnguges (NTU EE) Regulr Lnguges Fll 2017 1 / 38 Schemtic of Finite Automt control 0 0 1 0 1 1 1 0 Figure: Schemtic of Finite Automt A finite utomton hs finite set of control

More information

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018 Finite Automt Theory nd Forml Lnguges TMV027/DIT321 LP4 2018 Lecture 10 An Bove April 23rd 2018 Recp: Regulr Lnguges We cn convert between FA nd RE; Hence both FA nd RE ccept/generte regulr lnguges; More

More information

Theory of Computation Regular Languages

Theory of Computation Regular Languages Theory of Computtion Regulr Lnguges Bow-Yw Wng Acdemi Sinic Spring 2012 Bow-Yw Wng (Acdemi Sinic) Regulr Lnguges Spring 2012 1 / 38 Schemtic of Finite Automt control 0 0 1 0 1 1 1 0 Figure: Schemtic of

More information

Minimal DFA. minimal DFA for L starting from any other

Minimal DFA. minimal DFA for L starting from any other Miniml DFA Among the mny DFAs ccepting the sme regulr lnguge L, there is exctly one (up to renming of sttes) which hs the smllest possile numer of sttes. Moreover, it is possile to otin tht miniml DFA

More information

Good-for-Games Automata versus Deterministic Automata.

Good-for-Games Automata versus Deterministic Automata. Good-for-Gmes Automt versus Deterministic Automt. Denis Kuperberg 1,2 Mich l Skrzypczk 1 1 University of Wrsw 2 IRIT/ONERA (Toulouse) Séminire MoVe 12/02/2015 LIF, Luminy Introduction Deterministic utomt

More information

AUTOMATA AND LANGUAGES. Definition 1.5: Finite Automaton

AUTOMATA AND LANGUAGES. Definition 1.5: Finite Automaton 25. Finite Automt AUTOMATA AND LANGUAGES A system of computtion tht only hs finite numer of possile sttes cn e modeled using finite utomton A finite utomton is often illustrted s stte digrm d d d. d q

More information

Lecture 9: LTL and Büchi Automata

Lecture 9: LTL and Büchi Automata Lecture 9: LTL nd Büchi Automt 1 LTL Property Ptterns Quite often the requirements of system follow some simple ptterns. Sometimes we wnt to specify tht property should only hold in certin context, clled

More information

Anatomy of a Deterministic Finite Automaton. Deterministic Finite Automata. A machine so simple that you can understand it in less than one minute

Anatomy of a Deterministic Finite Automaton. Deterministic Finite Automata. A machine so simple that you can understand it in less than one minute Victor Admchik Dnny Sletor Gret Theoreticl Ides In Computer Science CS 5-25 Spring 2 Lecture 2 Mr 3, 2 Crnegie Mellon University Deterministic Finite Automt Finite Automt A mchine so simple tht you cn

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.3 Regular Expressions

1.3 Regular Expressions 56 1.3 Regulr xpressions These hve n importnt role in describing ptterns in serching for strings in mny pplictions (e.g. wk, grep, Perl,...) All regulr expressions of lphbet re 1.Ønd re regulr expressions,

More information

Convert the NFA into DFA

Convert the NFA into DFA Convert the NF into F For ech NF we cn find F ccepting the sme lnguge. The numer of sttes of the F could e exponentil in the numer of sttes of the NF, ut in prctice this worst cse occurs rrely. lgorithm:

More information

Lecture 09: Myhill-Nerode Theorem

Lecture 09: Myhill-Nerode Theorem CS 373: Theory of Computtion Mdhusudn Prthsrthy Lecture 09: Myhill-Nerode Theorem 16 Ferury 2010 In this lecture, we will see tht every lnguge hs unique miniml DFA We will see this fct from two perspectives

More information

NFAs and Regular Expressions. NFA-ε, continued. Recall. Last class: Today: Fun:

NFAs and Regular Expressions. NFA-ε, continued. Recall. Last class: Today: Fun: CMPU 240 Lnguge Theory nd Computtion Spring 2019 NFAs nd Regulr Expressions Lst clss: Introduced nondeterministic finite utomt with -trnsitions Tody: Prove n NFA- is no more powerful thn n NFA Introduce

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 Probbilistic Model Checking Michelms Term 2011 Dr. Dve Prker Deprtment of Computer Science University of Oxford Long-run properties Lst lecture: regulr sfety properties e.g. messge filure never occurs

More information

Chapter 2 Finite Automata

Chapter 2 Finite Automata Chpter 2 Finite Automt 28 2.1 Introduction Finite utomt: first model of the notion of effective procedure. (They lso hve mny other pplictions). The concept of finite utomton cn e derived y exmining wht

More information

1 Nondeterministic Finite Automata

1 Nondeterministic Finite Automata 1 Nondeterministic Finite Automt Suppose in life, whenever you hd choice, you could try oth possiilities nd live your life. At the end, you would go ck nd choose the one tht worked out the est. Then you

More information

4 Deterministic Büchi Automata

4 Deterministic Büchi Automata Bernd Finkeiner Dte: April 26, 2011 Automt, Gmes nd Verifiction: Lecture 3 4 Deterministic Büchi Automt Theorem 1 The lnguge ( + ) ω is not recognizle y deterministic Büchi utomton. Assume tht L is recognized

More information

1.4 Nonregular Languages

1.4 Nonregular Languages 74 1.4 Nonregulr Lnguges The number of forml lnguges over ny lphbet (= decision/recognition problems) is uncountble On the other hnd, the number of regulr expressions (= strings) is countble Hence, ll

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

CS 275 Automata and Formal Language Theory

CS 275 Automata and Formal Language Theory CS 275 Automt nd Forml Lnguge Theory Course Notes Prt II: The Recognition Problem (II) Chpter II.6.: Push Down Automt Remrk: This mteril is no longer tught nd not directly exm relevnt Anton Setzer (Bsed

More information

Finite-State Automata: Recap

Finite-State Automata: Recap Finite-Stte Automt: Recp Deepk D Souz Deprtment of Computer Science nd Automtion Indin Institute of Science, Bnglore. 09 August 2016 Outline 1 Introduction 2 Forml Definitions nd Nottion 3 Closure under

More information

Coalgebra, Lecture 15: Equations for Deterministic Automata

Coalgebra, Lecture 15: Equations for Deterministic Automata Colger, Lecture 15: Equtions for Deterministic Automt Julin Slmnc (nd Jurrin Rot) Decemer 19, 2016 In this lecture, we will study the concept of equtions for deterministic utomt. The notes re self contined

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

This lecture covers Chapter 8 of HMU: Properties of CFLs

This lecture covers Chapter 8 of HMU: Properties of CFLs This lecture covers Chpter 8 of HMU: Properties of CFLs Turing Mchine Extensions of Turing Mchines Restrictions of Turing Mchines Additionl Reding: Chpter 8 of HMU. Turing Mchine: Informl Definition B

More information

Nondeterminism. Nondeterministic Finite Automata. Example: Moves on a Chessboard. Nondeterminism (2) Example: Chessboard (2) Formal NFA

Nondeterminism. Nondeterministic Finite Automata. Example: Moves on a Chessboard. Nondeterminism (2) Example: Chessboard (2) Formal NFA Nondeterminism Nondeterministic Finite Automt Nondeterminism Subset Construction A nondeterministic finite utomton hs the bility to be in severl sttes t once. Trnsitions from stte on n input symbol cn

More information

Lecture 08: Feb. 08, 2019

Lecture 08: Feb. 08, 2019 4CS4-6:Theory of Computtion(Closure on Reg. Lngs., regex to NDFA, DFA to regex) Prof. K.R. Chowdhry Lecture 08: Fe. 08, 2019 : Professor of CS Disclimer: These notes hve not een sujected to the usul scrutiny

More information

More on automata. Michael George. March 24 April 7, 2014

More on automata. Michael George. March 24 April 7, 2014 More on utomt Michel George Mrch 24 April 7, 2014 1 Automt constructions Now tht we hve forml model of mchine, it is useful to mke some generl constructions. 1.1 DFA Union / Product construction Suppose

More information

CMPSCI 250: Introduction to Computation. Lecture #31: What DFA s Can and Can t Do David Mix Barrington 9 April 2014

CMPSCI 250: Introduction to Computation. Lecture #31: What DFA s Can and Can t Do David Mix Barrington 9 April 2014 CMPSCI 250: Introduction to Computtion Lecture #31: Wht DFA s Cn nd Cn t Do Dvid Mix Brrington 9 April 2014 Wht DFA s Cn nd Cn t Do Deterministic Finite Automt Forml Definition of DFA s Exmples of DFA

More information

Nondeterminism and Nodeterministic Automata

Nondeterminism and Nodeterministic Automata Nondeterminism nd Nodeterministic Automt 61 Nondeterminism nd Nondeterministic Automt The computtionl mchine models tht we lerned in the clss re deterministic in the sense tht the next move is uniquely

More information

Introduction to ω-autamata

Introduction to ω-autamata Fridy 25 th Jnury, 2013 Outline From finite word utomt ω-regulr lnguge ω-utomt Nondeterministic Models Deterministic Models Two Lower Bounds Conclusion Discussion Synthesis Preliminry From finite word

More information

Automata, Games, and Verification

Automata, Games, and Verification Automt, Gmes, nd Verifiction Prof. Bernd Finkbeiner, Ph.D. Srlnd University Summer Term 2015 Lecture Notes by Bernd Finkbeiner, Felix Klein, Tobis Slzmnn These lecture notes re working document nd my contin

More information

Non-deterministic Finite Automata

Non-deterministic Finite Automata Non-deterministic Finite Automt From Regulr Expressions to NFA- Eliminting non-determinism Rdoud University Nijmegen Non-deterministic Finite Automt H. Geuvers nd J. Rot Institute for Computing nd Informtion

More information

CS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.)

CS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.) CS 373, Spring 29. Solutions to Mock midterm (sed on first midterm in CS 273, Fll 28.) Prolem : Short nswer (8 points) The nswers to these prolems should e short nd not complicted. () If n NF M ccepts

More information

An Automata Toolbox. Mikołaj Bojańczyk and Wojciech Czerwiński

An Automata Toolbox. Mikołaj Bojańczyk and Wojciech Czerwiński An Automt Toolbox Mikołj Bojńczyk nd Wojciech Czerwiński Prefce T hese re lecture notes for course on dvnced utomt theory, tht we gve t the University of Wrsw in the yers 2015-2018. The mteril ws chosen

More information

CS:4330 Theory of Computation Spring Regular Languages. Equivalences between Finite automata and REs. Haniel Barbosa

CS:4330 Theory of Computation Spring Regular Languages. Equivalences between Finite automata and REs. Haniel Barbosa CS:4330 Theory of Computtion Spring 208 Regulr Lnguges Equivlences between Finite utomt nd REs Hniel Brbos Redings for this lecture Chpter of [Sipser 996], 3rd edition. Section.3. Finite utomt nd regulr

More information

Harvard University Computer Science 121 Midterm October 23, 2012

Harvard University Computer Science 121 Midterm October 23, 2012 Hrvrd University Computer Science 121 Midterm Octoer 23, 2012 This is closed-ook exmintion. You my use ny result from lecture, Sipser, prolem sets, or section, s long s you quote it clerly. The lphet is

More information

Assignment 1 Automata, Languages, and Computability. 1 Finite State Automata and Regular Languages

Assignment 1 Automata, Languages, and Computability. 1 Finite State Automata and Regular Languages Deprtment of Computer Science, Austrlin Ntionl University COMP2600 Forml Methods for Softwre Engineering Semester 2, 206 Assignment Automt, Lnguges, nd Computility Smple Solutions Finite Stte Automt nd

More information

Formal Languages and Automata

Formal Languages and Automata Moile Computing nd Softwre Engineering p. 1/5 Forml Lnguges nd Automt Chpter 2 Finite Automt Chun-Ming Liu cmliu@csie.ntut.edu.tw Deprtment of Computer Science nd Informtion Engineering Ntionl Tipei University

More information

Non-Deterministic Finite Automata. Fall 2018 Costas Busch - RPI 1

Non-Deterministic Finite Automata. Fall 2018 Costas Busch - RPI 1 Non-Deterministic Finite Automt Fll 2018 Costs Busch - RPI 1 Nondeterministic Finite Automton (NFA) Alphbet ={} q q2 1 q 0 q 3 Fll 2018 Costs Busch - RPI 2 Nondeterministic Finite Automton (NFA) Alphbet

More information

Non-deterministic Finite Automata

Non-deterministic Finite Automata Non-deterministic Finite Automt Eliminting non-determinism Rdoud University Nijmegen Non-deterministic Finite Automt H. Geuvers nd T. vn Lrhoven Institute for Computing nd Informtion Sciences Intelligent

More information

CS 275 Automata and Formal Language Theory

CS 275 Automata and Formal Language Theory CS 275 Automt nd Forml Lnguge Theory Course Notes Prt II: The Recognition Problem (II) Chpter II.5.: Properties of Context Free Grmmrs (14) Anton Setzer (Bsed on book drft by J. V. Tucker nd K. Stephenson)

More information

CSCI FOUNDATIONS OF COMPUTER SCIENCE

CSCI FOUNDATIONS OF COMPUTER SCIENCE 1 CSCI- 2200 FOUNDATIONS OF COMPUTER SCIENCE Spring 2015 My 7, 2015 2 Announcements Homework 9 is due now. Some finl exm review problems will be posted on the web site tody. These re prcqce problems not

More information

Myhill-Nerode Theorem

Myhill-Nerode Theorem Overview Myhill-Nerode Theorem Correspondence etween DA s nd MN reltions Cnonicl DA for L Computing cnonicl DFA Myhill-Nerode Theorem Deepk D Souz Deprtment of Computer Science nd Automtion Indin Institute

More information

CS375: Logic and Theory of Computing

CS375: Logic and Theory of Computing CS375: Logic nd Theory of Computing Fuhu (Frnk) Cheng Deprtment of Computer Science University of Kentucky 1 Tble of Contents: Week 1: Preliminries (set lgebr, reltions, functions) (red Chpters 1-4) Weeks

More information

W. We shall do so one by one, starting with I 1, and we shall do it greedily, trying

W. We shall do so one by one, starting with I 1, and we shall do it greedily, trying Vitli covers 1 Definition. A Vitli cover of set E R is set V of closed intervls with positive length so tht, for every δ > 0 nd every x E, there is some I V with λ(i ) < δ nd x I. 2 Lemm (Vitli covering)

More information

3 Regular expressions

3 Regular expressions 3 Regulr expressions Given n lphet Σ lnguge is set of words L Σ. So fr we were le to descrie lnguges either y using set theory (i.e. enumertion or comprehension) or y n utomton. In this section we shll

More information

First Midterm Examination

First Midterm Examination Çnky University Deprtment of Computer Engineering 203-204 Fll Semester First Midterm Exmintion ) Design DFA for ll strings over the lphet Σ = {,, c} in which there is no, no nd no cc. 2) Wht lnguge does

More information

12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2014

12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2014 CS125 Lecture 12 Fll 2014 12.1 Nondeterminism The ide of nondeterministic computtions is to llow our lgorithms to mke guesses, nd only require tht they ccept when the guesses re correct. For exmple, simple

More information

Formal languages, automata, and theory of computation

Formal languages, automata, and theory of computation Mälrdlen University TEN1 DVA337 2015 School of Innovtion, Design nd Engineering Forml lnguges, utomt, nd theory of computtion Thursdy, Novemer 5, 14:10-18:30 Techer: Dniel Hedin, phone 021-107052 The exm

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

Relating logic to formal languages

Relating logic to formal languages Relting logic to forml lnguges Kml Lody The Institute of Mthemticl Sciences, Chenni October 2018 Reding 1. Howrd Strubing: Forml lnguges, finite utomt nd circuit complexity, birkhäuser. 2. Wolfgng Thoms:

More information

Finite Automata-cont d

Finite Automata-cont d Automt Theory nd Forml Lnguges Professor Leslie Lnder Lecture # 6 Finite Automt-cont d The Pumping Lemm WEB SITE: http://ingwe.inghmton.edu/ ~lnder/cs573.html Septemer 18, 2000 Exmple 1 Consider L = {ww

More information

How Deterministic are Good-For-Games Automata?

How Deterministic are Good-For-Games Automata? How Deterministic re Good-For-Gmes Automt? Udi Boker 1, Orn Kupfermn 2, nd Mich l Skrzypczk 3 1 Interdisciplinry Center, Herzliy, Isrel 2 The Herew University, Isrel 3 University of Wrsw, Polnd Astrct

More information

Automata and Languages

Automata and Languages Automt nd Lnguges Prof. Mohmed Hmd Softwre Engineering Lb. The University of Aizu Jpn Grmmr Regulr Grmmr Context-free Grmmr Context-sensitive Grmmr Regulr Lnguges Context Free Lnguges Context Sensitive

More information

Talen en Automaten Test 1, Mon 7 th Dec, h45 17h30

Talen en Automaten Test 1, Mon 7 th Dec, h45 17h30 Tlen en Automten Test 1, Mon 7 th Dec, 2015 15h45 17h30 This test consists of four exercises over 5 pges. Explin your pproch, nd write your nswer to ech exercise on seprte pge. You cn score mximum of 100

More information

Non Deterministic Automata. Linz: Nondeterministic Finite Accepters, page 51

Non Deterministic Automata. Linz: Nondeterministic Finite Accepters, page 51 Non Deterministic Automt Linz: Nondeterministic Finite Accepters, pge 51 1 Nondeterministic Finite Accepter (NFA) Alphbet ={} q 1 q2 q 0 q 3 2 Nondeterministic Finite Accepter (NFA) Alphbet ={} Two choices

More information

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. Comparing DFAs and NFAs (cont.) Finite Automata 2

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. Comparing DFAs and NFAs (cont.) Finite Automata 2 CMSC 330: Orgniztion of Progrmming Lnguges Finite Automt 2 Types of Finite Automt Deterministic Finite Automt () Exctly one sequence of steps for ech string All exmples so fr Nondeterministic Finite Automt

More information

State Minimization for DFAs

State Minimization for DFAs Stte Minimiztion for DFAs Red K & S 2.7 Do Homework 10. Consider: Stte Minimiztion 4 5 Is this miniml mchine? Step (1): Get rid of unrechle sttes. Stte Minimiztion 6, Stte is unrechle. Step (2): Get rid

More information

Speech Recognition Lecture 2: Finite Automata and Finite-State Transducers. Mehryar Mohri Courant Institute and Google Research

Speech Recognition Lecture 2: Finite Automata and Finite-State Transducers. Mehryar Mohri Courant Institute and Google Research Speech Recognition Lecture 2: Finite Automt nd Finite-Stte Trnsducers Mehryr Mohri Cournt Institute nd Google Reserch mohri@cims.nyu.com Preliminries Finite lphet Σ, empty string. Set of ll strings over

More information

12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2016

12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2016 CS125 Lecture 12 Fll 2016 12.1 Nondeterminism The ide of nondeterministic computtions is to llow our lgorithms to mke guesses, nd only require tht they ccept when the guesses re correct. For exmple, simple

More information

CS 267: Automated Verification. Lecture 8: Automata Theoretic Model Checking. Instructor: Tevfik Bultan

CS 267: Automated Verification. Lecture 8: Automata Theoretic Model Checking. Instructor: Tevfik Bultan CS 267: Automted Verifiction Lecture 8: Automt Theoretic Model Checking Instructor: Tevfik Bultn LTL Properties Büchi utomt [Vrdi nd Wolper LICS 86] Büchi utomt: Finite stte utomt tht ccept infinite strings

More information

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. NFA for (a b)*abb.

Types of Finite Automata. CMSC 330: Organization of Programming Languages. Comparing DFAs and NFAs. NFA for (a b)*abb. CMSC 330: Orgniztion of Progrmming Lnguges Finite Automt 2 Types of Finite Automt Deterministic Finite Automt () Exctly one sequence of steps for ech string All exmples so fr Nondeterministic Finite Automt

More information

CMSC 330: Organization of Programming Languages

CMSC 330: Organization of Programming Languages CMSC 330: Orgniztion of Progrmming Lnguges Finite Automt 2 CMSC 330 1 Types of Finite Automt Deterministic Finite Automt (DFA) Exctly one sequence of steps for ech string All exmples so fr Nondeterministic

More information

CMSC 330: Organization of Programming Languages. DFAs, and NFAs, and Regexps (Oh my!)

CMSC 330: Organization of Programming Languages. DFAs, and NFAs, and Regexps (Oh my!) CMSC 330: Orgniztion of Progrmming Lnguges DFAs, nd NFAs, nd Regexps (Oh my!) CMSC330 Spring 2018 Types of Finite Automt Deterministic Finite Automt (DFA) Exctly one sequence of steps for ech string All

More information

p-adic Egyptian Fractions

p-adic Egyptian Fractions p-adic Egyptin Frctions Contents 1 Introduction 1 2 Trditionl Egyptin Frctions nd Greedy Algorithm 2 3 Set-up 3 4 p-greedy Algorithm 5 5 p-egyptin Trditionl 10 6 Conclusion 1 Introduction An Egyptin frction

More information

Speech Recognition Lecture 2: Finite Automata and Finite-State Transducers

Speech Recognition Lecture 2: Finite Automata and Finite-State Transducers Speech Recognition Lecture 2: Finite Automt nd Finite-Stte Trnsducers Eugene Weinstein Google, NYU Cournt Institute eugenew@cs.nyu.edu Slide Credit: Mehryr Mohri Preliminries Finite lphet, empty string.

More information

Part 5 out of 5. Automata & languages. A primer on the Theory of Computation. Last week was all about. a superset of Regular Languages

Part 5 out of 5. Automata & languages. A primer on the Theory of Computation. Last week was all about. a superset of Regular Languages Automt & lnguges A primer on the Theory of Computtion Lurent Vnbever www.vnbever.eu Prt 5 out of 5 ETH Zürich (D-ITET) October, 19 2017 Lst week ws ll bout Context-Free Lnguges Context-Free Lnguges superset

More information

The Regulated and Riemann Integrals

The Regulated and Riemann Integrals Chpter 1 The Regulted nd Riemnn Integrls 1.1 Introduction We will consider severl different pproches to defining the definite integrl f(x) dx of function f(x). These definitions will ll ssign the sme vlue

More information

Lecture 3 ( ) (translated and slightly adapted from lecture notes by Martin Klazar)

Lecture 3 ( ) (translated and slightly adapted from lecture notes by Martin Klazar) Lecture 3 (5.3.2018) (trnslted nd slightly dpted from lecture notes by Mrtin Klzr) Riemnn integrl Now we define precisely the concept of the re, in prticulr, the re of figure U(, b, f) under the grph of

More information

5.1 Definitions and Examples 5.2 Deterministic Pushdown Automata

5.1 Definitions and Examples 5.2 Deterministic Pushdown Automata CSC4510 AUTOMATA 5.1 Definitions nd Exmples 5.2 Deterministic Pushdown Automt Definitions nd Exmples A lnguge cn be generted by CFG if nd only if it cn be ccepted by pushdown utomton. A pushdown utomton

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

NFA DFA Example 3 CMSC 330: Organization of Programming Languages. Equivalence of DFAs and NFAs. Equivalence of DFAs and NFAs (cont.

NFA DFA Example 3 CMSC 330: Organization of Programming Languages. Equivalence of DFAs and NFAs. Equivalence of DFAs and NFAs (cont. NFA DFA Exmple 3 CMSC 330: Orgniztion of Progrmming Lnguges NFA {B,D,E {A,E {C,D {E Finite Automt, con't. R = { {A,E, {B,D,E, {C,D, {E 2 Equivlence of DFAs nd NFAs Any string from {A to either {D or {CD

More information

Automata Theory 101. Introduction. Outline. Introduction Finite Automata Regular Expressions ω-automata. Ralf Huuck.

Automata Theory 101. Introduction. Outline. Introduction Finite Automata Regular Expressions ω-automata. Ralf Huuck. Outline Automt Theory 101 Rlf Huuck Introduction Finite Automt Regulr Expressions ω-automt Session 1 2006 Rlf Huuck 1 Session 1 2006 Rlf Huuck 2 Acknowledgement Some slides re sed on Wolfgng Thoms excellent

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

CS5371 Theory of Computation. Lecture 20: Complexity V (Polynomial-Time Reducibility)

CS5371 Theory of Computation. Lecture 20: Complexity V (Polynomial-Time Reducibility) CS5371 Theory of Computtion Lecture 20: Complexity V (Polynomil-Time Reducibility) Objectives Polynomil Time Reducibility Prove Cook-Levin Theorem Polynomil Time Reducibility Previously, we lernt tht if

More information

Designing finite automata II

Designing finite automata II Designing finite utomt II Prolem: Design DFA A such tht L(A) consists of ll strings of nd which re of length 3n, for n = 0, 1, 2, (1) Determine wht to rememer out the input string Assign stte to ech of

More information

Grammar. Languages. Content 5/10/16. Automata and Languages. Regular Languages. Regular Languages

Grammar. Languages. Content 5/10/16. Automata and Languages. Regular Languages. Regular Languages 5//6 Grmmr Automt nd Lnguges Regulr Grmmr Context-free Grmmr Context-sensitive Grmmr Prof. Mohmed Hmd Softwre Engineering L. The University of Aizu Jpn Regulr Lnguges Context Free Lnguges Context Sensitive

More information

5. (±±) Λ = fw j w is string of even lengthg [ 00 = f11,00g 7. (11 [ 00)± Λ = fw j w egins with either 11 or 00g 8. (0 [ ffl)1 Λ = 01 Λ [ 1 Λ 9.

5. (±±) Λ = fw j w is string of even lengthg [ 00 = f11,00g 7. (11 [ 00)± Λ = fw j w egins with either 11 or 00g 8. (0 [ ffl)1 Λ = 01 Λ [ 1 Λ 9. Regulr Expressions, Pumping Lemm, Right Liner Grmmrs Ling 106 Mrch 25, 2002 1 Regulr Expressions A regulr expression descries or genertes lnguge: it is kind of shorthnd for listing the memers of lnguge.

More information

CHAPTER 1 Regular Languages. Contents

CHAPTER 1 Regular Languages. Contents Finite Automt (FA or DFA) CHAPTE 1 egulr Lnguges Contents definitions, exmples, designing, regulr opertions Non-deterministic Finite Automt (NFA) definitions, euivlence of NFAs nd DFAs, closure under regulr

More information

Duality # Second iteration for HW problem. Recall our LP example problem we have been working on, in equality form, is given below.

Duality # Second iteration for HW problem. Recall our LP example problem we have been working on, in equality form, is given below. Dulity #. Second itertion for HW problem Recll our LP emple problem we hve been working on, in equlity form, is given below.,,,, 8 m F which, when written in slightly different form, is 8 F Recll tht we

More information

Java II Finite Automata I

Java II Finite Automata I Jv II Finite Automt I Bernd Kiefer Bernd.Kiefer@dfki.de Deutsches Forschungszentrum für künstliche Intelligenz Finite Automt I p.1/13 Processing Regulr Expressions We lredy lerned out Jv s regulr expression

More information

CSC 473 Automata, Grammars & Languages 11/9/10

CSC 473 Automata, Grammars & Languages 11/9/10 CSC 473 utomt, Grmmrs & Lnguges 11/9/10 utomt, Grmmrs nd Lnguges Discourse 06 Decidbility nd Undecidbility Decidble Problems for Regulr Lnguges Theorem 4.1: (embership/cceptnce Prob. for DFs) = {, w is

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

Strong Bisimulation. Overview. References. Actions Labeled transition system Transition semantics Simulation Bisimulation

Strong Bisimulation. Overview. References. Actions Labeled transition system Transition semantics Simulation Bisimulation Strong Bisimultion Overview Actions Lbeled trnsition system Trnsition semntics Simultion Bisimultion References Robin Milner, Communiction nd Concurrency Robin Milner, Communicting nd Mobil Systems 32

More information

CS 275 Automata and Formal Language Theory

CS 275 Automata and Formal Language Theory CS 275 utomt nd Forml Lnguge Theory Course Notes Prt II: The Recognition Prolem (II) Chpter II.5.: Properties of Context Free Grmmrs (14) nton Setzer (Bsed on ook drft y J. V. Tucker nd K. Stephenson)

More information

Deterministic Finite-State Automata

Deterministic Finite-State Automata Deterministic Finite-Stte Automt Deepk D Souz Deprtment of Computer Science nd Automtion Indin Institute of Science, Bnglore. 12 August 2013 Outline 1 Introduction 2 Exmple DFA 1 DFA for Odd number of

More information

CSCI 340: Computational Models. Kleene s Theorem. Department of Computer Science

CSCI 340: Computational Models. Kleene s Theorem. Department of Computer Science CSCI 340: Computtionl Models Kleene s Theorem Chpter 7 Deprtment of Computer Science Unifiction In 1954, Kleene presented (nd proved) theorem which (in our version) sttes tht if lnguge cn e defined y ny

More information

How to simulate Turing machines by invertible one-dimensional cellular automata

How to simulate Turing machines by invertible one-dimensional cellular automata How to simulte Turing mchines by invertible one-dimensionl cellulr utomt Jen-Christophe Dubcq Déprtement de Mthémtiques et d Informtique, École Normle Supérieure de Lyon, 46, llée d Itlie, 69364 Lyon Cedex

More information

11.1 Finite Automata. CS125 Lecture 11 Fall Motivation: TMs without a tape: maybe we can at least fully understand such a simple model?

11.1 Finite Automata. CS125 Lecture 11 Fall Motivation: TMs without a tape: maybe we can at least fully understand such a simple model? CS125 Lecture 11 Fll 2016 11.1 Finite Automt Motivtion: TMs without tpe: mybe we cn t lest fully understnd such simple model? Algorithms (e.g. string mtching) Computing with very limited memory Forml verifiction

More information

PART 2. REGULAR LANGUAGES, GRAMMARS AND AUTOMATA

PART 2. REGULAR LANGUAGES, GRAMMARS AND AUTOMATA PART 2. REGULAR LANGUAGES, GRAMMARS AND AUTOMATA RIGHT LINEAR LANGUAGES. Right Liner Grmmr: Rules of the form: A α B, A α A,B V N, α V T + Left Liner Grmmr: Rules of the form: A Bα, A α A,B V N, α V T

More information

Farey Fractions. Rickard Fernström. U.U.D.M. Project Report 2017:24. Department of Mathematics Uppsala University

Farey Fractions. Rickard Fernström. U.U.D.M. Project Report 2017:24. Department of Mathematics Uppsala University U.U.D.M. Project Report 07:4 Frey Frctions Rickrd Fernström Exmensrete i mtemtik, 5 hp Hledre: Andres Strömergsson Exmintor: Jörgen Östensson Juni 07 Deprtment of Mthemtics Uppsl University Frey Frctions

More information

C. C^mpenu, K. Slom, S. Yu upper boun of mn. So our result is tight only for incomplete DF's. For restricte vlues of m n n we present exmples of DF's

C. C^mpenu, K. Slom, S. Yu upper boun of mn. So our result is tight only for incomplete DF's. For restricte vlues of m n n we present exmples of DF's Journl of utomt, Lnguges n Combintorics u (v) w, x{y c OttovonGuerickeUniversitt Mgeburg Tight lower boun for the stte complexity of shue of regulr lnguges Cezr C^mpenu, Ki Slom Computing n Informtion

More information

Closure Properties of Regular Languages

Closure Properties of Regular Languages Closure Properties of Regulr Lnguges Regulr lnguges re closed under mny set opertions. Let L 1 nd L 2 e regulr lnguges. (1) L 1 L 2 (the union) is regulr. (2) L 1 L 2 (the conctention) is regulr. (3) L

More information

Theoretical foundations of Gaussian quadrature

Theoretical foundations of Gaussian quadrature Theoreticl foundtions of Gussin qudrture 1 Inner product vector spce Definition 1. A vector spce (or liner spce) is set V = {u, v, w,...} in which the following two opertions re defined: (A) Addition of

More information

CS 301. Lecture 04 Regular Expressions. Stephen Checkoway. January 29, 2018

CS 301. Lecture 04 Regular Expressions. Stephen Checkoway. January 29, 2018 CS 301 Lecture 04 Regulr Expressions Stephen Checkowy Jnury 29, 2018 1 / 35 Review from lst time NFA N = (Q, Σ, δ, q 0, F ) where δ Q Σ P (Q) mps stte nd n lphet symol (or ) to set of sttes We run n NFA

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

CDM Automata on Infinite Words

CDM Automata on Infinite Words CDM Automt on Infinite Words 1 Infinite Words Klus Sutner Crnegie Mellon Universlity 60-omeg 2017/12/15 23:19 Deterministic Lnguges Muller nd Rin Automt Towrds Infinity 3 Infinite Words 4 As mtter of principle,

More information

Riemann is the Mann! (But Lebesgue may besgue to differ.)

Riemann is the Mann! (But Lebesgue may besgue to differ.) Riemnn is the Mnn! (But Lebesgue my besgue to differ.) Leo Livshits My 2, 2008 1 For finite intervls in R We hve seen in clss tht every continuous function f : [, b] R hs the property tht for every ɛ >

More information