Ian Simplification

Specification

?
\[\begin{array}{l} \\ \frac{\mathsf{PI}\left(\right)}{2} - 2 \cdot \sin^{-1} \left(\sqrt{\frac{1 - x}{2}}\right) \end{array} \]
(FPCore (x)
 :precision binary64
 (- (/ (PI) 2.0) (* 2.0 (asin (sqrt (/ (- 1.0 x) 2.0))))))
\begin{array}{l}

\\
\frac{\mathsf{PI}\left(\right)}{2} - 2 \cdot \sin^{-1} \left(\sqrt{\frac{1 - x}{2}}\right)
\end{array}

Reproduce

?
herbie shell --seed 2025035 
(FPCore (x)
  :name "Ian Simplification"
  :precision binary64

  :alt
  (! :herbie-platform default (asin x))

  (- (/ (PI) 2.0) (* 2.0 (asin (sqrt (/ (- 1.0 x) 2.0))))))

Please file a bug report with this information.

Backtrace

operator-info: Unknown operator $literalLC
(unnamed)/usr/share/racket/collects/racket/contract/private/arrow-higher-order.rkt37933
rebuild-enode/home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt5850
split-untyped-eclasses/home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt6300
make-typed-eclasses/home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt7950
make-regraph/home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt8420
egraph-best/home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt13920
simplify-batch/home/nightlies/herbie/really-crazy-encodings/src/core/simplify.rkt190
(unnamed)/usr/share/racket/collects/racket/contract/private/arrow-val-first.rkt48618
initial-simplify/home/nightlies/herbie/really-crazy-encodings/src/core/preprocess.rkt540
find-preprocessing/home/nightlies/herbie/really-crazy-encodings/src/core/preprocess.rkt810
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