Details

Time bar (total: 12.4s)

analyze2.3s (18.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05136473
055
155
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
12.5%87.3%0.2%9
12.5%87.3%0.2%10
18.7%81.1%0.2%11
18.7%81.1%0.2%12
18.7%81.1%0.2%13
20.5%79.3%0.2%14
Compiler

Compiled 30 to 24 computations (20% saved)

sample56.0ms (0.5%)

Algorithm
intervals
Results
24.0ms246×body128valid
7.0msbody1024valid
2.0msbody1024invalid
2.0msbody512valid
1.0msbody512invalid
1.0msbody256invalid
1.0msbody2048invalid
0.0msbody256valid
0.0msbody128invalid
Compiler

Compiled 59 to 52 computations (11.9% saved)

simplify50.0ms (0.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
0509743

prune5.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
19.3b
Counts
2 → 1
Compiler

Compiled 56 to 44 computations (21.4% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (/.f64 (+.f64 m n) 2) M)
0.0b
(*.f64 K (+.f64 m n))
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
36.3b
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

rewrite171.0ms (1.4%)

Algorithm
rewrite-expression-head
Error
19.0b
Rules
22×add-sqr-sqrt_binary64_782
16×*-un-lft-identity_binary64_760
10×add-cube-cbrt_binary64_795
pow1_binary64_821 add-exp-log_binary64_798
cancel-sign-sub-inv_binary64_726 add-log-exp_binary64_799 add-cbrt-cube_binary64_796 unpow-prod-down_binary64_839
cos-sum_binary64_894 difference-of-squares_binary64_729 associate-*r*_binary64_700
pow-unpow_binary64_837 associate-*l*_binary64_701
sub-neg_binary64_753 times-frac_binary64_766 distribute-lft-out--_binary64_712 associate-*r/_binary64_702
cos-diff_binary64_897 pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 unpow2_binary64_825 sqr-pow_binary64_732 pow-prod-down_binary64_831 prod-exp_binary64_809 cbrt-unprod_binary64_793 unswap-sqr_binary64_728 distribute-rgt-in_binary64_710 distribute-lft-in_binary64_709 flip3-+_binary64_763 flip-+_binary64_734 distribute-lft-out_binary64_711 *-commutative_binary64_691 diff-log_binary64_852 flip3--_binary64_764 flip--_binary64_735
Counts
4 → 73
Calls

4 calls:

11.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
11.0ms
(-.f64 (/.f64 (+.f64 m n) 2) M)
9.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
7.0ms
(*.f64 K (+.f64 m n))
Compiler

Compiled 2666 to 1317 computations (50.6% saved)

series812.0ms (6.6%)

Error
2.1b
Counts
4 → 75
Calls

4 calls:

312.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
152.0ms
(-.f64 (/.f64 (+.f64 m n) 2) M)
149.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
105.0ms
(*.f64 K (+.f64 m n))
Compiler

Compiled 6214 to 4261 computations (31.4% saved)

simplify97.0ms (0.8%)

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
049972161
149972161

prune227.0ms (1.8%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1399148
Fresh000
Picked101
Done000
Total1409149
Error
2.0b
Counts
149 → 9
Compiler

Compiled 5006 to 2417 computations (51.7% saved)

localize14.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
0.0b
(-.f64 (/.f64 (+.f64 m n) 2) M)
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)

rewrite117.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
2.0b
Rules
19×add-sqr-sqrt_binary64_782
18×*-un-lft-identity_binary64_760
10×add-log-exp_binary64_799
add-cube-cbrt_binary64_795 cancel-sign-sub-inv_binary64_726
unpow-prod-down_binary64_839
difference-of-squares_binary64_729
distribute-lft-out--_binary64_712 pow1_binary64_821 add-exp-log_binary64_798
pow-unpow_binary64_837 add-cbrt-cube_binary64_796 diff-log_binary64_852
times-frac_binary64_766 flip3--_binary64_764 sub-neg_binary64_753 flip--_binary64_735 distribute-lft-out_binary64_711
pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 unpow2_binary64_825 sqr-pow_binary64_732 sum-log_binary64_851 associate--r+_binary64_696
Counts
3 → 58
Calls

3 calls:

17.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
11.0ms
(-.f64 (/.f64 (+.f64 m n) 2) M)
11.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
Compiler

Compiled 1750 to 890 computations (49.1% saved)

series1.2s (9.5%)

Error
2.0b
Counts
3 → 78
Calls

3 calls:

643.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
288.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
152.0ms
(-.f64 (/.f64 (+.f64 m n) 2) M)
Compiler

Compiled 5002 to 3562 computations (28.8% saved)

simplify81.0ms (0.7%)

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
050762848

prune160.0ms (1.3%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1360136
Fresh088
Picked011
Done000
Total1369145
Error
2.0b
Counts
145 → 9
Compiler

Compiled 3599 to 1711 computations (52.5% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
0.0b
(-.f64 (/.f64 (+.f64 m n) 2) M)
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
27.5b
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))

rewrite158.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
2.0b
Rules
21×add-sqr-sqrt_binary64_782
20×*-un-lft-identity_binary64_760
11×add-log-exp_binary64_799
10×cancel-sign-sub-inv_binary64_726
add-cube-cbrt_binary64_795
unpow-prod-down_binary64_839
pow1_binary64_821 add-exp-log_binary64_798 difference-of-squares_binary64_729
cos-sum_binary64_894 add-cbrt-cube_binary64_796 distribute-lft-out--_binary64_712
sub-neg_binary64_753 pow-unpow_binary64_837 diff-log_binary64_852
times-frac_binary64_766 flip3--_binary64_764 flip--_binary64_735 distribute-lft-out_binary64_711
cos-diff_binary64_897 pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 unpow2_binary64_825 sqr-pow_binary64_732 sum-log_binary64_851 associate--r+_binary64_696
Counts
4 → 70
Calls

4 calls:

17.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
11.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
11.0ms
(-.f64 (/.f64 (+.f64 m n) 2) M)
6.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))
Compiler

Compiled 2558 to 1358 computations (46.9% saved)

series1.3s (10.4%)

Error
2.0b
Counts
4 → 89
Calls

4 calls:

651.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
283.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
154.0ms
(-.f64 (/.f64 (+.f64 m n) 2) M)
76.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))
Compiler

Compiled 6965 to 4912 computations (29.5% saved)

simplify83.0ms (0.7%)

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049863235
149863235

prune220.0ms (1.8%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1581159
Fresh167
Picked011
Done011
Total1599168
Error
2.0b
Counts
168 → 9
Compiler

Compiled 5081 to 2585 computations (49.1% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
0.5b
(cbrt.f64 (pow.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) 3))
0.6b
(pow.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) 3)
27.5b
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))

rewrite169.0ms (1.4%)

Algorithm
rewrite-expression-head
Error
2.0b
Rules
18×add-sqr-sqrt_binary64_782
15×*-un-lft-identity_binary64_760
13×add-cube-cbrt_binary64_795
12×unpow-prod-down_binary64_839 cbrt-prod_binary64_791
pow1_binary64_821 add-exp-log_binary64_798 pow-unpow_binary64_837 cube-prod_binary64_788
add-cbrt-cube_binary64_796
cos-sum_binary64_894 add-log-exp_binary64_799
cancel-sign-sub-inv_binary64_726 sqr-pow_binary64_732
pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 unpow3_binary64_826 cube-mult_binary64_790 difference-of-squares_binary64_729
cos-diff_binary64_897 sub-neg_binary64_753 rem-cube-cbrt_binary64_783 pow1/3_binary64_842 rem-cbrt-cube_binary64_784 times-frac_binary64_766 distribute-lft-out--_binary64_712 unpow2_binary64_825
Counts
4 → 77
Calls

4 calls:

10.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
7.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))
4.0ms
(pow.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) 3)
3.0ms
(cbrt.f64 (pow.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) 3))
Compiler

Compiled 3037 to 1784 computations (41.3% saved)

series777.0ms (6.3%)

Error
2.0b
Counts
4 → 60
Calls

4 calls:

294.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
239.0ms
(pow.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) 3)
84.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))
77.0ms
(cbrt.f64 (pow.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) 3))
Compiler

Compiled 5265 to 3791 computations (28% saved)

simplify69.0ms (0.6%)

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
050032394

prune201.0ms (1.6%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1370137
Fresh066
Picked011
Done022
Total1379146
Error
2.0b
Counts
146 → 9
Compiler

Compiled 4510 to 2434 computations (46% saved)

regimes923.0ms (7.5%)

Accuracy

Total 0.2b remaining (16.3%)

Threshold costs 0.2b (16.3%)

Compiler

Compiled 11762 to 9588 computations (18.5% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06233
16233

end0.0ms (0%)

sample3.1s (25.4%)

Algorithm
intervals
Results
821.0ms7844×body128valid
33.0ms82×body1024invalid
31.0ms69×body1024valid
29.0ms275×body128invalid
27.0ms88×body512invalid
16.0ms49×body512valid
8.0ms42×body256invalid
8.0ms37×body256valid
8.0ms14×body2048invalid
1.0msbody2048valid
Compiler

Compiled 2000 to 1630 computations (18.5% saved)

Profiling

Loading profile data...