Details

Time bar (total: 3.3s)

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

prune4.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
(/ (neg (+ f n)) (- f n))

rewrite18.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:
12.0ms
(/ (neg (+ f n)) (- f n))

series90.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0288754
1906738
22893733
35001733

prune132.0ms

Filtered
98 candidates to 60 candidates (61.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New95398
Fresh000
Picked011
Done000
Total95499

Merged error: 0b

Counts
99 → 4

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

series129.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05231449
125451405
250011287

prune194.0ms

Filtered
174 candidates to 96 candidates (55.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1740174
Fresh022
Picked011
Done011
Total1744178

Merged error: 0b

Counts
178 → 4

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
21×associate-*l*
19×*-un-lft-identity
16×times-frac
11×add-cube-cbrt
add-exp-log add-cbrt-cube
associate-*r*
pow1 distribute-lft-out-- difference-of-squares
frac-times flip3-+ associate-*r/ prod-exp associate-/r/ cbrt-unprod flip-+ unswap-sqr
cbrt-undiv distribute-rgt-in flip3-- distribute-lft-in div-exp pow-prod-down associate-*l/ *-commutative flip-- div-inv distribute-lft-out add-log-exp
Counts
1 → 47
Calls
1 calls:
13.0ms
(* (/ -1 (- f n)) (+ f n))

series62.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0365285
11367259
25001254

prune71.0ms

Filtered
50 candidates to 37 candidates (74.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New50050
Fresh011
Picked011
Done022
Total50454

Merged error: 0b

Counts
54 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite169.0ms

Algorithm
rewrite-expression-head
Rules
880×*-un-lft-identity
587×times-frac
504×sqrt-prod
473×add-sqr-sqrt
238×add-cube-cbrt
220×distribute-rgt-neg-in
192×distribute-lft-neg-in
151×swap-sqr
142×distribute-lft-out--
124×distribute-lft-out
102×difference-of-squares
69×associate-*r* associate-*l*
41×neg-mul-1
24×associate-/l*
20×pow1
14×associate-/r/
10×add-exp-log associate-/r* add-cbrt-cube
sqrt-pow1 pow1/2 unswap-sqr
flip3-- flip-- div-inv
sqrt-div pow-prod-up
associate-/l/ distribute-neg-frac add-log-exp
pow-prod-down pow-sqr
cbrt-undiv neg-sub0 rem-sqrt-square frac-2neg flip3-+ div-sub distribute-frac-neg div-exp clear-num flip-+
pow2 frac-times pow-plus sqrt-unprod associate-*r/ associate-*l/ prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 594
Calls
4 calls:
15.0ms
(sqrt (/ (neg (+ f n)) (- f n)))
9.0ms
(/ (neg (+ f n)) (- f n))
9.0ms
(/ (neg (+ f n)) (- f n))
91.0ms
(* (sqrt (/ (neg (+ f n)) (- f n))) (sqrt (/ (neg (+ f n)) (- f n))))

series531.0ms

Counts
4 → 12
Calls
4 calls:
259.0ms
(sqrt (/ (neg (+ f n)) (- f n)))
68.0ms
(/ (neg (+ f n)) (- f n))
67.0ms
(/ (neg (+ f n)) (- f n))
137.0ms
(* (sqrt (/ (neg (+ f n)) (- f n))) (sqrt (/ (neg (+ f n)) (- f n))))

simplify148.0ms

Algorithm
egg-herbie
Counts
606 → 606
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
06565398
131565222
250015188

prune867.0ms

Filtered
606 candidates to 298 candidates (49.2%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New6060606
Fresh000
Picked011
Done033
Total6064610

Merged error: 0b

Counts
610 → 4

regimes47.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
0124
1134
2134

end0.0ms

sample327.0ms

Algorithm
intervals
Results
195.0ms8000×body80valid

Profiling

Loading profile data...