Can we tell if a program always returns 2 when it halts?

74 Views Asked by At

Is the following computable ?

Notation: We use $Φ_k$ to denote the k-th computable function

$$g(x) = \begin{cases} 1 & ∀z (Φ_x(z) = 2 ∨ Φ_x(z) ↑) \\ ↑\ &otherwise \end{cases} $$

I really need your help.

Thanks