\[\frac{\left(x \cdot 2\right) \cdot y}{x - y}\]
\frac{\left(x \cdot 2\right) \cdot y}{x - y}
double f(double x, double y) {
        double r8854 = x;
        double r8855 = 2.0;
        double r8856 = r8854 * r8855;
        double r8857 = y;
        double r8858 = r8856 * r8857;
        double r8859 = r8854 - r8857;
        double r8860 = r8858 / r8859;
        return r8860;
}

Reproduce

Please include this information when filing a bug report:

herbie shell --seed 2019194 
(FPCore (x y)
  :name "Linear.Projection:perspective from linear-1.19.1.3, B"

  :herbie-target
  (if (< x -1.7210442634149447e+81) (* (/ (* 2.0 x) (- x y)) y) (if (< x 8.364504563556443e+16) (/ (* x 2.0) (/ (- x y) y)) (* (/ (* 2.0 x) (- x y)) y)))

  (/ (* (* x 2.0) y) (- x y)))

Backtrace

result arity mismatch; expected number of values not received expected: 2 received: 1 in: local-binding form values...: 0LC
loop/data/pavpan/nightlies/herbie/various-cleanup/src/core/extraction.rkt252
(unnamed)/data/pavpan/nightlies/herbie/various-cleanup/src/core/simplify.rkt260
simplify!/data/pavpan/nightlies/herbie/various-cleanup/src/mainloop.rkt2200
run-improve47/data/pavpan/nightlies/herbie/various-cleanup/src/mainloop.rkt3420
(unnamed)/opt/racket-7.0/collects/racket/private/more-scheme.rkt26128
run/opt/racket-7.0/share/pkgs/profile-lib/main.rkt392
profile-thunk16/opt/racket-7.0/share/pkgs/profile-lib/main.rkt90
(unnamed)/opt/racket-7.0/collects/racket/private/more-scheme.rkt26128