


Bits error versus x



Bits error versus y



Bits error versus z
Results
if (- (/ (+ x 4) y) (* (/ x y) z)) < 1.052154923565608e+109Initial program 2.1
rmApplied associate-*l/2.4
Applied sub-div2.4
rmApplied div-inv2.4
if 1.052154923565608e+109 < (- (/ (+ x 4) y) (* (/ x y) z)) Initial program 0.1
rmApplied add-sqr-sqrt0.5
Final simplification2.1
herbie shell --seed 2019005
(FPCore (x y z)
:name "fabs fraction 1"
(fabs (- (/ (+ x 4) y) (* (/ x y) z))))
Time bar (total: 9.0s)Debug log
1 calls. Slowest were:
| 39.0ms | (fabs (- (/ (+ x 4) y) (* (/ x y) z))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 1.9b
Found 2 expressions with local error:
| 4.7b | (* (/ x y) z) |
| 0.0b | (- (/ (+ x 4) y) (* (/ x y) z)) |
2 calls. Slowest were:
| 12.0ms | (- (/ (+ x 4) y) (* (/ x y) z)) |
| 5.0ms | (* (/ x y) z) |
2 calls. Slowest were:
| 44.0ms | (- (/ (+ x 4) y) (* (/ x y) z)) |
| 21.0ms | (* (/ x y) z) |
13 calls. Slowest were:
| 460.0ms | (- (* (+ x 4) y) (* y (* x z))) |
| 86.0ms | (- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y)) |
| 84.0ms | (- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y)) |
6 alts after pruning (5 fresh and 1 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 1.9b | (/ (- (+ x 4) (* x z)) y) |
1 calls. Slowest were:
| 8.0ms | (/ (- (+ x 4) (* x z)) y) |
1 calls. Slowest were:
| 38.0ms | (/ (- (+ x 4) (* x z)) y) |
8 calls. Slowest were:
| 158.0ms | (- (pow (+ x 4) 3) (pow (* x z) 3)) |
| 117.0ms | (- (* (+ x 4) (+ x 4)) (* (* x z) (* x z))) |
| 87.0ms | (- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y)) |
6 alts after pruning (5 fresh and 1 done)
Merged error: 0b
Found 1 expressions with local error:
| 2.0b | (* (- (+ x 4) (* x z)) (/ 1 y)) |
1 calls. Slowest were:
| 10.0ms | (* (- (+ x 4) (* x z)) (/ 1 y)) |
1 calls. Slowest were:
| 37.0ms | (* (- (+ x 4) (* x z)) (/ 1 y)) |
18 calls. Slowest were:
| 416.0ms | (* (- (* (+ x 4) (+ x 4)) (* (* x z) (* x z))) (/ 1 y)) |
| 340.0ms | (* (+ (* (+ x 4) (+ x 4)) (+ (* (* x z) (* x z)) (* (+ x 4) (* x z)))) y) |
| 291.0ms | (* (- (pow (+ x 4) 3) (pow (* x z) 3)) (/ 1 y)) |
6 alts after pruning (4 fresh and 2 done)
Merged error: 0b
Found 3 expressions with local error:
| 7.5b | (/ x (/ y z)) |
| 0.0b | (- (+ (/ x y) (/ 4 y)) (/ x (/ y z))) |
| 0.0b | (+ (/ x y) (/ 4 y)) |
3 calls. Slowest were:
| 41.0ms | (- (+ (/ x y) (/ 4 y)) (/ x (/ y z))) |
| 7.0ms | (+ (/ x y) (/ 4 y)) |
| 1.0ms | (/ x (/ y z)) |
3 calls. Slowest were:
| 40.0ms | (- (+ (/ x y) (/ 4 y)) (/ x (/ y z))) |
| 29.0ms | (+ (/ x y) (/ 4 y)) |
| 26.0ms | (/ x (/ y z)) |
32 calls. Slowest were:
| 260.0ms | (- (* (+ (pow (/ x y) 3) (pow (/ 4 y) 3)) (/ y z)) (* (+ (* (/ x y) (/ x y)) (- (* (/ 4 y) (/ 4 y)) (* (/ x y) (/ 4 y)))) x)) |
| 256.0ms | (- (* (+ (* x y) (* y 4)) (/ y z)) (* (* y y) x)) |
| 217.0ms | (- (* (- (* (/ x y) (/ x y)) (* (/ 4 y) (/ 4 y))) (/ y z)) (* (- (/ x y) (/ 4 y)) x)) |
5 alts after pruning (3 fresh and 2 done)
Merged error: 0b
37.6% (2.0b remaining)
Error of 2.1b against oracle of 0.0b and baseline of 3.3b