


Bits error versus x



Bits error versus y



Bits error versus z
Results
if x < -9749406881751794.0Initial program 0.1
Initial simplification0.1
if -9749406881751794.0 < x < 653141293.4019859Initial program 2.5
Taylor expanded around -inf 0.1
rmApplied flip-+0.1
Applied associate-/l/0.1
Simplified0.1
if 653141293.4019859 < x Initial program 0.1
Taylor expanded around 0 0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2018360
(FPCore (x y z)
:name "fabs fraction 1"
(fabs (- (/ (+ x 4) y) (* (/ x y) z))))
Time bar (total: 9.0s)Debug log
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.1b
Found 3 expressions with local error:
| 4.2b | (* (/ x y) z) |
| 0.0b | (/ (+ x 4) y) |
| 0.0b | (- (/ (+ x 4) y) (* (/ x y) z)) |
3 calls. Slowest were:
| 5.0ms | (- (/ (+ x 4) y) (* (/ x y) z)) |
| 4.0ms | (/ (+ x 4) y) |
| 4.0ms | (* (/ x y) z) |
3 calls. Slowest were:
| 34.0ms | (- (/ (+ x 4) y) (* (/ x y) z)) |
| 15.0ms | (* (/ x y) z) |
| 14.0ms | (/ (+ x 4) y) |
20 calls. Slowest were:
| 104.0ms | (- (* (+ x 4) y) (* y (* x z))) |
| 82.0ms | (- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y)) |
| 62.0ms | (- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y)) |
5 alts after pruning (5 fresh and 0 done)
Merged error: 0.0b
Found 3 expressions with local error:
| 5.0b | (/ (* x z) y) |
| 0.0b | (/ (+ x 4) y) |
| 0.0b | (- (/ (+ x 4) y) (/ (* x z) y)) |
3 calls. Slowest were:
| 5.0ms | (- (/ (+ x 4) y) (/ (* x z) y)) |
| 2.0ms | (/ (* x z) y) |
| 2.0ms | (/ (+ x 4) y) |
3 calls. Slowest were:
| 35.0ms | (- (/ (+ x 4) y) (/ (* x z) y)) |
| 14.0ms | (/ (+ x 4) y) |
| 13.0ms | (/ (* x z) y) |
22 calls. Slowest were:
| 120.0ms | (- (* (+ x 4) y) (* y (* x z))) |
| 76.0ms | (- (+ (/ x y) (* 4 (/ 1 y))) (/ (* x z) y)) |
| 68.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.2b | (* (/ x y) z) |
| 0.0b | (+ (/ x y) (/ 4 y)) |
| 0.0b | (- (+ (/ x y) (/ 4 y)) (* (/ x y) z)) |
3 calls. Slowest were:
| 22.0ms | (- (+ (/ x y) (/ 4 y)) (* (/ x y) z)) |
| 3.0ms | (+ (/ x y) (/ 4 y)) |
| 2.0ms | (* (/ x y) z) |
3 calls. Slowest were:
| 28.0ms | (- (+ (/ x y) (/ 4 y)) (* (/ x y) z)) |
| 24.0ms | (+ (/ x y) (/ 4 y)) |
| 14.0ms | (* (/ x y) z) |
27 calls. Slowest were:
| 379.0ms | (- (* (+ (pow (/ x y) 3) (pow (/ 4 y) 3)) y) (* (+ (* (/ x y) (/ x y)) (- (* (/ 4 y) (/ 4 y)) (* (/ x y) (/ 4 y)))) (* x z))) |
| 238.0ms | (- (* (+ (* x y) (* y 4)) y) (* (* y y) (* x z))) |
| 219.0ms | (* (+ (* (/ x y) (/ x y)) (- (* (/ 4 y) (/ 4 y)) (* (/ x y) (/ 4 y)))) y) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 10.2b | (cbrt (/ x y)) |
| 10.2b | (cbrt (/ x y)) |
| 10.2b | (cbrt (/ x y)) |
| 0.7b | (* (* (cbrt (/ x y)) (cbrt (/ x y))) (* (cbrt (/ x y)) z)) |
4 calls. Slowest were:
| 25.0ms | (* (* (cbrt (/ x y)) (cbrt (/ x y))) (* (cbrt (/ x y)) z)) |
| 1.0ms | (cbrt (/ x y)) |
| 1.0ms | (cbrt (/ x y)) |
4 calls. Slowest were:
| 85.0ms | (cbrt (/ x y)) |
| 78.0ms | (cbrt (/ x y)) |
| 73.0ms | (cbrt (/ x y)) |
| 15.0ms | (* (* (cbrt (/ x y)) (cbrt (/ x y))) (* (cbrt (/ x y)) z)) |
44 calls. Slowest were:
| 692.0ms | (* (* (/ x y) (/ x y)) (* (* (* (cbrt (/ x y)) z) (* (cbrt (/ x y)) z)) (* (cbrt (/ x y)) z))) |
| 434.0ms | (* (* (* (* (cbrt (/ x y)) (cbrt (/ x y))) (* (cbrt (/ x y)) (cbrt (/ x y)))) (* (cbrt (/ x y)) (cbrt (/ x y)))) (* (* (* (cbrt (/ x y)) z) (* (cbrt (/ x y)) z)) (* (cbrt (/ x y)) z))) |
| 253.0ms | (exp (* 1/3 (- (log (/ -1 y)) (log (/ -1 x))))) |
4 alts after pruning (2 fresh and 2 done)
Merged error: 0.0b
93.4% (0.1b remaining)
Error of 0.1b against oracle of 0.0b and baseline of 1.7b