Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . One perspective of this class is that we are developing a theory of representation, or definability. For finite sets, this is easy, but
One perspective of this class is that we are developing a theory of representation, or definability. For finite sets, this is easy, but it becomes more challenging for infinite languages. This class is really about the ability of different finite objects to understand and describe infinite sets.
a points Prove every finite language is regular.
b points Suppose we relax our definition of DFA too much. We define a DIA to be exactly like a DFA except QN and delta F are adjusted appropriately. Prove that every language is decidable by a DIA.
Give an NFA, DFA, and regular expression for the following languages. Your solution doesnt have to be minimal, but it may assist the TA in grading. These may seem similar, but I promise they have different solutions. Here intw converts the binary string w to a number and you may suppose intepsi
apointsNFADFA,RegexforLn nmod
bpointsNFAandDFAforLw in Sigma intwmod
cpointsDFAforLw in Sigma intwmod
Let D be a DFA with exactly one accept state which decides language L Prove thatifx,y in Lthenz in Sigma thatxz,yzarebothinLorbothnotinL. Hint induction on the length of z
Suppose that you are given two DFAs DD which use the same alphabet and have nm states respectively. Prove you can determine LD LD only by testing DD on all strings up to some length k What is kHint consider the contrapositive. If LD LD then there is a shortest string they disagree on What is an upperbound on the length of this string? For a second hint, consider the DFA cartesian product at the end of lecture LB This problem is cool because you can prove the DFAs have identical behavior on infinitely many inputs, all of them, just by testing them on a few.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started