Details

Time bar (total: 10.9s)

analyze528.0ms (4.9%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0494244
1494244
022
122
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)

sample76.0ms (0.7%)

Algorithm
intervals
Results
20.0ms256×body128valid
20.0ms40×body1024nan
12.0ms79×body128overflowed
7.0ms20×body512nan
3.0ms14×body256nan
2.0ms27×body128nan
1.0msbody128invalid
Compiler

Compiled 33 to 33 computations (0% saved)

simplify52.0ms (0.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
0493322
1493322

prune5.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.5b

Counts
2 → 2
Compiler

Compiled 44 to 41 computations (6.8% saved)

localize14.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
(*.f64 (*.f64 2 PI.f64) n)
0.4b
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))

rewrite32.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
48×times-frac_binary64_766
42×*-un-lft-identity_binary64_760 add-sqr-sqrt_binary64_782
33×add-cube-cbrt_binary64_795
26×add-exp-log_binary64_798
22×pow-unpow_binary64_837
18×sqrt-prod_binary64_776
14×pow1_binary64_821
10×add-cbrt-cube_binary64_796
prod-exp_binary64_809
sqr-pow_binary64_732 unpow-prod-down_binary64_839
associate-/r*_binary64_704 pow-exp_binary64_828 difference-of-squares_binary64_729 pow-prod-down_binary64_831
associate-/l*_binary64_705 div-exp_binary64_811
add-log-exp_binary64_799 distribute-lft-out--_binary64_712 associate-*r*_binary64_700 cbrt-unprod_binary64_793 pow-pow_binary64_832
div-inv_binary64_757 pow-to-exp_binary64_829 div-sub_binary64_765 pow-sub_binary64_836
frac-2neg_binary64_771 cbrt-undiv_binary64_794 associate-/l/_binary64_707 associate-*l*_binary64_701 clear-num_binary64_759 *-commutative_binary64_691
Counts
3 → 115
Calls

3 calls:

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

series267.0ms (2.5%)

Counts
3 → 9
Calls

3 calls:

171.0ms
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2)) (sqrt.f64 k))
78.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))
18.0ms
(*.f64 (*.f64 2 PI.f64) n)

simplify90.0ms (0.8%)

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049893537
149893537

prune191.0ms (1.8%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New11311124
Fresh011
Picked101
Done000
Total11412126

Merged error: 0.0b

Counts
126 → 12
Compiler

Compiled 3273 to 2241 computations (31.5% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite47.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
72×add-exp-log_binary64_798 add-sqr-sqrt_binary64_782
62×times-frac_binary64_766
57×*-un-lft-identity_binary64_760
44×add-cube-cbrt_binary64_795
38×prod-exp_binary64_809
25×sqrt-prod_binary64_776
23×associate-*l*_binary64_701
22×pow-unpow_binary64_837
17×pow1_binary64_821
16×add-cbrt-cube_binary64_796
15×pow-exp_binary64_828
12×div-exp_binary64_811
10×unswap-sqr_binary64_728
associate-*r*_binary64_700
sqr-pow_binary64_732
associate-/r*_binary64_704 difference-of-squares_binary64_729 rec-exp_binary64_810 pow-prod-down_binary64_831 1-exp_binary64_804
pow-to-exp_binary64_829 cbrt-unprod_binary64_793
add-log-exp_binary64_799
div-inv_binary64_757 associate-/l*_binary64_705 distribute-lft-out--_binary64_712 div-sub_binary64_765 pow-pow_binary64_832 pow-sub_binary64_836 pow-flip_binary64_834
cbrt-undiv_binary64_794 *-commutative_binary64_691 unpow-prod-down_binary64_839
frac-2neg_binary64_771 associate-*l/_binary64_703 sqrt-pow1_binary64_778 inv-pow_binary64_845 frac-times_binary64_770 associate-*r/_binary64_702 pow1/2_binary64_840 clear-num_binary64_759
Counts
4 → 172
Calls

4 calls:

13.0ms
(*.f64 (/.f64 1 (sqrt.f64 k)) (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2)))
10.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))
5.0ms
(*.f64 (*.f64 2 PI.f64) n)
4.0ms
(/.f64 1 (sqrt.f64 k))

series267.0ms (2.5%)

Counts
4 → 12
Calls

4 calls:

143.0ms
(*.f64 (/.f64 1 (sqrt.f64 k)) (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2)))
82.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))
24.0ms
(/.f64 1 (sqrt.f64 k))
18.0ms
(*.f64 (*.f64 2 PI.f64) n)

simplify102.0ms (0.9%)

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
049483852
149483852

prune238.0ms (2.2%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1813184
Fresh4711
Picked101
Done000
Total18610196

Merged error: 0.0b

Counts
196 → 10
Compiler

Compiled 4300 to 2976 computations (30.8% saved)

localize19.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite33.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
45×add-exp-log_binary64_798
33×add-sqr-sqrt_binary64_782
30×prod-exp_binary64_809
26×*-un-lft-identity_binary64_760
22×pow-unpow_binary64_837
18×times-frac_binary64_766
17×add-cube-cbrt_binary64_795 pow-exp_binary64_828
14×pow1_binary64_821
10×add-cbrt-cube_binary64_796
pow-to-exp_binary64_829
associate-*r*_binary64_700 associate-*l*_binary64_701 sqr-pow_binary64_732
unpow-prod-down_binary64_839
unswap-sqr_binary64_728 difference-of-squares_binary64_729 pow-prod-down_binary64_831
cbrt-unprod_binary64_793
add-log-exp_binary64_799 distribute-lft-out--_binary64_712 pow-pow_binary64_832
div-sub_binary64_765 *-commutative_binary64_691 pow-sub_binary64_836
div-inv_binary64_757 associate-*r/_binary64_702
Counts
3 → 100
Calls

3 calls:

10.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))
9.0ms
(*.f64 (pow.f64 k -1/2) (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2)))
5.0ms
(*.f64 (*.f64 2 PI.f64) n)

series226.0ms (2.1%)

Counts
3 → 9
Calls

3 calls:

122.0ms
(*.f64 (pow.f64 k -1/2) (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2)))
85.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))
19.0ms
(*.f64 (*.f64 2 PI.f64) n)

simplify70.0ms (0.6%)

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049682580
149682580

prune152.0ms (1.4%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1081109
Fresh279
Picked101
Done000
Total1118119

Merged error: 0b

Counts
119 → 8
Compiler

Compiled 2616 to 1978 computations (24.4% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite56.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
87×times-frac_binary64_766
78×add-sqr-sqrt_binary64_782
74×*-un-lft-identity_binary64_760
57×unpow-prod-down_binary64_839
56×add-cube-cbrt_binary64_795
43×sqrt-prod_binary64_776
37×add-exp-log_binary64_798
36×pow-unpow_binary64_837
19×pow-exp_binary64_828
17×sqr-pow_binary64_732
15×pow1_binary64_821
12×prod-exp_binary64_809 difference-of-squares_binary64_729
11×add-cbrt-cube_binary64_796
10×associate-/l*_binary64_705
unpow-prod-up_binary64_838
div-exp_binary64_811
associate-/r*_binary64_704 distribute-lft-out--_binary64_712 pow-prod-down_binary64_831
pow-to-exp_binary64_829
add-log-exp_binary64_799 pow-pow_binary64_832
associate-*r*_binary64_700 cbrt-unprod_binary64_793
distribute-lft-out_binary64_711 div-inv_binary64_757 div-sub_binary64_765 pow-sub_binary64_836
frac-2neg_binary64_771 cbrt-undiv_binary64_794 associate-/l/_binary64_707 associate-*l*_binary64_701 clear-num_binary64_759 *-commutative_binary64_691
Counts
4 → 188
Calls

4 calls:

11.0ms
(pow.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (+.f64 1 (sqrt.f64 k))) (/.f64 (-.f64 1 (sqrt.f64 k)) 2))
10.0ms
(/.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (+.f64 1 (sqrt.f64 k))) (/.f64 (-.f64 1 (sqrt.f64 k)) 2)) (sqrt.f64 k))
9.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (+.f64 1 (sqrt.f64 k)))
5.0ms
(*.f64 (*.f64 2 PI.f64) n)

series3.7s (33.9%)

Counts
4 → 12
Calls

4 calls:

2.7s
(/.f64 (pow.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (+.f64 1 (sqrt.f64 k))) (/.f64 (-.f64 1 (sqrt.f64 k)) 2)) (sqrt.f64 k))
823.0ms
(pow.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (+.f64 1 (sqrt.f64 k))) (/.f64 (-.f64 1 (sqrt.f64 k)) 2))
154.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (+.f64 1 (sqrt.f64 k)))
18.0ms
(*.f64 (*.f64 2 PI.f64) n)

simplify199.0ms (1.8%)

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
0499418833
1499418833

prune806.0ms (7.4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2000200
Fresh077
Picked011
Done000
Total2008208

Merged error: 0b

Counts
208 → 8
Compiler

Compiled 12781 to 8450 computations (33.9% saved)

regimes358.0ms (3.3%)

Compiler

Compiled 4398 to 3730 computations (15.2% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02723
12723

end0.0ms (0%)

sample3.3s (30.6%)

Algorithm
intervals
Results
630.0ms1393×body1024nan
611.0ms8000×body128valid
339.0ms2379×body128overflowed
215.0ms679×body512nan
68.0ms359×body256nan
57.0ms965×body128nan
22.0ms245×body128invalid
Compiler

Compiled 1120 to 952 computations (15% saved)

Profiling

Loading profile data...