Prove and discuss the following reductions.
Walk through the proof to show that the problem of proving the language of a Turning Machine is a context-free language is undecidable. (Do not use Rice’s theorem as a black box and note that this is not the same problem as Theorem 5.13 in the textbook.)
Given α1,…,αm,β1,…,βmα1,…,αm,β1,…,βm: Construct the following CFG G=(V,Σ,R,S)G=(V,Σ,R,S): V={S,S1,S2}V={S,S1,S2}, R={S→S1|S2,S1→α1S1σ1|⋯|αmS1σm|α1σ1|⋯|αmσm,S2→β1S2σ1|⋯|βmS2σm|β1σ1|⋯|βmσm}R={S→S1|S2,S1→α1S1σ1|⋯|αmS1σm|α1σ1|⋯|αmσm,S2→β1S2σ1|⋯|βmS2σm|β1σ1|⋯|βmσm} (where σiσi are new characters added to the alphabet, e.g., σi=i–σi=i_).
If the language is ambiguous, then there is a derivation of some string ww in two different ways. Supposing, wlog, that the derivations both start with the rule S→S1S→S1, reading the new characters backwards until they end makes sure there can only be one derivation, so that's not possible. Hence, we see that the only ambiguity can come from one S1S1 and one S2S2 'start'. But then, taking the substring of ww up to the beginning of the new characters, we have a solution to the PCP (since the strings of indices used after those points match).
Similarly, if there is no ambiguity, then the PCP cannot be solved, since a solution would imply an ambiguity that just follows S⇒S1⇒∗ασ~S⇒S1⇒∗ασ~ and S⇒S2⇒∗βσ~S⇒S2⇒∗βσ~, where α=βα=β are strings of matching αα's and ββ's (since the σ~σ~'s match).
Hence, we've reduced to PCP, and since that's undecidable, we're done.
Prove and discuss the following reductions. Walk through the proof to show that the problem of...
Problem 2. (Undecidable) and prove it (33 points) Formulate the following problem as a language is undecidable Given a Turing machine M determine whether L(M) is context-free Hint: you can reduce the ATM problem to this problem, as we did for the REGULARTM language problem that we discussed in class.
Check My Work еВook Problem Walk-Through Black-Scholes Model Assume that you have been given the following information on Purcell Industries call options: Strike price of option $12 Current stock price $13 Time to maturity of option 6 months Risk-free rate 6% Variance of stock return = 0.14 1 0.54821 N(di) 0.70823 d2 0.28363 N(d2) 0.61165 According to the Black-Scholes option pricing model, what is the option's value? Do not round intermediate calculations. Round your answer to the nearest cent. Use...
Advanced Linear Algebra (bonus problem)
1. (This question guides you through a different proof of part of the Decomposition Theorem. So you are not allowed to use the Decomposition Theorem when answering this question.) Let F be a field and V an n-dimensional F-vector space for n > I. Let θ E End(V) be a linear transformation and α E F an eigenvalue of. Recall that the generalised α-eigenspace of θ is a) Suppose that 0 υ Ε να and...
In the following problem, we will work through a proof of an
important theorem of arithmetic. Your job will be to read the proof
carefully and answer some questions about the argument. Theorem
(The Division Algorithm). For any integer n ≥ 0, and for any
positive integer m, there exist integers d and r such that n = dm +
r and 0 ≤ r < m. Proof: (By strong induction on the variable n.)
Let m be an arbitrary...
Subject: Proof Writing (functions)
In need of help on this proof problem,
*Prove the Following:*
Here are the definitions that we may need for this problem:
1) Let f: A B be given, Let S and T be subsets of A Show that f(S UT) = f(s) U f(T) Definition 1: A function f from set A to set B (denoted by f: A+B) is a set of ordered Pairs of the form (a,b) where a A and b B...
nd of Chapter Problem Assignment eBook Problem Walk-Through New-Project Analysis The president of your company, MorChuck Enterprises, has asked you to evaluate the proposed acquisition of a new chromatograph for the firm's R&D department. The equipment's basic price is $73,000, and it would cost another $18,000 to modify it for special use by your firm. The chromatograph, which falls into the MACRS 3-year class, would be sold after 3 years for $33,500. The MACRS rates for the first three years...
why this is happening?
eBook Problem Walk-Through Stocks A and B have the following probability distributions of expected future returns: Probability 0.1 (9%) 0.1 0.5 14 0.2 (30%) 21 39 a. Calculate the expected rate of return, Te, for Stock B (TA - 13.60%.) Do not round intermediate calculations. Round your answer to two decimal places. 17.2 ♡ b. Calculate the standard deviation of expected returns, OA, for Stock A (OB = 18.30%.) Do not round intermediate calculations. Round your...
please help me make this into a contradiction or a direct
proof please.
i put the question, my answer, and the textbook i used.
thank you
also please write neatly
proof 2.5 Prove har a Simple sraph and 13 cdges cannot be bipartite CHint ercattne gr apn in to ertex Sets and Court tne忤of edges Claim Splitting the graph into two vertex, Sets ves you a 8 Ver ices So if we Change tne书 apn and an A bipartite graph...
Can someone walk me through how to do question 2 with all the
proper work shown?
Horne, vork # 3 MİATH 1206 Show all work! 1. (10 pts) Find the Taylor series expansions for f(x) = sin at z = 0 and x = 3, Find the radius of convergence for these series. 2. (5 pts) Find the Taylor series expansion for f(x) = 1/z at 2. 3. (5 pts) Find the sum of the serics rA 5nn! 4" (5...
Cellular Metabolism Lab We will walk through the steps of Cellular Respiration in this activity. Please do not skip ahead or leave out steps. Fully taking the time to cut out, arrange the shapes, and answer the attached questions will help you to gain a deeper understanding of cellular respiration (the process of making energy, ATP, the major contributor to our overall metabolism). Pages 941-948 in you TEXTBOOK should help you answer the questions. Grading Notes: You can either 1)...