


Bits error versus N
Results
Initial program 29.4
Initial simplification29.4
rmApplied log1p-udef29.4
Applied diff-log29.3
rmApplied log1p-expm1-u29.3
Taylor expanded around -inf 0.0
Final simplification0.0
herbie shell --seed 2018362 +o rules:numerics
(FPCore (N)
:name "2log (problem 3.3.6)"
(- (log (+ N 1)) (log N)))
Time bar (total: 4.2s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 27.4b
Found 1 expressions with local error:
| 1.7b | (- (log1p N) (log N)) |
1 calls. Slowest were:
| 6.0ms | (- (log1p N) (log N)) |
1 calls. Slowest were:
| 84.0ms | (- (log1p N) (log N)) |
28 calls. Slowest were:
| 177.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 158.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 100.0ms | (- N (+ (log N) (* 1/2 (pow N 2)))) |
3 alts after pruning (3 fresh and 0 done)
Merged error: 0.0b
Found 2 expressions with local error:
| 1.6b | (log (/ (+ 1 N) N)) |
| 0.0b | (/ (+ 1 N) N) |
2 calls. Slowest were:
| 2.0ms | (/ (+ 1 N) N) |
| 1.0ms | (log (/ (+ 1 N) N)) |
2 calls. Slowest were:
| 44.0ms | (log (/ (+ 1 N) N)) |
| 22.0ms | (/ (+ 1 N) N) |
16 calls. Slowest were:
| 255.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 193.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 83.0ms | (- N (+ (log N) (* 1/2 (pow N 2)))) |
3 alts after pruning (3 fresh and 0 done)
Merged error: 0.0b
Found 3 expressions with local error:
| 3.0b | (expm1 (log (/ (+ 1 N) N))) |
| 1.6b | (log (/ (+ 1 N) N)) |
| 0.0b | (/ (+ 1 N) N) |
3 calls. Slowest were:
| 4.0ms | (/ (+ 1 N) N) |
| 2.0ms | (log (/ (+ 1 N) N)) |
| 1.0ms | (expm1 (log (/ (+ 1 N) N))) |
3 calls. Slowest were:
| 454.0ms | (expm1 (log (/ (+ 1 N) N))) |
| 41.0ms | (log (/ (+ 1 N) N)) |
| 32.0ms | (/ (+ 1 N) N) |
20 calls. Slowest were:
| 276.0ms | (- (+ (exp (- (log N))) (* N (exp (- (log N))))) 1) |
| 177.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 169.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0b
Found 0 expressions with local error:
0 calls. Slowest were:
0 calls. Slowest were:
0 calls. Slowest were:
1 alts after pruning (0 fresh and 1 done)
Merged error: 0b