Just did a test about the subject that had the following question:
I know it seems trivial and my first reaction was "well of course its true" but the epslilon kinda threw me off.
$L_2$={ab,$\epsilon$} $L_1$={a} , is there a computable reduction from $L_1\leq L_2$ ,: True Or False
I assumed by contradiction that its true and did the following :
My idea was that if we always reject epsilon , then the starting state would always reject on the empty string , therefor no reduction would exists.
, if $\epsilon\notin L_1$ then the computable function f must uphold: $f(\epsilon)\notin L_2\iff \epsilon\notin L_1$ Therefor the turning machine will always stop on the empty string , so she'll also stop on $\epsilon\cdot a=a$ therefor $f(\epsilon a)=f(a)\notin L_1$ in contradiction to the assumption
Now the answer was true apparently but I can't really understand why , I'm also not 100% sold on my solution , but since I managed to prove it I just went with it , so I assume that I have some mistake in the part of $f(\epsilon a)=f(a)$.
Thanks,