Rename infer to infer_expr