


Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t



Bits error versus a



Bits error versus b



Bits error versus c
Initial program 3.9
Initial simplification2.0
Final simplification2.0
herbie shell --seed 2018360 +o rules:numerics
(FPCore (x y z t a b c)
:name "Numeric.SpecFunctions:invIncompleteBetaWorker from math-functions-0.1.5.2"
(/ x (+ x (* y (exp (* 2.0 (- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))))))))
Time bar (total: 11.7s)Debug log
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.2b
Found 4 expressions with local error:
| 4.7b | (* (/ (* 2.0 z) t) (sqrt (+ a t))) |
| 0.3b | (fma (- (+ (/ 5.0 6.0) a) (/ (/ 2.0 t) 3.0)) (* (- c b) 2.0) (* (/ (* 2.0 z) t) (sqrt (+ a t)))) |
| 0.2b | (/ (/ 2.0 t) 3.0) |
| 0.0b | (- (+ (/ 5.0 6.0) a) (/ (/ 2.0 t) 3.0)) |
4 calls. Slowest were:
| 36.0ms | (- (+ (/ 5.0 6.0) a) (/ (/ 2.0 t) 3.0)) |
| 11.0ms | (* (/ (* 2.0 z) t) (sqrt (+ a t))) |
| 5.0ms | (/ (/ 2.0 t) 3.0) |
4 calls. Slowest were:
| 195.0ms | (fma (- (+ (/ 5.0 6.0) a) (/ (/ 2.0 t) 3.0)) (* (- c b) 2.0) (* (/ (* 2.0 z) t) (sqrt (+ a t)))) |
| 58.0ms | (* (/ (* 2.0 z) t) (sqrt (+ a t))) |
| 19.0ms | (- (+ (/ 5.0 6.0) a) (/ (/ 2.0 t) 3.0)) |
| 13.0ms | (/ (/ 2.0 t) 3.0) |
68 calls. Slowest were:
| 673.0ms | (- (* (+ (pow (/ 5.0 6.0) 3) (pow a 3)) 3.0) (* (+ (* (/ 5.0 6.0) (/ 5.0 6.0)) (- (* a a) (* (/ 5.0 6.0) a))) (/ 2.0 t))) |
| 331.0ms | (- (* 2.0 (* a c)) (+ (* 2.0 (* a b)) (* 1.6666666666666667 b))) |
| 319.0ms | (fma 1 (+ (/ 5.0 6.0) a) (- (* (/ (/ 2.0 t) 3.0) 1))) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0b
Found 2 expressions with local error:
| 0.1b | (fma (/ 1.3333333333333333 t) (- b c) (* 1.6666666666666667 c)) |
| 0.0b | (/ x (fma y (exp (fma (/ 1.3333333333333333 t) (- b c) (* 1.6666666666666667 c))) x)) |
2 calls. Slowest were:
| 1.0ms | (/ x (fma y (exp (fma (/ 1.3333333333333333 t) (- b c) (* 1.6666666666666667 c))) x)) |
| 0.0ms | (fma (/ 1.3333333333333333 t) (- b c) (* 1.6666666666666667 c)) |
2 calls. Slowest were:
| 159.0ms | (/ x (fma y (exp (fma (/ 1.3333333333333333 t) (- b c) (* 1.6666666666666667 c))) x)) |
| 37.0ms | (fma (/ 1.3333333333333333 t) (- b c) (* 1.6666666666666667 c)) |
9 calls. Slowest were:
| 177.0ms | (cbrt (fma y (exp (fma (/ 1.3333333333333333 t) (- b c) (* 1.6666666666666667 c))) x)) |
| 167.0ms | (- (+ (* 1.3333333333333333 (/ b t)) (* 1.6666666666666667 c)) (* 1.3333333333333333 (/ c t))) |
| 127.0ms | (- (+ (* 1.6666666666666667 c) (* 1.3333333333333333 (/ b t))) (* 1.3333333333333333 (/ c t))) |
2 alts after pruning (0 fresh and 2 done)
Merged error: 0b
0% (1.7b remaining)
Error of 2.0b against oracle of 0.3b and baseline of 2.0b