Data.Metrics.Snapshot:quantile from metrics-0.3.0.2

Specification

?
\[\begin{array}{l} \\ x + \left(y - z\right) \cdot \left(t - x\right) \end{array} \]
(FPCore (x y z t) :precision binary64 (+ x (* (- y z) (- t x))))
double code(double x, double y, double z, double t) {
	return x + ((y - z) * (t - x));
}
real(8) function code(x, y, z, t)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    code = x + ((y - z) * (t - x))
end function
public static double code(double x, double y, double z, double t) {
	return x + ((y - z) * (t - x));
}
def code(x, y, z, t):
	return x + ((y - z) * (t - x))
function code(x, y, z, t)
	return Float64(x + Float64(Float64(y - z) * Float64(t - x)))
end
function tmp = code(x, y, z, t)
	tmp = x + ((y - z) * (t - x));
end
code[x_, y_, z_, t_] := N[(x + N[(N[(y - z), $MachinePrecision] * N[(t - x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
x + \left(y - z\right) \cdot \left(t - x\right)
\end{array}

Reproduce

?
herbie shell --seed 2024039 
(FPCore (x y z t)
  :name "Data.Metrics.Snapshot:quantile from metrics-0.3.0.2"
  :precision binary64

  :herbie-target
  (+ x (+ (* t (- y z)) (* (- x) (- y z))))

  (+ x (* (- y z) (- t x))))

Please file a bug report with this information.

Backtrace

member: not a proper list in: 1LC
gather-multiplicative-terms/home/nightlies/herbie/sound-rules/src/core/reduce.rkt1250
simplify-node*/home/nightlies/herbie/sound-rules/src/core/reduce.rkt840
hash-ref!/usr/local/racket/collects/racket/private/more-scheme.rkt3772
hash-ref!/usr/local/racket/collects/racket/private/more-scheme.rkt3772
loop.../private/map.rkt4019
f19.../match/compiler.rkt55940
hash-ref!/usr/local/racket/collects/racket/private/more-scheme.rkt3772
loop.../private/map.rkt4019
f19.../match/compiler.rkt55940
hash-ref!/usr/local/racket/collects/racket/private/more-scheme.rkt3772
approximate/home/nightlies/herbie/sound-rules/src/core/taylor.rkt70
taylor-expr/home/nightlies/herbie/sound-rules/src/patch.rkt890
taylor-alt/home/nightlies/herbie/sound-rules/src/patch.rkt960
gen-series!/home/nightlies/herbie/sound-rules/src/patch.rkt1090
patch-table-run/home/nightlies/herbie/sound-rules/src/patch.rkt2570
(unnamed)/usr/local/racket/collects/racket/contract/private/arrow-val-first.rkt48618
run-iter!/home/nightlies/herbie/sound-rules/src/mainloop.rkt2880
mutate!/home/nightlies/herbie/sound-rules/src/mainloop.rkt3400
run-improve!/home/nightlies/herbie/sound-rules/src/mainloop.rkt3260
get-alternatives/report/home/nightlies/herbie/sound-rules/src/sandbox.rkt1690
(unnamed)/home/nightlies/herbie/sound-rules/src/sandbox.rkt2626
(unnamed)/usr/local/racket/share/pkgs/profile-lib/main.rkt4010
profile-thunk/usr/local/racket/share/pkgs/profile-lib/main.rkt90
(unnamed)/usr/local/racket/collects/racket/engine.rkt4224