\[\frac{x \cdot \left(y + z\right)}{z}\]
\frac{x \cdot \left(y + z\right)}{z}
double f(double x, double y, double z) {
        double r257373 = x;
        double r257374 = y;
        double r257375 = z;
        double r257376 = r257374 + r257375;
        double r257377 = r257373 * r257376;
        double r257378 = r257377 / r257375;
        return r257378;
}

Reproduce

Please include this information when filing a bug report:

herbie shell --seed 2019323 
(FPCore (x y z)
  :name "Numeric.SpecFunctions:choose from math-functions-0.1.5.2"
  :precision binary64

  :herbie-target
  (/ x (/ z (+ y z)))

  (/ (* x (+ y z)) z))

Backtrace

get-representation: Unknown representation realLC
(unnamed)/data/pavpan/nightlies/herbie/fix-interface-bugs/src/core/regimes.rkt653
filter/opt/racket-7.2/collects/racket/private/list.rkt2562
infer-splitpoints/data/pavpan/nightlies/herbie/fix-interface-bugs/src/core/regimes.rkt340
get-final-combination/data/pavpan/nightlies/herbie/fix-interface-bugs/src/mainloop.rkt3690
(unnamed)/opt/racket-7.2/collects/racket/private/more-scheme.rkt26128
run/opt/racket-7.2/share/pkgs/profile-lib/main.rkt392
profile-thunk16/opt/racket-7.2/share/pkgs/profile-lib/main.rkt90
(unnamed)/opt/racket-7.2/collects/racket/private/more-scheme.rkt26128