Details

Time bar (total: 3.3s)

sample21.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify571.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1164
2204
3264
4314
5334
6334

prune4.0ms

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

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

series42.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0288764
1915748
22916733
35001733

prune76.0ms

Filtered
60 candidates to 98 candidates (-63.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New95398
Fresh000
Picked011
Done000
Total95499

Merged error: 0b

Counts
99 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite161.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:
11.0ms
(sqrt (/ (neg (+ f n)) (- f n)))
83.0ms
(* (sqrt (/ (neg (+ f n)) (- f n))) (sqrt (/ (neg (+ f n)) (- f n))))
8.0ms
(/ (neg (+ f n)) (- f n))
9.0ms
(/ (neg (+ f n)) (- f n))

series67.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(sqrt (/ (neg (+ f n)) (- f n)))
18.0ms
(* (sqrt (/ (neg (+ f n)) (- f n))) (sqrt (/ (neg (+ f n)) (- f n))))
9.0ms
(/ (neg (+ f n)) (- f n))
9.0ms
(/ (neg (+ f n)) (- f n))

simplify141.0ms

Algorithm
egg-herbie
Counts
606 → 606
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
06555481
133945222
250025188

prune307.0ms

Filtered
298 candidates to 606 candidates (-103.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New6060606
Fresh022
Picked011
Done011
Total6064610

Merged error: 0b

Counts
610 → 4

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite147.0ms

Algorithm
rewrite-expression-head
Rules
1776×times-frac
1474×*-un-lft-identity
1150×add-sqr-sqrt
1120×sqrt-prod
702×add-cube-cbrt
324×distribute-lft-neg-in distribute-rgt-neg-in
224×distribute-lft-out-- difference-of-squares
162×distribute-lft-out
114×associate-/l*
81×neg-mul-1
22×sqrt-div associate-/r/
16×associate-/r*
11×flip3-- flip-- div-inv
add-exp-log add-cbrt-cube
cbrt-undiv div-exp
div-sub distribute-frac-neg associate-/l/
pow1 neg-sub0 frac-2neg clear-num distribute-neg-frac add-log-exp
flip3-+ flip-+
Counts
2 → 1079
Calls
2 calls:
40.0ms
(/ (/ (neg (+ f n)) (sqrt (- f n))) (sqrt (- f n)))
10.0ms
(/ (neg (+ f n)) (sqrt (- f n)))

series36.0ms

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

simplify182.0ms

Algorithm
egg-herbie
Counts
1085 → 1085
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
0183017556
1500115905

prune267.0ms

Filtered
293 candidates to 1085 candidates (-270.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New108501085
Fresh011
Picked011
Done022
Total108541089

Merged error: 0b

Counts
1089 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
1438×times-frac
1234×*-un-lft-identity
862×add-sqr-sqrt
748×sqrt-prod
578×add-cube-cbrt
294×distribute-lft-neg-in distribute-rgt-neg-in
187×distribute-lft-out
141×distribute-lft-out-- difference-of-squares
48×associate-/r*
46×sqrt-div
42×neg-mul-1
41×associate-/r/
23×flip3-+ flip-+ associate-/l*
21×div-inv
11×add-exp-log add-cbrt-cube
pow1
cbrt-undiv div-exp associate-/l/ add-log-exp
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub clear-num distribute-neg-frac
neg-sub0 flip3-- distribute-frac-neg flip--
Counts
4 → 912
Calls
4 calls:
3.0ms
(sqrt (+ f n))
3.0ms
(sqrt (+ f n))
30.0ms
(/ (neg (sqrt (+ f n))) (/ (- f n) (sqrt (+ f n))))
8.0ms
(/ (- f n) (sqrt (+ f n)))

series45.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (+ f n))
6.0ms
(sqrt (+ f n))
15.0ms
(/ (neg (sqrt (+ f n))) (/ (- f n) (sqrt (+ f n))))
19.0ms
(/ (- f n) (sqrt (+ f n)))

simplify167.0ms

Algorithm
egg-herbie
Counts
924 → 924
Iterations

Useful iterations: 1 (43.0ms)

IterNodesCost
0190515078
1500114118

prune305.0ms

Filtered
326 candidates to 924 candidates (-183.4%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New9240924
Fresh000
Picked011
Done033
Total9244928

Merged error: 0b

Counts
928 → 4

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

sample403.0ms

Algorithm
intervals
Results
199.0ms8000×body80valid

Profiling

Loading profile data...