Symbol: sym_compute_residual