


Bits error versus N
Results
if N < 14302.326937808648Initial program 0.1
rmApplied diff-log0.1
Taylor expanded around 0 0.1
if 14302.326937808648 < N Initial program 59.5
rmApplied diff-log59.2
Taylor expanded around -inf 0.0
Simplified0.0
Taylor expanded around 0 0.0
Simplified0.0
Final simplification0.1
herbie shell --seed 2019005
(FPCore (N)
:name "2log (problem 3.3.6)"
(- (log (+ N 1)) (log N)))
Time bar (total: 13.9s)Debug log
1 calls. Slowest were:
| 4.0ms | (- (log (+ N 1)) (log N)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 30.1b
Found 2 expressions with local error:
| 2.7b | (- (log (+ N 1)) (log N)) |
| 2.5b | (log (+ N 1)) |
2 calls. Slowest were:
| 5.0ms | (- (log (+ N 1)) (log N)) |
| 1.0ms | (log (+ N 1)) |
2 calls. Slowest were:
| 110.0ms | (- (log (+ N 1)) (log N)) |
| 22.0ms | (log (+ N 1)) |
22 calls. Slowest were:
| 227.0ms | (- (+ (/ 1 N) (log -1)) (+ (* 1/2 (/ 1 (pow N 2))) (log (/ -1 N)))) |
| 206.0ms | (- (/ 1 N) (+ (* 1/2 (/ 1 (pow N 2))) (log (/ 1 N)))) |
| 145.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
4 alts after pruning (4 fresh and 0 done)
Merged error: 0.1b
Found 2 expressions with local error:
| 2.9b | (log (/ (+ N 1) N)) |
| 0.0b | (/ (+ N 1) N) |
2 calls. Slowest were:
| 2.0ms | (/ (+ N 1) N) |
| 1.0ms | (log (/ (+ N 1) N)) |
2 calls. Slowest were:
| 35.0ms | (log (/ (+ N 1) N)) |
| 19.0ms | (/ (+ N 1) N) |
16 calls. Slowest were:
| 128.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 110.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 58.0ms | (- N (+ (log N) (* 1/2 (pow N 2)))) |
4 alts after pruning (4 fresh and 0 done)
Merged error: 0.1b
Found 1 expressions with local error:
| 2.9b | (log (+ (/ 1 N) 1)) |
1 calls. Slowest were:
| 2.0ms | (log (+ (/ 1 N) 1)) |
1 calls. Slowest were:
| 27.0ms | (log (+ (/ 1 N) 1)) |
9 calls. Slowest were:
| 105.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 100.0ms | (- (+ (* 1/3 (/ 1 (pow N 3))) (/ 1 N)) (* 1/2 (/ 1 (pow N 2)))) |
| 78.0ms | (- N (+ (log N) (* 1/2 (pow N 2)))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.1b
Found 4 expressions with local error:
| 0.3b | (/ 1/3 N) |
| 0.3b | (/ 1 (* N N)) |
| 0.1b | (* (/ 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)))) |
| 9.0ms | (* (/ 1 (* N N)) (- 1/2 (/ 1/3 N))) |
| 1.0ms | (/ 1 (* N N)) |
4 calls. Slowest were:
| 33.0ms | (* (/ 1 (* N N)) (- 1/2 (/ 1/3 N))) |
| 21.0ms | (- (/ 1 N) (* (/ 1 (* N N)) (- 1/2 (/ 1/3 N)))) |
| 8.0ms | (/ 1 (* N N)) |
| 7.0ms | (/ 1/3 N) |
49 calls. Slowest were:
| 523.0ms | (- (* 1 (* (* N N) (+ (* 1/2 1/2) (+ (* (/ 1/3 N) (/ 1/3 N)) (* 1/2 (/ 1/3 N)))))) (* N (* 1 (- (pow 1/2 3) (pow (/ 1/3 N) 3))))) |
| 437.0ms | (* (/ 1 (* N N)) (- (/ 1/3 N))) |
| 429.0ms | (* (/ 1 (* N N)) (- (/ 1/3 N))) |
5 alts after pruning (4 fresh and 1 done)
Merged error: 0.1b
99.9% (0.0b remaining)
Error of 0.1b against oracle of 0.0b and baseline of 29.5b