


Bits error versus N
if N < 8165.724924927464Initial program 0.1
Initial simplification0.1
rmApplied log1p-udef0.1
Applied diff-log0.1
Taylor expanded around inf 0.1
if 8165.724924927464 < N Initial program 59.6
Initial simplification59.6
rmApplied log1p-udef59.6
Applied diff-log59.4
Taylor expanded around inf 59.4
Taylor expanded around inf 0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2018365 +o rules:numerics
(FPCore (N)
:name "2log (problem 3.3.6)"
(- (log (+ N 1)) (log N)))
Time bar (total: 4.4s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 28.3b
Found 1 expressions with local error:
| 2.7b | (- (log1p N) (log N)) |
1 calls. Slowest were:
| 8.0ms | (- (log1p N) (log N)) |
1 calls. Slowest were:
| 85.0ms | (- (log1p N) (log N)) |
28 calls. Slowest were:
| 199.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 186.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 80.0ms | (- N (+ (log N) (* 1/2 (pow N 2)))) |
3 alts after pruning (3 fresh and 0 done)
Merged error: 0.1b
Found 2 expressions with local error:
| 2.9b | (log (/ (+ 1 N) N)) |
| 0.0b | (/ (+ 1 N) N) |
2 calls. Slowest were:
| 7.0ms | (/ (+ 1 N) N) |
| 2.0ms | (log (/ (+ 1 N) N)) |
2 calls. Slowest were:
| 45.0ms | (log (/ (+ 1 N) N)) |
| 29.0ms | (/ (+ 1 N) N) |
16 calls. Slowest were:
| 172.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 165.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 94.0ms | (- N (+ (log N) (* 1/2 (pow N 2)))) |
3 alts after pruning (3 fresh and 0 done)
Merged error: 0.1b
Found 1 expressions with local error:
| 2.9b | (log (+ (/ 1 N) 1)) |
1 calls. Slowest were:
| 4.0ms | (log (+ (/ 1 N) 1)) |
1 calls. Slowest were:
| 47.0ms | (log (+ (/ 1 N) 1)) |
9 calls. Slowest were:
| 238.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 187.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 112.0ms | (- N (+ (log N) (* 1/2 (pow N 2)))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0.0b
Found 3 expressions with local error:
| 0.8b | (/ 1 (* N N)) |
| 0.4b | (/ 1/3 N) |
| 0.1b | (fma (/ 1 (* N N)) (- (/ 1/3 N) 1/2) (/ 1 N)) |
3 calls. Slowest were:
| 1.0ms | (/ 1 (* N N)) |
| 0.0ms | (/ 1/3 N) |
| 0.0ms | (fma (/ 1 (* N N)) (- (/ 1/3 N) 1/2) (/ 1 N)) |
3 calls. Slowest were:
| 14.0ms | (fma (/ 1 (* N N)) (- (/ 1/3 N) 1/2) (/ 1 N)) |
| 12.0ms | (/ 1 (* N N)) |
| 11.0ms | (/ 1/3 N) |
11 calls. Slowest were:
| 194.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)))) |
| 169.0ms | (- (+ (/ 1 N) (* 1/3 (/ 1 (pow N 3)))) (* 1/2 (/ 1 (pow N 2)))) |
4 alts after pruning (2 fresh and 2 done)
Merged error: 0.0b
100% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 28.5b