\[\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 r31633 = x;
        double r31634 = y;
        double r31635 = z;
        double r31636 = r31634 + r31635;
        double r31637 = r31633 * r31636;
        double r31638 = r31637 / r31635;
        return r31638;
}

Reproduce

Please include this information when filing a bug report:

herbie shell --seed 2019315 +o rules:numerics
(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

argmin: contract violation expected: (and/c list? (not/c empty?)) given: '() argument position: 2nd other arguments...: #<procedure:composed>LC
argmin/opt/racket-7.2/collects/racket/list.rkt7650
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.rkt3700
(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