I have been tasked to create a mapping reduction from a decidable language to the Halting problem and also prove it. I'm absolutely stumped, any help is appreciated.
2026-03-28 07:44:47.1774683887
How can I create a mapping reduction from a decidable language to the halting problem and also prove it?
800 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
I'm assuming that a mapping reduction is a computable function $f$ such that $x\in L$ iff $f(x) \in H$ (I know this as a many-one reduction). Tell me if you mean something different or if you don't understand the conventions I use below.
Fix your decidable language $L$, and the halting problem $H$. Let $P$ be the procedure that decides $L$, and let $Q$ be any procedure that never halts. We now define $f$:
Now, you need to show that $f$ is computable and that $x\in L$ iff $f(x)\in H$.