Details

Time bar (total: 7.7s)

analyze2.3s (29.8%)

Algorithm
search
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)

sample47.0ms (0.6%)

Algorithm
intervals
Results
27.0ms251×body128valid
2.0ms18×body128invalid
2.0msbody1024invalid
1.0msbody512valid
0.0msbody1024valid
0.0msbody256valid
0.0msbody256invalid
Compiler

Compiled 59 to 52 computations (11.9% saved)

simplify206.0ms (2.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
0505343

prune5.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 17.4b

Counts
2 → 1
Compiler

Compiled 56 to 44 computations (21.4% saved)

localize22.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite49.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64_772
12×*-un-lft-identity_binary64_751
10×add-exp-log_binary64_786
add-cbrt-cube_binary64_784
add-cube-cbrt_binary64_783
add-log-exp_binary64_787 unpow-prod-down_binary64_827
pow1_binary64_809
times-frac_binary64_757
associate-/r*_binary64_697 pow-unpow_binary64_825 difference-of-squares_binary64_720
distribute-lft-out--_binary64_705 associate-/l/_binary64_700 associate-*r/_binary64_695 cbrt-undiv_binary64_782 sub-neg_binary64_744 div-exp_binary64_799
prod-exp_binary64_797 pow-to-exp_binary64_817 unpow2_binary64_813 flip3-+_binary64_754 pow-exp_binary64_816 cos-sum_binary64_882 sqr-pow_binary64_723 flip--_binary64_726 pow-pow_binary64_820 div-inv_binary64_748 diff-log_binary64_840 frac-2neg_binary64_762 cos-diff_binary64_885 cbrt-unprod_binary64_781 clear-num_binary64_750 associate-/l*_binary64_698 flip3--_binary64_755 flip-+_binary64_725
Counts
4 → 66
Calls

4 calls:

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

series428.0ms (5.5%)

Counts
4 → 12
Calls

4 calls:

153.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
114.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
92.0ms
(-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)
68.0ms
(/.f64 (*.f64 K (+.f64 m n)) 2)

simplify60.0ms (0.8%)

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049751265
149751265

prune129.0ms (1.7%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New72678
Fresh000
Picked101
Done000
Total73679

Merged error: 1.2b

Counts
79 → 6
Compiler

Compiled 2786 to 1430 computations (48.7% saved)

localize13.0ms (0.2%)

Local error

Found 2 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
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)

rewrite35.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64_751 add-sqr-sqrt_binary64_772
add-log-exp_binary64_787
unpow-prod-down_binary64_827
add-cube-cbrt_binary64_783
distribute-lft-out--_binary64_705 pow1_binary64_809 add-exp-log_binary64_786 pow-unpow_binary64_825 difference-of-squares_binary64_720
add-cbrt-cube_binary64_784 diff-log_binary64_840
pow-to-exp_binary64_817 distribute-lft-out_binary64_704 unpow2_binary64_813 pow-exp_binary64_816 sqr-pow_binary64_723 flip--_binary64_726 times-frac_binary64_757 pow-pow_binary64_820 sum-log_binary64_839 associate--r+_binary64_689 sub-neg_binary64_744 flip3--_binary64_755
Counts
2 → 37
Calls

2 calls:

18.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
14.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)

series380.0ms (4.9%)

Counts
2 → 6
Calls

2 calls:

268.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
112.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)

simplify38.0ms (0.5%)

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
051731008

prune62.0ms (0.8%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New43043
Fresh055
Picked011
Done000
Total43649

Merged error: 1.2b

Counts
49 → 6
Compiler

Compiled 1280 to 730 computations (43% saved)

localize22.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite97.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
106×times-frac_binary64_757
85×*-un-lft-identity_binary64_751
71×add-sqr-sqrt_binary64_772
57×add-cube-cbrt_binary64_783
18×associate-/r*_binary64_697
12×distribute-lft-out_binary64_704
10×add-exp-log_binary64_786
add-cbrt-cube_binary64_784 associate-/r/_binary64_699
add-log-exp_binary64_787 unpow-prod-down_binary64_827
pow1_binary64_809 div-inv_binary64_748 difference-of-squares_binary64_720
flip3-+_binary64_754 flip-+_binary64_725
cbrt-undiv_binary64_782 associate-/l*_binary64_698 pow-unpow_binary64_825 div-exp_binary64_799
distribute-lft-out--_binary64_705 sub-neg_binary64_744
pow-to-exp_binary64_817 unpow2_binary64_813 pow-exp_binary64_816 cos-sum_binary64_882 sqr-pow_binary64_723 flip--_binary64_726 pow-pow_binary64_820 diff-log_binary64_840 frac-2neg_binary64_762 cos-diff_binary64_885 clear-num_binary64_750 flip3--_binary64_755
Counts
4 → 135
Calls

4 calls:

30.0ms
(-.f64 (/.f64 K (/.f64 2 (+.f64 m n))) M)
26.0ms
(cos.f64 (-.f64 (/.f64 K (/.f64 2 (+.f64 m n))) M))
11.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
10.0ms
(/.f64 K (/.f64 2 (+.f64 m n)))

series421.0ms (5.4%)

Counts
4 → 12
Calls

4 calls:

151.0ms
(cos.f64 (-.f64 (/.f64 K (/.f64 2 (+.f64 m n))) M))
111.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
99.0ms
(-.f64 (/.f64 K (/.f64 2 (+.f64 m n))) M)
60.0ms
(/.f64 K (/.f64 2 (+.f64 m n)))

simplify69.0ms (0.9%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049272987
149272987

prune241.0ms (3.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1443147
Fresh314
Picked101
Done011
Total1485153

Merged error: 1.2b

Counts
153 → 5
Compiler

Compiled 5469 to 2781 computations (49.1% saved)

localize27.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.6b
(cbrt.f64 (cos.f64 (-.f64 (/.f64 K (/.f64 2 (+.f64 m n))) M)))
34.5b
(cos.f64 (-.f64 (/.f64 K (/.f64 2 (+.f64 m n))) M))
34.5b
(cos.f64 (-.f64 (/.f64 K (/.f64 2 (+.f64 m n))) M))
34.5b
(cos.f64 (-.f64 (/.f64 K (/.f64 2 (+.f64 m n))) M))

rewrite88.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
add-cube-cbrt_binary64_783 *-un-lft-identity_binary64_751 add-sqr-sqrt_binary64_772
pow1_binary64_809 add-log-exp_binary64_787 add-cbrt-cube_binary64_784 add-exp-log_binary64_786
cbrt-prod_binary64_779 cos-sum_binary64_882 cos-diff_binary64_885 sub-neg_binary64_744
pow1/3_binary64_830
Counts
4 → 38
Calls

4 calls:

28.0ms
(cos.f64 (-.f64 (/.f64 K (/.f64 2 (+.f64 m n))) M))
26.0ms
(cos.f64 (-.f64 (/.f64 K (/.f64 2 (+.f64 m n))) M))
26.0ms
(cos.f64 (-.f64 (/.f64 K (/.f64 2 (+.f64 m n))) M))
2.0ms
(cbrt.f64 (cos.f64 (-.f64 (/.f64 K (/.f64 2 (+.f64 m n))) M)))

series973.0ms (12.6%)

Counts
4 → 12
Calls

4 calls:

551.0ms
(cbrt.f64 (cos.f64 (-.f64 (/.f64 K (/.f64 2 (+.f64 m n))) M)))
142.0ms
(cos.f64 (-.f64 (/.f64 K (/.f64 2 (+.f64 m n))) M))
141.0ms
(cos.f64 (-.f64 (/.f64 K (/.f64 2 (+.f64 m n))) M))
138.0ms
(cos.f64 (-.f64 (/.f64 K (/.f64 2 (+.f64 m n))) M))

simplify78.0ms (1%)

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
05706942

prune120.0ms (1.5%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New48250
Fresh033
Picked011
Done011
Total48755

Merged error: 1.2b

Counts
55 → 7
Compiler

Compiled 2887 to 1618 computations (44% saved)

regimes131.0ms (1.7%)

Compiler

Compiled 1480 to 1130 computations (23.6% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06226
16226

end0.0ms (0%)

sample1.7s (21.8%)

Algorithm
intervals
Results
864.0ms7833×body128valid
36.0ms79×body1024invalid
34.0ms315×body128invalid
33.0ms65×body1024valid
27.0ms81×body512invalid
25.0ms62×body512valid
16.0ms23×body2048invalid
13.0ms60×body256invalid
9.0ms37×body256valid
3.0msbody2048valid
Compiler

Compiled 341 to 261 computations (23.5% saved)

Profiling

Loading profile data...