Question: For any language E , we can define another language Nearly ( E ) which contains all strings that differ from some string in E
For any language we can define another language Nearly which contains all strings that
differ from some string in by exactly one letter. For example, if and aaa
then Nearly aab,aba,baa Note that to generate new strings in Nearly
we change characters in strings from but we do not remove or add letters. Describe how to take
a DFA for and construct an NFA for Nearly Your description should have five parts:
A highlevel intuitive description of the procedure for constructing the NFA.
An example where you build the construction for an example DFA.
A formal description of the new NFA, based on the DFA
Given a string in Nearly how do you construct an accepting path in your automaton
using knowledge about the location of the typo and the accepting path in
Given a string your automaton accepts, how do you use its accepting path to convince the
reader that it is in Nearly
Note that this is not asking for a fully formal proof of correctness, with lots of lines of symbols and
However, the above steps contain all the ideas necessary to produce such a thing if you really
had to
Hint: It will be helpful to make two copies of the DFA for
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
