


Bits error versus f



Bits error versus n
Results
Initial program 0.0
Final simplification0.0
herbie shell --seed 2019004 +o rules:numerics
(FPCore (f n)
:name "subtraction fraction"
(/ (- (+ f n)) (- f n)))
Time bar (total: 46.2s)Debug log
1 calls. Slowest were:
| 68.0ms | (/ (- (+ f n)) (- f n)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.3b
Found 1 expressions with local error:
| 0.3b | (/ (- (+ f n)) (- f n)) |
1 calls. Slowest were:
| 11.0ms | (/ (- (+ f n)) (- f n)) |
1 calls. Slowest were:
| 624.0ms | (/ (- (+ f n)) (- f n)) |
81 calls. Slowest were:
| 258.0ms | (- (- (* f f) (* n n))) |
| 153.0ms | (/ (* (* (- (+ f n)) (- (+ f n))) (- (+ f n))) (* (* (- f n) (- f n)) (- f n))) |
| 50.0ms | (/ (- (* (cbrt (+ f n)) (cbrt (+ f n)))) (* (cbrt (- f n)) (cbrt (- f n)))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.2b
Found 4 expressions with local error:
| 0.7b | (cbrt (- f n)) |
| 0.7b | (cbrt (- f n)) |
| 0.7b | (cbrt (- f n)) |
| 0.5b | (* (cbrt (- f n)) (cbrt (- f n))) |
4 calls. Slowest were:
| 11.0ms | (* (cbrt (- f n)) (cbrt (- f n))) |
| 2.0ms | (cbrt (- f n)) |
| 1.0ms | (cbrt (- f n)) |
4 calls. Slowest were:
| 166.0ms | (cbrt (- f n)) |
| 143.0ms | (cbrt (- f n)) |
| 134.0ms | (* (cbrt (- f n)) (cbrt (- f n))) |
| 132.0ms | (cbrt (- f n)) |
59 calls. Slowest were:
| 192.0ms | (- (pow n 2/3) (+ (* 1/9 (* (pow (/ 1 (pow n 4)) 1/3) (pow f 2))) (* 2/3 (* (pow (/ 1 n) 1/3) f)))) |
| 151.0ms | (* (cbrt (- (* f f) (* n n))) (cbrt (- f n))) |
| 149.0ms | (- (exp (* 1/3 (+ (log -1) (log n)))) (+ (* 1/9 (* (pow f 2) (exp (* 1/3 (- (log -1) (* 5 (log n))))))) (* 1/3 (* (exp (* 1/3 (- (log -1) (* 2 (log n))))) f)))) |
4 alts after pruning (2 fresh and 2 done)
Merged error: 0.2b
Found 0 expressions with local error:
0 calls. Slowest were:
0 calls. Slowest were:
0 calls. Slowest were:
4 alts after pruning (1 fresh and 3 done)
Merged error: 0.2b
Found 2 expressions with local error:
| 0.5b | (/ (- f n) (sqrt (+ f n))) |
| 0.0b | (/ (- (sqrt (+ f n))) (/ (- f n) (sqrt (+ f n)))) |
2 calls. Slowest were:
| 16.0ms | (/ (- (sqrt (+ f n))) (/ (- f n) (sqrt (+ f n)))) |
| 6.0ms | (/ (- f n) (sqrt (+ f n))) |
2 calls. Slowest were:
| 51.0ms | (/ (- (sqrt (+ f n))) (/ (- f n) (sqrt (+ f n)))) |
| 51.0ms | (/ (- f n) (sqrt (+ f n))) |
871 calls. Slowest were:
| 542.0ms | (/ (- (* (cbrt (sqrt (+ f n))) (cbrt (sqrt (+ f n))))) (/ (* (cbrt (- f n)) (cbrt (- f n))) 1)) |
| 452.0ms | (/ (- (* (cbrt (sqrt (+ f n))) (cbrt (sqrt (+ f n))))) (/ (* (cbrt (- f n)) (cbrt (- f n))) (* (cbrt (sqrt (+ f n))) (cbrt (sqrt (+ f n)))))) |
| 441.0ms | (/ (- (* (cbrt (sqrt (+ f n))) (cbrt (sqrt (+ f n))))) (/ (* (cbrt (- f n)) (cbrt (- f n))) (sqrt (sqrt (+ f n))))) |
4 alts after pruning (1 fresh and 3 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b