Details

Time bar (total: 9.9s)

analyze386.0ms (3.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%50%50%2
0%50%50%3
0%50%50%4
12.5%37.5%50%5
15.6%31.2%53.2%6
17.2%26.5%56.3%7
18%22.6%59.4%8
18.3%19.9%61.8%9
18.5%17.8%63.7%10
18.6%16.3%65.1%11
18.7%15.2%66.1%12
18.7%14.4%66.9%13
18.7%13.8%67.4%14
Compiler

Compiled 17 to 16 computations (5.9% saved)

sample82.0ms (0.8%)

Algorithm
intervals
Results
26.0ms256×body80valid
18.0ms31×body1280nan
11.0ms81×body80overflowed
10.0ms23×body640nan
3.0msbody320nan
1.0ms22×body80nan
1.0msbody160nan
1.0msbody80invalid
Compiler

Compiled 33 to 33 computations (0% saved)

simplify95.0ms (1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
0493422
1493422

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.4b

Counts
2 → 2
Compiler

Compiled 44 to 41 computations (6.8% saved)

localize12.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.2b
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2)) (sqrt.f64 k))
0.3b
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))
0.3b
(*.f64 (*.f64 2 PI.f64) n)

rewrite34.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
48×times-frac_binary64
42×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
33×add-cube-cbrt_binary64
26×add-exp-log_binary64
22×pow-unpow_binary64
18×sqrt-prod_binary64
14×pow1_binary64
10×add-cbrt-cube_binary64
prod-exp_binary64
sqr-pow_binary64 unpow-prod-down_binary64
pow-prod-down_binary64 associate-/r*_binary64 difference-of-squares_binary64 pow-exp_binary64
associate-/l*_binary64 div-exp_binary64
add-log-exp_binary64 cbrt-unprod_binary64 associate-*r*_binary64 pow-pow_binary64 distribute-lft-out--_binary64 insert-posit16
pow-to-exp_binary64 div-sub_binary64 pow-sub_binary64 div-inv_binary64
associate-/l/_binary64 cbrt-undiv_binary64 associate-*l*_binary64 clear-num_binary64 frac-2neg_binary64 *-commutative_binary64
Counts
3 → 118
Calls

3 calls:

13.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))
9.0ms
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2)) (sqrt.f64 k))
6.0ms
(*.f64 (*.f64 2 PI.f64) n)

series489.0ms (4.9%)

Counts
3 → 9
Calls

3 calls:

297.0ms
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2)) (sqrt.f64 k))
146.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))
46.0ms
(*.f64 (*.f64 2 PI.f64) n)

simplify88.0ms (0.9%)

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
055573590

prune205.0ms (2.1%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New11710127
Fresh101
Picked101
Done000
Total11910129

Merged error: 0.0b

Counts
129 → 10
Compiler

Compiled 3295 to 2252 computations (31.7% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 1 (/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))))
0.2b
(/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2)))
0.3b
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))
0.3b
(*.f64 (*.f64 2 PI.f64) n)

rewrite65.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
273×times-frac_binary64
147×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
138×add-cube-cbrt_binary64
78×sqrt-prod_binary64
72×add-exp-log_binary64
40×associate-/r*_binary64
32×sqr-pow_binary64 unpow-prod-down_binary64 div-exp_binary64
22×pow-unpow_binary64
18×prod-exp_binary64
16×pow1_binary64 add-cbrt-cube_binary64
15×pow-exp_binary64
associate-/l*_binary64
div-inv_binary64
pow-prod-down_binary64 1-exp_binary64 associate-/r/_binary64 div-sub_binary64 pow-sub_binary64 difference-of-squares_binary64 rec-exp_binary64
pow-to-exp_binary64
add-log-exp_binary64 cbrt-undiv_binary64 insert-posit16
cbrt-unprod_binary64 associate-*r*_binary64 pow-pow_binary64 distribute-lft-out--_binary64
clear-num_binary64 frac-2neg_binary64
associate-*l*_binary64 inv-pow_binary64 pow-flip_binary64 *-commutative_binary64
Counts
4 → 295
Calls

4 calls:

17.0ms
(/.f64 1 (/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))))
13.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))
9.0ms
(/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2)))
7.0ms
(*.f64 (*.f64 2 PI.f64) n)

series685.0ms (6.9%)

Counts
4 → 12
Calls

4 calls:

254.0ms
(/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2)))
237.0ms
(/.f64 1 (/.f64 (sqrt.f64 k) (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))))
147.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))
47.0ms
(*.f64 (*.f64 2 PI.f64) n)

simplify209.0ms (2.1%)

Algorithm
egg-herbie
Counts
307 → 307
Iterations

Useful iterations: 0 (108.0ms)

IterNodesCost
0500210791

prune574.0ms (5.8%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3043307
Fresh369
Picked101
Done000
Total3089317

Merged error: 0.0b

Counts
317 → 9
Compiler

Compiled 8719 to 5994 computations (31.3% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (/.f64 1 (sqrt.f64 k)) (/.f64 1 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))))
0.3b
(/.f64 1 (sqrt.f64 k))
0.3b
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))
0.3b
(*.f64 (*.f64 2 PI.f64) n)

rewrite127.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
1199×times-frac_binary64
519×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
510×add-cube-cbrt_binary64
207×add-exp-log_binary64
201×sqrt-prod_binary64
138×div-exp_binary64
70×sqr-pow_binary64 unpow-prod-down_binary64
47×div-inv_binary64
42×prod-exp_binary64
39×pow-exp_binary64
37×1-exp_binary64 rec-exp_binary64
26×associate-/r*_binary64
25×associate-/l*_binary64
24×associate-/r/_binary64 div-sub_binary64 pow-sub_binary64
23×add-cbrt-cube_binary64
22×pow-unpow_binary64
17×pow1_binary64
13×pow-to-exp_binary64
cbrt-undiv_binary64
pow-prod-down_binary64 difference-of-squares_binary64
add-log-exp_binary64 insert-posit16
cbrt-unprod_binary64 associate-*r*_binary64 pow-pow_binary64 distribute-lft-out--_binary64 pow-flip_binary64
clear-num_binary64 frac-2neg_binary64
associate-/l/_binary64 pow1/2_binary64 associate-*l*_binary64 sqrt-pow1_binary64 inv-pow_binary64 *-commutative_binary64
Counts
4 → 668
Calls

4 calls:

27.0ms
(/.f64 (/.f64 1 (sqrt.f64 k)) (/.f64 1 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))))
16.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))
7.0ms
(*.f64 (*.f64 2 PI.f64) n)
6.0ms
(/.f64 1 (sqrt.f64 k))

series477.0ms (4.8%)

Counts
4 → 12
Calls

4 calls:

236.0ms
(/.f64 (/.f64 1 (sqrt.f64 k)) (/.f64 1 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))))
141.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))
55.0ms
(/.f64 1 (sqrt.f64 k))
44.0ms
(*.f64 (*.f64 2 PI.f64) n)

simplify282.0ms (2.9%)

Algorithm
egg-herbie
Counts
680 → 680
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
0512429022

prune1.8s (18.5%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New6791680
Fresh088
Picked011
Done000
Total67910689

Merged error: 0.0b

Counts
689 → 10
Compiler

Compiled 20966 to 14757 computations (29.6% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (/.f64 (sqrt.f64 (*.f64 (*.f64 2 PI.f64) n)) (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 k 2))) (sqrt.f64 k))
0.3b
(*.f64 (*.f64 2 PI.f64) n)
0.3b
(*.f64 (*.f64 2 PI.f64) n)
0.4b
(sqrt.f64 (*.f64 (*.f64 2 PI.f64) n))

rewrite55.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
284×times-frac_binary64
126×*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
111×sqrt-prod_binary64
33×add-exp-log_binary64
28×sqr-pow_binary64 unpow-prod-down_binary64
24×associate-/l*_binary64
20×pow1_binary64
19×add-cbrt-cube_binary64
11×div-exp_binary64
pow-prod-down_binary64 prod-exp_binary64
div-inv_binary64
associate-/r*_binary64 cbrt-unprod_binary64 associate-*r*_binary64
add-log-exp_binary64 insert-posit16
cbrt-undiv_binary64 sqrt-pow1_binary64 pow-exp_binary64
associate-*l*_binary64 *-commutative_binary64
pow-to-exp_binary64 associate-/l/_binary64 pow1/2_binary64 clear-num_binary64 frac-2neg_binary64
Counts
4 → 245
Calls

4 calls:

20.0ms
(/.f64 (/.f64 (sqrt.f64 (*.f64 (*.f64 2 PI.f64) n)) (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 k 2))) (sqrt.f64 k))
7.0ms
(*.f64 (*.f64 2 PI.f64) n)
6.0ms
(*.f64 (*.f64 2 PI.f64) n)
5.0ms
(sqrt.f64 (*.f64 (*.f64 2 PI.f64) n))

series578.0ms (5.8%)

Counts
4 → 12
Calls

4 calls:

441.0ms
(/.f64 (/.f64 (sqrt.f64 (*.f64 (*.f64 2 PI.f64) n)) (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 k 2))) (sqrt.f64 k))
50.0ms
(sqrt.f64 (*.f64 (*.f64 2 PI.f64) n))
43.0ms
(*.f64 (*.f64 2 PI.f64) n)
43.0ms
(*.f64 (*.f64 2 PI.f64) n)

simplify160.0ms (1.6%)

Algorithm
egg-herbie
Counts
257 → 257
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
0522311805

prune541.0ms (5.5%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2552257
Fresh268
Picked011
Done011
Total25710267

Merged error: 0b

Counts
267 → 10
Compiler

Compiled 8762 to 5642 computations (35.6% saved)

regimes79.0ms (0.8%)

Compiler

Compiled 806 to 671 computations (16.7% saved)

bsearch0.0ms (0%)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02828
12828

end0.0ms (0%)

sample2.8s (28.1%)

Algorithm
intervals
Results
727.0ms8000×body80valid
558.0ms954×body1280nan
339.0ms2407×body80overflowed
335.0ms778×body640nan
128.0ms426×body320nan
43.0ms740×body80nan
39.0ms220×body160nan
25.0ms233×body80invalid
Compiler

Compiled 299 to 252 computations (15.7% saved)

Profiling

Loading profile data...