The complexity of automatic complexity
|
|
- Cornelia Patrick
- 5 years ago
- Views:
Transcription
1 The complexity of automatic complexity Bjørn Kjos-Hanssen Department of Mathematics University of Hawai i at Mānoa bjoernkh@hawaii.edu August 0, 205 Abstract We define the automatic complexity A(E) of an equivalence relation E on a finite set S of strings. The minimum complexity is the number of equivalence classes E. We prove that the problem to determine whether A(E) = E is NP-complete, and the problem to determine whether A(E) = E + k for a fixed k is complete for the second level of the Boolean hierarchy for NP, i.e., BH 2 -complete. The definition of A(E) generalizes the notion of automatic complexity of individual strings due to Shallit and Wang. Let L be the language consisting of all strings of maximal nondeterministic automatic complexity. We characterize the complexity of infinite subsets of L by showing that they can be co-context-free but not context-free, i.e., L is CFL-immune, but not cocfl-immune. While we do not know whether L cocfl itself, we show that the following variant L cocfl. Namely, L is the set of all strings of relatively high deterministic automatic complexity, where x has relatively high complexity if A(x) 4 x. Introduction Automatic complexity of strings was introduced by Shallit and Wang [4] as a way to retain some of the power of Kolmogorov complexity while obtaining a computable notion. They raised the question whether automatic complexity is in fact polynomial-time computable. We give partial negative results for that question in two ways. This work was partially supported by a grant from the Simons Foundation (#3588 to Bjørn Kjos-Hanssen).
2 For nondeterministic automatic complexity, introduced by Hyde and Kjos-Hanssen [8,, 2, 3], there is a natural notion of maximally complex strings. We show that the language L consisting of all such strings is not context-free, by virtue of being CFL-immune. This result appears to be at the right level of the complexity hierarchy insofar as we also show that L is not cocfl-immune. While we do not know whether L cocfl, a related language consisting of somewhat complex strings is shown to be non-cocfl. We generalize automatic complexity to a more general notion of automatic complexity of equivalence relations on strings, and show that is not polynomial-time computable. In particular, we show that the set of minimally complex equivalence relations is NP-complete and the set of equivalence relations whose complexity is exactly a constant k above the minimum is BH 2 -complete. In the past, Gold [7] and Angluin [] established NP-completeness for related problems. Heggernes et al. [6] considered parametrized complexity variations such as fixing the number of states at two ( Q = 2) and increasing the alphabet size. As an illustration of the power and computability of automatic complexity, we have created the following web service. To find the complexity of, say, the string 0000, and an illustration of any automaton used in the associated proof, go to Alternatively, play the Complexity Guessing Game at: 2 The set of maximally complex strings is CFL-immune but not cocfl-immune Definition. Let A N denote nondeterministic automatic complexity [9]. For a string x, A N (x) is the minimum number of states of a nondeterministic finite automaton that accepts x, and does not accept any other string of length x, and accepts x via only one computation path. Similarly A denotes deterministic automatic complexity [4]. For a string x, A(x) is the minimum number of states of a deterministic finite automaton that accepts x, and does not accept any other string of length x. 2
3 x m+ q x x 2 x 3 x 4 x m x m start q 2 q 3 q 4... q m q m+ x n x n x n 2 x n 3 x m+3 x m+2 Figure : A nondeterministic finite automaton that only accepts one word x = x x 2 x 3 x 4... x n of length n = 2m +. We do not know whether the restriction of only one computation path in the definition of A N is superfluous. That question was studied in [0] which overlaps with the present paper in also containing Lemma 5. Theorem 2 (Hyde [8, 9]). For a string x of length n, n A N (x) +. 2 An idea of the proof of Theorem 2 is given in Figure. Definition 3. Let b(n) = n 2 + be the canonical upper bound for A N from Theorem 2. Let L k = {x {0,,..., k } : A N (x) = b(n)}. Any x L k is called an maximally complex string. Remark 4. L 3 is known to be infinite (see Theorem 8) but we do not know whether L 2 is infinite. Lemma 5. Suppose x 0, y 0 > 0. The equation ax + py = ax 0 + py 0 () has a unique solution in nonnegative integers (x, y) provided p is prime, p does not divide a, x 0 < p, and y 0 < a. Proof. Reducing mod p we have a(x x 0 ) p 0. Since p does not divide a, a p 0, and so since p is prime, x x 0 p 0. Thus x = x 0 + np for some n Z. If n < 0 then x x 0 p < 0, which contradicts the requirement that x 0. If n > 0 then using y 0, ax + py a(x 0 + p) + p(0) > ax 0 + py 0, contradicting (). Thus n = 0 and the only solution is x = x 0. 3
4 v a x p q u start 0 q v i q w y 2 q 3 q 4 Figure 2: Schematic of the automaton for Case 2 of the proof of Theorem 9. The number of states in the actual automaton is uv a v i wx p y + 2. Definition 6. For any collection of languages MYCLASS, a language L is MYCLASS-immune if it is infinite and contains no infinite subset in MYCLASS. We say that L comyclass if the complement of L belongs to MYCLASS. Let CFL be the class of all context-free languages. Definition 7. Let Σ be a finite alphabet. A function π : Σ Σ is a homomorphism if it respects concatenation: for all x, y, π(xy) = π(x)π(y). Theorem 8. L 3 is not cocfl-immune. Proof. Let t be an infinite square-free word over {0,, 2} generated by, and a fixed point of, a homomorphism. Such a t was constructed by Thue [6]. Let Pref(t) = {x : x is a prefix of t}. By Berstel [3], Pref(t) cocfl. Since every square-free string over {0,, 2} belongs to L 3 (see [9]), Pref(t) L 3. Theorem 9. L 3 is CFL-immune. Proof. Since L 3 is not cocfl-immune (Theorem 8), in particular L 3 is infinite. Suppose L 3 has an infinite subset K CFL. By the Pumping Lemma (Theorem ) there is a pumping length p such that any complex string X K of length at least p can be written as X = uvwxy, where vx and X N := uv N wx N y K L 3 for all N. We denote the length of X N by n N. Since L 3 is infinite, there exists at least one such string X. Case : v x. Then we can use an automaton with a loop at that the longer one z {v, x}. For large enough N, the length of z N will be more than two thirds of the length of X N, which will drive down the complexity of X N to roughly n N /3. 4
5 The remainder of the proof concerns Case 2. Case 2: b := v = x > 0. By Lemma 5, for any i, the equation ar + ps = i(a + p) has only the solution r = s = i provided p is prime, p does not divide a, both p and a are greater than i. In particular, this holds if p = 2k + is prime and with a := 2k > i. Then ar and ps are ai and pi and differ at most by i. We construct an automaton M as follows (Figure 2). We put one loop of length ab and later one of length pb, and add at most ib additional straggling states after the smaller loop of length ab. There are no loops apart from that. Now for the analysis. Each of these loops will be gone through i times. Let U = u + w + y. Let us compare the string length n N = U + 2pbi of the string X N = uv pi wx pi y corresponding to N := pi, to the number of states of M: q = U + pb + ab + ib = U + 2pb + (i )b. (Note that when i =, q = (n N +) 2 as expected as there are 2 repetitions of states.) We would like to have q < n N /2 (so that q < n N /2 + ), i.e., pb + ab + ib + U = (2p + i)b + U < 2 (2pbi + U) = pbi + U 2. Equivalently, i + U 2b b < (i 2)p. To achieve this we can fix i = 3, and use the infinitude of the primes to get p. Thus, M witnesses that X N is not complex, in contradiction to the Pumping Lemma (Theorem ). 3 Somewhat simple strings do not form a CFL Let RE denote the collection of recursively enumerable (or if you prefer, computably enumerable) languages. Recall that L 3 is the set of maximally complex strings for nondeterministic automatic complexity over the alphabet {0,, 2}. Let { R = x : C(x) x } 2 5
6 be the set of random strings for plain Kolmogorov complexity. We have seen (Theorem 8 and Theorem 9) that L 3 is CFL-immune but not cocfl-immune. This is a pleasant analogue of the classical fact that R is RE-immune [5, Section 3.] but not core-immune. Indeed, R core, but we conjecture that the analogous statement L 3 cocfl fails. Conjecture 0. L 3 cocfl. We shall confirm a variant of Conjecture 0 in Theorem 5. First some preliminary results. Theorem (Pumping Lemma for CFL [2]). If a language L is contextfree, then there exists some integer p (a pumping length) such that every string s in L with s p can be written as s = uvwxy where. vwx p, 2. vx, and 3. uv N wx N y is in L for all N 0. Theorem 2. Let A denote deterministic automatic complexity. A(y) A(xyz) for all strings x, y, z. Then Proof. Given an automaton witnessing A(xyz), we merely change the start and end states to obtain an automaton witnessing an upper bound on A(y). Theorem 3. Let A denote deterministic automatic complexity. If π : {0, } {0, } is an injective homomorphism with π(0) = π() then A(x) A(π(x)) for each string x. Proof. Let M be a witnessing automaton for A(π(x)). We can now make an automaton M with the same states as M that uniquely accepts x among strings of length x as follows. Throw out all the edges of M. Put an edge labeled i from q to q 2 in M if δ(q, π(i)) = q 2 in M. Theorem 4 (Shallit and Wang [4, Theorems 0 and 2]). Let A denote deterministic automatic complexity. There is a constant n 0 such that for n n 0, n A(0 n n ) 6 n +. Theorem 5. Let Then S CFL. S = {x {0, } : A(x) < 4 x }. 6
7 Proof. We assume S CFL and derive a contradiction using the Pumping Lemma (Theorem ). Let p be any sufficiently large pumping length. (The meaning of sufficiently large is determined below.) We shall build our unpumpable string as s = r k where r = 0 p p and k is sufficiently large relative to p. Consider any decomposition of s as s = uvwxy where vwx p. The main idea of the proof is that r is the shortest subword R of s such that the simplicity of s comes from repeating R, and the pumpable part vwx of s is shorter than r, hence pumping cannot help but increase the complexity. Thus by choosing k wisely we will have X S and X N := uv N wx N y S for some N, which will be a contradiction. The details are as follows. Case : vx is all 0s. (We omit the case when vx is all s as the proof is identical.) Then so is vwx. Then for N = pk, X N will contain a subword of the form either (0 p 0 p ) k/2 ( p 0 p ) k/2 or (0 p p ) k/2 (0 p 0 p ) k/2. Then using vx p, 3pk = n + pk = n + N n N = uv N wx N y n + Np n + p 2 k = 2pk + p 2 k. By Theorem 2, Theorem 3, and Theorem 4, A(X N ) A(0 k/2 k/2 ) k/2 n N /(4p + 2p 2 ) 4 n N provided i.e., (n N /(4p + 2p 2 )) 2 n N, n N (4p + 2p 2 ) 2, 3pk (4p + 2p 2 ) 2, k (4p + 2p2 ) 2 3p = 4p(2 + p)2. 3 In order to guarantee that A(X ) < 4 n, we require, using Theorem 4: A(X ) A(0 p p ) 6 p + < 4 2pk = 4 n. It suffices to require k 6 4 p 3 and p 2, since then 4 2pk 4 pk 6p > 6 p
8 Case 2: vx contains both 0s and s. Then uv N wx N y will contain a subword of the form 0 N N (using the fact that the blocks 0 p p in s are longer than the pumping length). The analysis is then similar to Case (but without using Theorem 3). Remark 6. There is nothing special about the function n 4 n ; the proof of Theorem 5 can be adapted to other bounds of the form A(x) f( x ), the main requirement being that f(x) = o( x). 4 Automatic complexity of equivalence relations Definition 7. Given a deterministic finite automaton (DFA) M = (Q, Σ, δ, q 0, F ), an equivalence relation D on Q induces an equivalence relation E on a subset S of {0, } if E = {(x, y) S 2 (δ(q 0, x), δ(q 0, y)) D}. A deterministic finite automaton M = (Q, Σ, δ, q 0, F ) coheres with E if there is an equivalence relation D on Q such that D induces E. In words, if D induces E then two strings x, y S are E-equivalent iff M ends in D-equivalent states on input x and on input y. Note that the set of final states F is irrelevant in Definition 7. Definition 8. The automatic complexity A(E) of an equivalence relation E is the least number of states of a DFA that coheres with E. Remark 9. Automatic complexity of a string x (Shallit and Wang [4]) is a special case of automatic complexity of equivalence relations. Namely, the two equivalence classes are {x} and {y : y = x, y x}. 4. Complexity of equivalence relations is BH 2 -complete Definition 20 (inspired by [5, Victor Kuncak s solution to Exercise 7.36]). Given a formula φ with m clauses, we define an equivalence relation E φ. We first define a family of axioms, which are of the form σ q 8
9 where σ is a string and q can be thought of as a state. If σ q and τ q then we let (σ, τ) E φ. ε q 0, q, 2 q 2,..., m q m, m+ q 0, 0 h, 00 v t, 0 v f, 000 l t, 00 l f, 00 l f, 0 l t, 0000 s, 000 r, 000 q 0, 00 r, s, 0000 s, 0000 q 0, 000 q 0, 0 r, 2 0 r,..., m 0 r. For a variable x j, let us define 0 x j = x j and x j = x j (the negation of x j ). For a literal l = b x j we define an encoding string t(l) = j 0b0. For each clause (l l 2 l 3 ) in φ, we add the axiom Finally t(l )t(l 2 )t(l 3 ) s. E φ = {(σ, τ) : σ u, τ u are both axioms, for the same state u}. Thus, we are making all states inequivalent. Theorem 2. {E : A(E) = E } is NP-complete. Proof. We reduce 3-SAT to {E : A(E) = E } using the mapping φ E φ from Definition 20. Consider the partial DFA M in Figure 3, except that the state e and its adjacent edges indicated there are removed. We see that φ is satisfiable iff there is a way to complete M to a DFA realizing E φ without adding any more states (in particular, without adding the state e). The possible ways to complete the DFA are shown in dotted lines. Theorem 22. {E : A(E) = E + } is conp-hard. Proof. We shall reduce 3-SAT to {E : A(E) E + } using the state e in Figure 3. Note that e malevolently maps both 0 and to l t, hence e ensures satisfaction of the axioms j 0 r. If we include e in our DFA then we can add edges to extend the partial DFA to a full DFA, whether or not φ is satisfiable. The state e was not mentioned in the axioms for E φ. Thus φ is satisfiable = A(E φ ) = E φ, φ is unsatisfiable = A(E φ ) = E φ +. 9
10 Definition 23 (Wechsung [8]). The first two levels of the Boolean hierarchy for NP are given by BH = NP, Definition 24. BH 2 = {L \ L 2 : L, L 2 NP}. SAT(2) = {(φ, φ 2 ) : φ is satisfiable and φ 2 is not.}. Theorem 25. SAT(2) is complete for BH 2 with respect to polynomial-time many-one reductions. Theorem 25 can be found in Cai et al. [4, Theorem 5.2]. (In their notation, BH 2 = NP(2).) We will use without proof the extension of Theorem 25 from SAT to 3-SAT. Theorem 26. For each k, {E : A(E) = E + k} is BH 2 -complete. Moreover, {(E, k) : A(E) = E + k} (2) is BH 2 -complete. Proof. For each k, {E : A(E) = E +k} = {E : A(E) E +k}\{e : A(E) E +k } BH 2. Let M and M 2 be automata as indicated in Figure 3 for two 3-SAT instances φ and φ 2, respectively. From M and M 2 we define M in the obvious way so as to achieve L(M) = {0x : x L(M )} {x : x L(M 2 )}. We make corresponding changes in the axioms for E φi (Definition 20). For (2) we include some duplicates of M 2. We define M so that, if say k = 3, L(M) = {0x : x L(M )} {0x : x L(M 2 )} {x : x L(M 2 )}. This way we ensure that A(E) = E + k iff φ 2 is not satisfiable, but φ is. Applying Theorem 25 completes the proof. 0
11 q start 0 q q h 0, 0 v f v t e 0 0 0, l f l t 0 r s Figure 3: Schematic of automata based on Definition 20. The case where the formula φ has m = 2 clauses is shown. The malevolent state e and its adjacent edges are included for the sake of Theorem 22. 0,
12 References [] Dana Angluin. On the complexity of minimum inference of regular sets. Inform. and Control, 39(3): , 978. [2] Y. Bar-Hillel, M. Perles, and E. Shamir. On formal properties of simple phrase structure grammars. Z. Phonetik Sprachwiss. Kommunikat., 4:43 72, 96. [3] Jean Berstel. Every iterated morphism yields a co-cfl. Inform. Process. Lett., 22():7 9, 986. [4] Jin-Yi Cai, Thomas Gundermann, Juris Hartmanis, Lane A. Hemachandra, Vivian Sewelson, Klaus Wagner, and Gerd Wechsung. The Boolean hierarchy. I. Structural properties. SIAM J. Comput., 7(6): , 988. [5] Rodney G. Downey and Denis R. Hirschfeldt. Algorithmic randomness and complexity. Theory and Applications of Computability. Springer, New York, 200. [6] Henning Fernau, Pinar Heggernes, and Yngve Villanger. A multiparameter analysis of hard problems on deterministic finite automata. J. Comput. System Sci., 8(4): , 205. [7] E. Mark Gold. Complexity of automaton identification from given data. Inform. and Control, 37(3): , 978. [8] Kayleigh Hyde. Nondeterministic finite state complexity. Master s thesis, University of Hawaii at Manoa, U.S.A., 203. [9] Kayleigh Hyde and Bjørn Kjos-Hanssen. Nondeterministic automatic complexity of overlap-free and almost square-free words. Electronic Journal of Combinatorics, 205. To appear. [0] Gregory Igusa and Bjørn Kjos-Hanssen. The definition of structure function for nondeterministic automatic complexity. To appear, 206. [] Bjørn Kjos-Hanssen. Kolmogorov structure functions for nondeterministic automatic complexity in computational statistics. In COCOA 204, volume 888 of Lecture Notes in Comput. Sci., pages Springer, Heidelberg,
13 [2] Bjørn Kjos-Hanssen. Kolmogorov structure functions for automatic complexity. Theoret. Comput. Sci., 206. To appear. [3] Bjørn Kjos-Hanssen and Kayleigh Hyde. Nondeterministic automatic complexity of almost square-free and strongly cube-free words. In CO- COON 204, volume 859 of Lecture Notes in Comput. Sci., pages Springer, Heidelberg, 204. [4] Jeffrey Shallit and Ming-Wei Wang. Automatic complexity of strings. J. Autom. Lang. Comb., 6(4): , nd Workshop on Descriptional Complexity of Automata, Grammars and Related Structures (London, ON, 2000). [5] Michael Sipser. Instructor s Solutions Manual: Introduction to the Theory of Computation. Cengage Learning, 3rd edition, 203. [6] A. Thue. Über die gegenseitige Lage gleicher Teile gewisser Zeichenreihen. Norske Vid. Skrifter I Mat.-Nat. Kl., Christiania, : 67, 92. [7] B. A. Trakhtenbrot and Ya. M. Barzdin. Finite automata. North- Holland Publishing Co., Amsterdam-London; American Elsevier Publishing Co., Inc., New York, 973. Behavior and synthesis, Translated from the Russian by D. Louvish, English translation edited by E. Shamir and L. H. Landweber, Fundamental Studies in Computer Science, Vol.. [8] Gerd Wechsung. On the Boolean closure of NP. In Fundamentals of computation theory (Cottbus, 985), volume 99 of Lecture Notes in Comput. Sci., pages Springer, Berlin,
14 q 00 q 0 q 0 q 0 start q ε Figure 4: Illustration of the upper bound A(E) P for Theorem 29. Missing transitions are arbitrary. There is a state q σ for each σ P. Equivalence classes of states are indicated by circle types such as double and dashed. Basic properties of automatic complexity of equivalence relations Remark 27. We use block notation to indicate equivalence relations. For instance, E = [ε, 00][] is the equivalence relation on the set of three strings S = {ε, 00, } according to which the empty string ε and 00 are equivalent to each other, but not to. Definition 28. Given a family of strings S, we define P to be the set of prefixes σ of strings in S such that either σ = ε, or σ (the length σ prefix of σ) has at least two (not necessarily proper) extensions in S. The cardinalities of the sets S, P are denoted S, P. For any equivalence relation E we denote by E its number of equivalence classes. Theorem 29. E A(E) P. Proof. It is immediate that A(E) E. For the other inequality, we were inspired by Trakhtenbrot and Barzdin [7]. Consider for instance E = [ε, 0][00, ][]. Then P = {ε, 0,, 00, } and the automaton witnessing that A(E) P is given in Figure 4. Theorem 30. There are infinitely many equivalence relations E with E = P. 4
15 0, 0, 0, q 0 start q q 2 Figure 5: Proving Theorem 32. Proof. Consider the family S = {0, } n = {x {0, } : x n} and the equivalence relation E on S where all distinct pairs are inequivalent. Then E = 2 n+ = P. Remark 3. In general the following inequalities are best possible: E S P, E A(E) P. That is, in general S and A(E) are incomparable. S > A(E) in the case of an equivalence relation with just one block, whereas A(E) > S in the case E = [00][0000] by similar reasoning to that of Theorem 32 below. Theorem 32. Let k 0. Then A([ε, 0,..., 0 k ][0 k+ ]) = k + 2 = E + k = P. Proof. To see that A([ε, 0][00]) 3 it suffices to study Figure 5, in which the D-equivalence of the states q 0 and q is indicated by double circles. In general, note that each 0-transition from a state corresponding to the big equivalence class B = [ε, 0,..., 0 k ] must go to a fresh state. Indeed, otherwise it will go to a state in B, which leads to all powers of 0 being in B. Notes To facilitate computations, we may use two organizing principles. Proposition 35 and Proposition 36 express the role of conservative extension and refinement, respectively. Definition 33. The equivalence relation E 2 is a conservative extension of the equivalence relation E if E 2 restricted to the strings in E equals E. 5
16 Example 34. [ε, 0][] is a conservative extension of [0][]. Proposition 35. If an equivalence relation E 2 is a conservative extension of an equivalence relation E then A(E ) A(E 2 ). Proposition 36. If E is a finer equivalence relation than E 2 (i.e., E E 2 as sets of pairs from the same underlying set of strings) then A(E 2 ) A(E ). Proof. Consider any automaton M = (Q, Σ, δ, q 0, F ) with A(E ) = Q states and associated equivalence relation D on Q induces E. Let D 2 be a coarsening of D inducing E 2. Then we see that D 2 induces E 2 and hence M also coheres with E 2. So A(E 2 ) Q = A(E ). Proof. Any automaton that coheres with E 2 also coheres with E. Some napkin calculations using Propositions 35 and 36 lead us to a following minimal example of A(E) E, which is obtained by setting k = in Theorem 32. Example 37 (Example for Theorem 9). Imagining a pumping length p = 4, let v = 0 and x = 0, and consider the complex string 00 = vx. Note that U = 0 in this case, and b = v = 2. Let i = 3, p = 5, a = 4, N = pi = 5, and q = pb + ab + ib = = 23, and n N = 2pbi = 60. Thus from Figure 2 we see that (0) pi (0) pi = (0) 5 (0) 5 is not complex. This is not sharp, as numerically we have found that already (0) 2 (0) 2 is not complex. 6
The definition of Kolmogorov structure functions for nondeterministic automatic complexity
The definition of Kolmogorov structure functions for nondeterministic automatic compleity Gregory Igusa Department of Mathematics University of otre Dame gigusa@nd.edu Bjørn Kjos-Hanssen Department of
More informationNondeterministic automatic complexity of overlap-free and almost square-free words
Nondeterministic automatic complexity of overlap-free and almost square-free words Kayleigh K. Hyde Schmid College of Science & Technology Chapman University Orange, California, U.S.A. khyde@chapman.edu
More informationKolmogorov structure functions for automatic complexity
Kolmogorov structure functions for automatic complexity Bjørn Kjos-Hanssen June 16, 2015 Varieties of Algorithmic Information, University of Heidelberg Internationales Wissenschaftssentrum History 1936:
More informationBinary words containing infinitely many overlaps
Binary words containing infinitely many overlaps arxiv:math/0511425v1 [math.co] 16 Nov 2005 James Currie Department of Mathematics University of Winnipeg Winnipeg, Manitoba R3B 2E9 (Canada) j.currie@uwinnipeg.ca
More informationMinimum Critical Exponents for Palindromes
Minimum Critical Exponents for Palindromes arxiv:1612.05320v2 [cs.fl] 20 Dec 2016 Jeffrey Shallit School of Computer Science University of Waterloo Waterloo, ON N2L 3G1 Canada shallit@cs.uwaterloo.ca December
More informationAutomata Theory. Lecture on Discussion Course of CS120. Runzhe SJTU ACM CLASS
Automata Theory Lecture on Discussion Course of CS2 This Lecture is about Mathematical Models of Computation. Why Should I Care? - Ways of thinking. - Theory can drive practice. - Don t be an Instrumentalist.
More informationFinal exam study sheet for CS3719 Turing machines and decidability.
Final exam study sheet for CS3719 Turing machines and decidability. A Turing machine is a finite automaton with an infinite memory (tape). Formally, a Turing machine is a 6-tuple M = (Q, Σ, Γ, δ, q 0,
More information1 More finite deterministic automata
CS 125 Section #6 Finite automata October 18, 2016 1 More finite deterministic automata Exercise. Consider the following game with two players: Repeatedly flip a coin. On heads, player 1 gets a point.
More informationDeciding whether a regular language is power-closed is PSPACE-complete
Deciding whether a regular language is power-closed is PSPACE-complete Yuval Filmus September 2, 2012 Abstract A regular language L is power-closed if whenever x L, also x k L for all k 1. We show that
More informationOgden s Lemma. and Formal Languages. Automata Theory CS 573. The proof is similar but more fussy. than the proof of the PL4CFL.
CS 573 Automata Theory and Formal Languages Professor Leslie Lander Lecture # 24 December 4, 2000 Ogden s Lemma (6.2) Let L be a CFL, then there is a constant n such that if z is a word in L with z > n
More informationCS 154, Lecture 2: Finite Automata, Closure Properties Nondeterminism,
CS 54, Lecture 2: Finite Automata, Closure Properties Nondeterminism, Why so Many Models? Streaming Algorithms 0 42 Deterministic Finite Automata Anatomy of Deterministic Finite Automata transition: for
More informationReversal of Regular Languages and State Complexity
Reversal of Regular Languages and State Complexity Juraj Šebej Institute of Computer Science, Faculty of Science, P. J. Šafárik University, Jesenná 5, 04001 Košice, Slovakia juraj.sebej@gmail.com Abstract.
More informationON THE STRUCTURE OF BOUNDED QUERIES TO ARBITRARY NP SETS
ON THE STRUCTURE OF BOUNDED QUERIES TO ARBITRARY NP SETS RICHARD CHANG Abstract. Kadin [6] showed that if the Polynomial Hierarchy (PH) has infinitely many levels, then for all k, P SAT[k] P SAT[k+1].
More informationECS 120: Theory of Computation UC Davis Phillip Rogaway February 16, Midterm Exam
ECS 120: Theory of Computation Handout MT UC Davis Phillip Rogaway February 16, 2012 Midterm Exam Instructions: The exam has six pages, including this cover page, printed out two-sided (no more wasted
More informationChapter 3. Regular grammars
Chapter 3 Regular grammars 59 3.1 Introduction Other view of the concept of language: not the formalization of the notion of effective procedure, but set of words satisfying a given set of rules Origin
More informationCSE 105 THEORY OF COMPUTATION. Spring 2018 review class
CSE 105 THEORY OF COMPUTATION Spring 2018 review class Today's learning goals Summarize key concepts, ideas, themes from CSE 105. Approach your final exam studying with confidence. Identify areas to focus
More informationSquare-free Strings Over Alphabet Lists
Square-free Strings Over Alphabet Lists [Updated: 08/10/015 11:31 - v.3] Neerja Mhaskar 1 and Michael Soltys 1 McMaster University Dept. of Computing & Software 180 Main Street West Hamilton, Ontario L8S
More informationTheory of Computation (I) Yijia Chen Fudan University
Theory of Computation (I) Yijia Chen Fudan University Instructor Yijia Chen Homepage: http://basics.sjtu.edu.cn/~chen Email: yijiachen@fudan.edu.cn Textbook Introduction to the Theory of Computation Michael
More informationCSC173 Workshop: 13 Sept. Notes
CSC173 Workshop: 13 Sept. Notes Frank Ferraro Department of Computer Science University of Rochester September 14, 2010 1 Regular Languages and Equivalent Forms A language can be thought of a set L of
More informationarxiv:math/ v1 [math.co] 10 Oct 2003
A Generalization of Repetition Threshold arxiv:math/0101v1 [math.co] 10 Oct 200 Lucian Ilie Department of Computer Science University of Western Ontario London, ON, NA B CANADA ilie@csd.uwo.ca November,
More informationThe Separating Words Problem
The Separating Words Problem Jeffrey Shallit School of Computer Science University of Waterloo Waterloo, Ontario N2L 3G1 Canada shallit@cs.uwaterloo.ca https://www.cs.uwaterloo.ca/~shallit 1/54 The Simplest
More informationA ternary square-free sequence avoiding factors equivalent to abcacba
A ternary square-free sequence avoiding factors equivalent to abcacba James Currie Department of Mathematics & Statistics University of Winnipeg Winnipeg, MB Canada R3B 2E9 j.currie@uwinnipeg.ca Submitted:
More informationIntroduction to the Theory of Computation. Automata 1VO + 1PS. Lecturer: Dr. Ana Sokolova.
Introduction to the Theory of Computation Automata 1VO + 1PS Lecturer: Dr. Ana Sokolova http://cs.uni-salzburg.at/~anas/ Setup and Dates Lectures and Instructions 23.10. 3.11. 17.11. 24.11. 1.12. 11.12.
More informationON PATTERNS OCCURRING IN BINARY ALGEBRAIC NUMBERS
ON PATTERNS OCCURRING IN BINARY ALGEBRAIC NUMBERS B. ADAMCZEWSKI AND N. RAMPERSAD Abstract. We prove that every algebraic number contains infinitely many occurrences of 7/3-powers in its binary expansion.
More informationCS Lecture 29 P, NP, and NP-Completeness. k ) for all k. Fall The class P. The class NP
CS 301 - Lecture 29 P, NP, and NP-Completeness Fall 2008 Review Languages and Grammars Alphabets, strings, languages Regular Languages Deterministic Finite and Nondeterministic Automata Equivalence of
More informationLetter frequency in infinite repetition-free words
Theoretical Computer Science 80 200 88 2 www.elsevier.com/locate/tcs Letter frequency in infinite repetition-free words Pascal Ochem LaBRI, Université Bordeaux, 5 cours de la Libération, 405 Talence Cedex,
More informationIntroduction to the Theory of Computation. Automata 1VO + 1PS. Lecturer: Dr. Ana Sokolova.
Introduction to the Theory of Computation Automata 1VO + 1PS Lecturer: Dr. Ana Sokolova http://cs.uni-salzburg.at/~anas/ Setup and Dates Lectures Tuesday 10:45 pm - 12:15 pm Instructions Tuesday 12:30
More informationFinite Automata, Palindromes, Powers, and Patterns
Finite Automata, Palindromes, Powers, and Patterns Terry Anderson, Narad Rampersad, Nicolae Santean, Jeffrey Shallit School of Computer Science University of Waterloo 19 March 2008 Anderson et al. (University
More informationLecture 1: Finite State Automaton
Lecture 1: Finite State Automaton Instructor: Ketan Mulmuley Scriber: Yuan Li January 6, 2015 1 Deterministic Finite Automaton Informally, a deterministic finite automaton (DFA) has finite number of s-
More informationA generalization of Thue freeness for partial words. By: Francine Blanchet-Sadri, Robert Mercaş, and Geoffrey Scott
A generalization of Thue freeness for partial words By: Francine Blanchet-Sadri, Robert Mercaş, and Geoffrey Scott F. Blanchet-Sadri, R. Mercas and G. Scott, A Generalization of Thue Freeness for Partial
More informationTHEORY OF COMPUTATION (AUBER) EXAM CRIB SHEET
THEORY OF COMPUTATION (AUBER) EXAM CRIB SHEET Regular Languages and FA A language is a set of strings over a finite alphabet Σ. All languages are finite or countably infinite. The set of all languages
More informationUndecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65
Undecidable Problems Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, 2018 1/ 65 Algorithmically Solvable Problems Let us assume we have a problem P. If there is an algorithm solving
More informationChapter 2. Reductions and NP. 2.1 Reductions Continued The Satisfiability Problem (SAT) SAT 3SAT. CS 573: Algorithms, Fall 2013 August 29, 2013
Chapter 2 Reductions and NP CS 573: Algorithms, Fall 2013 August 29, 2013 2.1 Reductions Continued 2.1.1 The Satisfiability Problem SAT 2.1.1.1 Propositional Formulas Definition 2.1.1. Consider a set of
More informationTheoretical Computer Science. State complexity of basic operations on suffix-free regular languages
Theoretical Computer Science 410 (2009) 2537 2548 Contents lists available at ScienceDirect Theoretical Computer Science journal homepage: www.elsevier.com/locate/tcs State complexity of basic operations
More informationRemarks on Separating Words
Remarks on Separating Words Erik D. Demaine, Sarah Eisenstat, Jeffrey Shallit 2, and David A. Wilson MIT Computer Science and Artificial Intelligence Laboratory, 32 Vassar Street, Cambridge, MA 239, USA,
More informationComputational Models #1
Computational Models #1 Handout Mode Nachum Dershowitz & Yishay Mansour March 13-15, 2017 Nachum Dershowitz & Yishay Mansour Computational Models #1 March 13-15, 2017 1 / 41 Lecture Outline I Motivation
More informationLower and Upper Bound Results for Hard Problems Related to Finite Automata
Lower and Upper Bound Results for Hard Problems Related to Finite Automata Henning Fernau Universität Trier, Germany fernau@informatik.uni-trier.de Andreas Krebs Universität Tübingen, Germany krebs@informatik.uni-tuebingen.de
More informationClosure Properties of Regular Languages. Union, Intersection, Difference, Concatenation, Kleene Closure, Reversal, Homomorphism, Inverse Homomorphism
Closure Properties of Regular Languages Union, Intersection, Difference, Concatenation, Kleene Closure, Reversal, Homomorphism, Inverse Homomorphism Closure Properties Recall a closure property is a statement
More informationCOMP/MATH 300 Topics for Spring 2017 June 5, Review and Regular Languages
COMP/MATH 300 Topics for Spring 2017 June 5, 2017 Review and Regular Languages Exam I I. Introductory and review information from Chapter 0 II. Problems and Languages A. Computable problems can be expressed
More informationClasses of Boolean Functions
Classes of Boolean Functions Nader H. Bshouty Eyal Kushilevitz Abstract Here we give classes of Boolean functions that considered in COLT. Classes of Functions Here we introduce the basic classes of functions
More informationIntroduction to the Theory of Computing
Introduction to the Theory of Computing Lecture notes for CS 360 John Watrous School of Computer Science and Institute for Quantum Computing University of Waterloo June 27, 2017 This work is licensed under
More informationIntroduction to Advanced Results
Introduction to Advanced Results Master Informatique Université Paris 5 René Descartes 2016 Master Info. Complexity Advanced Results 1/26 Outline Boolean Hierarchy Probabilistic Complexity Parameterized
More informationThe Complexity of Computing the Behaviour of Lattice Automata on Infinite Trees
The Complexity of Computing the Behaviour of Lattice Automata on Infinite Trees Karsten Lehmann a, Rafael Peñaloza b a Optimisation Research Group, NICTA Artificial Intelligence Group, Australian National
More informationShow that the following problems are NP-complete
Show that the following problems are NP-complete April 7, 2018 Below is a list of 30 exercises in which you are asked to prove that some problem is NP-complete. The goal is to better understand the theory
More informationParameterized Regular Expressions and Their Languages
Parameterized Regular Expressions and Their Languages Pablo Barceló a, Juan Reutter b, Leonid Libkin b a Department of Computer Science, University of Chile b School of Informatics, University of Edinburgh
More informationTree Automata and Rewriting
and Rewriting Ralf Treinen Université Paris Diderot UFR Informatique Laboratoire Preuves, Programmes et Systèmes treinen@pps.jussieu.fr July 23, 2010 What are? Definition Tree Automaton A tree automaton
More informationV Honors Theory of Computation
V22.0453-001 Honors Theory of Computation Problem Set 3 Solutions Problem 1 Solution: The class of languages recognized by these machines is the exactly the class of regular languages, thus this TM variant
More information2. Syntactic Congruences and Monoids
IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 3: Algebra and Languages David Mix Barrington and Alexis Maciel July 19, 2000 1.
More informationComplexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler
Complexity Theory Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Reinhard
More informationCSE 105 THEORY OF COMPUTATION
CSE 105 THEORY OF COMPUTATION Spring 2017 http://cseweb.ucsd.edu/classes/sp17/cse105-ab/ Today's learning goals Summarize key concepts, ideas, themes from CSE 105. Approach your final exam studying with
More informationOutline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.
Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität
More informationPrime Languages, Orna Kupferman, Jonathan Mosheiff. School of Engineering and Computer Science The Hebrew University, Jerusalem, Israel
Prime Languages, Orna Kupferman, Jonathan Mosheiff School of Engineering and Computer Science The Hebrew University, Jerusalem, Israel Abstract We say that a deterministic finite automaton (DFA) A is composite
More informationOpen Problems in Automata Theory: An Idiosyncratic View
Open Problems in Automata Theory: An Idiosyncratic View Jeffrey Shallit School of Computer Science University of Waterloo Waterloo, Ontario N2L 3G1 Canada shallit@cs.uwaterloo.ca http://www.cs.uwaterloo.ca/~shallit
More informationIAENG International Journal of Applied Mathematics, 46:2, IJAM_46_2_08. A Solution to Yamakami s Problem on Non-uniform Context-free Languages
A Solution to Yamakami s Problem on Non-uniform Context-free Languages Toshio Suzuki, Member, IAENG Abstract Yamakami (Theoret. Comput. Sci., 2011) studies non-uniform context-free languages. Here, the
More information3515ICT: Theory of Computation. Regular languages
3515ICT: Theory of Computation Regular languages Notation and concepts concerning alphabets, strings and languages, and identification of languages with problems (H, 1.5). Regular expressions (H, 3.1,
More informationCS481F01 Solutions 6 PDAS
CS481F01 Solutions 6 PDAS A. Demers 2 November 2001 1. Give a NPDAs that recognize the following languages: (a) The set of all strings in {0, 1} that contain twice as many 1s as 0s. (answer a) We build
More informationBOUNDS ON ZIMIN WORD AVOIDANCE
BOUNDS ON ZIMIN WORD AVOIDANCE JOSHUA COOPER* AND DANNY RORABAUGH* Abstract. How long can a word be that avoids the unavoidable? Word W encounters word V provided there is a homomorphism φ defined by mapping
More informationOne Bit of Advice.
One Bit of Advice Harry Buhrman 1, Richard Chang 2, and Lance Fortnow 3 1 CWI & University of Amsterdam. Address: CWI, INS4, P.O. Box 94709, Amsterdam, The Netherlands. buhrman@cwi.nl. 2 Department of
More informationBordered Conjugates of Words over Large Alphabets
Bordered Conjugates of Words over Large Alphabets Tero Harju University of Turku harju@utu.fi Dirk Nowotka Universität Stuttgart nowotka@fmi.uni-stuttgart.de Submitted: Oct 23, 2008; Accepted: Nov 14,
More informationBuilding Graphs from Colored Trees
Building Graphs from Colored Trees Rachel M. Esselstein CSUMB Department of Mathematics and Statistics 100 Campus Center Dr. Building 53 Seaside, CA 93955, U.S.A. resselstein@csumb.edu Peter Winkler Department
More informationCS243, Logic and Computation Nondeterministic finite automata
CS243, Prof. Alvarez NONDETERMINISTIC FINITE AUTOMATA (NFA) Prof. Sergio A. Alvarez http://www.cs.bc.edu/ alvarez/ Maloney Hall, room 569 alvarez@cs.bc.edu Computer Science Department voice: (67) 552-4333
More informationNOTES ON AUTOMATA. Date: April 29,
NOTES ON AUTOMATA 1. Monoids acting on sets We say that a monoid S with identity element ɛ acts on a set Q if q(st) = (qs)t and qɛ = q. As with groups, if we set s = t whenever qs = qt for all q Q, then
More informationThe Complexity of Maximum. Matroid-Greedoid Intersection and. Weighted Greedoid Maximization
Department of Computer Science Series of Publications C Report C-2004-2 The Complexity of Maximum Matroid-Greedoid Intersection and Weighted Greedoid Maximization Taneli Mielikäinen Esko Ukkonen University
More informationMix-Automatic Sequences
Mix-Automatic Sequences Jörg Endrullis 1, Clemens Grabmayer 2, and Dimitri Hendriks 1 1 VU University Amsterdam 2 Utrecht University Abstract. Mix-automatic sequences form a proper extension of the class
More informationGames derived from a generalized Thue-Morse word
Games derived from a generalized Thue-Morse word Aviezri S. Fraenkel, Dept. of Computer Science and Applied Mathematics, Weizmann Institute of Science, Rehovot 76100, Israel; fraenkel@wisdom.weizmann.ac.il
More informationClosure under the Regular Operations
Closure under the Regular Operations Application of NFA Now we use the NFA to show that collection of regular languages is closed under regular operations union, concatenation, and star Earlier we have
More informationState Complexity of Neighbourhoods and Approximate Pattern Matching
State Complexity of Neighbourhoods and Approximate Pattern Matching Timothy Ng, David Rappaport, and Kai Salomaa School of Computing, Queen s University, Kingston, Ontario K7L 3N6, Canada {ng, daver, ksalomaa}@cs.queensu.ca
More informationTheory of Computation
Thomas Zeugmann Hokkaido University Laboratory for Algorithmics http://www-alg.ist.hokudai.ac.jp/ thomas/toc/ Lecture 3: Finite State Automata Motivation In the previous lecture we learned how to formalize
More informationAperiodic languages and generalizations
Aperiodic languages and generalizations Lila Kari and Gabriel Thierrin Department of Mathematics University of Western Ontario London, Ontario, N6A 5B7 Canada June 18, 2010 Abstract For every integer k
More informationCombinatorial Interpretations of a Generalization of the Genocchi Numbers
1 2 3 47 6 23 11 Journal of Integer Sequences, Vol. 7 (2004), Article 04.3.6 Combinatorial Interpretations of a Generalization of the Genocchi Numbers Michael Domaratzki Jodrey School of Computer Science
More informationThe Separating Words Problem
The Separating Words Problem Jeffrey Shallit School of Computer Science University of Waterloo Waterloo, Ontario N2L 3G1 Canada shallit@cs.uwaterloo.ca http://www.cs.uwaterloo.ca/~shallit 1 / 48 An Advertisement
More informationEssential facts about NP-completeness:
CMPSCI611: NP Completeness Lecture 17 Essential facts about NP-completeness: Any NP-complete problem can be solved by a simple, but exponentially slow algorithm. We don t have polynomial-time solutions
More informationLearning of Bi-ω Languages from Factors
JMLR: Workshop and Conference Proceedings 21:139 144, 2012 The 11th ICGI Learning of Bi-ω Languages from Factors M. Jayasrirani mjayasrirani@yahoo.co.in Arignar Anna Government Arts College, Walajapet
More informationHarvard CS 121 and CSCI E-207 Lecture 10: CFLs: PDAs, Closure Properties, and Non-CFLs
Harvard CS 121 and CSCI E-207 Lecture 10: CFLs: PDAs, Closure Properties, and Non-CFLs Harry Lewis October 8, 2013 Reading: Sipser, pp. 119-128. Pushdown Automata (review) Pushdown Automata = Finite automaton
More informationTheory of Computation
Fall 2002 (YEN) Theory of Computation Midterm Exam. Name:... I.D.#:... 1. (30 pts) True or false (mark O for true ; X for false ). (Score=Max{0, Right- 1 2 Wrong}.) (1) X... If L 1 is regular and L 2 L
More informationFinite Automata. Mahesh Viswanathan
Finite Automata Mahesh Viswanathan In this lecture, we will consider different models of finite state machines and study their relative power. These notes assume that the reader is familiar with DFAs,
More informationComputational Models - Lecture 1 1
Computational Models - Lecture 1 1 Handout Mode Ronitt Rubinfeld and Iftach Haitner. Tel Aviv University. February 29/ March 02, 2016 1 Based on frames by Benny Chor, Tel Aviv University, modifying frames
More informationFORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY
15-453 FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY REVIEW for MIDTERM 1 THURSDAY Feb 6 Midterm 1 will cover everything we have seen so far The PROBLEMS will be from Sipser, Chapters 1, 2, 3 It will be
More informationCSE 105 THEORY OF COMPUTATION
CSE 105 THEORY OF COMPUTATION Spring 2016 http://cseweb.ucsd.edu/classes/sp16/cse105-ab/ Today's learning goals Sipser Ch 3.3, 4.1 State and use the Church-Turing thesis. Give examples of decidable problems.
More information(Refer Slide Time: 0:21)
Theory of Computation Prof. Somenath Biswas Department of Computer Science and Engineering Indian Institute of Technology Kanpur Lecture 7 A generalisation of pumping lemma, Non-deterministic finite automata
More informationFinite Automata, Palindromes, Patterns, and Borders
Finite Automata, Palindromes, Patterns, and Borders arxiv:0711.3183v1 [cs.dm] 20 Nov 2007 Terry Anderson, Narad Rampersad, Nicolae Santean, and Jeffrey Shallit School of Computer Science University of
More informationRecognizing Tautology by a Deterministic Algorithm Whose While-loop s Execution Time Is Bounded by Forcing. Toshio Suzuki
Recognizing Tautology by a Deterministic Algorithm Whose While-loop s Execution Time Is Bounded by Forcing Toshio Suzui Osaa Prefecture University Saai, Osaa 599-8531, Japan suzui@mi.cias.osaafu-u.ac.jp
More informationPS2 - Comments. University of Virginia - cs3102: Theory of Computation Spring 2010
University of Virginia - cs3102: Theory of Computation Spring 2010 PS2 - Comments Average: 77.4 (full credit for each question is 100 points) Distribution (of 54 submissions): 90, 12; 80 89, 11; 70-79,
More informationFinite Automata and Regular Languages
Finite Automata and Regular Languages Topics to be covered in Chapters 1-4 include: deterministic vs. nondeterministic FA, regular expressions, one-way vs. two-way FA, minimization, pumping lemma for regular
More informationUndecidability COMS Ashley Montanaro 4 April Department of Computer Science, University of Bristol Bristol, UK
COMS11700 Undecidability Department of Computer Science, University of Bristol Bristol, UK 4 April 2014 COMS11700: Undecidability Slide 1/29 Decidability We are particularly interested in Turing machines
More informationBefore we show how languages can be proven not regular, first, how would we show a language is regular?
CS35 Proving Languages not to be Regular Before we show how languages can be proven not regular, first, how would we show a language is regular? Although regular languages and automata are quite powerful
More informationAdvanced Automata Theory 2 Finite Automata
Advanced Automata Theory 2 Finite Automata Frank Stephan Department of Computer Science Department of Mathematics National University of Singapore fstephan@comp.nus.edu.sg Advanced Automata Theory 2 Finite
More informationMathematical Preliminaries. Sipser pages 1-28
Mathematical Preliminaries Sipser pages 1-28 Mathematical Preliminaries This course is about the fundamental capabilities and limitations of computers. It has 3 parts 1. Automata Models of computation
More informationCS 154 Introduction to Automata and Complexity Theory
CS 154 Introduction to Automata and Complexity Theory cs154.stanford.edu 1 INSTRUCTORS & TAs Ryan Williams Cody Murray Lera Nikolaenko Sunny Rajan 2 Textbook 3 Homework / Problem Sets Homework will be
More informationMonoidal Categories, Bialgebras, and Automata
Monoidal Categories, Bialgebras, and Automata James Worthington Mathematics Department Cornell University Binghamton University Geometry/Topology Seminar October 29, 2009 Background: Automata Finite automata
More informationCPSC 421: Tutorial #1
CPSC 421: Tutorial #1 October 14, 2016 Set Theory. 1. Let A be an arbitrary set, and let B = {x A : x / x}. That is, B contains all sets in A that do not contain themselves: For all y, ( ) y B if and only
More informationFoundations of Informatics: a Bridging Course
Foundations of Informatics: a Bridging Course Week 3: Formal Languages and Semantics Thomas Noll Lehrstuhl für Informatik 2 RWTH Aachen University noll@cs.rwth-aachen.de http://www.b-it-center.de/wob/en/view/class211_id948.html
More informationFall 1999 Formal Language Theory Dr. R. Boyer. 1. There are other methods of nding a regular expression equivalent to a nite automaton in
Fall 1999 Formal Language Theory Dr. R. Boyer Week Four: Regular Languages; Pumping Lemma 1. There are other methods of nding a regular expression equivalent to a nite automaton in addition to the ones
More informationThis lecture covers Chapter 7 of HMU: Properties of CFLs
This lecture covers Chapter 7 of HMU: Properties of CFLs Chomsky Normal Form Pumping Lemma for CFs Closure Properties of CFLs Decision Properties of CFLs Additional Reading: Chapter 7 of HMU. Chomsky Normal
More informationCOM364 Automata Theory Lecture Note 2 - Nondeterminism
COM364 Automata Theory Lecture Note 2 - Nondeterminism Kurtuluş Küllü March 2018 The FA we saw until now were deterministic FA (DFA) in the sense that for each state and input symbol there was exactly
More informationLecture Notes On THEORY OF COMPUTATION MODULE -1 UNIT - 2
BIJU PATNAIK UNIVERSITY OF TECHNOLOGY, ODISHA Lecture Notes On THEORY OF COMPUTATION MODULE -1 UNIT - 2 Prepared by, Dr. Subhendu Kumar Rath, BPUT, Odisha. UNIT 2 Structure NON-DETERMINISTIC FINITE AUTOMATA
More informationSri vidya college of engineering and technology
Unit I FINITE AUTOMATA 1. Define hypothesis. The formal proof can be using deductive proof and inductive proof. The deductive proof consists of sequence of statements given with logical reasoning in order
More informationThe efficiency of identifying timed automata and the power of clocks
The efficiency of identifying timed automata and the power of clocks Sicco Verwer a,b,1,, Mathijs de Weerdt b, Cees Witteveen b a Eindhoven University of Technology, Department of Mathematics and Computer
More informationFORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY
5-453 FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY 5-453 FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY YOU NEED TO PICK UP THE SYLLABUS, THE COURSE SCHEDULE, THE PROJECT INFO SHEET, TODAY S CLASS NOTES
More information