-2

Prove/ Disprove:

  • For every nontrivial $A,B\in R$, $A\le_m B$
  • For every nontrivial $A,B\in RE$, $A\le_m B$

trivial set is the empty-set or $\Sigma^*$.

So basically the question is if for every two nontrivial sets there is a computable function from $A$ to $B$.

I'd be glad to get hint/guidance since I'm kinda stuck and not sure how to attack this problem.

Thanks.

Elimination
  • 389
  • 4
  • 13

1 Answers1

3

HINT:

Go again over the definition of reductions. The many-one reduction from $A$ to $B$ is a function $f: \Sigma^* \to \Sigma^*$ that satisfies:

  1. $f$ is complete (=defined on any input)
  2. $f$ is computable (hint, hint).
  3. $f$ is valid: $x\in A$ if and only if $f(x) \in B$.

The "non trivial" part means there exists $x \in A$ and $x' \notin A$, and more importantly - the same holds for $B$. Now it should be fairly easy for you to complete the answer of your question.

Ran G.
  • 20,684
  • 3
  • 60
  • 115