Definition
Correctness Problem
The correctness problem is a decision problem that asks, for a given program and two strings , whether halts on input and outputs output .
It is undecidable and semi-decidable.
Undecidable
The correctness problem is undecidable given that the problem statement implicitly asks whether halts on input (implicit Halting Problem).