Question: 5. (10 Points) In this question you will show that DFAs and NFAs are extremely limited as computing devices. They cannot even compute multiplication and

5. (10 Points) In this question you will show that DFAs and NFAs are extremely limited as computing devices. They cannot even compute multiplication and iterated exponen tiation (although it is easy to compute each of these on a general-purpose computer) (a) Let -{a,b,c} and consider the task of multiplication encoded in the language L = {anbenk : n > 0, k > 0). Prove that L is not regular using the pumping lemma. (b) Let f(n) denote iterated exponentiation with base 2. Formally, it is defined as follows ifn=0 f(n)n-1) if n 21 For your intuition, consider f(1) 2, f(2) 22, f(3)22 f(4) 22, and so on. In words, f(n) is a tower of height n of powers of 2 (b.1) Prove by induction that 2 2n and argue that it implies f(m+1)2 2f(m) (b.2) Prove by induction that f(n) > n (b.3) Let 2(a. Prove that L -a/(m) n 0 is not regular using the pumping lemma Hint: you may structure your proof similar to the proof of (a n 20 being not regular from lectures and use (b.1) and (b.2)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
