Question: Given some alphabet Sigma , we define the operator between two strings as the number of positions in which the strings and differ. That

Given some alphabet \Sigma , we define the operator between two
strings as the number of positions in which the strings and
differ. That is,
For instance ,,.
Claim: The language
is regular.
dist
x, y in \Sigma * x y
dist(x, y)={
n if | x |=| y | and they differ in exactly n positions
\infty if x != y
dist(aa, baa)=\infty dist(aab, baa)=2 dist(aba, bab)=3
dist_2(L)={w in \Sigma * : x in L s.t. dist(x,w)<=2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!