



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 2019007
(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: 7.3s)Debug log
1 calls. Slowest were:
| 5.0ms | (- (/ x0 (- 1 x1)) x0) |
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:
| 4.0ms | (- (/ x0 (- 1 x1)) x0) |
| 0.0ms | (/ x0 (- 1 x1)) |
2 calls. Slowest were:
| 23.0ms | (- (/ x0 (- 1 x1)) x0) |
| 14.0ms | (/ x0 (- 1 x1)) |
11 calls. Slowest were:
| 330.0ms | (+ (* x0 (pow x1 3)) (+ (* x0 (pow x1 2)) (* x0 x1))) |
| 69.0ms | (- (+ (/ x0 (pow x1 3)) (+ (/ x0 (pow x1 2)) (/ x0 x1)))) |
| 66.0ms | (- (+ (/ x0 (pow x1 3)) (+ (/ x0 (pow x1 2)) (/ x0 x1)))) |
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:
| 34.0ms | (- (* (/ x0 (- 1 x1)) (/ x0 (- 1 x1))) (* x0 x0)) |
| 24.0ms | (/ x0 (- 1 x1)) |
| 23.0ms | (/ x0 (- 1 x1)) |
| 15.0ms | (/ x0 (- 1 x1)) |
30 calls. Slowest were:
| 384.0ms | (+ (* 2 (* (pow x0 2) x1)) (+ (* 4 (* (pow x0 2) (pow x1 3))) (* 3 (* (pow x0 2) (pow x1 2))))) |
| 190.0ms | (- (+ (/ (pow x0 2) (pow x1 2)) (* 2 (/ (pow x0 2) (pow x1 3)))) (pow x0 2)) |
| 187.0ms | (- (+ (/ (pow x0 2) (pow x1 2)) (* 2 (/ (pow x0 2) (pow x1 3)))) (pow x0 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:
| 18.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)) |
| 17.0ms | (/ x0 (- 1 x1)) |
| 15.0ms | (/ x0 (- 1 x1)) |
| 15.0ms | (/ x0 (- 1 x1)) |
28 calls. Slowest were:
| 395.0ms | (+ (* 2 (* (pow x0 2) x1)) (+ (* 4 (* (pow x0 2) (pow x1 3))) (* 3 (* (pow x0 2) (pow x1 2))))) |
| 190.0ms | (- (+ (/ (pow x0 2) (pow x1 2)) (* 2 (/ (pow x0 2) (pow x1 3)))) (pow x0 2)) |
| 157.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:
| 13.0ms | (- (pow (* (/ x0 (- 1 x1)) (* (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))))) 3) (pow (* x0 x0) 3)) |
| 1.0ms | (pow (* x0 x0) 3) |
| 1.0ms | (/ x0 (- 1 x1)) |
4 calls. Slowest were:
| 73.0ms | (- (pow (* (/ x0 (- 1 x1)) (* (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))))) 3) (pow (* x0 x0) 3)) |
| 25.0ms | (pow (* x0 x0) 3) |
| 17.0ms | (/ x0 (- 1 x1)) |
| 14.0ms | (/ x0 (- 1 x1)) |
37 calls. Slowest were:
| 233.0ms | (- (pow (* (/ x0 (- 1 x1)) (* (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))))) 3) (pow (* x0 x0) 3)) |
| 227.0ms | (+ (sqrt (pow (* (/ x0 (- 1 x1)) (* (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))))) 3)) (pow x0 3)) |
| 221.0ms | (- (sqrt (pow (* (/ x0 (- 1 x1)) (* (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))))) 3)) (pow 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