Lanczos kernel

Specification

?
\[\left(10^{-5} \leq x \land x \leq 1\right) \land \left(1 \leq tau \land tau \leq 5\right)\]
\[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(x \cdot \pi\right) \cdot tau\\ \frac{\sin t\_1}{t\_1} \cdot \frac{\sin \left(x \cdot \pi\right)}{x \cdot \pi} \end{array} \end{array} \]
(FPCore (x tau)
 :precision binary32
 (let* ((t_1 (* (* x PI) tau)))
   (* (/ (sin t_1) t_1) (/ (sin (* x PI)) (* x PI)))))
float code(float x, float tau) {
	float t_1 = (x * ((float) M_PI)) * tau;
	return (sinf(t_1) / t_1) * (sinf((x * ((float) M_PI))) / (x * ((float) M_PI)));
}
function code(x, tau)
	t_1 = Float32(Float32(x * Float32(pi)) * tau)
	return Float32(Float32(sin(t_1) / t_1) * Float32(sin(Float32(x * Float32(pi))) / Float32(x * Float32(pi))))
end
function tmp = code(x, tau)
	t_1 = (x * single(pi)) * tau;
	tmp = (sin(t_1) / t_1) * (sin((x * single(pi))) / (x * single(pi)));
end
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \left(x \cdot \pi\right) \cdot tau\\
\frac{\sin t\_1}{t\_1} \cdot \frac{\sin \left(x \cdot \pi\right)}{x \cdot \pi}
\end{array}
\end{array}

Reproduce

?
herbie shell --seed 2024097 
(FPCore (x tau)
  :name "Lanczos kernel"
  :precision binary32
  :pre (and (and (<= 1e-5 x) (<= x 1.0)) (and (<= 1.0 tau) (<= tau 5.0)))
  (* (/ (sin (* (* x PI) tau)) (* (* x PI) tau)) (/ (sin (* x PI)) (* x PI))))

Please file a bug report with this information.

Backtrace

default-extraction-proc: did not compute cost for all eclasses: #((0 . binary32) (5 + 2 3 4) (0 $Type binary32 binary32 binary32) (1 . 1) (3 * 2 33 33) (1 . 2) #f #f #f #f #f (0 . binary64) #f #f #f #f (0 $Type binary32 binary32 binary32 binary32) #f #f #f #f (1 $Var 34 41) #f (0 . h1) (0 $Type binary32 binary32) (0 $Type binary64 binary64) #f (1 . -1/6) #f (3 * 2 21 21) #f #f #f (1 $Var 34 23) (0 $Type binary32) #f #f #f (3 * 2 21 33) #f #f (0 . h0) #f #f #f #f (1 . 0) #f)LC
run-egg/home/nightlies/herbie/egg-serialize/src/core/egg-herbie.rkt10260
simplify-batch/home/nightlies/herbie/egg-serialize/src/core/simplify.rkt150
(unnamed)/usr/local/racket/collects/racket/contract/private/arrow-higher-order.rkt37933
final-simplify!/home/nightlies/herbie/egg-serialize/src/mainloop.rkt3880
extract!/home/nightlies/herbie/egg-serialize/src/mainloop.rkt830
run-improve!/home/nightlies/herbie/egg-serialize/src/mainloop.rkt510
get-alternatives/report/home/nightlies/herbie/egg-serialize/src/sandbox.rkt1710
(unnamed)/home/nightlies/herbie/egg-serialize/src/sandbox.rkt2666
(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