• edited by
28,567 views
73 73 votes

Let $A\:\leq_m\:B$ denotes that language $A$ is mapping reducible (also known as many-to-one reducible) to language $B$. Which one of the following is FALSE?

  1. If $A\: \leq_m B$ and $B$ is recursive then $A$ is recursive.
  2. If $A\: \leq_m B$ and $A$ is undecidable then $B$ is undecidable.
  3. If $A\: \leq_m B$ and $B$ is recursively enumerable then $A$ is recursively enumerable.
  4. If $A\: \leq_m B$ and $B$ is not recursively enumerable then $A$ is not recursively enumerable.

6 Answers

Best answer
60 60 votes

$A \leq_m  B$ means $A$ cannot be harder than $B$. (Since $A$ can be reduced to $B$, instead of deciding $A$, we can now decide $B$)

So, the first 3 options are correct. Option (D) is false, as $B$ is not recursively enumerable doesn't guarantee $A$ is not recursively enumerable. 

• edited by
61 61 votes

This slide explains everything

4 4 votes
The rules are: If A ≤p B
Rule 1: If B is recursive then A is recursive.
Rule 2: If B is recursively enumerable then A is recursively enumerable.
Rule 3: If A is not recursively enumerable then B is not recursively enumerable.
Rule 4: If A is undecidable then B is undecidable.
Other than these rules, all conclusion are false.

so option (D) is false
2 2 votes

We are given that $ A \leq_m B $ denotes mapping reducibility (also called many-to-one reducibility) from language $ A $ to language $ B $. This means there exists a computable function $ f $ such that for all $ x $:

$$
x \in A \iff f(x) \in B.
$$

Option A: If $ A \leq_m B $ and $ B $ is recursive, then $ A $ is recursive.

This is TRUE.

If $ B $ is recursive, there exists a decider $ M_B $ for $ B $. To decide $ A $, construct a machine $ M_A $ that on input $ x $:

  1. Computes $ f(x) $ (since $ f $ is computable).
  2. Runs $ M_B $ on $ f(x) $.
  3. Accepts if $ M_B $ accepts; rejects otherwise.

Since both steps halt, $ M_A $ halts on all inputs and correctly decides $ A $. Hence, $ A $ is recursive.

Option B: If $ A \leq_m B $ and $ A $ is undecidable, then $ B $ is undecidable.

This is TRUE.

We prove the contrapositive: if $ B $ is decidable, then $ A $ is decidable which we just proved in Option A. Therefore, if $ A $ is undecidable, $ B $ cannot be decidable so $ B $ must be undecidable.

Option C: If $ A \leq_m B $ and $ B $ is recursively enumerable, then $ A $ is recursively enumerable.

This is TRUE.

If $ B $ is r.e., there exists a Turing machine $ M_B $ that accepts exactly the strings in $ B $. To recognize $ A $, construct a machine $ M_A $ that on input $ x $:

  1. Computes $ f(x) $.
  2. Simulates $ M_B $ on $ f(x) $.
  3. Accepts if $ M_B $ accepts.

If $ x \in A $, then $ f(x) \in B $, so $ M_B $ will eventually accept, and thus $ M_A $ accepts. If $ x \notin A $, then $ f(x) \notin B $, so $ M_B $ may loop or reject but since we only require recognition (not rejection), this is acceptable for r.e. languages.

Hence, $ A $ is recursively enumerable.

Option D: If $ A \leq_m B $ and $ B $ is not recursively enumerable, then $ A $ is not recursively enumerable.

This is FALSE.

Counterexample:

Let $ A = \emptyset $ (which is recursive, hence r.e.). Let $ B $ be any non-recursively enumerable language (e.g., the complement of the acceptance problem $ \overline{A_{\text{TM}}} $).

Define $ f(x) = w_0 $, where $ w_0 \notin B $ (possible because $ B \neq \Sigma^* $, as it’s not r.e.).

Then:

  • $ x \in A \iff f(x) \in B $ becomes:  
  • False $ \iff $ False → always true.

So $ A \leq_m B $ holds.

But $ A = \emptyset $ is recursively enumerable (in fact, recursive), while $ B $ is not r.e.Thus, even though $ B $ is not r.e., $ A $ can still be r.e. so the implication fails.

Therefore, Option D is false.

 

$$
\color{lime} \boxed{\text{Answer: D}}
$$

0 0 votes
  • A ≤m B means language A is mapping reducible to language B.Thus, A cannot be harder than B. Since, A can be reduced to B, instead of deciding A we can now decide B. So, the first three options are correct.
  • As B is not recursively enumerable, it doesn't guarantee A is not recursively enumerable.Thus, if A ≤m B and B is not recursively enumerable then A is not recursively enumerable. Therefore, answer is D is correct
Answer:
Position:
Show:

Related questions

114 114 votes
8 answers 8 answers
40.1k
40.1k views
go_editor asked Sep 28, 2014
40,080 views
Let $\langle M \rangle$ be the encoding of a Turing machine as a string over $\Sigma=\left\{0,1\right\}$. Let $$L=\left\{\langle M \rangle \mid M \text{ is a Turing machi...
178 178 votes
9 answers 9 answers
44.7k
44.7k views
go_editor asked Sep 28, 2014
44,718 views
Let $L_1=\{w\in\{0,1\}^*\mid w$ $\text{ has at least as many occurrences of }$ $(110)'\text{s as }$ $(011)'\text{s} \}$. Let $L_2=\{w \in\{0,1\}^*\ \mid w$ $ \text{ has a...
62 62 votes
4 answers 4 answers
17.2k
17.2k views
go_editor asked Sep 28, 2014
17,239 views
If $L_1\:=\{a^n \mid n\:\geq\:0\}$ and $L_2\:= \{b^n \mid n\:\geq\:0\}$ , consider $L_1.L_2$ is a regular language$L_1.L_2 = \{a^nb^n \mid n\: \geq \:0\}$Which one of th...
125 125 votes
9 answers 9 answers
49.1k
49.1k views
go_editor asked Sep 28, 2014
49,097 views
Consider the main memory system that consists of $8$ memory modules attached to the system bus, which is one word wide. When a write request is made, the bus is occupied ...