Details

Time bar (total: 24.8s)

analyze532.0ms (2.1%)

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)

sample84.0ms (0.3%)

Algorithm
intervals
Results
23.0ms45×body1024nan
20.0ms256×body128valid
12.0ms85×body128overflowed
5.0ms17×body512nan
3.0ms18×body256nan
2.0ms32×body128nan
1.0msbody128invalid
Compiler

Compiled 33 to 33 computations (0% saved)

simplify58.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
0493322
1493322

prune4.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%)

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

rewrite194.0ms (0.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-prod-down_binary64_831 pow-exp_binary64_828 associate-/r*_binary64_704 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
associate-*l*_binary64_701 *-commutative_binary64_691 cbrt-undiv_binary64_794 frac-2neg_binary64_771 clear-num_binary64_759 associate-/l/_binary64_707
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)

series421.0ms (1.7%)

Error
0.2b
Counts
3 → 18
Calls

3 calls:

210.0ms
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2)) (sqrt.f64 k))
159.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 (-.f64 1 k) 2))
29.0ms
(*.f64 (*.f64 2 PI.f64) n)
Compiler

Compiled 1100 to 864 computations (21.5% saved)

simplify90.0ms (0.4%)

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049693385
149693385

prune177.0ms (0.7%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1249133
Fresh101
Picked101
Done000
Total1269135
Error
0.0b
Counts
135 → 9
Compiler

Compiled 3062 to 1922 computations (37.2% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite209.0ms (0.8%)

Algorithm
rewrite-expression-head
Error
0b
Rules
124×add-exp-log_binary64_798
65×prod-exp_binary64_809
36×pow-exp_binary64_828
30×div-exp_binary64_811
18×add-sqr-sqrt_binary64_782
17×pow1_binary64_821
16×add-cbrt-cube_binary64_796 add-cube-cbrt_binary64_795 *-un-lft-identity_binary64_760
14×times-frac_binary64_766
13×pow-unpow_binary64_837
12×pow-to-exp_binary64_829
pow-prod-down_binary64_831
associate-*r*_binary64_700
cbrt-unprod_binary64_793 associate-/l*_binary64_705
add-log-exp_binary64_799 associate-*l*_binary64_701
unpow-prod-down_binary64_839 sqr-pow_binary64_732 pow-pow_binary64_832
*-commutative_binary64_691 cbrt-undiv_binary64_794 div-inv_binary64_757
unswap-sqr_binary64_728 frac-2neg_binary64_771 clear-num_binary64_759 associate-/r*_binary64_704
Counts
4 → 118
Calls

4 calls:

9.0ms
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 1 2)) (*.f64 (sqrt.f64 k) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (/.f64 k 2))))
6.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 1 2))
5.0ms
(*.f64 (*.f64 2 PI.f64) n)
4.0ms
(*.f64 n PI.f64)
Compiler

Compiled 3457 to 2289 computations (33.8% saved)

series292.0ms (1.2%)

Error
0.0b
Counts
4 → 15
Calls

4 calls:

135.0ms
(/.f64 (pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 1 2)) (*.f64 (sqrt.f64 k) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (/.f64 k 2))))
93.0ms
(pow.f64 (*.f64 (*.f64 2 PI.f64) n) (/.f64 1 2))
28.0ms
(*.f64 (*.f64 2 PI.f64) n)
22.0ms
(*.f64 n PI.f64)
Compiler

Compiled 1100 to 849 computations (22.8% saved)

simplify76.0ms (0.3%)

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049992500
149992500

prune166.0ms (0.7%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1303133
Fresh358
Picked101
Done000
Total1348142
Error
0b
Counts
142 → 8
Compiler

Compiled 3248 to 2019 computations (37.8% saved)

localize12.0ms (0%)

Local error

Found 4 expressions with local error:

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

rewrite3.5s (14%)

Algorithm
rewrite-expression-head
Error
0b
Rules
1787×times-frac_binary64_766
718×add-sqr-sqrt_binary64_782
714×add-cube-cbrt_binary64_795 *-un-lft-identity_binary64_760
518×sqrt-prod_binary64_776
173×associate-/r*_binary64_704
124×unpow-prod-down_binary64_839 sqr-pow_binary64_732
94×add-exp-log_binary64_798
58×div-exp_binary64_811
37×div-inv_binary64_757
22×add-cbrt-cube_binary64_796
14×prod-exp_binary64_809
12×pow-exp_binary64_828
pow1_binary64_821 cbrt-undiv_binary64_794 associate-/l*_binary64_705
1-exp_binary64_804 rec-exp_binary64_810
associate-*l*_binary64_701 associate-*r*_binary64_700 associate-/r/_binary64_706
add-log-exp_binary64_799 pow-to-exp_binary64_829
pow-prod-down_binary64_831 cbrt-unprod_binary64_793 unswap-sqr_binary64_728 *-commutative_binary64_691 frac-2neg_binary64_771 clear-num_binary64_759
inv-pow_binary64_845 pow-flip_binary64_834
Counts
4 → 865
Calls

4 calls:

41.0ms
(/.f64 1 (/.f64 (sqrt.f64 k) (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n PI.f64))) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (/.f64 k 2)))))
15.0ms
(/.f64 (sqrt.f64 k) (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n PI.f64))) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (/.f64 k 2))))
4.0ms
(*.f64 n PI.f64)
4.0ms
(*.f64 n PI.f64)
Compiler

Compiled 38180 to 22883 computations (40.1% saved)

series337.0ms (1.4%)

Error
0b
Counts
4 → 18
Calls

4 calls:

147.0ms
(/.f64 1 (/.f64 (sqrt.f64 k) (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n PI.f64))) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (/.f64 k 2)))))
129.0ms
(/.f64 (sqrt.f64 k) (/.f64 (sqrt.f64 (*.f64 2 (*.f64 n PI.f64))) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (/.f64 k 2))))
22.0ms
(*.f64 n PI.f64)
20.0ms
(*.f64 n PI.f64)
Compiler

Compiled 1504 to 1180 computations (21.5% saved)

simplify421.0ms (1.7%)

Algorithm
egg-herbie
Counts
883 → 883
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
0548048568

prune2.8s (11.4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New8821883
Fresh167
Picked011
Done000
Total8838891
Error
0b
Counts
891 → 8
Compiler

Compiled 35023 to 20108 computations (42.6% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite5.0s (20.2%)

Algorithm
rewrite-expression-head
Error
0b
Rules
3026×times-frac_binary64_766
1274×sqrt-prod_binary64_776
1195×add-sqr-sqrt_binary64_782
1191×add-cube-cbrt_binary64_795 *-un-lft-identity_binary64_760
196×unpow-prod-down_binary64_839 sqr-pow_binary64_732
173×associate-/r*_binary64_704
58×div-inv_binary64_757
54×add-exp-log_binary64_798
29×div-exp_binary64_811
22×add-cbrt-cube_binary64_796
12×associate-/l*_binary64_705
cbrt-undiv_binary64_794 associate-/r/_binary64_706
pow1_binary64_821 prod-exp_binary64_809
pow-exp_binary64_828 associate-*l*_binary64_701 associate-*r*_binary64_700
add-log-exp_binary64_799
pow-to-exp_binary64_829 frac-2neg_binary64_771 clear-num_binary64_759 pow-prod-down_binary64_831 cbrt-unprod_binary64_793 unswap-sqr_binary64_728 *-commutative_binary64_691
Counts
4 → 1299
Calls

4 calls:

47.0ms
(/.f64 (sqrt.f64 2) (/.f64 (sqrt.f64 k) (/.f64 (sqrt.f64 (*.f64 n PI.f64)) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (/.f64 k 2)))))
18.0ms
(/.f64 (sqrt.f64 k) (/.f64 (sqrt.f64 (*.f64 n PI.f64)) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (/.f64 k 2))))
4.0ms
(*.f64 n PI.f64)
4.0ms
(*.f64 n PI.f64)
Compiler

Compiled 57121 to 30222 computations (47.1% saved)

series330.0ms (1.3%)

Error
0b
Counts
4 → 18
Calls

4 calls:

147.0ms
(/.f64 (sqrt.f64 2) (/.f64 (sqrt.f64 k) (/.f64 (sqrt.f64 (*.f64 n PI.f64)) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (/.f64 k 2)))))
120.0ms
(/.f64 (sqrt.f64 k) (/.f64 (sqrt.f64 (*.f64 n PI.f64)) (pow.f64 (*.f64 2 (*.f64 n PI.f64)) (/.f64 k 2))))
24.0ms
(*.f64 n PI.f64)
22.0ms
(*.f64 n PI.f64)
Compiler

Compiled 1453 to 1119 computations (23% saved)

simplify756.0ms (3%)

Algorithm
egg-herbie
Counts
1317 → 1317
Iterations

Useful iterations: 0 (109.0ms)

IterNodesCost
0499779597
1499779597

prune3.9s (15.6%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New131611317
Fresh156
Picked011
Done011
Total131781325
Error
0b
Counts
1325 → 8
Compiler

Compiled 53060 to 26700 computations (49.7% saved)

regimes839.0ms (3.4%)

Accuracy

Total 0.4b remaining (99.6%)

Threshold costs 0.4b (99.6%)

Compiler

Compiled 11470 to 9252 computations (19.3% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01531
11531

end0.0ms (0%)

sample4.6s (18.5%)

Algorithm
intervals
Results
622.0ms8000×body128valid
612.0ms1308×body1024nan
334.0ms2340×body128overflowed
213.0ms669×body512nan
67.0ms359×body256nan
55.0ms935×body128nan
18.0ms200×body128invalid
Compiler

Compiled 2666 to 2149 computations (19.4% saved)

Profiling

Loading profile data...