CONTROLLABILITY and observability are the central

Size: px
Start display at page:

Download "CONTROLLABILITY and observability are the central"

Transcription

1 1 Complexity of Infiml Oservle Superlnguges Tomáš Msopust Astrt The infiml prefix-losed, ontrollle nd oservle superlnguge plys n essentil role in the reltionship etween ontrollility, oservility nd o-oservility the entrl notions of supervisory ontrol theory. Existing lgorithms for its omputtion re exponentil nd it is not known whether polynomil lgorithm exists. In this pper, we study the stte omplexity of this lnguge. Stte omplexity of lnguge is the numer of sttes of the miniml DFA for the lnguge. For lnguge of stte omplexity n, we show tht the upper-ound stte omplexity on the infiml prefix-losed nd oservle superlnguge is 2 n + 1 nd tht this ound is symptotilly tight. It proves tht there is no lgorithm omputing DFA of the infiml prefix-losed nd oservle superlnguge in polynomil time. Our onstrution further shows tht suh DFA n e omputed in time O(2 n ). The onstrution involves NFAs nd omputtion of the supreml prefix-losed sulnguge. We study the omputtion of the supreml prefix-losed sulnguge nd show tht there is no polynomil-time lgorithm tht omputes n NFA of the supreml prefix-losed sulnguge of lnguge given s n NFA even if the lnguge is unry. Index Terms Disrete event systems; Automt; Prefix-losed lnguge; Oservle lnguge; Complexity. I. INTRODUCTION CONTROLLABILITY nd oservility re the entrl notions of supervisory ontrol theory of disrete event systems in the Rmdge-Wonhm frmework [1] [3]. They form the neessry nd suffiient onditions for the existene of supervisor tht hieves the desired ontrol ehvior of system. In deentrlized supervisory ontrol, where more supervisors ooperte to ontrol the system, every supervisor oserves nd ontrols prt of the system. The oservtion of supervisor is modeled y n oservtion msk or y nturl projetion. Cieslk et l. [1] nd Rudie nd Wonhm [4] hve shown tht ontrollility nd o-oservility re the entrl notions in deentrlized supervisory ontrol. A reltionship etween ontrollility, oservility nd ooservility hs een studied y Kumr nd Shymn [5], who hve shown tht the infiml prefix-losed, ontrollle nd oservle superlnguge plys the essentil role. Another motivtion nd the importne of infiml superlnguges hve een disussed in the fundmentl ook on supervisory ontrol theory [6]. We hve further illustrted its relevne to deentrlized supervisory ontrol with ommunition [7] nd to oordintion ontrol [8]. We refer the reder to these ppers for more detils nd exmples. Infiml superlnguges re of generl interest in supervisory ontrol. There re exmples in modulr nd deentrlized ontrol showing evidene tht supreml sulnguges do not lwys suffie to hieve the est (optiml) solution nd tht Supported y the DFG in Emmy Noether grnt KR 4381/1-1 (DIAMOND). T. Msopust (msopust@mth.s.z) is with CFEAD, TU Dresden, Germny, nd with Institute of Mthemtis, Czeh Ademy of Sienes the optiml solution my e hieved if infiml superlnguges re involved. The exmples show evidene tht the omintion of supreml sulnguges nd infiml superlnguges help hieve optimlity if it is not hievle y supreml sulnguges lone [7], [8]. Therefore our interest in infiml prefix-losed, ontrollle nd oservle superlnguges. Lfortune nd Chen [9] hve shown tht the infiml prefixlosed nd ontrollle superlnguge n e omputed from deterministi finite utomton (DFA) for the lnguge in liner time. Kumr nd Shymn [5] hve further shown tht it is suffiient to onsider the omputtion of the infiml prefixlosed nd oservle superlnguge of lnguge K over Σ wrt the lnguge Σ. Thus, we fous in this pper on the infiml prefix-losed nd oservle superlnguge of K wrt Σ nd study its stte omplexity. Stte omplexity of lnguge is the numer of sttes of the miniml DFA mrking (epting) the lnguge. Sine the miniml DFA is unique (up to isomorphism), stte omplexity is omplexity mesure tht is independent of the representtion nd omputtion of the lnguge. Our ontriution: For lnguge K of stte omplexity n, we show tht the upper-ound on the stte omplexity of the infiml prefix-losed nd oservle superlnguge of K wrt the lnguge Σ is 2 n +1. We further prove tht this ound is symptotilly tight y showing tht the worst-se loweround stte omplexity is t lest 3 4 2n 1 = Ω(2 n ). Sine the stte omplexity is exponentil, so is the time omplexity of ny lgorithm omputing the orresponding miniml DFA. In ddition, our onstrution shows tht DFA representtion of the infiml prefix-losed nd oservle superlnguge of K wrt the lnguge Σ n e omputed in time O(2 n ). Our onstrution involves nondeterministi finite utomt (NFAs) nd is sed on formul equivlent to the formule of Rudie nd Wonhm [10] nd of Kumr nd Shymn [5]. The formule inlude omputtion of the supreml prefix-losed sulnguge. We study the omputtion of the supreml prefixlosed sulnguge nd show tht there is no polynomil-time lgorithm omputing n NFA representtion of the supreml prefix-losed sulnguge of lnguge given s n NFA even if the lnguge is unry. II. PRELIMINARIES We ssume tht the reder is fmilir with supervisory ontrol theory [6] nd utomt theory [11], [12]. For undefined notions, the reder is refer to these referenes. The prefix losure of lnguge L is the set L = {w Σ there is u Σ s.t. wu L}; L is prefix-losed if L = L. The right quotient of lnguge L wrt lnguge M is the set L/M = {w Σ there is x M s.t. wx L}. If M = {} is singleton, we simply write L/ = {w Σ w L}. The empty string is denoted y ε.

2 2 A nondeterministi finite utomton (NFA) is quintuple A = (Q, Σ, δ, Q 0, F ), where Q is finite nonempty set of sttes, Σ is n input lphet, Q 0 Q is set of initil sttes, F Q is set of mrked sttes, nd δ : Q (Σ {ε}) 2 Q is trnsition funtion tht is extended to 2 Q Σ y indution. The lnguge generted y A is the set L(A) = {w Σ δ(q 0, w) } nd the lnguge mrked y A is the set L m (A) = {w Σ δ(q 0, w) F }. The NFA A is n (inomplete) deterministi finite utomton (DFA) if Q 0 1 nd δ(q, ) 1 for every q Q nd Σ. Moreover, DFAs do not dmit ε-trnsitions, tht is, δ is prtil trnsition funtion from Q Σ to Q. For every NFA A there exists DFA B suh tht L m (B) = L m (A) nd L(B) = L(A). The DFA B is onstruted y the stndrd suset onstrution [12] nd is lled the suset utomton of A. Speifilly, for A = (Q, Σ, δ, Q 0, F ), B = (2 Q, Σ, δ, Q 0, F ), where δ : 2 Q Σ 2 Q is defined s δ (X, ) = δ(x, ) nd F = {R Q R F }. Let Σ nd e lphets. An (oservtion) msk is mp P : Σ {ε} tht is extended to Σ so tht P (ε) = ε nd P (s) = P (s)p () for s Σ nd Σ. If L is regulr lnguge, then P (L) = w L P (w) is regulr [13]. A msk P is (nturl) projetion if Σ nd P () =, for, nd P () = ε otherwise. The inverse imge of msk P, denoted y P 1 : 2 2 Σ, is defined s P 1 (L) = {w Σ P (w) L}. Regulr lnguges re losed under the inverse imge of msk [13]. In the rest, the term lnguge stnds for regulr lnguge. III. KNOWN AND PRELIMINARY RESULTS Let inf CO(K, L(G), Σ u, P ) denote the infiml superlnguge of K tht is prefix-losed, ontrollle nd oservle wrt L(G), unontrollle events Σ u, nd msk P. Similrly we use inf C(K, L(G), Σ u ) to denote the infiml prefix-losed nd ontrollle superlnguge nd inf O(K, L(G), P ) to denote the infiml prefix-losed nd oservle superlnguge. Kumr nd Shymn [5] hve proved tht the omputtion of the infiml prefix-losed, ontrollle nd oservle superlnguge of K wrt L(G) depends on the omputtion wrt Σ, nmely inf CO(K, L(G), Σ u, P ) = inf CO(K, Σ, Σ u, P ) L(G). It thus suffies to onsider the omputtion wrt the lnguge Σ. They further proved tht inf CO(K, Σ, Σ u, P ) = inf O(inf C(K, Σ, Σ u ), Σ, P ). Lfortune nd Chen [9] hve shown tht inf C(K, Σ, Σ u ) = KΣ u, whih n e omputed from DFA for K in liner time. The omputtion of the infiml prefix-losed nd ontrollle superlnguge is thus esy nd we fous in the rest on the omputtion of the infiml prefix-losed nd oservle superlnguge. Rudie nd Wonhm [10] showed tht inf O(K, L(G), P ) = L(G) \ (Σ + \ P 1 ( P (K)))Σ, where P is projetion nd P projets ll ut the lst event, indutively defined y P (ε) = ε nd P (s) = P (s). They lso proved tht for K, P 1 [ P (K) = P 1 (P (K K)) Σ ] {ε}. (1) The eqution remins vlid for msks nd Kumr nd Shymn [5] extended it nd simplified to the form inf O(K, L(G), P ) = sup [ P 1 P (K)] L(G) (2) where sup (H) stnds for the supreml prefix-losed sulnguge of lnguge H. Note tht it immeditely implies tht inf O(K, L(G), P ) = inf O(K, Σ, P ) L(G). The formule onsist of opertions studied in the literture nd their worst-se stte omplexities give rough estimte on the stte omplexity of the lnguge inf O(K, Σ, P ). By Yu et l. [14], the ound is no more thn 2 Σ (4n2 +8n+1), where n is the stte omplexity of K. Nmely, Yu et l. [14] show tht K needs no more thn 4n + 8 sttes nd K K no more thn (4n + 8)n sttes. Then P 1 P (K K) needs t most 2 (4n+8)n sttes. (If P is nturl projetion, the ound is lower [15], [16].) The intersetion with Σ then needs no more thn 2 (4n+8)n 2 sttes nd the union over ll events in Σ no more thn (2 (4n+8)n 2) Σ sttes. The supreml prefix-losed sulnguge of DFA n e omputed in liner time nd does not inrese the stte omplexity; it requires to remove ll non-mrked sttes nd orresponding trnsitions. Results of Yu et l. [14] hold for ny lnguge nd the reder my notie tht the lnguges of the formule re of speil forms. The worst-se stte omplexity of Yu et l. [14] is thus mostly not tight for them. For instne, it n e shown tht the tight stte omplexity on K K is 2n rther thn (4n + 8)n, whih dereses the upper ound to 2 Σ 2n. We now show tht the upper ound on the stte omplexity of the lnguge inf O(K, Σ, P ) is no more thn 2 n + 1. To this im, we express the formul for inf O(K, Σ, P ) in n equivlent form using the opertion of right quotient. This expression is sed on the following reltion etween the msk, intersetion nd right quotient opertions. Lemm 1: Let P e msk from Σ to. For prefix-losed lnguge K over Σ nd n event Σ, it holds tht P 1 (P (K K)) Σ = (P 1 P (K/)). Proof: The lim holds for K =. Assume tht K. Let x P 1 (P (K K)) Σ. Then P (x) P (K K) nd there exists y K K suh tht P (x) = P (y). Sine y K, we hve tht y K/, hene x P 1 (P (y)) (P 1 P (K/)). On the other hnd, let x (P 1 P (K/)). Then x P 1 P (K/) nd there is y K/ with P (x) = P (y). Sine y K/, y K. Beuse K is prefix-losed, y K, whih implies tht y K K. Thus, P (x) P (K K), tht is, x P 1 (P (K K)) Σ. The ssumption tht the lnguge is prefix-losed is essentil. The lemm does not hold for non-prefix-losed lnguges even if P is the identity msk. In this se, Lemm 1 redues to K K = (K/). If K = {} is non-prefix-losed, then K K =, wheres (K/) = {}. We n now express the formul of Kumr nd Shymn [5] in n equivlent form using the opertion of right quotient. Theorem 2: Let K e nonempty lnguge over Σ, nd let P e msk from Σ to. Then inf O(K, Σ, P ) = sup ( (P 1 P (K/)) {ε}). Proof: By (1), (2), nd Lemm 1, inf O(K, Σ, P ) = sup ( P 1 P (K)) = sup ( [P 1 (P (K K)) Σ ] {ε}) = sup ( (P 1 P (K/)) {ε}), respetively. We further modify the formul y moving the union opertion deeper into the formul. It is then pplied to struturlly simpler suformul, whih is useful for our gol.

3 3 Lemm 3: Let K Σ e lnguge nd P : Σ {ε} e msk. Let Σ = { Σ} e opy of Σ disjoint from oth Σ nd. Let h: Σ Σ Σ {ε} e msk defined y h() = P (), for Σ, nd h( ) =, for Σ. Let g : Σ Σ e msk defined y g( ) =, for Σ. Then ( ( ) ) (P 1 P (K/)) = g h 1 h (K/) Σ Σ. Proof: By the properties of msks, we hve tht g(h 1 (h( (K/) )) Σ Σ ) = g([ h 1 (h((k/) ))] Σ Σ ) = g([ h 1 (h(k/)h( ))] Σ Σ ) = g([ h 1 (P (K/) )] Σ Σ ) = g([ h 1 (P (K/))h 1 ( )] Σ Σ ) = g([ P 1 (P (K/)) P 1 (ε)] Σ Σ ) = g( [P 1 (P (K/)) P 1 (ε) Σ Σ ]) = g( P 1 (P (K/)) ) = g(p 1 (P (K/)) ) = (P 1 P (K/)). This ompletes the proof. As orollry of Theorem 2 nd Lemm 3, we otin the following formul, whih we use to show the symptotilly tight ound on the stte omplexity of inf O(K, Σ, P ). Corollry 4: Under the ssumptions of Lemm 3, if K, inf O(K, Σ, P ) = [ ( ( ) ) ] sup g h 1 h (K/) Σ Σ {ε}. IV. DETERMINISTIC STATE COMPLEXITY We now use Corollry 4 to show tht 2 n + 1 is n upperound on the stte omplexity of the lnguge inf O(K, Σ, P ) nd tht the ound is symptotilly tight. Corollry 4 suggests n lgorithm (Algorithm 1) to ompute the lnguge inf O(K, Σ, P ). We now disuss stte omplexities of its steps. Consequently we otin its time omplexity. Lemm 5 (Yu et l. [14]): Let A e DFA over Σ with n sttes, nd let Σ. Then the miniml DFA for L m (A)/ hs t most n sttes. The ound is tight. Algorithm 1 Computtion of inf O(K, Σ, P ) Input: DFA for K over Σ nd msk P Output: DFA for the lnguge inf O(K, Σ, P ) 1: if K = then return the DFA for K 2: else 3: Compute DFA for K 4: Compute DFA for (K/) 5: Compute n NFA for g(h 1 h( (K/) ) Σ Σ ) 6: Determinize the NFA 7: Compute the union with {ε} 8: Compute the supreml prefix-losed sulnguge , Fig. 1. Automt A (left) nd B (right) for (L m(a)/) The onstrution is s follows. Let A = (Q, Σ, δ A, q 0, F A ) e DFA. Construt the DFA A = (Q, Σ, δ A, q 0, F A ), where F A = {q Q δ A (q, ) F A }. Then L m (A ) = L m (A)/. We now study the size of the miniml DFA for the lnguge omputed in Step 4 of the lgorithm. Lemm 6: Let A e DFA over Σ with n sttes. Then the miniml DFA for (L m (A)/) hs t most n+1 sttes. The ound is tight even for prefix-losed lnguges. Proof: Let A = (Q, Σ, δ A, q 0, F A ) e DFA with n sttes Q = {0, 1,..., n 1}. For every Σ, we onstrut the set F = {q Q δ A (q, ) F A } of ll sttes of A from whih n -trnsition rehes mrked stte. We onstrut the DFA B = (Q {n}, Σ, δ B, 0, {n}) from A y dding new stte, n, whih is the only mrked stte, nd y defining the trnsitions δ B (q, ) = δ A (q, ), for 0 q n 1 nd Σ, nd δ B (f, ) = n, for every f F. The onstrution is illustrted in Fig. 1. The orresponding sets re F = {0, 1}, F = {0} nd F =. We lim tht B mrks the lnguge (L m (A)/). If string is mrked y B, it is of the form w, for some Σ, whih mens tht δ B (0, w) F. By the onstrution of F, w L m (A)/, hene w (L m (A)/). On the other hnd, if w (L m (A)/), then w L m (A)/, hene δ B (0, w) = f, for some f F, whih implies tht δ B (0, w ) = δ B (f, ) = n, hene it is mrked y B. To show tht the ound is tight, we onsider the DFA A depited in Fig. 2 (solid rrows) with sttes {0,..., n 1}, where stte 0 is initil nd ll sttes re mrked. The DFA is miniml; two sttes re distinguishle y string in. The DFA B for (L m (A)/) (L m (A)/) is depited in Fig. 2 (ll rrows), where the sttes re {0,..., n} with n eing the only mrked stte. There is n -trnsition from stte i to stte n for every 0 i n 1, nd -trnsition from stte j to stte n for every 0 j n 2. The DFA B is miniml; sttes {0,..., n 1} re distinguishle y the sme rgument s for A nd n is not equivlent with ny other stte sine it is the only mrked stte. We now use the previous results to otin our upper-ound on the stte omplexity of the lnguge inf O(K, Σ, P ). Theorem 7 (Upper ound): Let K over Σ e nonempty lnguge mrked y DFA with n sttes. Then the miniml,,, 0 1 n 2 n 1 n Fig. 2. Automt A (solid rrows) nd B (ll rrows)

4 4 DFA for inf O(K, Σ, P ) hs no more thn 2 n + 1 sttes. Proof: Let P : Σ {ε}. By Corollry 4, we hve tht inf O(K, Σ, P ) = sup [g(h 1 h( (K/) ) Σ Σ ) {ε}]. From Lemm 6, we hve tht the miniml DFA mrking the lnguge (K/) hs t most n+1 sttes, only one of whih is mrked. We denote this stte y f. Notie tht, y the onstrution, there is no trnsition from stte f. We represent the lnguge g(h 1 h( (K/) ) Σ Σ ) s n NFA s follows. The lnguge h( (K/) ) is omputed y repling every x-trnsition, x Σ, with the h(x)-trnsition. The lnguge h 1 h( (K/) ) is then omputed y repling every y-trnsition, y, y n x- trnsition for every x Σ suh tht h(x) = y. In ddition, for every x Σ suh tht h(x) = ε, we dd selfloop under x to every stte of the NFA. To ompute n NFA for h 1 h( (K/) ) Σ Σ then mens to remove ll trnsitions from stte f. This n e done during the omputtion of n NFA for h 1 h( (K/) ) so tht no self-loop is dded to stte f. The omputtion of n NFA for the msk g is similr to tht of h. The resulting NFA hs t most n + 1 sttes. Thus, DFA equivlent to the NFA, onstruted y the stndrd suset onstrution, hs t most 2 n+1 rehle sttes. However, sine every mrked stte of the suset utomton must ontin f, nd there re t most 2 n susets ontining f, there re t most 2 n mrked sttes in the omputed DFA. To ompute the union with {ε}, the DFA my require one more (initil nd mrked) stte. Thus, the resulting DFA hs t most 2 n sttes, where t most 2 n + 1 sttes re mrked. Sine inf O(K, Σ, P ) is prefix-losed, its miniml DFA must hve ll sttes mrked. There re t most 2 n + 1 mrked sttes in the ove onstruted utomton, therefore the miniml DFA for inf O(K, Σ, P ) n hve t most so mny sttes. Consequently, the time omplexity of Algorithm 1 is O(2 n ). Indeed, let n e the stte omplexity of K. Step 3 requires time O(n). To ompute Step 4, we dd new stte, f, nd sn the utomton in liner time using, e.g., the redthfirst serh (BFS) lgorithm [17]. For every stte q nd its out-going trnsition under x, if δ(q, x) is mrked, we dd n x -trnsition from q to f. This n e done in time O(1 + n + 2n Σ ) = O(n Σ ), sine there re n sttes, one dded new stte, nd t most n Σ trnsitions tht my e duplited to f. Step 5 n e omputed in time O(n Σ ) s follows. The pplition of h n e done in time O(n Σ ) y the BFS lgorithm. The pplition of h 1 n e done in time O(n Σ + n Σ \ ) = O(n Σ ), where the seond prt orresponds to dding self-loops under unoservle events. As explined ove, the intersetion with Σ Σ is done so tht no trnsitions re dded to f during the omputtion of h 1. Step 6 n e omputed in time O(2 n Σ ), sine, y the proof of Theorem 7, the DFA hs t most 2 n sttes nd Σ trnsitions in every stte. Step 7 n e omputed in time O( Σ ) s follows: let q 0 e the initil stte of the DFA, nd let q i e new mrked stte. We hnge the DFA so tht q i is the only initil stte, i.e., q 0 is not initil nymore, nd for every x Σ, we define δ(q i, x) = δ(q 0, x). Finlly, Step 8 n e omputed in liner n 2 n 1 Fig. 3. The miniml DFA A n for K n time wrt the size of the input DFA y removing ll nonmrked sttes nd the orresponding trnsitions. The overll time omplexity is O( Σ 2 n ). Considering the size of the lphet s onstnt results in the limed omplexity O(2 n ). We now disuss the lower-ound stte omplexity nd show tht it is Ω(2 n ). It holds even for projetions. Theorem 8 (Lower ound): Let P : {, } {} e projetion. For every n 2, there exists miniml DFA with n sttes mrking lnguge K n {, }, suh tht the stte omplexity of inf O(K n, Σ, P ) is t lest 3 4 2n 1. Proof: Let K n e the lnguge mrked y the DFA A n depited in Fig. 3. It hs n sttes {0, 1,..., n 1}, where stte 0 is the sole initil nd mrked stte. For 0 i n 1, δ(i, ) = (i + 1 mod n). For 1 i n 3, δ(i, ) = i + 1, δ(n 2, ) = 0, nd, for i {0, n 1}, δ(i, ) = i. Finlly, there is single -trnsition δ(n 1, ) = 0. An NFA B n for the lnguge g(h 1 h( (K n /) ) Σ Σ ) is uild from A n ording to the ove onstrutions in the following steps nd the result is depited in Fig. 4: 1) We ompute K n y mrking ll sttes of A n. 2) To ompute (K n /), we dd new stte, n. From every stte of A n, trnsitions under nd go to stte n, nd trnsition under goes from stte n 1 to stte n. The only mrked stte is stte n. 3) The lnguge h( (K/) ) is omputed y repling the -trnsition y n ε-trnsition. 4) To ompute h 1 h( (K/) ) Σ Σ, self-loop under is dded to every stte of A n. Note tht it is not dded to stte n, sine it would e eliminted y the intersetion with Σ Σ. Thus, this n e done in liner time without omputing the intersetion. 5) Finlly, to pply g mens to renme ll trnsitions under, nd, whih ll go to stte n. We show tht the miniml DFA equivlent to the NFA B n hs t lest 3 4 2n 1 rehle mrked sttes. Using the stndrd suset onstrution, we first show tht ll sttes of the, 0 n, 1 2 n 2 n 1 ε, Fig. 4. An NFA B n mrking lnguge g(h 1 h ( (Kn/) ) Σ Σ )

5 5 suset utomton orresponding to the NFA B n re pirwise distinguishle. Indeed, B n mrks ε only from stte n nd i only from stte n 1 i, for 0 i n 1. Therefore, the sttes of the suset utomton re pirwise distinguishle. To prove the theorem, we show tht the suset utomton hs 2 n n 2 1 mrked sttes tht re ll rehle vi other mrked sttes. Stte {0} is initil, ut not mrked; we resolve this issue lter. We now prove, y indution on the size of the suset, tht every suset of {0, 1,..., n 1, n} ontining 0 nd n is rehle in the suset utomton from stte {0} y nonempty string over {}. Sine there is n -trnsition nd -trnsition from every stte 0 through n 1 to n, ll susets rehle y suh string must ontin stte n, i.e., they re mrked in the suset utomton. Stte {0, n} is rehle from stte {0} y. Stte {n 2, n} is rehle from {0} y n 2. Stte {0, n 2, n} is rehle from stte {n 2, n} y 2 n 3. Stte {0, n 2, n} goes to stte {0, 1, n 1, n} y, nd then y string in to sttes {0, i, n 1, n} with 1 i n 2. Stte {0, n 2, n 1, n} goes to stte {0, n 1, n} y, nd then to stte {0, 1, n} y. By string in, stte {0, 1, n} goes to sttes {0, i, n} with 1 i n 2. Thus, eh suset of size two or three ontining 0 nd n is rehle. Now, let X = {0, i 1, i 2,..., i t, n} e set of size t + 2, where 2 t n 1 nd 1 i 1 < i 2 < < i t n 1. We onsider two ses: 1) If i t = n 1, then X is rehle from stte {0, i 2 i 1,..., i t 1 i 1, n 2, n} y i1 1, nd the ltter set of size t + 1 is rehle y the indution hypothesis. 2) If i t < n 1, then X is rehle from stte {0, i 2 i 1,..., i t i 1, n 1, n} y i1 1, nd the ltter set of size t + 2 ontins stte n 1, nd is rehle y 1). This proves rehility of ll susets of {0, 1,..., n} ontining 0 nd n. There re 2 n 1 suh susets. Next, if X = {i 1, i 2,..., i t } is non-empty suset of the set {1, 2,..., n 2}, then the set X {n} is rehle from the set {0, i 2 i 1, i 3 i 1,..., i t i 1, n} ontining 0 nd n y i1. Thus, for every X {1, 2,..., n 2}, stte X {n} is rehle in the suset utomton. These sets do not ontin 0, hene they re different from the rehle sttes onsidered ove. There re 2 n 2 1 suh susets. Finlly, we ompute the union with the lnguge {ε}. To do this, we rete new initil nd epting stte, I, (stte {0} is not initil nymore) with trnsitions defined extly s for stte {0}, tht is, δ(i, x) = δ({0}, x), for every x {, }. This hs resolved the prolem with the non-mrked initil stte, sine stte I is mrked nd hs the sme trnsitions s stte {0}, tht is, ll sttes rehle from stte {0} re lso rehle from stte I. Thus, we hve shown tht the miniml DFA onstruted y the suset onstrution hs t lest 2 n n 2 mrked sttes tht re ll rehle from the initil mrked stte I vi mrked sttes. However, stte I is equivlent to stte {0, n}. Indeed, oth sttes I nd {0, n} go to stte {1, n} under, to stte {0, n} under, nd to stte {0} under. It remins to show tht if the non-mrked sttes re eliminted, the onstruted mrked sttes different from I re still pirwise distinguishle. Let X nd Y e two sets different Fig. 5. A prefix-losed NFA A with L m(a) = {} from I onstruted ove. They oth ontin n nd, without loss of generlity, we my ssume tht there exists i suh tht n 1 i X \ Y. Then the set rehle from X under i ontins n 1, ut the set rehle from Y under i does not. It mens tht i is mrked from X, ut not from Y, whih distinguishes the sttes X nd Y. Therefore, the miniml DFA of the supreml prefix-losed sulnguge hs t lest 2 n n 2 1 sttes, whih ompletes the proof. Comining the upper nd lower ounds of Theorems 7 nd 8 gives the following orollry. Corollry 9: Let K over Σ e lnguge with stte omplexity n, nd let P e msk. Then the worst-se stte omplexity of the lnguge inf O(K, Σ, P ) is Θ(2 n ). We lso hve the following onsequene on the time omplexity of Algorithm 1. Corollry 10: The time omplexity of Algorithm 1 is Θ(2 n ), where n is the stte omplexity of the input lnguge. V. NONDETERMINISTIC STATE COMPLEXITY Algorithm 1 represents the lnguge s n NFA nd it is determinized efore omputing the opertion sup ( ). The lgorithm omputing sup ( ) on DFA uts off ll non-mrked sttes nd the orresponding trnsitions, whih requires liner time wrt the size of the input DFA. However, s shown ove, this DFA my e exponentilly lrger thn the DFA for K. Another possiility is to exeute sup ( ) diretly on n NFA. We now disuss this possiility nd show tht, in generl, there is no polynomil-time lgorithm tht, given n NFA A, would ompute n NFA mrking the lnguge sup (L m (A)). We first provide rief insight into the differene etween the omputtion of sup ( ) for DFAs nd NFAs. Indeed, if ll sttes of n NFA re mrked, then its lnguge is prefix-losed. However, ompred to DFAs, the prolem with NFAs is tht hving non-mrked stte does not yet men tht the lnguge is not prefix-losed, f. Fig. 5 for n exmple. It n e shown tht, given n NFA, it is PSPACE-omplete to deide whether its mrked lnguge is prefix-losed [18]. Theorem 11: The prolem whether the mrked lnguge of n NFA is prefix-losed is PSPACE-omplete. We now show tht there is no polynomil-time lgorithm omputing n NFA representtion of sup (L m (A)) in generl. Theorem 12: Let A e n NFA. There is no polynomil-time lgorithm omputing n NFA for the lnguge sup (L m (A)). The lim holds even for unry lnguges. Proof: We prove the theorem y onstruting, for ny n 1, n NFA A n with polynomilly mny sttes in n suh tht ny NFA for sup (L m (A n )) hs t lest exponentilly mny sttes in n. Clerly, suh n NFA nnot e omputed in polynomil time wrt the size of A n. To onstrut the NFAs A n, we first onstrut uxiliry DFAs B n, for every n 0. The DFA B 0 = (X 0, {},

6 Fig. 6. The NFA A 2 ; nondeterministi union of DFAs B 0, B 1, nd B 2 γ 0, X i,0, X m,0 ), where X 0 = X i,0 = X m,0 = {0 0 } nd γ 0 (0 0, ) is undefined. For n 1, let p n denote the nth prime numer. We define the DFA B n = (X n, {}, γ n, X i,n, X m,n ), where the stte set is X n = {0 n, 1 n,..., (p n 1) n }, the set of initil sttes is X i,n = {0 n }, the set of mrked sttes is X m,n = X n \ {0 n }, nd the trnsition funtion is γ n (i n, ) = (i + 1 mod p n ) n, for ll i n X n. Then L m (B 0 ) = {ε} nd L m (B n ) = \ ( pn ), f. Fig. 6 for utomt B 0, B 1, nd B 2. We ssume tht the stte sets X i nd X j re disjoint for ny i j. For n 1, we uild the NFA A n = (Q n, {}, δ n, Q i,n, F n ) s nondeterministi union of the DFAs B 0, B 1,..., B n. The NFA A 2 is depited in Fig. 6. Formlly, Q n = n k=0 X k, δ n (i k, ) = γ k (i k, ), Q i,n = n k=0 X i,k, nd F n = n k=0 X m,k. The numer of sttes of A n whih hs een estimted y Bh nd Shllit [19] to e n 2 ln n = O(n 2 ln n). The mrked lnguge of A n is L m (A n ) = \ ( pn# ) +, where p n # = Π n i=1 p i. Indeed, for m 1, string m is mrked y A n if nd only if there is p i {p 1,..., p n } suh tht m mod p i 0. Thus, the shortest string tht is not mrked y A n is of length p n #. Therefore, the supreml prefix-losed sulnguge of L m (A n ) is the finite lnguge { pn# 1 }. We now show, using the fooling set tehnique [20], tht ny NFA mrking this lnguge requires t lest p n # sttes. Ft 13 (Fooling set tehnique): Let L Σ e lnguge, nd let S = {(x i, y i ) 1 i k} e set of pirs suh tht (i) x i y i L for 1 i k, nd (ii) if i j, then x i y j / L or x j y i / L, for 1 i, j k. Then ny NFA mrking the lnguge L hs t lest k sttes. Set S is lled fooling set for L. Let S = {( i, pn# i 1 ) 0 i p n # 1}. Then i+pn# i 1 = pn# 1 elongs to the lnguge { pn# 1 }. Thus, S stisfies item (i) of the fooling set tehnique. To show tht it lso stisfies item (ii), let ( i, pn# i 1 ) nd ( j, pn# j 1 ) e two elements of S. Without loss of generlity, we ssume tht i < j. Then j + p n # i 1 > p n # 1, whih implies tht j pn# i 1 does not elong to { pn# 1 }, i.e., it proves tht S stisfies item (ii). Thus, S is fooling set for the lnguge { pn# 1 } of size p n #. Therefore, ny NFA mrking the lnguge { pn# 1 } hs t lest p n # sttes. Sine p n # = e (1+o(1))n log n [21] is exponentil wrt n, hene not polynomil wrt the size of A n, there is no lgorithm tht would ompute n NFA for the lnguge { pn# 1 } in polynomil time. VI. CONCLUSION is 1 + n i=1 p i, A onsequene of the exponentil stte omplexity is tht ny lgorithm omputing DFA for inf O(K, Σ, P ) requires, in the worst se, exponentil time (nd exponentil spe to store it). Algorithm 1 further shows tht the exponentil time is suffiient. The lgorithm is thus optiml in the sense tht there is no symptotilly more effiient lgorithm. Conerning the NFA representtion, we showed tht even for unry lnguges, the lgorithm would need more thn polynomil time to ompute the result nd more thn polynomil spe to store it. This is in ontrst to heking whether the lnguge of n NFA is prefix losed, whih n e done in polynomil spe nd it is not known whether it n e done in polynomil time. ACKNOWLEDGMENT The uthor grtefully knowledges very useful suggestions nd omments of the nonymous referees. The upper ound on the stte omplexity of the opertion K K is due to n nonymous referee. REFERENCES [1] R. Cieslk, C. Deslux, A. S. Fwz, nd P. Vriy, Supervisory ontrol of disrete-event proesses with prtil oservtions, IEEE Trns. Automt. Control, vol. 33, pp , [2] F. Lin nd W. M. Wonhm, On oservility of disrete-event systems, Inform. Si., vol. 44, no. 3, pp , [3] P. J. Rmdge nd W. M. Wonhm, The ontrol of disrete event systems, Pro. of the IEEE, vol. 77, pp , [4] K. Rudie nd W. M. Wonhm, Think glolly, t lolly: Deentrlized supervisory ontrol, IEEE Trns. Automt. Control, vol. 37, no. 11, pp , [5] R. Kumr nd M. A. Shymn, Formule relting ontrollility, oservility, nd o-oservility, Automti, vol. 34, no. 2, pp , [6] C. G. Cssndrs nd S. Lfortune, Introdution to disrete event systems, 2nd ed. Springer, [7] J. Komend nd T. Msopust, Computtion of ontrollle nd ooservle sulnguges in deentrlized supervisory ontrol vi ommunition, 2016, sumitted, [8] J. Komend, T. Msopust, nd J. H. vn Shuppen, On distriuted omputtion of supervisors in modulr supervisory ontrol, in Int. Conferene on Complex Systems Engineering (ICCSE), 2015, pp [9] S. Lfortune nd E. Chen, The infiml losed ontrollle superlnguge nd its pplition in supervisory ontrol, IEEE Trns. Automt. Control, vol. 35, no. 4, pp , [10] K. Rudie nd W. M. Wonhm, The infiml prefix-losed nd oservle superlngunge of given lnguge, Systems Control Lett., vol. 15, no. 5, pp , [11] J. E. Hoproft nd J. D. Ullmn, Introdution to Automt Theory, Lnguges nd Computtion. Addison-Wesley, [12] M. Sipser, Introdution to the theory of omputtion, 2nd ed. Thompson Course Tehnology, [13] S. Ginsurg, Algeri nd Automt-theoreti Properties of Forml Lnguges. Amsterdm: North-Hollnd, [14] S. Yu, Q. Zhung, nd K. Slom, The stte omplexities of some si opertions on regulr lnguges, Theoret. Comput. Si., vol. 125, no. 2, pp , [15] G. Jirásková nd T. Msopust, On struturl property in the stte omplexity of projeted regulr lnguges, Theoret. Comput. Si., vol. 449, pp , [16] K. Wong, On the omplexity of projetions of disrete-event systems, in Pro. of WODES, Cgliri, Itly, 1998, pp [17] T. Cormen, C. Leiserson, R. Rivest, nd C. Stein, Introdution to Algorithms, 3rd ed. MIT Press, [18] T. Msopust, Complexity of verifying nonlokingness in modulr supervisory ontrol, 2016, sumitted. Preprint ville online t [19] E. Bh nd J. Shllit, Algorithmi Numer Theory, Volume I: Effiient Algorithms. MIT Press, [20] J.-C. Birget, Intersetion nd union of regulr lnguges nd stte omplexity, Inform. Proess. Lett., vol. 43, pp , [21] N. J. A. Slone, The on-line enylopedi of integer sequenes, Sequene A Aessed on Otoer 18, 2016.

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

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

More information

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

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

More information

Nondeterministic Automata vs Deterministic Automata

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

More information

CS 573 Automata Theory and Formal Languages

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

More information

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

NON-DETERMINISTIC FSA

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

More information

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6

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

More information

Hybrid Systems Modeling, Analysis and Control

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

More information

Regular languages refresher

Regular languages refresher Regulr lnguges refresher 1 Regulr lnguges refresher Forml lnguges Alphet = finite set of letters Word = sequene of letter Lnguge = set of words Regulr lnguges defined equivlently y Regulr expressions Finite-stte

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

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

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

More information

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

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

More information

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

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

Descriptional Complexity of Non-Unary Self-Verifying Symmetric Difference Automata

Descriptional Complexity of Non-Unary Self-Verifying Symmetric Difference Automata Desriptionl Complexity of Non-Unry Self-Verifying Symmetri Differene Automt Lurette Mris 1,2 nd Lynette vn Zijl 1 1 Deprtment of Computer Siene, Stellenosh University, South Afri 2 Merk Institute, CSIR,

More information

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

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

More information

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

= state, a = reading and q j

= state, a = reading and q j 4 Finite Automt CHAPTER 2 Finite Automt (FA) (i) Derterministi Finite Automt (DFA) A DFA, M Q, q,, F, Where, Q = set of sttes (finite) q Q = the strt/initil stte = input lphet (finite) (use only those

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

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

Nondeterministic Finite Automata

Nondeterministic Finite Automata Nondeterministi Finite utomt The Power of Guessing Tuesdy, Otoer 4, 2 Reding: Sipser.2 (first prt); Stoughton 3.3 3.5 S235 Lnguges nd utomt eprtment of omputer Siene Wellesley ollege Finite utomton (F)

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

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

Abstraction of Nondeterministic Automata Rong Su

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

More information

Finite State Automata and Determinisation

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

More information

Bisimulation, Games & Hennessy Milner logic

Bisimulation, Games & Hennessy Milner logic Bisimultion, Gmes & Hennessy Milner logi Leture 1 of Modelli Mtemtii dei Proessi Conorrenti Pweł Soboiński Univeristy of Southmpton, UK Bisimultion, Gmes & Hennessy Milner logi p.1/32 Clssil lnguge theory

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

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

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

2.4 Theoretical Foundations

2.4 Theoretical Foundations 2 Progrmming Lnguge Syntx 2.4 Theoretil Fountions As note in the min text, snners n prsers re se on the finite utomt n pushown utomt tht form the ottom two levels of the Chomsky lnguge hierrhy. At eh level

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

Lecture Notes No. 10

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

More information

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

#A42 INTEGERS 11 (2011) ON THE CONDITIONED BINOMIAL COEFFICIENTS

#A42 INTEGERS 11 (2011) ON THE CONDITIONED BINOMIAL COEFFICIENTS #A42 INTEGERS 11 (2011 ON THE CONDITIONED BINOMIAL COEFFICIENTS Liqun To Shool of Mthemtil Sienes, Luoyng Norml University, Luoyng, Chin lqto@lynuedun Reeived: 12/24/10, Revised: 5/11/11, Aepted: 5/16/11,

More information

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

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

More information

Project 6: Minigoals Towards Simplifying and Rewriting Expressions

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

More information

Compression of Palindromes and Regularity.

Compression of Palindromes and Regularity. Compression of Plinromes n Regulrity. Kyoko Shikishim-Tsuji Center for Lierl Arts Eution n Reserh Tenri University 1 Introution In [1], property of likstrem t t view of tse is isusse n it is shown tht

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

Introduction to Olympiad Inequalities Introdution to Olympid Inequlities Edutionl Studies Progrm HSSP Msshusetts Institute of Tehnology Snj Simonovikj Spring 207 Contents Wrm up nd Am-Gm inequlity 2. Elementry inequlities......................

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

Prefix-Free Regular-Expression Matching

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

More information

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

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

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

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

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

On Decentralized Observability of Discrete Event Systems

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

More information

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

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

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

Chapter 4 State-Space Planning

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

More information

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

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

More information

CS 491G Combinatorial Optimization Lecture Notes

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

More information

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

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

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

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

NFAs continued, Closure Properties of Regular Languages

NFAs continued, Closure Properties of Regular Languages lgorithms & Models of omputtion S/EE 374, Spring 209 NFs continued, losure Properties of Regulr Lnguges Lecture 5 Tuesdy, Jnury 29, 209 Regulr Lnguges, DFs, NFs Lnguges ccepted y DFs, NFs, nd regulr expressions

More information

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points:

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points: Eidgenössishe Tehnishe Hohshule Zürih Eole polytehnique fédérle de Zurih Politenio federle di Zurigo Federl Institute of Tehnology t Zurih Deprtement of Computer Siene. Novemer 0 Mrkus Püshel, Dvid Steurer

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

Centrum voor Wiskunde en Informatica REPORTRAPPORT. Supervisory control for nondeterministic systems

Centrum voor Wiskunde en Informatica REPORTRAPPORT. Supervisory control for nondeterministic systems Centrum voor Wiskunde en Informtic REPORTRAPPORT Supervisory control for nondeterministic systems A. Overkmp Deprtment of Opertions Reserch, Sttistics, nd System Theory BS-R9411 1994 Supervisory Control

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

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

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

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

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

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

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

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

First Midterm Examination

First Midterm Examination 24-25 Fll Semester First Midterm Exmintion ) Give the stte digrm of DFA tht recognizes the lnguge A over lphet Σ = {, } where A = {w w contins or } 2) The following DFA recognizes the lnguge B over lphet

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

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

NFAs continued, Closure Properties of Regular Languages

NFAs continued, Closure Properties of Regular Languages Algorithms & Models of Computtion CS/ECE 374, Fll 2017 NFAs continued, Closure Properties of Regulr Lnguges Lecture 5 Tuesdy, Septemer 12, 2017 Sriel Hr-Peled (UIUC) CS374 1 Fll 2017 1 / 31 Regulr Lnguges,

More information

Automatic Synthesis of New Behaviors from a Library of Available Behaviors

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

More information

Supervisory Control under Partial Observation

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

More information

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

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

More information

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

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

More information

A Disambiguation Algorithm for Finite Automata and Functional Transducers

A Disambiguation Algorithm for Finite Automata and Functional Transducers A Dismigution Algorithm for Finite Automt n Funtionl Trnsuers Mehryr Mohri Cournt Institute of Mthemtil Sienes n Google Reserh 51 Merer Street, New York, NY 1001, USA Astrt. We present new ismigution lgorithm

More information

Hyers-Ulam stability of Pielou logistic difference equation

Hyers-Ulam stability of Pielou logistic difference equation vilble online t wwwisr-publitionsom/jns J Nonliner Si ppl, 0 (207, 35 322 Reserh rtile Journl Homepge: wwwtjnsom - wwwisr-publitionsom/jns Hyers-Ulm stbility of Pielou logisti differene eqution Soon-Mo

More information

Alpha Algorithm: Limitations

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

More information

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

Linear choosability of graphs

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

More information

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

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

CS103 Handout 32 Fall 2016 November 11, 2016 Problem Set 7

CS103 Handout 32 Fall 2016 November 11, 2016 Problem Set 7 CS103 Hndout 32 Fll 2016 Novemer 11, 2016 Prolem Set 7 Wht cn you do with regulr expressions? Wht re the limits of regulr lnguges? On this prolem set, you'll find out! As lwys, plese feel free to drop

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

Section 1.3 Triangles

Section 1.3 Triangles Se 1.3 Tringles 21 Setion 1.3 Tringles LELING TRINGLE The line segments tht form tringle re lled the sides of the tringle. Eh pir of sides forms n ngle, lled n interior ngle, nd eh tringle hs three interior

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

Lecture 6: Coding theory

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

More information

FABER Formal Languages, Automata and Models of Computation

FABER Formal Languages, Automata and Models of Computation DVA337 FABER Forml Lnguges, Automt nd Models of Computtion Lecture 5 chool of Innovtion, Design nd Engineering Mälrdlen University 2015 1 Recp of lecture 4 y definition suset construction DFA NFA stte

More information

Part 4. Integration (with Proofs)

Part 4. Integration (with Proofs) Prt 4. Integrtion (with Proofs) 4.1 Definition Definition A prtition P of [, b] is finite set of points {x 0, x 1,..., x n } with = x 0 < x 1

More information

( ) { } [ ] { } [ ) { } ( ] { }

( ) { } [ ] { } [ ) { } ( ] { } Mth 65 Prelulus Review Properties of Inequlities 1. > nd > >. > + > +. > nd > 0 > 4. > nd < 0 < Asolute Vlue, if 0, if < 0 Properties of Asolute Vlue > 0 1. < < > or

More information

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

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

More information

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

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

More information

Homework 4. 0 ε 0. (00) ε 0 ε 0 (00) (11) CS 341: Foundations of Computer Science II Prof. Marvin Nakayama

Homework 4. 0 ε 0. (00) ε 0 ε 0 (00) (11) CS 341: Foundations of Computer Science II Prof. Marvin Nakayama CS 341: Foundtions of Computer Science II Prof. Mrvin Nkym Homework 4 1. UsetheproceduredescriedinLemm1.55toconverttheregulrexpression(((00) (11)) 01) into n NFA. Answer: 0 0 1 1 00 0 0 11 1 1 01 0 1 (00)

More information

Graph States EPIT Mehdi Mhalla (Calgary, Canada) Simon Perdrix (Grenoble, France)

Graph States EPIT Mehdi Mhalla (Calgary, Canada) Simon Perdrix (Grenoble, France) Grph Sttes EPIT 2005 Mehdi Mhll (Clgry, Cnd) Simon Perdrix (Grenole, Frne) simon.perdrix@img.fr Grph Stte: Introdution A grph-sed representtion of the entnglement of some (lrge) quntum stte. Verties: quits

More information

Discrete Structures Lecture 11

Discrete Structures Lecture 11 Introdution Good morning. In this setion we study funtions. A funtion is mpping from one set to nother set or, perhps, from one set to itself. We study the properties of funtions. A mpping my not e funtion.

More information

Discrete Structures, Test 2 Monday, March 28, 2016 SOLUTIONS, VERSION α

Discrete Structures, Test 2 Monday, March 28, 2016 SOLUTIONS, VERSION α Disrete Strutures, Test 2 Mondy, Mrh 28, 2016 SOLUTIONS, VERSION α α 1. (18 pts) Short nswer. Put your nswer in the ox. No prtil redit. () Consider the reltion R on {,,, d with mtrix digrph of R.. Drw

More information

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 )

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 ) Neessry n suient onitions for some two vrile orthogonl esigns in orer 44 C. Koukouvinos, M. Mitrouli y, n Jennifer Seerry z Deite to Professor Anne Penfol Street Astrt We give new lgorithm whih llows us

More information

The size of subsequence automaton

The size of subsequence automaton Theoreticl Computer Science 4 (005) 79 84 www.elsevier.com/locte/tcs Note The size of susequence utomton Zdeněk Troníček,, Ayumi Shinohr,c Deprtment of Computer Science nd Engineering, FEE CTU in Prgue,

More information