


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.8
Initial simplification1.9
Final simplification1.9
herbie shell --seed 2018365 +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: 14.2s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 1.0b
Found 4 expressions with local error:
| 4.9b | (* (/ (* 2.0 z) t) (sqrt (+ a t))) |
| 1.1b | (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:
| 18.0ms | (- (+ (/ 5.0 6.0) a) (/ (/ 2.0 t) 3.0)) |
| 9.0ms | (/ (/ 2.0 t) 3.0) |
| 6.0ms | (* (/ (* 2.0 z) t) (sqrt (+ a t))) |
4 calls. Slowest were:
| 148.0ms | (fma (- (+ (/ 5.0 6.0) a) (/ (/ 2.0 t) 3.0)) (* (- c b) 2.0) (* (/ (* 2.0 z) t) (sqrt (+ a t)))) |
| 50.0ms | (* (/ (* 2.0 z) t) (sqrt (+ a t))) |
| 14.0ms | (- (+ (/ 5.0 6.0) a) (/ (/ 2.0 t) 3.0)) |
| 8.0ms | (/ (/ 2.0 t) 3.0) |
68 calls. Slowest were:
| 406.0ms | (fma (sqrt (+ (/ 5.0 6.0) a)) (sqrt (+ (/ 5.0 6.0) a)) (- (* (/ 1 3.0) (/ 2.0 t)))) |
| 377.0ms | (fma (* (cbrt (+ (/ 5.0 6.0) a)) (cbrt (+ (/ 5.0 6.0) a))) (cbrt (+ (/ 5.0 6.0) a)) (- (* (/ 1 3.0) (/ 2.0 t)))) |
| 351.0ms | (fma 1 (+ (/ 5.0 6.0) a) (- (* (/ 1 3.0) (/ 2.0 t)))) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0b
Found 3 expressions with local error:
| 0.0b | (- (* (* 2.0 a) (- c b)) (* 1.6666666666666667 b)) |
| 0.0b | (/ x (fma y (exp (- (* (* 2.0 a) (- c b)) (* 1.6666666666666667 b))) x)) |
| 0.0b | (* (* 2.0 a) (- c b)) |
3 calls. Slowest were:
| 6.0ms | (- (* (* 2.0 a) (- c b)) (* 1.6666666666666667 b)) |
| 4.0ms | (* (* 2.0 a) (- c b)) |
| 0.0ms | (/ x (fma y (exp (- (* (* 2.0 a) (- c b)) (* 1.6666666666666667 b))) x)) |
3 calls. Slowest were:
| 161.0ms | (/ x (fma y (exp (- (* (* 2.0 a) (- c b)) (* 1.6666666666666667 b))) x)) |
| 46.0ms | (- (* (* 2.0 a) (- c b)) (* 1.6666666666666667 b)) |
| 32.0ms | (* (* 2.0 a) (- c b)) |
32 calls. Slowest were:
| 320.0ms | (/ (exp (* (* 2.0 a) (- c b))) (exp (* 1.6666666666666667 b))) |
| 296.0ms | (- (* 2.0 (* a c)) (+ (* 2.0 (* a b)) (* 1.6666666666666667 b))) |
| 287.0ms | (- (* 2.0 (* a c)) (+ (* 2.0 (* a b)) (* 1.6666666666666667 b))) |
2 alts after pruning (0 fresh and 2 done)
Merged error: 0b
0% (1.0b remaining)
Error of 1.9b against oracle of 0.8b and baseline of 1.9b