ab-angle->ABCF C

Specification

?
\[\begin{array}{l} \\ \begin{array}{l} t_0 := \mathsf{PI}\left(\right) \cdot \frac{angle}{180}\\ {\left(a \cdot \cos t\_0\right)}^{2} + {\left(b \cdot \sin t\_0\right)}^{2} \end{array} \end{array} \]
(FPCore (a b angle)
 :precision binary64
 (let* ((t_0 (* (PI) (/ angle 180.0))))
   (+ (pow (* a (cos t_0)) 2.0) (pow (* b (sin t_0)) 2.0))))
\begin{array}{l}

\\
\begin{array}{l}
t_0 := \mathsf{PI}\left(\right) \cdot \frac{angle}{180}\\
{\left(a \cdot \cos t\_0\right)}^{2} + {\left(b \cdot \sin t\_0\right)}^{2}
\end{array}
\end{array}

Reproduce

?
herbie shell --seed 2025036 -o generate:simplify -o generate:proofs
(FPCore (a b angle)
  :name "ab-angle->ABCF C"
  :precision binary64
  (+ (pow (* a (cos (* (PI) (/ angle 180.0)))) 2.0) (pow (* b (sin (* (PI) (/ angle 180.0)))) 2.0)))

Please file a bug report with this information.

Backtrace

not a single type!LC
make-regraph/home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt7420
egraph-variations/home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt13260
run-rr/home/nightlies/herbie/really-crazy-encodings/src/core/patch.rkt720
generate-candidates/home/nightlies/herbie/really-crazy-encodings/src/core/patch.rkt1080
run-iter!/home/nightlies/herbie/really-crazy-encodings/src/core/mainloop.rkt680
run-improve!/home/nightlies/herbie/really-crazy-encodings/src/core/mainloop.rkt450
get-alternatives/report/home/nightlies/herbie/really-crazy-encodings/src/api/sandbox.rkt1740
(unnamed)/home/nightlies/herbie/really-crazy-encodings/src/api/sandbox.rkt2656
(unnamed)/usr/share/racket/pkgs/profile-lib/main.rkt4010
profile-thunk/usr/share/racket/pkgs/profile-lib/main.rkt90
in-engine/home/nightlies/herbie/really-crazy-encodings/src/api/sandbox.rkt2832
(unnamed)/usr/share/racket/collects/racket/engine.rkt4224