Details

Time bar (total: 1.9s)

sample20.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify14.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))

rewrite210.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:
204.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

prune75.0ms

Filtered
98 candidates to 60 candidates (38.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New95398
Fresh000
Picked101
Done000
Total96399

Merged error: 0.0b

Counts
99 → 3

localize6.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 frac-2neg clear-num associate-/l/ add-log-exp
flip3-- div-sub flip--
Counts
2 → 168
Calls
2 calls:
14.0ms
(/ -1 (/ (- f n) (+ f n)))
7.0ms
(/ (- f n) (+ f n))

series18.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05231449
125451405
250011287

prune111.0ms

Filtered
174 candidates to 96 candidates (44.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1722174
Fresh112
Picked101
Done000
Total1743177

Merged error: 0b

Counts
177 → 3

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
190×*-un-lft-identity
155×times-frac
114×add-sqr-sqrt
54×add-cube-cbrt
35×distribute-lft-out--
28×associate-/r/ distribute-lft-out
25×associate-/r*
20×difference-of-squares
15×distribute-rgt-out--
13×div-inv
12×flip3-+ flip-+
10×add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
pow1
cbrt-undiv frac-2neg div-exp clear-num
flip3-- frac-sub flip-- sub-div
sub-neg diff-log
Counts
4 → 181
Calls
4 calls:
5.0ms
(/ f (+ f n))
24.0ms
(/ -1 (- (/ f (+ f n)) (/ n (+ f n))))
7.0ms
(/ n (+ f n))
22.0ms
(- (/ f (+ f n)) (/ n (+ f n)))

series41.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ f (+ f n))
18.0ms
(/ -1 (- (/ f (+ f n)) (/ n (+ f n))))
5.0ms
(/ n (+ f n))
12.0ms
(- (/ f (+ f n)) (/ n (+ f n)))

simplify53.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04511476
117171425
250011336

prune137.0ms

Filtered
193 candidates to 126 candidates (34.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1930193
Fresh022
Picked011
Done000
Total1933196

Merged error: 0b

Counts
196 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ -1 (cbrt (pow (/ (- f n) (+ f n)) 3)))
0.0b
(cbrt (pow (/ (- f n) (+ f n)) 3))
0.0b
(pow (/ (- f n) (+ f n)) 3)
0.0b
(/ (- f n) (+ f n))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
445×*-un-lft-identity
443×times-frac
313×add-sqr-sqrt
290×cbrt-prod
207×add-cube-cbrt
156×unpow-prod-down cube-prod
66×distribute-lft-out
65×associate-/r*
53×distribute-lft-out-- difference-of-squares
27×associate-/r/
14×div-inv
13×flip3-+ flip-+
11×add-exp-log
10×add-cbrt-cube
associate-/l*
cube-mult unpow3 sqr-pow
pow1
add-log-exp
cbrt-undiv cube-div pow-unpow div-exp
cbrt-div frac-2neg pow-exp clear-num associate-/l/ rem-cube-cbrt
pow-to-exp flip3-- pow-pow pow1/3 div-sub flip-- rem-cbrt-cube
Counts
4 → 446
Calls
4 calls:
20.0ms
(/ -1 (cbrt (pow (/ (- f n) (+ f n)) 3)))
10.0ms
(cbrt (pow (/ (- f n) (+ f n)) 3))
10.0ms
(pow (/ (- f n) (+ f n)) 3)
8.0ms
(/ (- f n) (+ f n))

series56.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/ -1 (cbrt (pow (/ (- f n) (+ f n)) 3)))
13.0ms
(cbrt (pow (/ (- f n) (+ f n)) 3))
13.0ms
(pow (/ (- f n) (+ f n)) 3)
14.0ms
(/ (- f n) (+ f n))

simplify128.0ms

Algorithm
egg-herbie
Counts
458 → 458
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
07564659
135703894
250023595

prune217.0ms

Filtered
458 candidates to 161 candidates (64.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New4580458
Fresh011
Picked011
Done011
Total4583461

Merged error: 0b

Counts
461 → 3

regimes72.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
096
196

end0.0ms

sample368.0ms

Algorithm
intervals
Results
182.0ms8000×body80valid

Profiling

Loading profile data...