Details

Time bar (total: 28.0s)

sample60.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify27.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
068
1168
2238
3278
4318
done318

prune32.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 1 expressions with local error:

0.1b
(/ (- (+ f n)) (- f n))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
82×*-un-lft-identity
60×times-frac
58×add-sqr-sqrt
32×add-cube-cbrt
24×distribute-lft-neg-in distribute-rgt-neg-in
13×distribute-lft-out-- difference-of-squares
12×distribute-lft-out associate-/l*
neg-mul-1
associate-/r*
add-exp-log add-cbrt-cube
associate-/r/ associate-/l/ distribute-neg-frac
pow1 cbrt-undiv neg-sub0 expm1-log1p-u flip3-- frac-2neg flip3-+ div-sub distribute-frac-neg div-exp clear-num flip-- flip-+ log1p-expm1-u div-inv add-log-exp
Counts
1 → 97
Calls
1 calls:
61.0ms
(/ (- (+ f n)) (- f n))

series155.0ms

Counts
1 → 3
Calls
1 calls:
155.0ms
(/ (- (+ f n)) (- f n))

simplify3.1s

Counts
100 → 100
Iterations

Useful iterations: done (3.1s)

IterNodesCost
01351469
16951395
done50001365

prune217.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1 (/ (- f n) (- (+ f n))))
0.1b
(/ (- f n) (- (+ f n)))

rewrite177.0ms

Algorithm
rewrite-expression-head
Rules
498×times-frac
438×*-un-lft-identity
334×add-sqr-sqrt
212×add-cube-cbrt
104×distribute-lft-neg-in distribute-rgt-neg-in
78×associate-/r*
61×distribute-lft-out-- difference-of-squares
52×distribute-lft-out
26×neg-mul-1
15×add-exp-log
11×associate-/r/
10×distribute-neg-frac
add-cbrt-cube
div-exp associate-/l*
div-inv
flip3-+ flip-+
cbrt-undiv
pow1
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u associate-/l/ add-log-exp
flip3-- pow-flip div-sub flip-- inv-pow
Counts
2 → 386
Calls
2 calls:
69.0ms
(/ 1 (/ (- f n) (- (+ f n))))
46.0ms
(/ (- f n) (- (+ f n)))

series205.0ms

Counts
2 → 6
Calls
2 calls:
83.0ms
(/ 1 (/ (- f n) (- (+ f n))))
122.0ms
(/ (- f n) (- (+ f n)))

simplify7.3s

Counts
392 → 392
Iterations

Useful iterations: done (7.3s)

IterNodesCost
03937392
134706204
done50006126

prune552.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(log1p (expm1 (/ (- f n) (- (+ f n)))))
0.0b
(/ 1 (log1p (expm1 (/ (- f n) (- (+ f n))))))
0.1b
(/ (- f n) (- (+ f n)))
0.5b
(expm1 (/ (- f n) (- (+ f n))))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
93×*-un-lft-identity
69×add-sqr-sqrt times-frac
43×add-cube-cbrt
24×distribute-lft-neg-in distribute-rgt-neg-in
15×associate-/r*
13×distribute-lft-out-- difference-of-squares
12×distribute-lft-out
10×add-exp-log
add-cbrt-cube associate-/l*
neg-mul-1
pow1 log1p-expm1-u
expm1-log1p-u add-log-exp
div-exp
cbrt-undiv frac-2neg clear-num associate-/r/ div-inv associate-/l/ distribute-neg-frac
rec-exp log1p-udef expm1-log1p flip3-- pow-flip flip3-+ 1-exp div-sub log1p-expm1 flip-- flip-+ inv-pow expm1-udef
Counts
4 → 151
Calls
4 calls:
0.0ms
(log1p (expm1 (/ (- f n) (- (+ f n)))))
5.0ms
(/ 1 (log1p (expm1 (/ (- f n) (- (+ f n))))))
45.0ms
(/ (- f n) (- (+ f n)))
1.0ms
(expm1 (/ (- f n) (- (+ f n))))

series513.0ms

Counts
4 → 12
Calls
4 calls:
140.0ms
(log1p (expm1 (/ (- f n) (- (+ f n)))))
151.0ms
(/ 1 (log1p (expm1 (/ (- f n) (- (+ f n))))))
77.0ms
(/ (- f n) (- (+ f n)))
144.0ms
(expm1 (/ (- f n) (- (+ f n))))

simplify2.2s

Counts
163 → 163
Iterations

Useful iterations: done (2.2s)

IterNodesCost
01992365
111312124
done50002016

prune412.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (log1p (expm1 (- (/ f (- (+ f n))) (/ n (- (+ f n)))))))
0.0b
(/ n (- (+ f n)))
0.0b
(- (/ f (- (+ f n))) (/ n (- (+ f n))))
0.5b
(expm1 (- (/ f (- (+ f n))) (/ n (- (+ f n)))))

rewrite866.0ms

Algorithm
rewrite-expression-head
Rules
3149×times-frac
3021×*-un-lft-identity
1925×add-sqr-sqrt
1913×add-cube-cbrt
1764×prod-diff
1052×distribute-rgt-neg-in
1048×distribute-lft-neg-in
528×distribute-lft-out
261×neg-mul-1
176×associate-/r/ distribute-neg-frac
89×div-inv
88×flip3-+ flip-+
42×fma-neg
21×distribute-lft-out--
15×associate-/r*
10×add-exp-log
add-cbrt-cube
associate-/l* add-log-exp
pow1 log1p-expm1-u
expm1-log1p-u difference-of-squares
distribute-rgt-out-- div-exp
cbrt-undiv frac-2neg clear-num
sub-neg rec-exp expm1-log1p flip3-- pow-flip diff-log 1-exp frac-sub flip-- inv-pow expm1-udef sub-div
Counts
4 → 1961
Calls
4 calls:
11.0ms
(/ 1 (log1p (expm1 (- (/ f (- (+ f n))) (/ n (- (+ f n)))))))
41.0ms
(/ n (- (+ f n)))
451.0ms
(- (/ f (- (+ f n))) (/ n (- (+ f n))))
1.0ms
(expm1 (- (/ f (- (+ f n))) (/ n (- (+ f n)))))

series551.0ms

Counts
4 → 12
Calls
4 calls:
192.0ms
(/ 1 (log1p (expm1 (- (/ f (- (+ f n))) (/ n (- (+ f n)))))))
55.0ms
(/ n (- (+ f n)))
133.0ms
(- (/ f (- (+ f n))) (/ n (- (+ f n))))
170.0ms
(expm1 (- (/ f (- (+ f n))) (/ n (- (+ f n)))))

simplify1.7s

Counts
1973 → 1973
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01473116788
done500194525

prune8.9s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

regimes76.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01114
11814
done1814

end0.0ms

sample795.0ms

Algorithm
intervals
Results
483.0ms8000×body80valid