


Bits error versus x
Results
Initial program 0.0
Initial simplification0.0
rmApplied add-cbrt-cube0.0
rmApplied add-cube-cbrt0.0
Final simplification0.0
herbie shell --seed 2018362 +o rules:numerics
(FPCore (x)
:name "arccos"
(* 2 (atan (sqrt (/ (- 1 x) (+ 1 x))))))
Time bar (total: 44.8s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.0b
Found 3 expressions with local error:
| 0.0b | (atan (sqrt (/ (- 1 x) (+ 1 x)))) |
| 0.0b | (/ (- 1 x) (+ 1 x)) |
| 0.0b | (sqrt (/ (- 1 x) (+ 1 x))) |
3 calls. Slowest were:
| 7.0ms | (/ (- 1 x) (+ 1 x)) |
| 3.0ms | (sqrt (/ (- 1 x) (+ 1 x))) |
| 2.0ms | (atan (sqrt (/ (- 1 x) (+ 1 x)))) |
3 calls. Slowest were:
| 459.0ms | (sqrt (/ (- 1 x) (+ 1 x))) |
| 12.0ms | (/ (- 1 x) (+ 1 x)) |
| 11.0ms | (atan (sqrt (/ (- 1 x) (+ 1 x)))) |
57 calls. Slowest were:
| 1.8s | (- (+ (sqrt -1) (/ 1 (* x (sqrt -1)))) (+ (/ 1 (* (pow x 2) (sqrt -1))) (* 1/2 (/ 1 (* (pow x 2) (pow (sqrt -1) 3)))))) |
| 1.6s | (- (+ (sqrt -1) (/ 1 (* x (sqrt -1)))) (+ (/ 1 (* (pow x 2) (sqrt -1))) (* 1/2 (/ 1 (* (pow x 2) (pow (sqrt -1) 3)))))) |
| 370.0ms | (/ (* (* (- 1 x) (- 1 x)) (- 1 x)) (* (* (+ 1 x) (+ 1 x)) (+ 1 x))) |
3 alts after pruning (3 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.0b | (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) |
| 0.0b | (cbrt (* (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) (/ (- 1 x) (+ 1 x)))) |
| 0.0b | (atan (sqrt (cbrt (* (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) (/ (- 1 x) (+ 1 x)))))) |
| 0.0b | (/ (- 1 x) (+ 1 x)) |
4 calls. Slowest were:
| 21.0ms | (cbrt (* (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) (/ (- 1 x) (+ 1 x)))) |
| 7.0ms | (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) |
| 5.0ms | (/ (- 1 x) (+ 1 x)) |
4 calls. Slowest were:
| 24.0ms | (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) |
| 19.0ms | (cbrt (* (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) (/ (- 1 x) (+ 1 x)))) |
| 10.0ms | (/ (- 1 x) (+ 1 x)) |
| 3.0ms | (atan (sqrt (cbrt (* (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) (/ (- 1 x) (+ 1 x)))))) |
96 calls. Slowest were:
| 1.1s | (cbrt (* (* (- 1 x) (- 1 x)) (/ (- 1 x) (+ 1 x)))) |
| 678.0ms | (* (* (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) (/ (- 1 x) (+ 1 x))) (* (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) (/ (- 1 x) (+ 1 x)))) |
| 379.0ms | (/ (* (* (- 1 x) (- 1 x)) (- 1 x)) (* (* (+ 1 x) (+ 1 x)) (+ 1 x))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.0b | (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) |
| 0.0b | (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) |
| 0.0b | (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) |
| 0.0b | (* (cbrt (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x)))) (cbrt (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))))) |
4 calls. Slowest were:
| 8.0ms | (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) |
| 7.0ms | (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) |
| 7.0ms | (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) |
4 calls. Slowest were:
| 60.0ms | (* (cbrt (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x)))) (cbrt (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))))) |
| 17.0ms | (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) |
| 14.0ms | (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) |
| 13.0ms | (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) |
187 calls. Slowest were:
| 885.0ms | (* (cbrt (* (/ (- 1 x) (+ 1 x)) (- 1 x))) (cbrt (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))))) |
| 722.0ms | (* (* (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) (/ (- 1 x) (+ 1 x))) (* (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) (/ (- 1 x) (+ 1 x)))) |
| 676.0ms | (* (* (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) (/ (- 1 x) (+ 1 x))) (* (* (/ (- 1 x) (+ 1 x)) (/ (- 1 x) (+ 1 x))) (/ (- 1 x) (+ 1 x)))) |
4 alts after pruning (2 fresh and 2 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.0b | (* (cbrt (- 1 x)) (cbrt (- 1 x))) |
| 0.0b | (* (* (cbrt (- 1 x)) (cbrt (- 1 x))) (/ (cbrt (- 1 x)) (+ 1 x))) |
| 0.0b | (/ (cbrt (- 1 x)) (+ 1 x)) |
| 0.0b | (cbrt (- 1 x)) |
4 calls. Slowest were:
| 15.0ms | (* (* (cbrt (- 1 x)) (cbrt (- 1 x))) (/ (cbrt (- 1 x)) (+ 1 x))) |
| 5.0ms | (* (cbrt (- 1 x)) (cbrt (- 1 x))) |
| 4.0ms | (/ (cbrt (- 1 x)) (+ 1 x)) |
4 calls. Slowest were:
| 45.0ms | (cbrt (- 1 x)) |
| 39.0ms | (/ (cbrt (- 1 x)) (+ 1 x)) |
| 36.0ms | (* (cbrt (- 1 x)) (cbrt (- 1 x))) |
| 11.0ms | (* (* (cbrt (- 1 x)) (cbrt (- 1 x))) (/ (cbrt (- 1 x)) (+ 1 x))) |
159 calls. Slowest were:
| 494.0ms | (* (* (cbrt (+ 1 x)) (cbrt (+ (* 1 1) (+ (* x x) (* 1 x))))) (+ 1 x)) |
| 486.0ms | (* (* (cbrt (+ (* 1 1) (+ (* x x) (* 1 x)))) (cbrt (+ 1 x))) (+ 1 x)) |
| 367.0ms | (* (* (- 1 x) (- 1 x)) (/ (- 1 x) (* (* (+ 1 x) (+ 1 x)) (+ 1 x)))) |
3 alts after pruning (1 fresh and 2 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b