Details

Time bar (total: 12.6s)

analyze2.1s (16.7%)

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)

sample45.0ms (0.4%)

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

Compiled 59 to 52 computations (11.9% saved)

simplify144.0ms (1.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
0509743

prune5.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
14.8b
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 K (+.f64 m n)) 2) M)
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)
35.2b
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))

rewrite144.0ms (1.1%)

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

4 calls:

15.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
10.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
9.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
8.0ms
(-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)
Compiler

Compiled 2347 to 1174 computations (50% saved)

series1.4s (11%)

Error
1.4b
Counts
4 → 93
Calls

4 calls:

615.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
288.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
192.0ms
(-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)
156.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
Compiler

Compiled 8207 to 5583 computations (32% saved)

simplify74.0ms (0.6%)

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
050142991

prune214.0ms (1.7%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1504154
Fresh000
Picked101
Done000
Total1514155
Error
1.3b
Counts
155 → 4
Compiler

Compiled 5134 to 2381 computations (53.6% 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 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)

rewrite161.0ms (1.3%)

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

3 calls:

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

Compiled 1647 to 852 computations (48.3% saved)

series1.7s (13.1%)

Error
1.3b
Counts
3 → 93
Calls

3 calls:

637.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
619.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
287.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
Compiler

Compiled 6452 to 4486 computations (30.5% saved)

simplify76.0ms (0.6%)

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049663491
149663491

prune160.0ms (1.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1460146
Fresh033
Picked011
Done000
Total1464150
Error
1.3b
Counts
150 → 4
Compiler

Compiled 3763 to 1690 computations (55.1% 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 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
0.0b
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
28.5b
(cos.f64 (*.f64 1/2 (*.f64 K n)))

rewrite139.0ms (1.1%)

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

4 calls:

18.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
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)
2.0ms
(cos.f64 (*.f64 1/2 (*.f64 K n)))
Compiler

Compiled 2076 to 1129 computations (45.6% saved)

series1.7s (13.6%)

Error
1.3b
Counts
4 → 101
Calls

4 calls:

648.0ms
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
607.0ms
(+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l)
281.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
44.0ms
(cos.f64 (*.f64 1/2 (*.f64 K n)))
Compiler

Compiled 7886 to 5573 computations (29.3% saved)

simplify94.0ms (0.7%)

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049693652
149693652

prune210.0ms (1.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1601161
Fresh022
Picked101
Done011
Total1614165
Error
1.3b
Counts
165 → 4
Compiler

Compiled 4761 to 2355 computations (50.5% saved)

localize24.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(cbrt.f64 (cos.f64 (*.f64 1/2 (*.f64 K n))))
28.5b
(cos.f64 (*.f64 1/2 (*.f64 K n)))
28.5b
(cos.f64 (*.f64 1/2 (*.f64 K n)))
28.5b
(cos.f64 (*.f64 1/2 (*.f64 K n)))

rewrite86.0ms (0.7%)

Algorithm
rewrite-expression-head
Error
1.3b
Rules
add-cube-cbrt_binary64_795 add-sqr-sqrt_binary64_782 *-un-lft-identity_binary64_760
pow1_binary64_821 add-log-exp_binary64_799 add-exp-log_binary64_798 add-cbrt-cube_binary64_796
cbrt-prod_binary64_791
pow1/3_binary64_842
Counts
4 → 32
Calls

4 calls:

3.0ms
(cos.f64 (*.f64 1/2 (*.f64 K n)))
3.0ms
(cos.f64 (*.f64 1/2 (*.f64 K n)))
2.0ms
(cos.f64 (*.f64 1/2 (*.f64 K n)))
2.0ms
(cbrt.f64 (cos.f64 (*.f64 1/2 (*.f64 K n))))
Compiler

Compiled 1545 to 909 computations (41.2% saved)

series390.0ms (3.1%)

Error
1.3b
Counts
4 → 32
Calls

4 calls:

178.0ms
(cbrt.f64 (cos.f64 (*.f64 1/2 (*.f64 K n))))
54.0ms
(cos.f64 (*.f64 1/2 (*.f64 K n)))
52.0ms
(cos.f64 (*.f64 1/2 (*.f64 K n)))
52.0ms
(cos.f64 (*.f64 1/2 (*.f64 K n)))
Compiler

Compiled 3730 to 2715 computations (27.2% saved)

simplify70.0ms (0.6%)

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
04985694
14985694

prune119.0ms (0.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New62264
Fresh022
Picked101
Done011
Total63568
Error
1.3b
Counts
68 → 5
Compiler

Compiled 2772 to 1591 computations (42.6% saved)

regimes768.0ms (6.1%)

Accuracy

Total 0.2b remaining (15.9%)

Threshold costs 0.2b (15.9%)

Compiler

Compiled 9074 to 7902 computations (12.9% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06233
16233

end0.0ms (0%)

sample2.8s (22%)

Algorithm
intervals
Results
772.0ms7833×body128valid
33.0ms84×body512invalid
31.0ms79×body1024invalid
29.0ms298×body128invalid
28.0ms64×body1024valid
20.0ms64×body512valid
17.0ms23×body2048invalid
15.0ms53×body256invalid
8.0ms38×body256valid
1.0msbody2048valid
Compiler

Compiled 1552 to 1349 computations (13.1% saved)

Profiling

Loading profile data...