Details

Time bar (total: 5.3s)

sample22.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1164
2204
3264
4314
5334
6334

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize198.0ms

Local error

Found 1 expressions with local error:

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

rewrite25.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:
19.0ms
(/ (- (+ f n)) (- f n))

series17.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0293774
1927758
23021743
35001743

prune412.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(log (exp (/ (- (+ f n)) (- f n))))
0.0b
(exp (/ (- (+ f n)) (- f n)))
0.0b
(/ (- (+ f n)) (- f n))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
229×*-un-lft-identity
180×times-frac
165×add-sqr-sqrt
132×exp-prod
91×add-cube-cbrt
67×log-pow
64×distribute-lft-neg-in distribute-rgt-neg-in
37×distribute-lft-out-- difference-of-squares
32×distribute-lft-out
16×neg-mul-1
12×associate-/l*
associate-/r/
add-exp-log associate-/r* add-cbrt-cube
pow1 distribute-frac-neg add-log-exp
neg-sub0 exp-neg expm1-log1p-u log-prod flip3-- div-sub flip-- log1p-expm1-u div-inv
log-div exp-diff associate-/l/ distribute-neg-frac
cbrt-undiv frac-2neg flip3-+ div-exp rem-log-exp log-rec clear-num flip-+ rem-exp-log
Counts
3 → 258
Calls
3 calls:
36.0ms
(log (exp (/ (- (+ f n)) (- f n))))
35.0ms
(exp (/ (- (+ f n)) (- f n)))
17.0ms
(/ (- (+ f n)) (- f n))

series34.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(log (exp (/ (- (+ f n)) (- f n))))
13.0ms
(exp (/ (- (+ f n)) (- f n)))
12.0ms
(/ (- (+ f n)) (- f n))

simplify81.0ms

Algorithm
egg-herbie
Counts
267 → 267
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
04141692
111281633
236531596
350021593

prune1.2s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(log1p (expm1 (exp (/ (- (+ f n)) (- f n)))))
0.0b
(exp (/ (- (+ f n)) (- f n)))
0.0b
(/ (- (+ f n)) (- f n))
1.0b
(expm1 (exp (/ (- (+ f n)) (- f n))))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
157×*-un-lft-identity
120×times-frac
113×add-sqr-sqrt
66×exp-prod
63×add-cube-cbrt
44×distribute-lft-neg-in distribute-rgt-neg-in
25×distribute-lft-out-- difference-of-squares
22×distribute-lft-out
12×associate-/l*
11×neg-mul-1
add-exp-log add-cbrt-cube
associate-/r* log1p-expm1-u add-log-exp
pow1 expm1-log1p-u associate-/r/
neg-sub0 flip3-- div-sub distribute-frac-neg flip-- div-inv associate-/l/ distribute-neg-frac
cbrt-undiv exp-neg log1p-udef expm1-log1p frac-2neg flip3-+ exp-diff log1p-expm1 div-exp clear-num flip-+ rem-exp-log expm1-udef
Counts
4 → 197
Calls
4 calls:
0.0ms
(log1p (expm1 (exp (/ (- (+ f n)) (- f n)))))
33.0ms
(exp (/ (- (+ f n)) (- f n)))
18.0ms
(/ (- (+ f n)) (- f n))
0.0ms
(expm1 (exp (/ (- (+ f n)) (- f n))))

series91.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(log1p (expm1 (exp (/ (- (+ f n)) (- f n)))))
12.0ms
(exp (/ (- (+ f n)) (- f n)))
9.0ms
(/ (- (+ f n)) (- f n))
35.0ms
(expm1 (exp (/ (- (+ f n)) (- f n))))

simplify75.0ms

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
03851425
110961362
234561339
350031332

prune1.2s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (- f n))
0.5b
(cbrt (- f n))
0.5b
(cbrt (- f n))
1.0b
(expm1 (exp (* (/ -1 (* (cbrt (- f n)) (cbrt (- f n)))) (/ (+ f n) (cbrt (- f n))))))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
cbrt-div
log1p-expm1-u
pow1 add-exp-log expm1-log1p-u add-cbrt-cube add-log-exp
flip3-- pow1/3 flip-- distribute-lft-out-- difference-of-squares
expm1-log1p expm1-udef
Counts
4 → 62
Calls
4 calls:
2.0ms
(cbrt (- f n))
2.0ms
(cbrt (- f n))
2.0ms
(cbrt (- f n))
0.0ms
(expm1 (exp (* (/ -1 (* (cbrt (- f n)) (cbrt (- f n)))) (/ (+ f n) (cbrt (- f n))))))

series106.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(cbrt (- f n))
24.0ms
(cbrt (- f n))
27.0ms
(cbrt (- f n))
30.0ms
(expm1 (exp (* (/ -1 (* (cbrt (- f n)) (cbrt (- f n)))) (/ (+ f n) (cbrt (- f n))))))

simplify117.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 4 (110.0ms)

IterNodesCost
0187523
1408481
21105472
33553451
45002435

prune790.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes160.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0168
1178
2178

end0.0ms

sample430.0ms

Algorithm
intervals
Results
297.0ms8000×body80valid