Details

Time bar (total: 26.7s)

analyze4.5s (16.7%)

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)

sample92.0ms (0.3%)

Algorithm
intervals
Results
47.0ms248×body128valid
4.0msbody1024invalid
3.0ms12×body128invalid
2.0msbody512valid
2.0msbody1024valid
1.0msbody512invalid
1.0msbody2048invalid
1.0msbody256valid
Compiler

Compiled 59 to 52 computations (11.9% saved)

simplify121.0ms (0.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (108.0ms)

IterNodesCost
0509743

prune12.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 56 to 44 computations (21.4% saved)

localize53.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite149.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt_binary64_782
16×*-un-lft-identity_binary64_760
10×add-cube-cbrt_binary64_795
associate-*r*_binary64_700
cancel-sign-sub-inv_binary64_726 pow1_binary64_821
add-exp-log_binary64_798 add-log-exp_binary64_799 add-cbrt-cube_binary64_796 unpow-prod-down_binary64_839
exp-sum_binary64_806
cos-sum_binary64_894
associate-*l*_binary64_701 pow-unpow_binary64_837
distribute-lft-out_binary64_711 difference-of-squares_binary64_729 sub-neg_binary64_753
unswap-sqr_binary64_728 unpow2_binary64_825 prod-exp_binary64_809 flip3-+_binary64_763 exp-diff_binary64_808 pow-exp_binary64_828 flip-+_binary64_734 pow-to-exp_binary64_829 distribute-lft-out--_binary64_712 +-commutative_binary64_690 sum-log_binary64_851 associate-*r/_binary64_702 sqr-pow_binary64_732 cos-diff_binary64_897 cbrt-unprod_binary64_793 pow-prod-down_binary64_831 times-frac_binary64_766 *-commutative_binary64_691 pow-pow_binary64_832
Counts
4 → 69
Calls

4 calls:

54.0ms
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
34.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
24.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
22.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

series4.3s (16.1%)

Counts
4 → 93
Calls

4 calls:

2.1s
(*.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
1.3s
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
648.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
296.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
Compiler

Compiled 7883 to 5702 computations (27.7% saved)

simplify237.0ms (0.9%)

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 0 (131.0ms)

IterNodesCost
050555503

prune638.0ms (2.4%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1557162
Fresh000
Picked101
Done000
Total1567163
Error
1.7b
Counts
163 → 7
Compiler

Compiled 6558 to 2868 computations (56.3% saved)

localize34.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

rewrite67.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_782
*-un-lft-identity_binary64_760
unpow-prod-down_binary64_839
add-cube-cbrt_binary64_795 add-log-exp_binary64_799
add-exp-log_binary64_798 pow1_binary64_821 pow-unpow_binary64_837
difference-of-squares_binary64_729 add-cbrt-cube_binary64_796
distribute-lft-out_binary64_711 unpow2_binary64_825 flip3-+_binary64_763 pow-exp_binary64_828 flip-+_binary64_734 pow-to-exp_binary64_829 distribute-lft-out--_binary64_712 +-commutative_binary64_690 sum-log_binary64_851 sqr-pow_binary64_732 times-frac_binary64_766 pow-pow_binary64_832
Counts
2 → 33
Calls

2 calls:

35.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
26.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)

series1.9s (7%)

Counts
2 → 60
Calls

2 calls:

1.3s
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
629.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
Compiler

Compiled 2534 to 2103 computations (17% saved)

simplify183.0ms (0.7%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (137.0ms)

IterNodesCost
051121931

prune233.0ms (0.9%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New93093
Fresh066
Picked011
Done000
Total937100
Error
1.7b
Counts
100 → 7
Compiler

Compiled 2628 to 1195 computations (54.5% saved)

localize43.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) (exp.f64 (-.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)
0.0b
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
26.0b
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))

rewrite154.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt_binary64_782
16×*-un-lft-identity_binary64_760
10×add-cube-cbrt_binary64_795
associate-*r*_binary64_700
cancel-sign-sub-inv_binary64_726 pow1_binary64_821
add-exp-log_binary64_798 add-log-exp_binary64_799 add-cbrt-cube_binary64_796 unpow-prod-down_binary64_839
exp-sum_binary64_806
cos-sum_binary64_894
associate-*l*_binary64_701 pow-unpow_binary64_837
distribute-lft-out_binary64_711 difference-of-squares_binary64_729 sub-neg_binary64_753
unswap-sqr_binary64_728 unpow2_binary64_825 prod-exp_binary64_809 flip3-+_binary64_763 exp-diff_binary64_808 pow-exp_binary64_828 flip-+_binary64_734 pow-to-exp_binary64_829 distribute-lft-out--_binary64_712 +-commutative_binary64_690 sum-log_binary64_851 associate-*r/_binary64_702 sqr-pow_binary64_732 cos-diff_binary64_897 cbrt-unprod_binary64_793 pow-prod-down_binary64_831 times-frac_binary64_766 *-commutative_binary64_691 pow-pow_binary64_832
Counts
4 → 69
Calls

4 calls:

58.0ms
(*.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
35.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
25.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
20.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))

series3.3s (12.2%)

Counts
4 → 84
Calls

4 calls:

1.3s
(*.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))
1.2s
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
583.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
139.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))
Compiler

Compiled 5127 to 4031 computations (21.4% saved)

simplify208.0ms (0.8%)

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 0 (129.0ms)

IterNodesCost
051424093

prune500.0ms (1.9%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1512153
Fresh145
Picked101
Done011
Total1537160
Error
1.7b
Counts
160 → 7
Compiler

Compiled 5322 to 2620 computations (50.8% saved)

localize54.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite224.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity_binary64_760
11×associate-*r*_binary64_700
add-exp-log_binary64_798 add-cbrt-cube_binary64_796 pow1_binary64_821
sqrt-prod_binary64_776 add-cube-cbrt_binary64_795 add-log-exp_binary64_799 add-sqr-sqrt_binary64_782
cancel-sign-sub-inv_binary64_726
exp-sum_binary64_806
cos-sum_binary64_894 exp-diff_binary64_808 sqrt-div_binary64_777
distribute-lft-out_binary64_711 prod-exp_binary64_809 associate-*r/_binary64_702 cbrt-unprod_binary64_793 pow-prod-down_binary64_831
flip3-+_binary64_763 flip-+_binary64_734 +-commutative_binary64_690 sum-log_binary64_851 sub-neg_binary64_753
associate-*l/_binary64_703 frac-times_binary64_770 associate-*l*_binary64_701 cos-diff_binary64_897 *-commutative_binary64_691
Counts
4 → 65
Calls

4 calls:

108.0ms
(*.f64 (*.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) (sqrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))) (sqrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))))
44.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
37.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
14.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))

series3.7s (13.9%)

Counts
4 → 88
Calls

4 calls:

1.2s
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
1.2s
(*.f64 (*.f64 (cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M)) (sqrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))))) (sqrt.f64 (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)))))
1.2s
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
159.0ms
(cos.f64 (-.f64 (*.f64 1/2 (*.f64 K m)) M))
Compiler

Compiled 7503 to 5496 computations (26.7% saved)

simplify147.0ms (0.5%)

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049814644
149814644

prune702.0ms (2.6%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1521153
Fresh145
Picked101
Done011
Total1546160
Error
1.7b
Counts
160 → 6
Compiler

Compiled 7497 to 3808 computations (49.2% saved)

regimes1.1s (4%)

Accuracy

Total 0.1b remaining (9.7%)

Threshold costs 0.1b (9.7%)

Compiler

Compiled 6302 to 4950 computations (21.5% saved)

bsearch0.0ms (0%)

simplify6.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
07047
17047

end0.0ms (0%)

sample4.2s (15.7%)

Algorithm
intervals
Results
1.5s7828×body128valid
71.0ms89×body1024invalid
61.0ms71×body1024valid
51.0ms64×body512valid
50.0ms263×body128invalid
48.0ms82×body512invalid
24.0ms24×body2048invalid
21.0ms53×body256invalid
16.0ms35×body256valid
3.0msbody2048valid
Compiler

Compiled 1099 to 862 computations (21.6% saved)

Profiling

Loading profile data...