Details

Time bar (total: 12.1s)

analyze530.0ms (4.4%)

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)

sample73.0ms (0.6%)

Algorithm
intervals
Results
20.0ms256×body128valid
15.0ms72×body128overflowed
13.0ms30×body1024nan
5.0ms16×body512nan
2.0ms10×body256nan
1.0ms25×body128nan
1.0msbody128invalid
Compiler

Compiled 33 to 33 computations (0% saved)

simplify56.0ms (0.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
0493322
1493322

prune5.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.3b
Counts
2 → 2
Compiler

Compiled 44 to 41 computations (6.8% saved)

localize11.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

rewrite215.0ms (1.8%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
48×times-frac_binary64_766
42×add-sqr-sqrt_binary64_782 *-un-lft-identity_binary64_760
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
unpow-prod-down_binary64_839 sqr-pow_binary64_732
pow-exp_binary64_828 associate-/r*_binary64_704 pow-prod-down_binary64_831 difference-of-squares_binary64_729
div-exp_binary64_811 associate-/l*_binary64_705
add-log-exp_binary64_799 cbrt-unprod_binary64_793 associate-*r*_binary64_700 distribute-lft-out--_binary64_712 pow-pow_binary64_832
pow-to-exp_binary64_829 div-inv_binary64_757 div-sub_binary64_765 pow-sub_binary64_836
cbrt-undiv_binary64_794 frac-2neg_binary64_771 clear-num_binary64_759 associate-/l/_binary64_707 associate-*l*_binary64_701 *-commutative_binary64_691
Counts
3 → 115
Calls

3 calls:

10.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))
7.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)
Compiler

Compiled 2834 to 1916 computations (32.4% saved)

series448.0ms (3.7%)

Error
0.2b
Counts
3 → 18
Calls

3 calls:

212.0ms
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2)) (sqrt.f64 k))
186.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))
28.0ms
(*.f64 (*.f64 2 PI.f64) n)
Compiler

Compiled 1100 to 864 computations (21.5% saved)

simplify98.0ms (0.8%)

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049693385
149693385

prune186.0ms (1.5%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1258133
Fresh101
Picked101
Done000
Total1278135
Error
0.0b
Counts
135 → 8
Compiler

Compiled 3041 to 2057 computations (32.4% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite615.0ms (5.1%)

Algorithm
rewrite-expression-head
Error
0b
Rules
284×times-frac_binary64_766
126×add-cube-cbrt_binary64_795 add-sqr-sqrt_binary64_782 *-un-lft-identity_binary64_760
111×sqrt-prod_binary64_776
33×add-exp-log_binary64_798
28×unpow-prod-down_binary64_839 sqr-pow_binary64_732
24×associate-/l*_binary64_705
20×pow1_binary64_821
19×add-cbrt-cube_binary64_796
11×div-exp_binary64_811
prod-exp_binary64_809 pow-prod-down_binary64_831
div-inv_binary64_757
associate-/r*_binary64_704 cbrt-unprod_binary64_793 associate-*l*_binary64_701
add-log-exp_binary64_799
pow-exp_binary64_828 cbrt-undiv_binary64_794 sqrt-pow1_binary64_778
associate-*r*_binary64_700 *-commutative_binary64_691
pow-to-exp_binary64_829 frac-2neg_binary64_771 clear-num_binary64_759 associate-/l/_binary64_707 pow1/2_binary64_840
Counts
4 → 241
Calls

4 calls:

16.0ms
(/.f64 (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 PI.f64))) (pow.f64 (*.f64 n (*.f64 2 PI.f64)) (/.f64 k 2))) (sqrt.f64 k))
5.0ms
(*.f64 n (*.f64 2 PI.f64))
5.0ms
(*.f64 n (*.f64 2 PI.f64))
3.0ms
(sqrt.f64 (*.f64 n (*.f64 2 PI.f64)))
Compiler

Compiled 8830 to 5718 computations (35.2% saved)

series233.0ms (1.9%)

Error
0.0b
Counts
4 → 15
Calls

4 calls:

139.0ms
(/.f64 (/.f64 (sqrt.f64 (*.f64 n (*.f64 2 PI.f64))) (pow.f64 (*.f64 n (*.f64 2 PI.f64)) (/.f64 k 2))) (sqrt.f64 k))
29.0ms
(*.f64 n (*.f64 2 PI.f64))
26.0ms
(sqrt.f64 (*.f64 n (*.f64 2 PI.f64)))
25.0ms
(*.f64 n (*.f64 2 PI.f64))
Compiler

Compiled 1094 to 858 computations (21.6% saved)

simplify138.0ms (1.1%)

Algorithm
egg-herbie
Counts
256 → 256
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
0507011529

prune490.0ms (4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2533256
Fresh347
Picked011
Done000
Total2568264
Error
0b
Counts
264 → 8
Compiler

Compiled 8733 to 5643 computations (35.4% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite213.0ms (1.7%)

Algorithm
rewrite-expression-head
Error
0b
Rules
56×add-sqr-sqrt_binary64_782
37×sqrt-prod_binary64_776
33×*-un-lft-identity_binary64_760
26×add-cube-cbrt_binary64_795 times-frac_binary64_766
19×associate-*l*_binary64_701
18×pow1_binary64_821
15×add-exp-log_binary64_798
13×associate-*r*_binary64_700
12×unpow-prod-down_binary64_839 unswap-sqr_binary64_728
11×add-cbrt-cube_binary64_796
unpow-prod-up_binary64_838
prod-exp_binary64_809 sqr-pow_binary64_732 cancel-sign-sub-inv_binary64_726 pow-prod-down_binary64_831 pow-unpow_binary64_837 sqrt-pow1_binary64_778
pow-pow_binary64_832
add-log-exp_binary64_799 cbrt-unprod_binary64_793
pow-sub_binary64_836 sqrt-div_binary64_777 rem-sqrt-square_binary64_773
pow-to-exp_binary64_829 pow-exp_binary64_828 div-inv_binary64_757 sub-neg_binary64_753 *-commutative_binary64_691 difference-of-squares_binary64_729 pow1/2_binary64_840
frac-times_binary64_770 associate-*l/_binary64_703 associate-*r/_binary64_702 distribute-lft-out--_binary64_712 sqrt-pow2_binary64_779 inv-pow_binary64_845 pow-flip_binary64_834
Counts
4 → 132
Calls

4 calls:

15.0ms
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (sqrt.f64 (*.f64 n (*.f64 2 PI.f64))) (-.f64 1 k)))
8.0ms
(pow.f64 (sqrt.f64 (*.f64 n (*.f64 2 PI.f64))) (-.f64 1 k))
5.0ms
(*.f64 n (*.f64 2 PI.f64))
3.0ms
(sqrt.f64 (/.f64 1 k))
Compiler

Compiled 3155 to 2339 computations (25.9% saved)

series317.0ms (2.6%)

Error
0b
Counts
4 → 21
Calls

4 calls:

129.0ms
(*.f64 (sqrt.f64 (/.f64 1 k)) (pow.f64 (sqrt.f64 (*.f64 n (*.f64 2 PI.f64))) (-.f64 1 k)))
124.0ms
(pow.f64 (sqrt.f64 (*.f64 n (*.f64 2 PI.f64))) (-.f64 1 k))
27.0ms
(*.f64 n (*.f64 2 PI.f64))
15.0ms
(sqrt.f64 (/.f64 1 k))
Compiler

Compiled 1565 to 1200 computations (23.3% saved)

simplify120.0ms (1%)

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 0 (88.0ms)

IterNodesCost
049373270
149373270

prune205.0ms (1.7%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1521153
Fresh156
Picked101
Done101
Total1556161
Error
0b
Counts
161 → 6
Compiler

Compiled 3481 to 2429 computations (30.2% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite167.0ms (1.4%)

Algorithm
rewrite-expression-head
Error
0b
Rules
38×add-sqr-sqrt_binary64_782
30×sqrt-prod_binary64_776
25×*-un-lft-identity_binary64_760
24×pow1_binary64_821
23×add-cube-cbrt_binary64_795
22×times-frac_binary64_766 associate-*l*_binary64_701
13×add-exp-log_binary64_798 add-cbrt-cube_binary64_796
12×pow-prod-down_binary64_831
sqrt-pow1_binary64_778
associate-*r*_binary64_700
prod-exp_binary64_809 cbrt-unprod_binary64_793 unswap-sqr_binary64_728
add-log-exp_binary64_799
pow1/2_binary64_840 *-commutative_binary64_691 rem-sqrt-square_binary64_773
sqrt-div_binary64_777 div-inv_binary64_757
sqrt-unprod_binary64_780 associate-*l/_binary64_703 inv-pow_binary64_845 pow-flip_binary64_834
Counts
4 → 105
Calls

4 calls:

13.0ms
(*.f64 (sqrt.f64 (/.f64 1 k)) (sqrt.f64 (*.f64 (*.f64 n PI.f64) 2)))
5.0ms
(*.f64 n (*.f64 2 PI.f64))
4.0ms
(*.f64 n PI.f64)
3.0ms
(sqrt.f64 (/.f64 1 k))
Compiler

Compiled 2778 to 1852 computations (33.3% saved)

series148.0ms (1.2%)

Error
0b
Counts
4 → 15
Calls

4 calls:

68.0ms
(*.f64 (sqrt.f64 (/.f64 1 k)) (sqrt.f64 (*.f64 (*.f64 n PI.f64) 2)))
34.0ms
(*.f64 n (*.f64 2 PI.f64))
21.0ms
(*.f64 n PI.f64)
13.0ms
(sqrt.f64 (/.f64 1 k))
Compiler

Compiled 985 to 761 computations (22.7% saved)

simplify71.0ms (0.6%)

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049551578
149551578

prune141.0ms (1.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1200120
Fresh055
Picked011
Done000
Total1206126
Error
0b
Counts
126 → 6
Compiler

Compiled 2905 to 1901 computations (34.6% saved)

regimes1.4s (11.5%)

Accuracy

Total 0.4b remaining (99.9%)

Threshold costs 0.4b (99.9%)

Compiler

Compiled 19656 to 15666 computations (20.3% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01930
11930

end0.0ms (0%)

sample6.2s (51.3%)

Algorithm
intervals
Results
633.0ms8000×body128valid
604.0ms1301×body1024nan
330.0ms2347×body128overflowed
212.0ms664×body512nan
57.0ms1012×body128nan
55.0ms316×body256nan
22.0ms236×body128invalid
Compiler

Compiled 4674 to 3722 computations (20.4% saved)

Profiling

Loading profile data...