DISCRETE MATHEMATICS+ITS APPL. (LL)-W/A
8th Edition
ISBN: 9781260521337
Author: ROSEN
Publisher: MCG
expand_more
expand_more
format_list_bulleted
Question
Chapter 13.3, Problem 61E
To determine
(a)
To show that a quotient automaton
To determine
(b)
To show that a quotient automaton
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Let T be the Turing machine defined by the five-tuples:
( s0, 0, s1, 0, R ) ( s0, 1, s1, 0, L ) ( s0, B, s1, 1, R ) ( s1, 0, s2, 1, R ) ( s1, 1, s1, 1, R ) ( s1, B, s2, 0, R ) ( s2, B, s3, 0, R )
For each of the given initial tapes, determine the final tape when T halts, assuming that T begins in initial position. In c use any B as the initial position.
a.
. . .
B
B
1
1
1
B
B
B
. . .
b.
. . .
B
B
0
0
B
0
0
B
. . .
c.
. . .
B
B
B
B
B
B
B
B
. . .
Label the following statement as True (T) or False (F):
Let L be any Turing recognizable language. Then L is Turing recognizable.
Let Σn denote the set of all binary strings with lengths less than n. For example, Σ2 = {λ, 0, 1} and Σ3 = {λ, 0, 1, 00, 01, 10, 11} where λ is the empty string, i.e. the string of length 0. For x ∈ Σ we denote the length of x by |x|. a) How many functions f : Σn → Σn are there? b) How many one-to-one functions f : Σn → Σn are there?
Chapter 13 Solutions
DISCRETE MATHEMATICS+ITS APPL. (LL)-W/A
Ch. 13.1 - Exercises 1-3 refer to the grammar with start...Ch. 13.1 - Exercises 1-3 refer to the grammar with start...Ch. 13.1 - Prob. 3ECh. 13.1 - Let G=(V,T,S,P) be the phrase-structure grammar...Ch. 13.1 - Prob. 5ECh. 13.1 - Prob. 6ECh. 13.1 - Prob. 7ECh. 13.1 - Show that the grammar given in Example 5 generates...Ch. 13.1 - Prob. 9ECh. 13.1 - Prob. 10E
Ch. 13.1 - Construct a derivation of 021222 in the grammar...Ch. 13.1 - Show that the grammar given in Example 7 generates...Ch. 13.1 - s13. Find a phrase-structure grammar for each of...Ch. 13.1 - Find a phrase-structure grammar for each of these...Ch. 13.1 - Find a phrase-structure grammar for each of these...Ch. 13.1 - Construct phrase-structure grammars to generate...Ch. 13.1 - Construct phrase-structure grammars to generate...Ch. 13.1 - Construct phrase-structure grammars to generate...Ch. 13.1 - Prob. 19ECh. 13.1 - A palindrome is a string that reads the same...Ch. 13.1 - Let G1 and G2 be context-free grammars, generating...Ch. 13.1 - Prob. 22ECh. 13.1 - Construct derivation trees for the sentences in...Ch. 13.1 - Let G be the grammar with V={a,b,c,S};T={a,b,c} ;...Ch. 13.1 - Prob. 25ECh. 13.1 - Prob. 26ECh. 13.1 - Prob. 27ECh. 13.1 - a) Explain what the productions are in a grammar...Ch. 13.1 - Prob. 29ECh. 13.1 - a) Construct a phrasestructure grammar for the set...Ch. 13.1 - Give production rules in Backus-Naur form for an...Ch. 13.1 - Prob. 32ECh. 13.1 - Prob. 33ECh. 13.1 - Prob. 34ECh. 13.1 - Prob. 35ECh. 13.1 - Prob. 36ECh. 13.1 - Prob. 37ECh. 13.1 - Prob. 38ECh. 13.1 - Prob. 39ECh. 13.1 - Prob. 40ECh. 13.1 - Prob. 41ECh. 13.1 - Let G be a grammar and let R be the relation...Ch. 13.2 - Draw the state diagrams for the finite-state...Ch. 13.2 - Give the state tables for the finite-state machine...Ch. 13.2 - Find the output generated from the input string...Ch. 13.2 - Find the output generated from the input string...Ch. 13.2 - Find the output for each of these input strings...Ch. 13.2 - Find the output for each of these input strings...Ch. 13.2 - Construct a finite-state machine that models an...Ch. 13.2 - Prob. 8ECh. 13.2 - Construct a finite-state machine that delays an...Ch. 13.2 - Construct a finite-state machine that changes...Ch. 13.2 - Construct a finite-state machine for the log-on...Ch. 13.2 - Construct a finite-state machine for lock that...Ch. 13.2 - Construct a finite-state machine for a toll...Ch. 13.2 - Construct a finite-state machine for entering a...Ch. 13.2 - Construct a finite-state machine for a restricted...Ch. 13.2 - Construct a finite-state machine that gives an...Ch. 13.2 - Prob. 17ECh. 13.2 - Construct a finite-state machine that determines...Ch. 13.2 - Construct a finite-state machine that determines...Ch. 13.2 - Prob. 20ECh. 13.2 - Prob. 21ECh. 13.2 - Find the output string generated by the Moore...Ch. 13.2 - Prob. 23ECh. 13.2 - Construct a Moore machine that gives an output of...Ch. 13.2 - Prob. 25ECh. 13.3 - Prob. 1ECh. 13.3 - 2. Show that if A is a set of strings, then.
Ch. 13.3 - Find all pairs of sets of strings A and B for...Ch. 13.3 - Show that these equalities hold. a) {}*={} b)...Ch. 13.3 - Prob. 5ECh. 13.3 - Prob. 6ECh. 13.3 - Prob. 7ECh. 13.3 - Prob. 8ECh. 13.3 - Prob. 9ECh. 13.3 - Determine whether the string 01001 is in each of...Ch. 13.3 - Determine whether each of these strings is...Ch. 13.3 - Determine whether each of these strings is...Ch. 13.3 - Determine whether all the strings in each of these...Ch. 13.3 - Show that if M=(S,I,f,so,F) is a deterministic...Ch. 13.3 - Given a finite-state automaton M=(S,I,f,so,F) ,...Ch. 13.3 - In Exercises 16—22 find the language recognized by...Ch. 13.3 - In Exercises 16—22 find the language recognized by...Ch. 13.3 - Prob. 18ECh. 13.3 - Prob. 19ECh. 13.3 - In Exercises 16—22 find the language recognized by...Ch. 13.3 - In Exercises 16—22 find the language recognized by...Ch. 13.3 - Prob. 22ECh. 13.3 - Construct a deterministic finite-state automaton...Ch. 13.3 - Construct a deterministic finite-state automaton...Ch. 13.3 - Construct a deterministic finite-state automaton...Ch. 13.3 - Construct a deterministic finite-state automaton...Ch. 13.3 - Prob. 27ECh. 13.3 - Construct a deterministic finite-state automaton...Ch. 13.3 - Prob. 29ECh. 13.3 - Construct a deterministic finite-state automaton...Ch. 13.3 - Construct a deterministic finite-state automaton...Ch. 13.3 - Construct a deterministic finite-state automaton...Ch. 13.3 - Prob. 33ECh. 13.3 - Prob. 34ECh. 13.3 - Prob. 35ECh. 13.3 - Prob. 36ECh. 13.3 - Prob. 37ECh. 13.3 - Prob. 38ECh. 13.3 - Prob. 39ECh. 13.3 - Use Exercise 39 finite-state automata constructed...Ch. 13.3 - Prob. 41ECh. 13.3 - Prob. 42ECh. 13.3 - Prob. 43ECh. 13.3 - Prob. 44ECh. 13.3 - Prob. 45ECh. 13.3 - In Exercises 43-49 find the language recognized by...Ch. 13.3 - Prob. 47ECh. 13.3 - In Exercises 43-49 find the language recognized by...Ch. 13.3 - Prob. 49ECh. 13.3 - Find a deterministic finite-state automaton that...Ch. 13.3 - Prob. 51ECh. 13.3 - Find a deterministic finite-state automaton that...Ch. 13.3 - Find a deterministic finite-state automaton that...Ch. 13.3 - Find a deterministic finite-state automaton that...Ch. 13.3 - Find a deterministic finite-state automaton that...Ch. 13.3 - Find a nondeterministic finite-state automaton...Ch. 13.3 - Prob. 57ECh. 13.3 - Prob. 58ECh. 13.3 - Prob. 59ECh. 13.3 - Prob. 60ECh. 13.3 - Prob. 61ECh. 13.3 - Prob. 62ECh. 13.4 - Describe in words the strings in each of these...Ch. 13.4 - Prob. 2ECh. 13.4 - Prob. 3ECh. 13.4 - Prob. 4ECh. 13.4 - Express each of these sets using a regular...Ch. 13.4 - Express each of these sets using a regular...Ch. 13.4 - Express each of these sets using a regular...Ch. 13.4 - Construct deterministic finite-state automata that...Ch. 13.4 - Construct nondeterministic finite-state automata...Ch. 13.4 - Construct nondeterministic finite-state automata...Ch. 13.4 - Show that if A is a regular set, then AR, the set...Ch. 13.4 - Using the construction described in the proof of...Ch. 13.4 - Using the construction described in the proof of...Ch. 13.4 - Construct a nondeterministic finite-state...Ch. 13.4 - In Exercises 15-17 conflict a regular grammar...Ch. 13.4 - In Exercises 15-17 conflict a regular grammar...Ch. 13.4 - In Exercises 15-17 conflict a regular grammar...Ch. 13.4 - Show that the finite-state automaton constructed...Ch. 13.4 - Show that the regular grammar constructed from a...Ch. 13.4 - Show that every nondeterministic finite-state...Ch. 13.4 - Let M=(S,I,f,s0,F) be a deterministic finite-state...Ch. 13.4 - One important technique used to prove that certain...Ch. 13.4 - Show that the set 02n1nn=0,1,2,... is not regular...Ch. 13.4 - Show that the set {1n2n=0,1,2,...} is not regular...Ch. 13.4 - Show that the set of palindromes over {0, 1} is...Ch. 13.4 - Prob. 26ECh. 13.4 - Prob. 27ECh. 13.4 - Prob. 28ECh. 13.4 - Prob. 29ECh. 13.4 - Prob. 30ECh. 13.4 - Use Exercise 29 to show that the language...Ch. 13.5 - Let T be the Turing machine defined by the...Ch. 13.5 - Let T be the Turing machine defined by the...Ch. 13.5 - What does the Turing machine defined by the...Ch. 13.5 - What does the Turing machine described by the...Ch. 13.5 - What does the Turing machine described by the...Ch. 13.5 - Construct a Turing machine with tape 0, 1, and B...Ch. 13.5 - Construct a Turning machine with tape symbols 0,...Ch. 13.5 - Construct a Turing machine with tape symbols 0, 1,...Ch. 13.5 - Construct a Turing machine with tape symbols 0, 1,...Ch. 13.5 - Construct a Turing machine with tape symbols 0, 1,...Ch. 13.5 - Construct a Turing machine that recognizes the set...Ch. 13.5 - Construct a Turing machine that recognizes the set...Ch. 13.5 - Construct a Turing machine that recognizes the set...Ch. 13.5 - Show at each step the contents of the tape of the...Ch. 13.5 - Explain why the Turing machine in Example 3...Ch. 13.5 - Construct a Turing machine that recognizes the set...Ch. 13.5 - Construct a Turing machine that recognizes the set...Ch. 13.5 - Construct a Turing machine that computes the...Ch. 13.5 - Construct a Turing machine that computes the...Ch. 13.5 - Construct a Turing machine that computes the...Ch. 13.5 - Construct a Turing machine that computes the...Ch. 13.5 - Construct a Turing machine that computes the...Ch. 13.5 - Construct a Turing machine that computes the...Ch. 13.5 - Construct a Turing machine that computes the...Ch. 13.5 - Construct a Turing machine that computes the...Ch. 13.5 - Construct a Turning machine that computes the...Ch. 13.5 - Prob. 27ECh. 13.5 - Prob. 28ECh. 13.5 - Which of the following problems is a decision...Ch. 13.5 - Which of the following problems is a decision...Ch. 13.5 - Prob. 31ECh. 13.5 - Show that the function B(n) cannot be computed by...Ch. 13 - a) Define a phrase-structure grammar. b) What does...Ch. 13 - a) What is the language generated by a...Ch. 13 - Prob. 3RQCh. 13 - Prob. 4RQCh. 13 - Prob. 5RQCh. 13 - a) What is a finite-state machine? b) Show how a...Ch. 13 - Prob. 7RQCh. 13 - Prob. 8RQCh. 13 - Prob. 9RQCh. 13 - Prob. 10RQCh. 13 - a) Define a nondeterministic finite-state...Ch. 13 - a) Define the set of regular expressions over a...Ch. 13 - Prob. 13RQCh. 13 - Prob. 14RQCh. 13 - Prob. 15RQCh. 13 - Prob. 16RQCh. 13 - Describe how Turing machines are used to recognize...Ch. 13 - Prob. 18RQCh. 13 - Prob. 19RQCh. 13 - Prob. 1SECh. 13 - Prob. 2SECh. 13 - Prob. 3SECh. 13 - Prob. 4SECh. 13 - Prob. 5SECh. 13 - Prob. 6SECh. 13 - Prob. 7SECh. 13 - Prob. 8SECh. 13 - Prob. 9SECh. 13 - Prob. 10SECh. 13 - Prob. 11SECh. 13 - Prob. 12SECh. 13 - Prob. 13SECh. 13 - Construct a finite-state machine with output that...Ch. 13 - Construct a finite-state machine with output that...Ch. 13 - Prob. 16SECh. 13 - Prob. 17SECh. 13 - Prob. 18SECh. 13 - Construct a deterministic finite-state automaton...Ch. 13 - Prob. 20SECh. 13 - Prob. 21SECh. 13 - Prob. 22SECh. 13 - Prob. 23SECh. 13 - Prob. 24SECh. 13 - Prob. 25SECh. 13 - Show that {02nnN} is not regular. You may use the...Ch. 13 - Prob. 27SECh. 13 - Prob. 28SECh. 13 - Construct a Turing machine that computes the...Ch. 13 - Prob. 30SECh. 13 - Prob. 1CPCh. 13 - Prob. 2CPCh. 13 - Prob. 3CPCh. 13 - Prob. 4CPCh. 13 - Given the state table of a Moore machine and an...Ch. 13 - Given the state table of a Mealy machine and an...Ch. 13 - Given the state table of a deterministic...Ch. 13 - Prob. 8CPCh. 13 - Prob. 9CPCh. 13 - Prob. 10CPCh. 13 - Given a regular grammar, construct a finite-state...Ch. 13 - Given a finite-state automaton, construct a...Ch. 13 - Prob. 13CPCh. 13 - Solve the busy beaver problem for two states by...Ch. 13 - Prob. 2CAECh. 13 - Prob. 3CAECh. 13 - Prob. 4CAECh. 13 - Prob. 5CAECh. 13 - Prob. 1WPCh. 13 - Describe the Backus-Naur form (and extended...Ch. 13 - Explain how finite-state machines are used by...Ch. 13 - Explain how finite-state machines are used in the...Ch. 13 - Explain how finite-state machines are used in...Ch. 13 - Compare the use of Moore machines versus Mealy...Ch. 13 - Explain the concept of minimizing finite-state...Ch. 13 - Give the definition of cellular automata, Explain...Ch. 13 - Define a pushdown automaton. Explain how pushdown...Ch. 13 - Define a linear-bounded automaton. Explain how...Ch. 13 - Prob. 11WPCh. 13 - Prob. 12WPCh. 13 - Prob. 13WPCh. 13 - Show that a Turing machine can simulate any action...Ch. 13 - Prob. 15WPCh. 13 - Describe the basic concepts of the lambda-calculus...Ch. 13 - Show that a Turing machine as defined in this...Ch. 13 - Prob. 18WP
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, subject and related others by exploring similar questions and additional content below.Similar questions
- Exercises 7. Express each permutation in Exercise as a product of transpositions. 1. Express each permutation as a product of disjoint cycles and find the orbits of each permutation. a. b. c. d. e. f. g. h.arrow_forwardFind the order of each permutation in Exercise 1. Express each permutation as a product of disjoint cycles and find the orbits of each permutation. a. [ 1234545312 ] b. [ 1234513254 ] c. [ 1234541352 ] d. [ 1234535241 ] e. [ 12345673456127 ] f. [ 12345675137264 ] g. [ 1234513452 ][ 1234532415 ] h. [ 1234523415 ][ 1234513542 ]arrow_forward4. Where N denotes the set of natural numbers, say that a set X of natural numbers is computably separable from a set Y of natural numbers if there is a decidable set D of natural numbers such that X ≤ D and Y ≤ (N\D). Now let T be a consistent axiomatizable extension of Robinson arithmetic Q, let A denote the set of Gödel numbers of sentences provable in T, and let B denote the set of Gödel numbers of sentences refutable in T. Is A computably separable from B? Justify your (positive or negative) answer to this question using rigorous mathematical argumentation.arrow_forward
- 3. Express each of these Boolean functions using the operatorsarrow_forward26 of 40 Consider the Datalog programs P1 (left) and P2 (right) below, which use relations R(A, B) and S(A, B). P1 P2: T1(A) R(A, B). T4(A) R(A, B), S(A, B). T2(A) S(A, B). T3(A) + T1(A), T2(A). Which of the following statements is TRUE about the relationships between relations T3 and T4 defined by P1 and P2, respectively? Note that the commas "," used in the rule bodies to separate the predicates is the same as using AND. Select one: T3 and T4 include the same set of tuples. Every tuple in T3 is also contained in T4, that is, T3 C T4. O None of the other answers, that is, T3 and T4 contain different tuples, in general. O Every tuple in T4 is also contained in T3, that is, T4 C T3.arrow_forwardCreate a maths problem and model solution corresponding to the following question: “Given the following complete Sum of Products produce a Karnaugh map and find the minimal Sum of Products, then draw the corresponding logic circuit” Use 4 boolean values, and label them g, h, i and j. Your problem should make use of at least 7 products, one of which should be “g’h’ij”. . Ensure the minimal Sum of Products is different to the complete Sum of Products initially provided. You can find similar problems in Tutorials 3 and 4, but must not use any of them in constructing your own.arrow_forward
- Show that ADFA ∈ L, where ADFA = {< B,w > |B is a DFA that accepts input string w}.arrow_forwardSuppose we take our universe to be the set U = { 1, 2, 3, 4, 5, . . . , 20 }, and setA = { x | x ∈ U and x is odd } C = { x | x ∈ U and x is a square }B = { x | x ∈ U and x is prime } D = { x | x ∈ U and x = 3n − 2 for some n ∈ N }(a) Express each of the above sets using the list method.(b) Use the descriptions from (a) to determine each of the following. Use the list method.i. A ∪ B.ii. A − B.iii. B ∩ Div. D.v. A ∩ C.vi. B ∪ C.arrow_forwardLet m and n be two relatively prime positive naturals, and consider what naturals can be expressed as linear combinations am + bn where a and b are naturals, not just integers. (a) Show that if m=2 and n=3,any natural except 0 and 1 can be so expressed (b) Determine which naturals can be expressed if m = 3 and n = 5. (c) Argue that for any m and n, there are only a finite number of naturals that cannot be expressed in this way.arrow_forward
- Let Z denote the set of integers. If m is a positive integer, we write Zm for the system of "integers modulo m." Some authors write Z/mZ for that system. For completeness, we include some definitions here. The system Zm can be represented as the set {0, 1,..., m - 1} with operations (addition) and (multiplication) defined as follows. If a, b are elements of {0, 1,..., m - 1}, define: ab the element c of {0, 1,...,m - 1} such that a +b-c is an integer multiple of m. a b = the element d of {0, 1,..., m - 1} such that ab -d is an integer multiple of m. For example, 30 4 = 2 in Z5, 303= 1 in Z4, and -1 = 12 in Z₁3. To simplify notations (at the expense of possible confusion), we abandon that new notation and write a + b and ab for the operations in Zm, rather than writing ab and a b. = Let Q denote the system of rational numbers. We write 4Z for the set of multiples of 4 in Z. Similarly for 4Z12. Consider the following number systems: Z, Q, 4Z, Z3, Z8, Z9, 4Z12, Z13. One system may be…arrow_forward10) Identify the mistake in the following “proof" by mathematical induction. (Fake) Theorem: For any positive integer n, all the numbers in a set of n numbers are equal to each other. Proof (by mathematical induction): It is obviously true that all the numbers in a set consisting of just one number are equal to each other, so the basis step is true. For the induction step, let A = {a1, a2, a3, . .., an41} be any set of n +1 numbers. Form two subsets each of size n: B = {a1,a2, A3, . numbers in A except an+1, and C consists of all the numbers in A except a2.) By the induction hypothesis, all the numbers in B equal a1 and all the numbers in C equal a1, since both sets have only n numbers. But every number in A is in B or C, so all the numbers in A equal a1; thus all are equal to each other. .., a,} and C = {a1, az, a4, . .. , an+1}. (Precisely, B consists of all thearrow_forwardLet P be a property of the language of a Turing machine. We say P is non-trivial if it fulfills the following 2 conditions: - Some, but not all Turing machines satisfy the property P, and - P is a property of the language of the machines – i.e., if M1 and M2 are two Turing machines and L(M1) =L(M2), then they either both satisfy property P or they both do not satisfy property P. ---------------------------------------------------------------------- Note:AT M,HALTT M, and LCF are all problems related to non-trivialproperties. Rice’s Theorem:LetPbe any non-trivial property of the language of aTuring machine. DefineLPas follows: LP={〈M〉 |M is a Turing machine satisfying property P}. ThenLPis undecidable. ---------------------------------------------------------------------- In this problem, you will prove Rice’s Theorem. You may assume that (i) ifL(M) =∅, then〈M〉/∈LP, and (ii) MP is a Turing machine such that〈MP〉 ∈ LP. (a) Use the two assumptions above to create a machine M2 that…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Elements Of Modern AlgebraAlgebraISBN:9781285463230Author:Gilbert, Linda, JimmiePublisher:Cengage Learning,
Elements Of Modern Algebra
Algebra
ISBN:9781285463230
Author:Gilbert, Linda, Jimmie
Publisher:Cengage Learning,
Finite State Machine (Finite Automata); Author: Neso Academy;https://www.youtube.com/watch?v=Qa6csfkK7_I;License: Standard YouTube License, CC-BY
Finite State Machine (Prerequisites); Author: Neso Academy;https://www.youtube.com/watch?v=TpIBUeyOuv8;License: Standard YouTube License, CC-BY