Examples.Basics.ProofTests:f4 from sbv-4.4

Specification

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

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

Reproduce

?
herbie shell --seed 2024035 
(FPCore (x y)
  :name "Examples.Basics.ProofTests:f4 from sbv-4.4"
  :precision binary64

  :herbie-target
  (+ (* x x) (+ (* y y) (* (* x y) 2.0)))

  (+ (+ (* x x) (* (* x 2.0) y)) (* y y)))

Please file a bug report with this information.

Backtrace

list-ref: index too large for list index: 256 in: '(#f #f #f #f #f #f #f #f #f #f #f #f #f #f #f #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t...LC
valid-splitindices?/home/nightlies/herbie/zane-regimes-2/src/core/regimes.rkt1700
(unnamed).../private/arr-i.rkt9618
option-on-expr/home/nightlies/herbie/zane-regimes-2/src/core/regimes.rkt1060
infer-splitpoints/home/nightlies/herbie/zane-regimes-2/src/core/regimes.rkt390
loop/home/nightlies/herbie/zane-regimes-2/src/core/regimes.rkt272
loop/home/nightlies/herbie/zane-regimes-2/src/core/regimes.rkt272
extract!/home/nightlies/herbie/zane-regimes-2/src/mainloop.rkt3650
run-improve!/home/nightlies/herbie/zane-regimes-2/src/mainloop.rkt3390
get-alternatives/report/home/nightlies/herbie/zane-regimes-2/src/sandbox.rkt1690
(unnamed)/home/nightlies/herbie/zane-regimes-2/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