Details

Time bar (total: 2.4s)

sample265.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0134
1164
2204
3264
4314
5334
6334

prune3.0ms

Filtered
1 candidates to 0 candidates (0.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
(/ (- (+ f n)) (- f n))

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

series91.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0293774
1927758
23021743
35001743

prune132.0ms

Filtered
100 candidates to 62 candidates (62.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New982100
Fresh000
Picked011
Done000
Total983101

Merged error: 0.0b

Counts
101 → 3

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite31.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 expm1-log1p-u frac-2neg clear-num log1p-expm1-u associate-/l/ add-log-exp
flip3-- div-sub flip--
Counts
2 → 172
Calls
2 calls:
11.0ms
(/ -1 (/ (- f n) (+ f n)))
8.0ms
(/ (- f n) (+ f n))

series131.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05321466
125711420
250011301

prune210.0ms

Filtered
178 candidates to 100 candidates (56.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1771178
Fresh011
Picked101
Done011
Total1783181

Merged error: 0b

Counts
181 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
45×*-un-lft-identity
33×add-sqr-sqrt
29×times-frac
23×add-cube-cbrt
add-exp-log add-cbrt-cube associate-/l*
associate-/r*
distribute-lft-out
log1p-expm1-u distribute-lft-out-- difference-of-squares
pow1 expm1-log1p-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num associate-/r/ div-inv associate-/l/
log1p-udef expm1-log1p flip3-- flip3-+ div-sub log1p-expm1 flip-- flip-+ expm1-udef
Counts
4 → 99
Calls
4 calls:
3.0ms
(/ -1 (log1p (expm1 (/ (- f n) (+ f n)))))
1.0ms
(log1p (expm1 (/ (- f n) (+ f n))))
8.0ms
(/ (- f n) (+ f n))
1.0ms
(expm1 (/ (- f n) (+ f n)))

series372.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(/ -1 (log1p (expm1 (/ (- f n) (+ f n)))))
101.0ms
(log1p (expm1 (/ (- f n) (+ f n))))
66.0ms
(/ (- f n) (+ f n))
93.0ms
(expm1 (/ (- f n) (+ f n)))

simplify101.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 3 (92.0ms)

IterNodesCost
0294718
1967619
24278594
35001593

prune180.0ms

Filtered
111 candidates to 80 candidates (72.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1110111
Fresh011
Picked011
Done011
Total1113114

Merged error: 0b

Counts
114 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
38×*-un-lft-identity
31×times-frac
22×add-cube-cbrt
21×associate-*l*
add-exp-log add-cbrt-cube
distribute-lft-out-- difference-of-squares
associate-/r*
pow1 associate-*r* associate-/r/
associate-/l*
cbrt-undiv expm1-log1p-u frac-times flip3-- flip3-+ associate-*r/ div-exp prod-exp flip-- cbrt-unprod flip-+ log1p-expm1-u div-inv add-log-exp unswap-sqr
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down associate-*l/ clear-num *-commutative distribute-lft-out
Counts
2 → 88
Calls
2 calls:
5.0ms
(/ -1 (- f n))
11.0ms
(* (/ -1 (- f n)) (+ f n))

series102.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0426485
11702451
25001421

prune124.0ms

Filtered
94 candidates to 65 candidates (69.1%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New94094
Fresh000
Picked011
Done022
Total94397

Merged error: 0b

Counts
97 → 3

regimes44.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

sample319.0ms

Algorithm
intervals
Results
189.0ms8000×body80valid

Profiling

Loading profile data...