Expression 3, p15

Specification

?
\[0 \leq x \land x \leq 2\]
\[\begin{array}{l} \\ x \cdot \left(x \cdot x\right) + x \cdot x \end{array} \]
(FPCore (x) :precision binary64 (+ (* x (* x x)) (* x x)))
double code(double x) {
	return (x * (x * x)) + (x * x);
}
real(8) function code(x)
    real(8), intent (in) :: x
    code = (x * (x * x)) + (x * x)
end function
public static double code(double x) {
	return (x * (x * x)) + (x * x);
}
def code(x):
	return (x * (x * x)) + (x * x)
function code(x)
	return Float64(Float64(x * Float64(x * x)) + Float64(x * x))
end
function tmp = code(x)
	tmp = (x * (x * x)) + (x * x);
end
code[x_] := N[(N[(x * N[(x * x), $MachinePrecision]), $MachinePrecision] + N[(x * x), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
x \cdot \left(x \cdot x\right) + x \cdot x
\end{array}

Reproduce

?
herbie shell --seed 2024246 
(FPCore (x)
  :name "Expression 3, p15"
  :precision binary64
  :pre (and (<= 0.0 x) (<= x 2.0))

  :alt
  (! :herbie-platform default (* (* (+ 1 x) x) x))

  (+ (* x (* x x)) (* x x)))

Please file a bug report with this information.

Backtrace

map: contract violation expected: list? given: '((+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x)) . #hasheq((errs . (1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...LC
gen-map/usr/local/racket/collects/racket/private/map.rkt2572
actual-errors/home/nightlies/herbie/zane-concrete-values/src/core/explain.rkt350
generate-timelines/home/nightlies/herbie/zane-concrete-values/src/core/explain.rkt4930
explain!/home/nightlies/herbie/zane-concrete-values/src/core/mainloop.rkt3220
run-improve!/home/nightlies/herbie/zane-concrete-values/src/core/mainloop.rkt440
get-alternatives/report/home/nightlies/herbie/zane-concrete-values/src/api/sandbox.rkt1860
(unnamed)/home/nightlies/herbie/zane-concrete-values/src/api/sandbox.rkt2826
(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