Buffered Simulation Games for Büchi Automata

Size: px
Start display at page:

Download "Buffered Simulation Games for Büchi Automata"

Transcription

1 Buffered Simultion Gmes for Büchi Automt Milk Hutglung nd Mrtin Lnge nd Etienne Lozes School of Electr. Eng. nd Computer Science, University of Kssel, Germny Abstrct. We introduce buffered simultions, fmily of simultion reltions tht better pproximte lnguge inclusion thn stndrd simultions. Buffered simultions re bsed on two-plyer gme in which the second plyer, clled here Duplictor, my skip his turn nd respond to given move in lter round of the gme. We consider vrious vrints of these buffered simultions nd estblish their decidbility nd exct complexity. 1 Introduction Nondeterministic Büchi utomt (NBA) re n importnt formlism for the specifiction nd verifiction of rective systems. While they hve originlly been introduced s n uxiliry device in the quest for decision procedure for Mondic Second-Order Logic [3] they re by now commonly used in such pplictions s LTL softwre modelchecking [9, 15], or size-chnge termintion nlysis for recursive progrms [18, 11]. A lrge mount of work in the re of utomt theory for verifiction is devoted to combting the stte spce explosion problem. One mjor issue of utomt mnipultion is to keep the number of sttes s smll s possible. In prticulr it is crucil to void explicit complementtion, becuse ll of the existing complementtion procedures [19, 20, 17] often drsticlly increse the sizes of the mnipulted utomt. Quite often, complementtion is not needed in itself, but rther is used for deciding whether the lnguge of n utomton is included in nother one. Since the erly works of Dill et l [7], simultions hve been intensively used in utomt-bsed verifiction. While problems like lnguge inclusion or utomt minimistion re typiclly PSPACE-hrd, simultion reltions re chep to compute. Simultions re interesting with respect to severl spects. On the one hnd, they offer sound, but incomplete, pproximtion of lnguge inclusion tht my be sufficient in mny prcticl cses. On the other hnd, simultions cn be used for quotienting utomt [4, 12, 10], for pruning trnsitions [1, 2], or for improving existing lgorithms like the Rmsey-bsed [11] or the ntichin lgorithm [8]. In this pper, we introduce new fmily of simultions for Büchi utomt, clled buffered simultions. In buffered simultion, two plyers clled Spoiler nd Duplictor move two pebbles long utomt trnsitions, but unlike in stndrd simultions, Spoiler nd Duplictor s moves do not lwys lternte. Indeed, Duplictor cn skip The Europen Reserch Council hs provided finncil support under the Europen Community s Seventh Frmework Progrmme (FP7/ ) / ERC grnt greement no

2 his turn nd wit to see Spoiler s next moves before responding. Spoiler nd Duplictor shre first-in first-out buffer: everytime Spoiler moves long n -lbelled trnsition, he dds n into the buffer, wheres everytime Duplictor mkes step long b-lbelled trnsition, he removes b from the buffer. Since Duplictor hs more chnces to defet Spoiler thn in stndrd simultions, buffered simultions better pproximte lnguge inclusion. Finitry versions of buffered simultions were recently studied for tht purpose [16] nd for utomt minimiztion [6]. In this pper, we study their infinitry counterprt, or in other words we consider the cse of the shred FIFO buffer being unbounded. We study two notions of buffered simultion gmes, clled continuous nd look-hed simultion gmes, respectively. Their rules only differ in the wy tht Duplictor must use the buffer: in look-hed simultions, Duplictor is forced to flush the buffer, so tht he ctches up with Spoiler everytime he decides to mke move. Thus, the buffer is flushed completely with ech of Duplictor s moves. In the continuous cse, Duplictor cn choose to only consume prt of the buffer with every move, nd it need not ever be flushed. Decidbility of these simultions is not obvious. In the finitry cses, it is provided by rther stright-forwrd reduction to prity gmes but gmes with unbounded buffers would yield prity gmes of infinite size. Moreover, questions bout systems with unbounded FIFO buffers re often undecidble; for instnce, liner-time properties of system of two mchines nd one buffer re known to be undecidble [5]. Our min contribution is the decidbility of buffered simultions together with exct mesurements of their complexities: we estblish PSPACE completeness of look-hed simultions nd EXPTIME-completeness of continuous simultions. The lower bounds provide limits to the bility to efficiently pproximte lnguge inclusion through simultion reltions: while simultion bsed on finite buffers is efficiently decidble [6, 16], one hs to py for the incresed preciseness through infinite buffers. We lso study Duplictor s degree of look-hed [14], i.e. how lrge the buffer cn grow in these gmes, nd provide n upper bound when it exists. Outline. The first section collects stndrd notions on Büchi utomt nd simultions. Continuous simultion is introduced in section 2, nd bsed on some topologicl considertions, series of bsic results re derived. Section 3 defines look-hed simultions nd discuss some differences with continuous simultion. In section 4, we introduce quotient gmes nd prove the decidbility of the continuous nd look-hed simultions. Section 5 estblishes the corresponding complexity lower bounds. Section 6 contins some concluding remrks. Due to spce constrints, we often only give some proof sketches. 2 Bckground A non-deterministic Büchi utomton (NBA) is tuple A = (Q, Σ, δ, q 0, F ) where Q is finite set of sttes with q 0 being designted strting stte, δ Q Σ Q is trnsition reltion, nd F Q is set of ccepting sttes. The stte q Q is clled ded end, if there is no Σ nd q Q such tht (q,, q ) δ. If w = 1... n, w sequence q 0 1 q 1... q n is clled w-pth from q 0 to q n, q 0 qn, if (q i, i+1, q i+1 )

3 δ for ll i {0,..., n 1}. It is n ccepting w-pth, q 0 qn, if there is some i {1,..., n} such tht q i F. A run of A on word w = 1 2 Σ ω is n infinite sequence ρ = q 0 1 q such tht (q i, i+1, q i+1 ) δ for ll i 0. The run is ccepting if there is some q F such tht q = q i for infinitely mny i. We write Runs(A) to denote the set of runs of A, nd ARuns(A) the set of ccepting runs. The lnguge of A is the set L(A) of infinite words for which there exists n ccepting run. Remrk 1. The set (Q Σ) ω is equipped with stndrd structure of metric spce. The distnce d(x, y) between two infinite sequences x 0 x 1 x 2... nd y 0 y 1 y 2... is the rel 1 2 i, where i is the first index for which x i y i. Intuitively, two words re significntly close if they shre significntly long prefix. The sets Runs(A) nd ARuns(A) re subsets of (Q Σ) ω ; Runs(A) hs the prticulrity of being closed subset, nd it is thus compct spce, wheres ARuns(A) is not. Fir simultion [13] is n extension of stndrd simultion to Büchi utomt. The esiest wy of defining fir simultion is by mens of gme between two plyers clled Spoiler nd Duplictor. Let us fix two NBA A = (Q, Σ, δ, q I, F ) nd B = (Q, Σ, δ, q I, F ). Spoiler nd Duplictor re given ech pebble initilly plced on owns pebble, nd this pebble is plced on q 0 := q I nd q 0 := q I respectively. Then, on ech round i 1, 1. spoiler chooses letter i Σ, trnsition (q i 1, i, q i ) δ, nd moves his pebble to q i ; 2. duplictor, responding, chooses trnsition (q i 1, i, q i ) δ nd moves his pebble to q i. Either the ply termintes becuse one plyer reches ded end, nd then the opponent wins the ply. Or the gme produces two infinite runs ρ = q 0 1 q 1,... nd ρ = q 0 1 q Given these two infinite runs, Duplictor is declred the winner of the ply if either Spoiler s run ρ is not ccepting, or Duplictor s run ρ is ccepting. We sy tht A firly simulted by B, A f B, if Duplictor hs winning strtegy for this gme. Clerly, A f B implies L(A) L(B), but the converse does not hold in generl. Remrk 2. Notice tht stndrd simultion, s defined for lbelled trnsition systems, is specil cse of fir simultion. Indeed, for given lbelled trnsition system (Q, Σ, δ), nd given stte q, we cn define the NBA A(q) with q I := q s the initil stte, nd F := Q s the set of ccepting sttes. Then q simultes q in the stndrd sense (without tking cre of firness) if nd only if A(q) f A(q ). We write q q when q simultes q in the stndrd sense. 3 Continuous Simultion Continuous simultions re defined by gmes in which Duplictor is llowed to see in dvnce some finite, unbounded number of Spoiler s moves. For exmple, Duplictor cn decide his first move depending on the three first moves of Spoiler. We first formlly define this notion nd then explin its reltion with continuity. w

4 Definition. Let A = (Q, Σ, δ, q I, F ) nd B = (Q, Σ, δ, q I, F ) be two NBA. In the continuous fir simultion gme, Spoiler nd Duplictor now shre FIFO buffer b. Initilly, Spoiler s pebble is on q 0 := q I, Duplictor s pebble is on q 0 := q I, nd the buffer b is empty. On ech round i 1: 1. Spoiler chooses letter i Σ, trnsition (q i 1, i, q i ) δ, moves the pebble to q i, nd dds i to the buffer b. 2. Duplictor either skips his turn, or picks some r 1 smller thn the buffer size b, removes the letters i b +1, i b +2,..., i b +r out of b, nd moves his pebble to some sttes q i b, q i b +1,... until q i b +r, following some trnsitions (q j, j+1, q j+1 ) δ for ll j vrying from i b to i b + r 1. A ply of the gme defines finite or infinite trce ρ for Spoiler (finite if Spoiler reches ded end), nd finite or infinite trce ρ for Duplictor (finite if Duplictor eventully lwys skips his turn). Duplictor is declred the winner of the ply if either ρ is finite, or ρ is not ccepting, or ρ is infinite nd ccepting. We sy tht B continuously firly simultes A, A f co B, if Duplictor hs winning strtegy. We lso consider the (unfir) continuous simultion co for pirs of LTS sttes by considering LTS with distinguished stte s NBA where ll sttes re ccepting. Exmple 1. Consider the following two NBA A (left) nd B (right) over the lphbet Σ = {, b, c}. b c Σ Σ Then Duplictor hs winning strtegy for the continuous fir simultion gme: he skips his turn until Spoiler follows either b or c. However, if we ignore the ccepting sttes nd consider these utomt s trnsition system, then Spoiler hs winning strtegy for the continuous simultion: he itertes the loop, nd then either Duplictor wits forever nd loses the ply, or he mkes move nd it is then esy for Spoiler to defet him. b c Σ Σ Bounded Buffers. Note tht in the continuous simultion gmes, Duplictor my remove s mny letters hs he wishes during his turn. However, if Duplictor hs winning strtegy, he lso hs lzy winning strtegy, in which he lwys removes t most one letter from the buffer in round. The bility to remove more thn one letter in round becomes n importnt spect of the gme if we get interested in the mount of spce resources needed by Duplictor in the ppliction of his strtegy. We sy tht winning strtegy for Duplictor is universlly bounded if there is n integer B such tht Duplictor keeps the buffer size b smller thn B in ll plys following the strtegy; it is sid to be existentilly bounded if there is bound B for ech ply, but the

5 bound my depend on the ply. For instnce, for the continuous fir simultion gme of Exmple 1, Duplictor hs n existentilly bounded winning strtegy, but not universlly bounded one, becuse the bound on the buffer depend on the time tht Spoiler will spend looping on the second stte. Similrly, one cn find pirs of Büchi utomt such tht Duplictor hs winning strtegy, but not n existentilly bounded one. We write co nd f co when Duplictor hs n existentilly bounded strtegy, nd co nd f co, when Duplictor hs uniformly bounded strtegy. Topologicl Chrcteriztion. We cll function f : ARuns(A) ARuns(B) word preserving if for ll ρ ARuns(A), f(ρ) nd ρ re lbelled with the sme word. It cn be seen tht L(A) L(B) holds if nd only if there is word preserving function f : ARuns(A) ARuns(B). Proposition 1. Let A, B be two NBA. The following holds: A f co B if nd only if there is continuous word preserving function f : ARuns(A) ARuns(B). Existentilly bounded nd uniformly bounded gmes lso hve such topologicl chrcteriztion, nmely f co corresponds to the Lipschitz word preserving functions, nd f co to the loclly Lipschitz ones. This result hs some interesting consequences. First, it shows tht co nd f co re trnsitive reltions, since the composition of two continuous functions is continuous; using similr rgument, it cn be seen tht co, f co, co, nd f co re trnsitive s well. Second, since continuous functions re the sme s Lipschitz functions on compct spce, Proposition 1 shows tht, in the bsence of firness conditions, ny winning strtegy for Duplictor cn be turned into uniformly bounded strtegy. Corollry 1. The preorders co, co, nd co re equl. A third ppliction of Proposition 1 is tht we could show tht co (but not f co) is decidble in 2-EXPTIME using result of Holtmnn et l. [14]. We will however see in Section 5 tht this complexity is not optiml. 4 Look-Ahed Simultions We now consider vrint of the continuous simultion gmes clled look-hed simultion gmes (the terminology follows [6]). Look-hed simultion gmes proceed exctly like the continuous ones, except tht now Duplictor hs only two possibilities: either he skips his turn, or he flushes the entire buffer. Formlly, the definition of the gme only differs from the one of Section 3 in tht the number r of letters removed by Duplictor in round is either 0 or the size b of the buffer b, wheres continuous simultion llowed ny r {0,..., b }. We write A f l B if Duplictor hs winning strtegy for the look-hed fir simultion gme ssocited with the two utomt A, B. Similrly, we define the look-hed fir simultion for LTS, l, nd the ccording existentilly bounded l nd uniformly bounded l vrints.

6 Exmple 2. Consider gin A nd B s in Exmple 1. It holds tht A f l B, becuse Duplictor cn flush the buffer once he hs seen the first b or c. Clerly, ech look-hed simultion implies its continuous counterprt, but the converse does not hold. Exmple 3. Consider the following two NBA A (left) nd B (right) over the lphbet Σ = {, b, c}. b, c b c b c Duplictor wins the continuous fir simultion: uniformly bounded winning strtegy for Duplictor is to skip his first turn, nd then to remove one letter in turn during ll the rest of the ply. On the other hnd, Spoiler wins the look-hed simultion, becuse the first time Duplictor flushes the buffer, he hs to commit to choice between the two right sttes, nd thus mkes prediction bout the next letter tht Spoiler will ply. Unlike continuous simultions, look-hed simultions do not enjoy nturl topologicl chrcteriztion. A remrkble consequence of tht is tht look-hed simultions cese to be trnsitive (see Myr nd Clemente [6] for counter-exmple). With this respect, it is not cler whether ll winning strtegies cn be turned into uniformly bounded ones. We show in the next section tht this property of continuous simultions extends to look-hed simultions despite the bsence of topologicl chrcteriztion. 5 Quotient Gmes We now estblish the decidbility of buffered simultions. For this, we define quotient gme tht hs finite stte spce, nd show tht it is equivlent to the buffered simultion gme. Continuous Quotient Gme. The quotient gme is bsed on the congruence reltion ssocited with the Rmsey-bsed lgorithm for complementtion. We briefly recll its definition. Let us fix two Büchi utomt A = (Q, Σ, δ, q I, F ) nd B = (Q, Σ, δ, q I, F ) for simplicity we ssume they shre the sme stte spce nd only differ in their initil stte. We sy tht two finite words w 1, w 2 Σ re equivlent, w 1 w 2, if for ll q, q (1) q w1 q if nd only if q w2 q, nd (2) q w1 q if nd only if q w2 q. We write [w] to denote the equivlence clss of w with respect to the congruence. We sy clss [w] is idempotent if [ww] = [w]. Definition 1. The continuous quotient gme is plyed between plyers Refuter nd Prover s follows. Initilly, Refuter s pebble is on q 0 := q I, Prover s pebble is on q 0 := q I, nd the bstrct buffer [b] contins [ε]. On ech round i 1:

7 [w 1] 1. Refuter chooses two equivlence clsses [w 1 ], [w 2 ] nd stte q i, such tht q i 1 [w 2] q i q i nd [w 2 ] is idempotent [b] [w1] 2. Prover chooses q i such tht q i 1 q i q i, nd [w 2] is idempotent. The vlue [b] of the bstrct buffer is set to [w 2 ] for the next turn. Prover wins the ply if Refuter gets stuck or if the ply is infinitely long. Observe tht the quotient gme cn be seen s rechbility gme from Refuter s point of view. Moreover, since hs t most 3 Q 2 equivlence clsses, the stte spce of the quotient gme is finite nd bounded by Q 2.(3 Q Q 2 ). Proposition 2. Whether Prover hs winning strtegy for the continuous quotient gme is decidble in EXPTIME. [w 2] Lifting Quotient Strtegies. We show tht quotient gmes chrcterise the reltion f co. Lemm 1. A f co B only if Prover hs winning strtegy for the continuous quotient gme. Proof. Let us ssume tht Refuter hs winning strtegy for the continuous quotient gme. We wnt to show tht then Spoiler hs winning strtegy for the continuous fir simultion gme. We ctully consider vrint of the continuous fir simultion gme in which Spoiler my dd more thn one letter in round, nd Duplictor only removes one letter in round. Clerly, Spoiler hs winning strtegy for this vrint if nd only if he hs winning strtegy for the continuous fir simultion gme s defined in Section 3. Spoiler s strtegy bsiclly follows the one of Refuter. In the first round, Spoiler dds into the buffer some representtives w 1, w 2 of the equivlence clsses plyed by Refuter. Spoiler then dds w 2 into the buffer on every round for while. At some point, if Duplictor does not get stuck, he hs finished to remove w 1 w 2 from the buffer. Then Spoiler considers the stte q 1 in which Duplictor is, nd looks t wht Refuter would ply if Prover would hve picked q 1. Iterting this principle, Spoiler mimicks Refuter s strtegy. A key rgument in the proof of the converse direction is the following lemm which is esily proved using Rmsey s theorem. Lemm 2. Let q 0 1 q be n infinite ccepting run. Then there re i, j, k, i < j < k, such tht q i = q j = q k is ccepting, nd i+1... j j+1... k i+1... k. Lemm 3. A f co B if Prover hs winning strtegy for the continuous quotient gme. Proof. When the continuous simultion gme strts, Duplictor just skips his turn for while. Then Spoiler strts providing n infinite ccepting run q 0 0 q if he does not, Duplictor wits forever nd wins the ply. At some point, Lemm 2 pplies: the buffer contins w 1 w 2 w 2, [w 2 ] = [w 2] is idempotent, nd Spoiler is in stte q tht dmits [w 2 ]-loop. Then Duplictor considers the stte q in which Prover would move

8 if Refuter plyed [w 1 ], [w 2 ], q in the first round; Duplictor then removes w 1 w 2 from the buffer, nd moves to this stte q. Duplictor proceeds identiclly in the next rounds, nd either Spoiler eventully gets stuck, or he follows non-ccepting run, or the ply is infinite. Look-Ahed Quotient Gme. In order to estblish the decidbility of look-hed simultions, we introduce look-hed quotient gme. The gme essentilly differs from the continuous quotient gme in tht it does not use buffer. Definition 2. We cll look-hed quotient gme the following gme plyed by Refuter nd Prover; initilly, Refuter s pebble is on q 0 := q I, Prover s pebble is on q 0 := q I. On ech round i 1: [w 1] 1. Refuter chooses two equivlence clsses [w 1 ], [w 2 ] nd stte q i, such tht q i 1 [w 2] q i q i nd [w 2 ] is idempotent. [w 1] [w 2] 2. Prover chooses q i such tht there is q i 1 q i q i. Prover wins the ply if Refuter gets stuck or if the ply is infinitely long. Following the sme kind of rguments we used for the continuous quotient gme, the result below cn be estblished. Proposition 3. A f l B if nd only if Prover hs winning strtegy for the look-hed quotient gme. The size of the ren of look-hed quotient gme is gin exponentil in the size of the utomt; but there re only Q 2 positions for Refuter, so look-hed quotient gmes cn be solved slighty better thn continous ones. Proposition 4. Whether Prover hs winning strtegy for the look-hed quotient gme cn be decided in PSPACE. Proof. We consider the following non-deterministic lgorithm tht guesses the set W of ll pirs (q 0, q 0) of initil configurtions of the gme such tht Duplictor hs winning strtegy. For ll (q 0, q 0) in W, the following cn then be checked in polynomil spce: for ll [w 1 ], [w 2 ], nd q 1 tht could be plyed by Spoiler, there is q 1 tht cn be plyed by Duplictor such tht (q 1, q 1) is in W. Degrees of Look-Ahed. The quotient gmes for co nd l only differ from the ones of Definitions 1 nd 2 in tht they do not require the loop lbelled with w 2 to be ccepting (or equivlently, ll sttes re ssumed to be ccepting). We clim tht for such quotient gmes, it is possible to lift winning strtegy for Prover to uniformly bounded winning strtegy for Duplictor. Agin, the key of the proof is n ppliction of Rmsey s theorem. Lemm 4. Let A be NBA. Then there is number n(a) such tht for ll trces q 0 1 q q l with l n(a), there re i, j, k such tht i < j < k, q i = q j = q k nd nd i+1... j j+1... k i+1... k.

9 When we lift Prover s strtegy to Duplictor s strtegy, we thus only need buffer bounded by n(a). Theorem 1. Let x {l, co}. Then x, x nd x coincide. 6 The Complexity of Buffered Simultions We provide lower bounds tht mtch the upper ones on deciding continuous nd lookhed simultions of the previous section. These re estblished by encoding vrious tiling problems. Definition 3. A tiling system is tuple T = (T, H, V, t I, t F ), where T is set of tiles, H, V T T re the horizontl nd verticl comptibility reltions, t I T is n initil tile, nd t F is n ccepting tile. Let n, m be two nturl numbers. A vlid n m tiling for T is function t : {1,..., n} {1,..., m} T such tht (1) t 1,1 = t I, (2) for ll i = 1,..., n, for ll j = 1,..., m 1, (t i,j, t i,j+1 ) H, (3) for ll i = 1,..., n 1, for ll j = 1,..., m, (t i,j, t i+1,j ) V, nd (4) t i,j = t F for some i, j. Theorem 2. Deciding l nd f l is PSPACE-complete. Proof. PSPACE-hrdness of f l follows from the one of l. To prove the ltter we reduce the problem of the existence, for given n in unry nd given tiling system T, of m > 0 nd m n vlid tiling. We define two utomt A, B over the lphbet T, such tht ll sttes re ccepting, nd the sizes of A, B re polynomil in T + n, nd moreover A f l B holds if nd only if vlid tiling exists. A ccepts n infinite word if nd only if it is of the form w 1 w 2... w i, where ech w i T n is such tht every two consecutive tiles t, t ppering in w i re such tht (t, t ) H. Similrly, B is defined such tht it ccepts n infinite sequence of tiles t 0 t 1... if nd only if it either t 0 t I or there is some i n such tht (t i n, t i ) V, nd for ll j i, t j t F. Theorem 3. Deciding f co, nd co is EXPTIME-complete. Proof. We consider n EXPTIME-hrd gme-theoretic vrint of the tiling problem. Let us fix some tiling system T. The gme is plyed by two plyers: Strter nd Completer. The tsk for Completer is to produce vlid tiling, wheres Strter s gol is to mke it impossible. On every round i 1, 1. Strter selects the tile t i,1 strting the i-th row; if i = 1, the tile must be t I, otherwise it must be verticlly comptible with t i 1,1 ; 2. Completer selects the tiles t i,2,... t i,n completing the i-th row; if this does not define vlid i n-tiling, Completer loses. If it does, nd if t i,j = t F for some j, then Completer wins. Otherwise, the ply proceeds to the next round. If Strter gets stuck by choosing verticlly comptible t i,1, Duplictor wins the ply. In ll other cses, Completer wins the ply. Given tiling system T = (T, H, V, t 0, t F ), we construct two NBA A, B of polynomil size, tht only contin ccepting sttes, such tht there is winning strtegy for

10 Strter in the tiling gme if nd only if there is winning strtegy for Duplictor in the continuous simultion gme (A co B). Without loss of generlity, we ssume tht Strter cn lwys move. We consider the lphbet T {0, 1}. Spoiler s utomton A is defined such tht n infinite word w is ccepted by A if nd only if it is of the form b 0 w 0 b 1 w 1 b 2 w 2..., where for ll i 0, b i {0, 1}, w i T n, nd two consecutive tiles in w i re in the horizontl reltion. Duplictor s utomton does severl things. He forces Spoiler to repet the previous row when bit 1 occurs, i.e. if Spoiler wins plying w i 1w i+1, then w i = w i+1. Duplictor lso forces Spoiler to provide verticlly mtching row when bit 0 occurs, i.e. if Spoiler wins plying w i 0w i+1, then w i nd w i+1 must be verticlly comptible consecutive rows. However, Duplictor does more: he lwys forces Spoiler to strt the row with given tile t; this tile is determined by the stte q t (or neighbour ) in which Duplictor currently is. Informlly, the sttes q t of Duplictor s utomton B re such tht (1) q ti is the initil stte of B, nd (2) if one strts reding from q t, the following holds: (P1) for n infinite word strting with 0t..., with t t, one cn pick n ccepting run tht does not depend on the infinite suffix; (P2) for n infinite word strting with bv1v..., b {0, 1}, v, v T n, nd v v, one cn pick n ccepting run tht does not depend on the infinite suffix; (P3) for n infinite word strting with bv0v..., b {0, 1}, v, v T n, if there is i {1,..., n} such tht the i-th letters of v nd v re not verticlly comptible, then one cn pick n ccepting run tht does not depend on the infinite suffix; (P4) if v T n 1v does not contin t F, then q t q t ; (P5) if v T n 0v does not contin t F, then q t q t for ll t such tht (t, t ) V. Let us first show tht if Completer hs winning strtegy, then Spoiler hs winning strtegy. Spoiler plys s follows: first, he moves long 0v 1, where v 1 is the first row of the tiling. Then he itertes 1v 1 for while. This forces Duplictor to eventully remove 0v 1 from the buffer, nd commit to choosing some q t, due to (P4) nd (P5). Spoiler then considers the second row v 2 tht Completer would nswer if Strter would put t t the beginning of the second row. Spoiler picks this row v 2, nd ply 0v 2, followed by itertions of 1v 2, nd repets the sme principle. Let us now show tht if Strter hs winning strtegy, then Duplictor hs winning strtegy. Duplictor first wits for the 2n + 2 first letters of Spoiler. Becuse of (P1..3), Spoiler hs nothing better to do thn to ply 0v1v for some v encoding vlid first row of tiling. Duplictor considers the tile t tht would be plyed by Strter in the second row if Completer plyed v on the first row. Duplictor then removes 0v nd ends in the stte q t. From there, he wits gin for n + 1 letters, so tht the buffer now contins 1vbv for some b {0, 1}. Repeting the sme process if b = 1, he cn force Spoiler to eventully ply 0v where v codes row verticlly comptible with v nd strting with t. Iterting this principle results in n infinite ply won by Duplictor. 7 Conclusion We introduced severl buffered simultions for trnsitions systems nd Büchi utomt tht differ from stndrd simultions in tht Duplictor is llowed to skip his turn nd

11 only respond to given Spoiler s move with n rbirrily long dely. We estblished the decidbility of these simultions by mens of quotient gme, nd we precisely chrcterized their complexity, EXPTIME-complete for the continuous simultion, nd PSPACE-complete for the look-hed simultion. It seems very likely tht these complexity results extend to vrints of these simultions. Let us briefly mention few of these vrints. First, it is possible to define continuous nd look-hed bisimultions. For this, we my llow Spoiler to swp the pebbles t the beginning of his turn, but only on the turns where the buffer is empty. Continuous bisimultion is bit degenerted, nd ctully collpses to continuous simultion equivlence becuse Duplictor my lwys keep the buffer non-empty nd prevent Spoiler from swpping the pebbles. Look-hed bisimultion is strictly included in look-hed simultion equivlence, but it is not n equivlence reltion for the sme reson tht look-hed simultion is not trnsitive. It is questionble whether there would be better forms of buffered bisimultions. Finitry versions of the look-hed nd continuous simultions hve been introduced indepently by Clemente nd Myr [6] for utomt minimiztion nd by the uthors of this pper [16] for lnguge inclusion testing. For the prticulr purpose of utomt minimiztion, it is interesting to consider delyed nd direct simultions. It is not difficult to check tht the infinitry version of delyed/direct buffered simultions cn be used for quotienting/pruning Büchi utomt exctly like their finitry counterprt, nd tht they hve the sme complexities s the buffered fir simultions. Finitry buffered simultions pper thus s computtionlly chep pproximtions of the simultions we introduced in this work. References 1. P. A. Abdull, Y.-F. Chen, L. Clemente, L. Holík, C.-D. Hong, R. Myr, nd T. Vojnr. Simultion subsumption in rmsey-bsed Büchi utomt universlity nd inclusion testing. In Proc. 22nd Int. Conf. on Computer-Aided Verifiction, CAV 10, volume 6174 of LNCS, pges Springer, P. Aziz Abdull, Y.-F. Chen, L. Clemente, L. Holík, C.-D. Hong, R. Myr, nd T. Vojnr. Advnced rmsey-bsed Büchi utomt inclusion testing. In Proc. 22nd Int. Conf. on Concurrency Theory, CONCUR 11, volume 6901 of LNCS, pges Springer, J. R. Büchi. On decision method in restricted second order rithmetic. In Proc. Congress on Logic, Method, nd Philosophy of Science, pges 1 12, Stnford, CA, USA, Stnford University Press. 4. D. Bustn nd O. Grumberg. Simultion-bsed minimiztion. ACM Trns. Comput. Logic, 4(2): , April G. Cécé nd A. Finkel. Verifiction of progrms with hlf-duplex communiction. Inf. Comput., 202(2): , Lorenzo Clemente nd Richrd Myr. Advnced utomt minimiztion. In Proc. 40th Symp. on Principles of Progrmming Lnguges, POPL 13, pges ACM, D. L. Dill, A. J. Hu, nd H. Wong-Toi. Checking for lnguge inclusion using simultion preorders. In Proc. 3rd Int. Workshop on Computer-Aided Verifiction, CAV 91, volume 575 of LNCS, pges Springer, L. Doyen nd J.-F. Rskin. Antichins for the utomt-bsed pproch to model-checking. Logicl Methods in Computer Science, 5(1), 2009.

12 9. K. Etessmi nd G. J. Holzmnn. Optimizing Büchi utomt. In Proc. 11th Int. Conf. on Concurrency Theory, CONCUR 00, volume 1877 of LNCS, pges Springer, K. Etessmi, T. Wilke, nd R. A. Schuller. Fir simultion reltions, prity gmes, nd stte spce reduction for Büchi utomt. In Proc. 28th Int. Coll. on Algorithms, Lnguges nd Progrmming, ICALP 01, volume 2076 of LNCS, pges Springer, S. Fogrty nd M. Y. Vrdi. Büchi complementtion nd size-chnge termintion. Logicl Methods in Computer Science, 8(1), S. Gurumurthy, R. Bloem, nd F. Somenzi. Fir simultion minimiztion. In Proc. 14th Int. Conf. on Computer-Aided Verifiction, CAV 02, number 2404 in LNCS, pges Springer, T. A. Henzinger, O. Kupfermn, nd S. K. Rjmni. Fir simultion. Inf. Comput., 173(1):64 81, M. Holtmnn, L. Kiser, nd W. Thoms. Degrees of lookhed in regulr infinite gmes. Logicl Methods in Computer Science, 8(3), Gerrd J. Holzmnn. The SPIN Model Checker - primer nd reference mnul. Addison- Wesley, M. Hutglung, M. Lnge, nd É. Lozes. Reveling vs. conceling: More simultion gmes for Büchi inclusion. In Proc. 7th Int. Conf. on Lnguge nd Automt Theory nd Applictions, LATA 13, LNCS, pges Springer, O. Kupfermn nd M. Y. Vrdi. Wek lternting utomt re not tht wek. ACM Trns. on Comput. Logic, 2(3): , C. S. Lee, N. D. Jones, nd A. M. Ben-Amrm. The size-chnge principle for progrm termintion. In Proc. 28th Symp. on Principles of Progrmming Lnguges, POPL 01, pges ACM, S. Sfr. On the complexity of ω-utomt. In Proc. 29th Symp. on Foundtions of Computer Science, FOCS 88, pges IEEE, W. Thoms. Complementtion of Büchi utomt revisited. In J. Krhumäki et l., editor, Jewels re Forever, Contributions on Theoreticl Computer Science in Honor of Arto Slom, pges Springer, 1999.

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

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

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

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

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 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

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

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

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

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

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 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

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

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

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

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

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

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

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

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

Math 8 Winter 2015 Applications of Integration

Math 8 Winter 2015 Applications of Integration Mth 8 Winter 205 Applictions of Integrtion Here re few importnt pplictions of integrtion. The pplictions you my see on n exm in this course include only the Net Chnge Theorem (which is relly just the Fundmentl

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

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

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

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

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

Chapter 0. What is the Lebesgue integral about?

Chapter 0. What is the Lebesgue integral about? Chpter 0. Wht is the Lebesgue integrl bout? The pln is to hve tutoril sheet ech week, most often on Fridy, (to be done during the clss) where you will try to get used to the ides introduced in the previous

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

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

Bisimulation. R.J. van Glabbeek

Bisimulation. R.J. van Glabbeek Bisimultion R.J. vn Glbbeek NICTA, Sydney, Austrli. School of Computer Science nd Engineering, The University of New South Wles, Sydney, Austrli. Computer Science Deprtment, Stnford University, CA 94305-9045,

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

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

arxiv: v2 [cs.fl] 23 Apr 2018

arxiv: v2 [cs.fl] 23 Apr 2018 EFFICIENT REDUCTION OF NONDETERMINISTIC AUTOMATA WITH APPLICATION TO LANGUAGE INCLUSION TESTING LORENZO CLEMENTE AND RICHARD MAYR b rxiv:1711.09946v2 [cs.fl] 23 Apr 2018 University of Wrsw, Fculty of Mthemtics,

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

Advanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004

Advanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004 Advnced Clculus: MATH 410 Notes on Integrls nd Integrbility Professor Dvid Levermore 17 October 2004 1. Definite Integrls In this section we revisit the definite integrl tht you were introduced to when

More information

UNIFORM CONVERGENCE. Contents 1. Uniform Convergence 1 2. Properties of uniform convergence 3

UNIFORM CONVERGENCE. Contents 1. Uniform Convergence 1 2. Properties of uniform convergence 3 UNIFORM CONVERGENCE Contents 1. Uniform Convergence 1 2. Properties of uniform convergence 3 Suppose f n : Ω R or f n : Ω C is sequence of rel or complex functions, nd f n f s n in some sense. Furthermore,

More information

CS103B Handout 18 Winter 2007 February 28, 2007 Finite Automata

CS103B Handout 18 Winter 2007 February 28, 2007 Finite Automata CS103B ndout 18 Winter 2007 Ferury 28, 2007 Finite Automt Initil text y Mggie Johnson. Introduction Severl childrens gmes fit the following description: Pieces re set up on plying ord; dice re thrown or

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

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

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

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

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

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

Let's start with an example:

Let's start with an example: Finite Automt Let's strt with n exmple: Here you see leled circles tht re sttes, nd leled rrows tht re trnsitions. One of the sttes is mrked "strt". One of the sttes hs doule circle; this is terminl stte

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

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

Semantic Reachability. Richard Mayr. Institut fur Informatik. Technische Universitat Munchen. Arcisstr. 21, D Munchen, Germany E. N. T. C. S.

Semantic Reachability. Richard Mayr. Institut fur Informatik. Technische Universitat Munchen. Arcisstr. 21, D Munchen, Germany E. N. T. C. S. URL: http://www.elsevier.nl/locte/entcs/volume6.html?? pges Semntic Rechbility Richrd Myr Institut fur Informtik Technische Universitt Munchen Arcisstr. 21, D-80290 Munchen, Germny e-mil: myrri@informtik.tu-muenchen.de

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

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

THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS.

THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS. THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS RADON ROSBOROUGH https://intuitiveexplntionscom/picrd-lindelof-theorem/ This document is proof of the existence-uniqueness theorem

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

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

Semantic reachability for simple process algebras. Richard Mayr. Abstract

Semantic reachability for simple process algebras. Richard Mayr. Abstract Semntic rechbility for simple process lgebrs Richrd Myr Abstrct This pper is n pproch to combine the rechbility problem with semntic notions like bisimultion equivlence. It dels with questions of the following

More information

Homework 3 Solutions

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

More information

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

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

1 Online Learning and Regret Minimization

1 Online Learning and Regret Minimization 2.997 Decision-Mking in Lrge-Scle Systems My 10 MIT, Spring 2004 Hndout #29 Lecture Note 24 1 Online Lerning nd Regret Minimiztion In this lecture, we consider the problem of sequentil decision mking in

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

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

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

Lecture 3: Equivalence Relations

Lecture 3: Equivalence Relations Mthcmp Crsh Course Instructor: Pdric Brtlett Lecture 3: Equivlence Reltions Week 1 Mthcmp 2014 In our lst three tlks of this clss, we shift the focus of our tlks from proof techniques to proof concepts

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

Model Reduction of Finite State Machines by Contraction

Model Reduction of Finite State Machines by Contraction Model Reduction of Finite Stte Mchines y Contrction Alessndro Giu Dip. di Ingegneri Elettric ed Elettronic, Università di Cgliri, Pizz d Armi, 09123 Cgliri, Itly Phone: +39-070-675-5892 Fx: +39-070-675-5900

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

Summer School Verification Technology, Systems & Applications

Summer School Verification Technology, Systems & Applications VTSA 2011 Summer School Verifiction Technology, Systems & Applictions 4th edition since 2008: Liège (Belgium), Sep. 19 23, 2011 free prticiption, limited number of prticipnts ppliction dedline: July 22,

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

Concepts of Concurrent Computation Spring 2015 Lecture 9: Petri Nets

Concepts of Concurrent Computation Spring 2015 Lecture 9: Petri Nets Concepts of Concurrent Computtion Spring 205 Lecture 9: Petri Nets Sebstin Nnz Chris Poskitt Chir of Softwre Engineering Petri nets Petri nets re mthemticl models for describing systems with concurrency

More information

A recursive construction of efficiently decodable list-disjunct matrices

A recursive construction of efficiently decodable list-disjunct matrices CSE 709: Compressed Sensing nd Group Testing. Prt I Lecturers: Hung Q. Ngo nd Atri Rudr SUNY t Bufflo, Fll 2011 Lst updte: October 13, 2011 A recursive construction of efficiently decodble list-disjunct

More information

Converting Regular Expressions to Discrete Finite Automata: A Tutorial

Converting Regular Expressions to Discrete Finite Automata: A Tutorial Converting Regulr Expressions to Discrete Finite Automt: A Tutoril Dvid Christinsen 2013-01-03 This is tutoril on how to convert regulr expressions to nondeterministic finite utomt (NFA) nd how to convert

More information

Exercises with (Some) Solutions

Exercises with (Some) Solutions Exercises with (Some) Solutions Techer: Luc Tesei Mster of Science in Computer Science - University of Cmerino Contents 1 Strong Bisimultion nd HML 2 2 Wek Bisimultion 31 3 Complete Lttices nd Fix Points

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

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

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

Learning Moore Machines from Input-Output Traces

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

More information

and that at t = 0 the object is at position 5. Find the position of the object at t = 2.

and that at t = 0 the object is at position 5. Find the position of the object at t = 2. 7.2 The Fundmentl Theorem of Clculus 49 re mny, mny problems tht pper much different on the surfce but tht turn out to be the sme s these problems, in the sense tht when we try to pproimte solutions we

More information

1 From NFA to regular expression

1 From NFA to regular expression Note 1: How to convert DFA/NFA to regulr expression Version: 1.0 S/EE 374, Fll 2017 Septemer 11, 2017 In this note, we show tht ny DFA cn e converted into regulr expression. Our construction would work

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

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

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

Global Types for Dynamic Checking of Protocol Conformance of Multi-Agent Systems

Global Types for Dynamic Checking of Protocol Conformance of Multi-Agent Systems Globl Types for Dynmic Checking of Protocol Conformnce of Multi-Agent Systems (Extended Abstrct) Dvide Ancon, Mtteo Brbieri, nd Vivin Mscrdi DIBRIS, University of Genov, Itly emil: dvide@disi.unige.it,

More information

CS 330 Formal Methods and Models

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

More information

Continuous Random Variables

Continuous Random Variables STAT/MATH 395 A - PROBABILITY II UW Winter Qurter 217 Néhémy Lim Continuous Rndom Vribles Nottion. The indictor function of set S is rel-vlued function defined by : { 1 if x S 1 S (x) if x S Suppose tht

More information

MAA 4212 Improper Integrals

MAA 4212 Improper Integrals Notes by Dvid Groisser, Copyright c 1995; revised 2002, 2009, 2014 MAA 4212 Improper Integrls The Riemnn integrl, while perfectly well-defined, is too restrictive for mny purposes; there re functions which

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

DISCRETE MATHEMATICS HOMEWORK 3 SOLUTIONS

DISCRETE MATHEMATICS HOMEWORK 3 SOLUTIONS DISCRETE MATHEMATICS 21228 HOMEWORK 3 SOLUTIONS JC Due in clss Wednesdy September 17. You my collborte but must write up your solutions by yourself. Lte homework will not be ccepted. Homework must either

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

Checking NFA equivalence with bisimulations up to congruence

Checking NFA equivalence with bisimulations up to congruence Checking NFA equivlence with bisimultions up to congruence Filippo Bonchi, Dmien Pous To cite this version: Filippo Bonchi, Dmien Pous. Checking NFA equivlence with bisimultions up to congruence. Principle

More information

Quadratic Forms. Quadratic Forms

Quadratic Forms. Quadratic Forms Qudrtic Forms Recll the Simon & Blume excerpt from n erlier lecture which sid tht the min tsk of clculus is to pproximte nonliner functions with liner functions. It s ctully more ccurte to sy tht we pproximte

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

Lecture 3. In this lecture, we will discuss algorithms for solving systems of linear equations.

Lecture 3. In this lecture, we will discuss algorithms for solving systems of linear equations. Lecture 3 3 Solving liner equtions In this lecture we will discuss lgorithms for solving systems of liner equtions Multiplictive identity Let us restrict ourselves to considering squre mtrices since one

More information

Global Session Types for Dynamic Checking of Protocol Conformance of Multi-Agent Systems

Global Session Types for Dynamic Checking of Protocol Conformance of Multi-Agent Systems Globl Session Types for Dynmic Checking of Protocol Conformnce of Multi-Agent Systems (Extended Abstrct) Dvide Ancon, Mtteo Brbieri, nd Vivin Mscrdi DIBRIS, University of Genov, Itly emil: dvide@disi.unige.it,

More information

Ehrenfeucht-Fraïssé Games: Applications and Complexity. Department of Mathematics and Computer Science University of Udine, Italy ESSLLI 2010 CPH

Ehrenfeucht-Fraïssé Games: Applications and Complexity. Department of Mathematics and Computer Science University of Udine, Italy ESSLLI 2010 CPH Ehrenfeucht-Frïssé Gmes: Applictions nd Complexity Angelo Montnri Nicol Vitcolonn Deprtment of Mthemtics nd Computer Science University of Udine, Itly ESSLLI 2010 CPH Outline Introduction to EF-gmes Inexpressivity

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

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

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

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

Review of Calculus, cont d

Review of Calculus, cont d Jim Lmbers MAT 460 Fll Semester 2009-10 Lecture 3 Notes These notes correspond to Section 1.1 in the text. Review of Clculus, cont d Riemnn Sums nd the Definite Integrl There re mny cses in which some

More information

Recitation 3: More Applications of the Derivative

Recitation 3: More Applications of the Derivative Mth 1c TA: Pdric Brtlett Recittion 3: More Applictions of the Derivtive Week 3 Cltech 2012 1 Rndom Question Question 1 A grph consists of the following: A set V of vertices. A set E of edges where ech

More information

Foundations for Timed Systems

Foundations for Timed Systems Foundtions for Timed Systems Ptrici Bouyer LSV CNRS UMR 8643 & ENS de Cchn 6, venue du Président Wilson 9423 Cchn Frnce emil: bouyer@lsv.ens-cchn.fr Introduction Explicit timing constrints re nturlly present

More information

Lecture 1. Functional series. Pointwise and uniform convergence.

Lecture 1. Functional series. Pointwise and uniform convergence. 1 Introduction. Lecture 1. Functionl series. Pointwise nd uniform convergence. In this course we study mongst other things Fourier series. The Fourier series for periodic function f(x) with period 2π is

More information