Details

Time bar (total: 2.1s)

sample20.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1164
2204
3264
4314
5334
6334

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite215.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 flip3-- frac-2neg flip3-+ div-sub distribute-frac-neg div-exp clear-num flip-- flip-+ div-inv add-log-exp
Counts
1 → 95
Calls
1 calls:
209.0ms
(/ (neg (+ f n)) (- f n))

series18.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0288754
1906738
22893733
35001733

prune91.0ms

Filtered
98 candidates to 60 candidates (38.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New93598
Fresh000
Picked101
Done000
Total94599

Merged error: 0.0b

Counts
99 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
178×times-frac
174×*-un-lft-identity
122×add-sqr-sqrt
80×add-cube-cbrt
30×associate-/r*
26×distribute-lft-out
21×distribute-lft-out-- difference-of-squares
11×associate-/r/
add-exp-log add-cbrt-cube
associate-/l*
div-inv
flip3-+ flip-+
cbrt-undiv div-exp
pow1 frac-2neg clear-num associate-/l/ add-log-exp
flip3-- div-sub flip--
Counts
2 → 168
Calls
2 calls:
11.0ms
(/ -1 (/ (- f n) (+ f n)))
7.0ms
(/ (- f n) (+ f n))

series17.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05231449
125451405
250011287

prune120.0ms

Filtered
174 candidates to 97 candidates (44.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1731174
Fresh044
Picked101
Done000
Total1745179

Merged error: 0b

Counts
179 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
454×times-frac
399×*-un-lft-identity
287×add-sqr-sqrt
197×add-cube-cbrt
166×exp-prod
84×log-pow
56×distribute-lft-out
45×distribute-lft-out-- difference-of-squares
30×associate-/r*
25×associate-/r/
14×div-inv
11×add-exp-log flip3-+ add-cbrt-cube flip-+
associate-/l*
pow1 add-log-exp
cbrt-undiv div-exp
log-prod
frac-2neg clear-num associate-/l/
flip3-- div-sub rem-log-exp flip-- rem-exp-log
Counts
4 → 354
Calls
4 calls:
19.0ms
(log (exp (/ -1 (/ (- f n) (+ f n)))))
11.0ms
(/ -1 (/ (- f n) (+ f n)))
16.0ms
(exp (/ -1 (/ (- f n) (+ f n))))
7.0ms
(/ (- f n) (+ f n))

series39.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(log (exp (/ -1 (/ (- f n) (+ f n)))))
9.0ms
(/ -1 (/ (- f n) (+ f n)))
14.0ms
(exp (/ -1 (/ (- f n) (+ f n))))
8.0ms
(/ (- f n) (+ f n))

simplify91.0ms

Algorithm
egg-herbie
Counts
366 → 366
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06672715
128312595
250012302

prune343.0ms

Filtered
366 candidates to 226 candidates (38.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New3660366
Fresh044
Picked011
Done000
Total3665371

Merged error: 0b

Counts
371 → 5

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite55.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 log-prod flip3-- div-sub flip-- 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 → 252
Calls
3 calls:
16.0ms
(log (exp (/ (neg (+ f n)) (- f n))))
16.0ms
(exp (/ (neg (+ f n)) (- f n)))
9.0ms
(/ (neg (+ f n)) (- f n))

series30.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
261 → 261
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
04051660
111121601
235611564
350011561

prune186.0ms

Filtered
261 candidates to 154 candidates (41.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2601261
Fresh123
Picked101
Done011
Total2624266

Merged error: 0b

Counts
266 → 4

regimes114.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0106
1106

end0.0ms

sample377.0ms

Algorithm
intervals
Results
183.0ms8000×body80valid

Profiling

Loading profile data...