-- Mar 4 In-Class Exercise
Assume this function is not hard with respect to a regular language than there exists a DFA to represent this regular language let p be a pumping lemma consider the string w = 0^p10^p1 By pumping lemma, w=xyz, x=0^k, y=0^j, where k+j<=p, j>0 and z=10^p1. Then we can get w'=xy^iz, using i=0,xz=1^k0^p1 which proves by contradiction that is not an accepted language by L
Assume this function is not hard with respect to a regular language than there exists a DFA to represent this regular language let p be a pumping lemma consider the string w = 0^p10^p1 By pumping lemma, w=xyz, x=0^k, y=0^j, where k+j<=p, j>0 and z=10^p1. Then we can get w'=xy^iz, using i=0,xz=1^k0^p1 which proves by contradiction that is not an accepted language by L