Many-one reduction
A total computable transformation that preserves yes/no membership as displayed. A solver for B would then solve A after transforming the input.
REFERENCE SHEET
Transfer impossibility by showing how a hypothetical solver would solve a known impossible problem.
Before this Turing machines, deciders & recognizers
A total computable transformation that preserves yes/no membership as displayed. A solver for B would then solve A after transforming the input.
HALT={⟨M,w⟩: machine M halts on input w}. It asks about halting, not specifically acceptance.
A property of the language recognized by a machine rather than of the syntax or particular implementation of its description.
No Turing-machine decider correctly answers halting for every machine–input pair. Diagonalization constructs a program that contradicts a purported universal halting decider.
If A≤ₘB and B is decidable, A is decidable. Equivalently, if A is undecidable, such a reduction proves B undecidable.
Every nontrivial property of Turing-recognizable languages has an undecidable machine-description index set. Nontrivial means it holds for some recognizable language and fails for another.
Universal, always-terminating, exact semantic analysis is impossible for many properties of unrestricted programs.
Use restricted languages, bounded exploration, or conservative approximations when exact general analysis cannot terminate on every input.
01 / Construct a reduction
Make N ignore its own input and simulate the given instance.
From ⟨M,w⟩, construct N that on any input simulates M(w), then accepts if that simulation halts. If M halts, N accepts every string; otherwise it accepts none. This computable construction proves the target undecidable.
02 / Apply or reject
Ask whether the property depends only on the language.
Emptiness is a nontrivial semantic language property, so Rice applies. State count is syntactic and not invariant under replacing a machine by an equivalent one; Rice does not apply. State count is decidable by inspecting the finite description.
Further reading and full-length treatments: