


Bits error versus N
Results
if N < 9955.673000070075Initial program 0.1
rmApplied diff-log0.1
if 9955.673000070075 < N Initial program 59.5
Taylor expanded around inf 0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019007
(FPCore (N)
:name "2log (problem 3.3.6)"
(- (log (+ N 1)) (log N)))
Time bar (total: 16.5s)Debug log
1 calls. Slowest were:
| 9.0ms | (- (log (+ N 1)) (log N)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 33.0b
Found 2 expressions with local error:
| 2.9b | (- (log (+ N 1)) (log N)) |
| 2.7b | (log (+ N 1)) |
2 calls. Slowest were:
| 9.0ms | (- (log (+ N 1)) (log N)) |
| 2.0ms | (log (+ N 1)) |
2 calls. Slowest were:
| 93.0ms | (- (log (+ N 1)) (log N)) |
| 33.0ms | (log (+ N 1)) |
22 calls. Slowest were:
| 227.0ms | (- (+ (/ 1 N) (log -1)) (+ (* 1/2 (/ 1 (pow N 2))) (log (/ -1 N)))) |
| 165.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 145.0ms | (- (/ 1 N) (+ (* 1/2 (/ 1 (pow N 2))) (log (/ 1 N)))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.4b | (/ 1 (* N N)) |
| 0.4b | (/ 1/3 N) |
| 0.0b | (* (/ 1 (* N N)) (- 1/2 (/ 1/3 N))) |
| 0.0b | (- (/ 1 N) (* (/ 1 (* N N)) (- 1/2 (/ 1/3 N)))) |
4 calls. Slowest were:
| 11.0ms | (- (/ 1 N) (* (/ 1 (* N N)) (- 1/2 (/ 1/3 N)))) |
| 8.0ms | (* (/ 1 (* N N)) (- 1/2 (/ 1/3 N))) |
| 1.0ms | (/ 1 (* N N)) |
4 calls. Slowest were:
| 51.0ms | (* (/ 1 (* N N)) (- 1/2 (/ 1/3 N))) |
| 19.0ms | (- (/ 1 N) (* (/ 1 (* N N)) (- 1/2 (/ 1/3 N)))) |
| 13.0ms | (/ 1 (* N N)) |
| 12.0ms | (/ 1/3 N) |
49 calls. Slowest were:
| 475.0ms | (* (- (/ 1/3 N)) (/ 1 (* N N))) |
| 436.0ms | (* (/ 1 (* N N)) (- (/ 1/3 N))) |
| 430.0ms | (* (- (/ 1/3 N)) (/ 1 (* N N))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0.0b
Found 2 expressions with local error:
| 3.3b | (log (/ (+ N 1) N)) |
| 0.0b | (/ (+ N 1) N) |
2 calls. Slowest were:
| 7.0ms | (/ (+ N 1) N) |
| 2.0ms | (log (/ (+ N 1) N)) |
2 calls. Slowest were:
| 36.0ms | (log (/ (+ N 1) N)) |
| 19.0ms | (/ (+ N 1) N) |
16 calls. Slowest were:
| 137.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 134.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 81.0ms | (- N (+ (log N) (* 1/2 (pow N 2)))) |
4 alts after pruning (2 fresh and 2 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 3.3b | (log (/ (+ N 1) N)) |
| 3.3b | (log (/ (+ N 1) N)) |
| 3.3b | (log (/ (+ N 1) N)) |
| 0.3b | (* (cbrt (log (/ (+ N 1) N))) (cbrt (log (/ (+ N 1) N)))) |
4 calls. Slowest were:
| 6.0ms | (* (cbrt (log (/ (+ N 1) N))) (cbrt (log (/ (+ N 1) N)))) |
| 1.0ms | (log (/ (+ N 1) N)) |
| 1.0ms | (log (/ (+ N 1) N)) |
4 calls. Slowest were:
| 99.0ms | (* (cbrt (log (/ (+ N 1) N))) (cbrt (log (/ (+ N 1) N)))) |
| 51.0ms | (log (/ (+ N 1) N)) |
| 46.0ms | (log (/ (+ N 1) N)) |
| 36.0ms | (log (/ (+ N 1) N)) |
52 calls. Slowest were:
| 333.0ms | (- (+ (pow (pow (log N) 2) 1/3) (* 1/3 (* (pow N 2) (pow (/ 1 (log N)) 1/3)))) (+ (* 2/3 (* (pow (/ 1 (log N)) 1/3) N)) (* 1/9 (* (pow N 2) (pow (/ 1 (pow (log N) 4)) 1/3))))) |
| 150.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 144.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 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 31.0b