



Bits error versus x0




Bits error versus x1
Results
| Original | 8.4 |
|---|---|
| Target | 0.5 |
| Herbie | 5.4 |
Initial program 8.4
rmApplied flip--7.7
rmApplied add-sqr-sqrt6.6
rmApplied flip3--6.0
rmApplied flip--5.4
Final simplification5.4
herbie shell --seed 2018360
(FPCore (x0 x1)
:name "(- (/ x0 (- 1 x1)) x0)"
:pre (or (and (== x0 1.855) (== x1 0.000209)) (and (== x0 2.985) (== x1 0.0186)))
:herbie-target
(/ (* x0 x1) (- 1 x1))
(- (/ x0 (- 1 x1)) x0))
Time bar (total: 8.7s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 8.4b
Found 2 expressions with local error:
| 7.5b | (- (/ x0 (- 1 x1)) x0) |
| 1.0b | (/ x0 (- 1 x1)) |
2 calls. Slowest were:
| 7.0ms | (- (/ x0 (- 1 x1)) x0) |
| 1.0ms | (/ x0 (- 1 x1)) |
2 calls. Slowest were:
| 28.0ms | (- (/ x0 (- 1 x1)) x0) |
| 15.0ms | (/ x0 (- 1 x1)) |
11 calls. Slowest were:
| 195.0ms | (+ (* x0 (pow x1 3)) (+ (* x0 (pow x1 2)) (* x0 x1))) |
| 72.0ms | (- (+ (/ x0 (pow x1 3)) (+ (/ x0 (pow x1 2)) (/ x0 x1)))) |
| 66.0ms | (- (+ x0 (+ (/ x0 x1) (/ x0 (pow x1 2))))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 7.3b
Found 4 expressions with local error:
| 6.7b | (- (* (/ x0 (- 1 x1)) (/ x0 (- 1 x1))) (* x0 x0)) |
| 1.0b | (/ x0 (- 1 x1)) |
| 1.0b | (/ x0 (- 1 x1)) |
| 1.0b | (/ x0 (- 1 x1)) |
4 calls. Slowest were:
| 5.0ms | (- (* (/ x0 (- 1 x1)) (/ x0 (- 1 x1))) (* x0 x0)) |
| 0.0ms | (/ x0 (- 1 x1)) |
| 0.0ms | (/ x0 (- 1 x1)) |
4 calls. Slowest were:
| 41.0ms | (- (* (/ x0 (- 1 x1)) (/ x0 (- 1 x1))) (* x0 x0)) |
| 25.0ms | (/ x0 (- 1 x1)) |
| 24.0ms | (/ x0 (- 1 x1)) |
| 18.0ms | (/ x0 (- 1 x1)) |
30 calls. Slowest were:
| 432.0ms | (- (+ (/ (pow x0 2) (pow x1 2)) (* 2 (/ (pow x0 2) (pow x1 3)))) (pow x0 2)) |
| 393.0ms | (- (+ (/ (pow x0 2) (pow x1 2)) (* 2 (/ (pow x0 2) (pow x1 3)))) (pow x0 2)) |
| 326.0ms | (+ (* 2 (* (pow x0 2) x1)) (+ (* 4 (* (pow x0 2) (pow x1 3))) (* 3 (* (pow x0 2) (pow x1 2))))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 6.4b
Found 4 expressions with local error:
| 6.7b | (- (* (/ x0 (- 1 x1)) (* (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))))) (* x0 x0)) |
| 1.0b | (/ x0 (- 1 x1)) |
| 1.0b | (/ x0 (- 1 x1)) |
| 1.0b | (/ x0 (- 1 x1)) |
4 calls. Slowest were:
| 15.0ms | (- (* (/ x0 (- 1 x1)) (* (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))))) (* x0 x0)) |
| 0.0ms | (/ x0 (- 1 x1)) |
| 0.0ms | (/ x0 (- 1 x1)) |
4 calls. Slowest were:
| 62.0ms | (- (* (/ x0 (- 1 x1)) (* (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))))) (* x0 x0)) |
| 23.0ms | (/ x0 (- 1 x1)) |
| 19.0ms | (/ x0 (- 1 x1)) |
| 15.0ms | (/ x0 (- 1 x1)) |
28 calls. Slowest were:
| 466.0ms | (- (+ (/ (pow x0 2) (pow x1 2)) (* 2 (/ (pow x0 2) (pow x1 3)))) (pow x0 2)) |
| 319.0ms | (+ (* 2 (* (pow x0 2) x1)) (+ (* 4 (* (pow x0 2) (pow x1 3))) (* 3 (* (pow x0 2) (pow x1 2))))) |
| 145.0ms | (/ (exp (* (/ x0 (- 1 x1)) (* (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1)))))) (exp (* x0 x0))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 6.0b
Found 4 expressions with local error:
| 6.1b | (- (pow (* (/ x0 (- 1 x1)) (* (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))))) 3) (pow (* x0 x0) 3)) |
| 1.0b | (pow (* x0 x0) 3) |
| 1.0b | (/ x0 (- 1 x1)) |
| 1.0b | (/ x0 (- 1 x1)) |
4 calls. Slowest were:
| 21.0ms | (- (pow (* (/ x0 (- 1 x1)) (* (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))))) 3) (pow (* x0 x0) 3)) |
| 2.0ms | (pow (* x0 x0) 3) |
| 1.0ms | (/ x0 (- 1 x1)) |
4 calls. Slowest were:
| 75.0ms | (- (pow (* (/ x0 (- 1 x1)) (* (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))))) 3) (pow (* x0 x0) 3)) |
| 30.0ms | (pow (* x0 x0) 3) |
| 16.0ms | (/ x0 (- 1 x1)) |
| 16.0ms | (/ x0 (- 1 x1)) |
37 calls. Slowest were:
| 327.0ms | (- (pow (* (/ x0 (- 1 x1)) (* (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))))) 3) (pow (* x0 x0) 3)) |
| 313.0ms | (+ (* 21 (* (pow x0 6) (pow x1 2))) (+ (* 56 (* (pow x0 6) (pow x1 3))) (* 6 (* (pow x0 6) x1)))) |
| 302.0ms | (/ (exp (pow (* (/ x0 (- 1 x1)) (* (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))))) 3)) (exp (pow (* x0 x0) 3))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 5.3b
0% (0.1b remaining)
Error of 5.4b against oracle of 5.3b and baseline of 5.4b