g_2(\tilde{y})=\left\{
\begin{array}{rl}
\beta,\,\tilde{y}\ne y\\
\gamma,\,\tilde{y}=y
\end{array} \right