


Bits error versus x



Bits error versus y



Bits error versus z
Results
if y < 6.423081149410413e-35Initial program 1.2
rmApplied associate-*l/2.4
Applied sub-div2.4
if 6.423081149410413e-35 < y Initial program 2.6
rmApplied associate-*l/5.3
Applied sub-div5.3
Taylor expanded around inf 5.3
Simplified0.1
Final simplification1.6
herbie shell --seed 2019007
(FPCore (x y z)
:name "fabs fraction 1"
(fabs (- (/ (+ x 4) y) (* (/ x y) z))))
Time bar (total: 8.4s)Debug log
1 calls. Slowest were:
| 60.0ms | (fabs (- (/ (+ x 4) y) (* (/ x y) z))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 2.6b
Found 3 expressions with local error:
| 4.0b | (* (/ x y) z) |
| 0.0b | (- (/ (+ x 4) y) (* (/ x y) z)) |
| 0.0b | (/ (+ x 4) y) |
3 calls. Slowest were:
| 6.0ms | (- (/ (+ x 4) y) (* (/ x y) z)) |
| 4.0ms | (* (/ x y) z) |
| 2.0ms | (/ (+ x 4) y) |
3 calls. Slowest were:
| 29.0ms | (/ (+ x 4) y) |
| 26.0ms | (- (/ (+ x 4) y) (* (/ x y) z)) |
| 17.0ms | (* (/ x y) z) |
20 calls. Slowest were:
| 79.0ms | (- (* (+ x 4) y) (* y (* x z))) |
| 77.0ms | (- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y)) |
| 75.0ms | (- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y)) |
4 alts after pruning (4 fresh and 0 done)
Merged error: 0.0b
Found 3 expressions with local error:
| 4.0b | (* (/ x y) z) |
| 0.0b | (- (+ (/ x y) (/ 4 y)) (* (/ x y) z)) |
| 0.0b | (+ (/ x y) (/ 4 y)) |
3 calls. Slowest were:
| 32.0ms | (- (+ (/ x y) (/ 4 y)) (* (/ x y) z)) |
| 4.0ms | (* (/ x y) z) |
| 3.0ms | (+ (/ x y) (/ 4 y)) |
3 calls. Slowest were:
| 47.0ms | (- (+ (/ x y) (/ 4 y)) (* (/ x y) z)) |
| 26.0ms | (+ (/ x y) (/ 4 y)) |
| 14.0ms | (* (/ x y) z) |
27 calls. Slowest were:
| 288.0ms | (- (* (+ (pow (/ x y) 3) (pow (/ 4 y) 3)) y) (* (+ (* (/ x y) (/ x y)) (- (* (/ 4 y) (/ 4 y)) (* (/ x y) (/ 4 y)))) (* x z))) |
| 251.0ms | (* (+ (* (/ x y) (/ x y)) (- (* (/ 4 y) (/ 4 y)) (* (/ x y) (/ 4 y)))) y) |
| 229.0ms | (- (* (- (* (/ x y) (/ x y)) (* (/ 4 y) (/ 4 y))) y) (* (- (/ x y) (/ 4 y)) (* x z))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.0b
Found 2 expressions with local error:
| 3.6b | (/ (- (+ x 4) (* x z)) y) |
| 0.0b | (- (+ x 4) (* x z)) |
2 calls. Slowest were:
| 7.0ms | (/ (- (+ x 4) (* x z)) y) |
| 3.0ms | (- (+ x 4) (* x z)) |
2 calls. Slowest were:
| 32.0ms | (/ (- (+ x 4) (* x z)) y) |
| 12.0ms | (- (+ x 4) (* x z)) |
12 calls. Slowest were:
| 169.0ms | (- (pow (+ x 4) 3) (pow (* x z) 3)) |
| 89.0ms | (- (* (+ x 4) (+ x 4)) (* (* x z) (* x z))) |
| 86.0ms | (- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y)) |
5 alts after pruning (3 fresh and 2 done)
Merged error: 0b
Found 3 expressions with local error:
| 6.6b | (/ x (/ y z)) |
| 0.0b | (- (+ (/ x y) (/ 4 y)) (/ x (/ y z))) |
| 0.0b | (+ (/ x y) (/ 4 y)) |
3 calls. Slowest were:
| 23.0ms | (- (+ (/ x y) (/ 4 y)) (/ x (/ y z))) |
| 3.0ms | (+ (/ x y) (/ 4 y)) |
| 1.0ms | (/ x (/ y z)) |
3 calls. Slowest were:
| 26.0ms | (- (+ (/ x y) (/ 4 y)) (/ x (/ y z))) |
| 14.0ms | (/ x (/ y z)) |
| 14.0ms | (+ (/ x y) (/ 4 y)) |
32 calls. Slowest were:
| 310.0ms | (- (* (+ (pow (/ x y) 3) (pow (/ 4 y) 3)) (/ y z)) (* (+ (* (/ x y) (/ x y)) (- (* (/ 4 y) (/ 4 y)) (* (/ x y) (/ 4 y)))) x)) |
| 221.0ms | (- (* (+ (* x y) (* y 4)) (/ y z)) (* (* y y) x)) |
| 201.0ms | (- (* (- (* (/ x y) (/ x y)) (* (/ 4 y) (/ 4 y))) (/ y z)) (* (- (/ x y) (/ 4 y)) x)) |
5 alts after pruning (2 fresh and 3 done)
Merged error: 0b
3.1% (1.6b remaining)
Error of 1.6b against oracle of 0.0b and baseline of 1.7b