Details

Time bar (total: 21.5s)

analyze2.4s (11.1%)

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)

sample47.0ms (0.2%)

Algorithm
intervals
Results
24.0ms248×body128valid
1.0msbody512invalid
1.0msbody512valid
1.0msbody1024invalid
1.0msbody256valid
1.0msbody128invalid
0.0msbody1024valid
Compiler

Compiled 59 to 52 computations (11.9% saved)

simplify54.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
0509743

prune7.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 56 to 44 computations (21.4% saved)

localize26.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite304.0ms (1.4%)

Algorithm
rewrite-expression-head
Error
13.9b
Rules
21×add-sqr-sqrt_binary64_1123
18×*-un-lft-identity_binary64_1101
12×add-cube-cbrt_binary64_1136 associate-*r*_binary64_1041
pow1_binary64_1162
add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
cancel-sign-sub-inv_binary64_1067
associate-*l*_binary64_1042 unpow-prod-down_binary64_1180
exp-sum_binary64_1147
cos-sum_binary64_1235 add-log-exp_binary64_1140
associate-*r/_binary64_1043 pow-unpow_binary64_1178
sub-neg_binary64_1094 pow-prod-down_binary64_1172 prod-exp_binary64_1150 cbrt-unprod_binary64_1134 unswap-sqr_binary64_1069 distribute-lft-out_binary64_1052 *-commutative_binary64_1032 difference-of-squares_binary64_1070
cos-diff_binary64_1238 distribute-rgt-in_binary64_1051 distribute-lft-in_binary64_1050 flip3-+_binary64_1104 flip-+_binary64_1075 times-frac_binary64_1107 distribute-lft-out--_binary64_1053 pow-pow_binary64_1173 pow-to-exp_binary64_1170 pow-exp_binary64_1169 unpow2_binary64_1166 sqr-pow_binary64_1073 exp-diff_binary64_1149
Counts
4 → 80
Calls

4 calls:

24.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))))
11.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
10.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
7.0ms
(*.f64 K (+.f64 m n))
Compiler

Compiled 2883 to 1433 computations (50.3% saved)

series2.0s (9.1%)

Error
1.6b
Counts
4 → 66
Calls

4 calls:

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

Compiled 5995 to 4248 computations (29.1% saved)

simplify81.0ms (0.4%)

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
050663592

prune245.0ms (1.1%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1415146
Fresh000
Picked101
Done000
Total1425147
Error
1.5b
Counts
147 → 5
Compiler

Compiled 3151 to 1567 computations (50.3% saved)

localize14.0ms (0.1%)

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)

rewrite141.0ms (0.7%)

Algorithm
rewrite-expression-head
Error
1.5b
Rules
14×*-un-lft-identity_binary64_1101
12×add-sqr-sqrt_binary64_1123
add-log-exp_binary64_1140
unpow-prod-down_binary64_1180
add-cube-cbrt_binary64_1136
cancel-sign-sub-inv_binary64_1067
difference-of-squares_binary64_1070 distribute-lft-out--_binary64_1053 pow-unpow_binary64_1178 pow1_binary64_1162 add-exp-log_binary64_1139
add-cbrt-cube_binary64_1137 diff-log_binary64_1193 distribute-lft-out_binary64_1052
times-frac_binary64_1107 pow-pow_binary64_1173 pow-to-exp_binary64_1170 pow-exp_binary64_1169 unpow2_binary64_1166 sqr-pow_binary64_1073 sum-log_binary64_1192 flip3--_binary64_1105 sub-neg_binary64_1094 flip--_binary64_1076 associate--r+_binary64_1037
Counts
2 → 41
Calls

2 calls:

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

Compiled 1151 to 595 computations (48.3% saved)

series1.6s (7.2%)

Error
1.5b
Counts
2 → 60
Calls

2 calls:

1.0s
(-.f64 (fabs.f64 (-.f64 m n)) (+.f64 (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2) l))
433.0ms
(pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2)
Compiler

Compiled 3297 to 2478 computations (24.8% saved)

simplify66.0ms (0.3%)

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049692463
149692463

prune154.0ms (0.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1010101
Fresh044
Picked011
Done000
Total1015106
Error
1.5b
Counts
106 → 5
Compiler

Compiled 1600 to 796 computations (50.3% saved)

localize22.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite316.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
1.5b
Rules
13×add-sqr-sqrt_binary64_1123 *-un-lft-identity_binary64_1101
11×add-cube-cbrt_binary64_1136
cos-sum_binary64_1235 log-prod_binary64_1187
add-exp-log_binary64_1139
cancel-sign-sub-inv_binary64_1067 pow1_binary64_1162 add-cbrt-cube_binary64_1137
add-log-exp_binary64_1140
exp-diff_binary64_1149 unpow-prod-down_binary64_1180 associate-*r*_binary64_1041
cos-diff_binary64_1238 exp-prod_binary64_1153 rem-log-exp_binary64_1142 associate-*l*_binary64_1042
sub-neg_binary64_1094 exp-sum_binary64_1147 associate-*r/_binary64_1043
rem-exp-log_binary64_1141 log-pow_binary64_1190 sqr-pow_binary64_1073 pow-to-exp_binary64_1170 pow-exp_binary64_1169 pow-prod-down_binary64_1172 prod-exp_binary64_1150 cbrt-unprod_binary64_1134 unswap-sqr_binary64_1069 distribute-rgt-in_binary64_1051 distribute-lft-in_binary64_1050 flip3-+_binary64_1104 flip-+_binary64_1075 distribute-lft-out_binary64_1052 *-commutative_binary64_1032
Counts
4 → 70
Calls

4 calls:

11.0ms
(log.f64 (pow.f64 (exp.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2))))))
10.0ms
(exp.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))
10.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
9.0ms
(*.f64 K (+.f64 m n))
Compiler

Compiled 2897 to 1479 computations (48.9% saved)

series4.7s (21.7%)

Error
1.5b
Counts
4 → 51
Calls

4 calls:

4.1s
(log.f64 (pow.f64 (exp.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))) (exp.f64 (-.f64 (fabs.f64 (-.f64 m n)) (+.f64 l (pow.f64 (-.f64 (/.f64 (+.f64 m n) 2) M) 2))))))
253.0ms
(exp.f64 (cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M)))
170.0ms
(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) 2) M))
111.0ms
(*.f64 K (+.f64 m n))
Compiler

Compiled 5182 to 3826 computations (26.2% saved)

simplify76.0ms (0.4%)

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
053043317

prune238.0ms (1.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1192121
Fresh213
Picked101
Done011
Total1224126
Error
1.5b
Counts
126 → 4
Compiler

Compiled 2619 to 1341 computations (48.8% saved)

localize26.0ms (0.1%)

Local error

Found 4 expressions with local error:

5.4b
(-.f64 (*.f64 m m) (*.f64 n n))
8.2b
(*.f64 K (-.f64 (*.f64 m m) (*.f64 n n)))
13.1b
(/.f64 (*.f64 K (-.f64 (*.f64 m m) (*.f64 n n))) (-.f64 m n))
32.8b
(cos.f64 (-.f64 (/.f64 (/.f64 (*.f64 K (-.f64 (*.f64 m m) (*.f64 n n))) (-.f64 m n)) 2) M))

rewrite321.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
1.5b
Rules
15×add-sqr-sqrt_binary64_1123
13×*-un-lft-identity_binary64_1101
11×add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
add-cube-cbrt_binary64_1136
cancel-sign-sub-inv_binary64_1067 pow1_binary64_1162 add-log-exp_binary64_1140
times-frac_binary64_1107 associate-/r*_binary64_1045
sub-neg_binary64_1094 cos-sum_binary64_1235 difference-of-squares_binary64_1070 flip3--_binary64_1105 associate-*r/_binary64_1043 flip--_binary64_1076 associate-*r*_binary64_1041
associate-*l*_binary64_1042
prod-exp_binary64_1150 div-exp_binary64_1152 cbrt-undiv_binary64_1135 cbrt-unprod_binary64_1134 distribute-lft-out--_binary64_1053 associate-/l/_binary64_1048 associate-/r/_binary64_1047 distribute-rgt-in_binary64_1051 distribute-lft-in_binary64_1050
cos-diff_binary64_1238 frac-2neg_binary64_1112 clear-num_binary64_1100 div-inv_binary64_1098 associate-/l*_binary64_1046 pow-prod-down_binary64_1172 unswap-sqr_binary64_1069 *-commutative_binary64_1032 diff-log_binary64_1193
Counts
4 → 79
Calls

4 calls:

21.0ms
(cos.f64 (-.f64 (/.f64 (/.f64 (*.f64 K (-.f64 (*.f64 m m) (*.f64 n n))) (-.f64 m n)) 2) M))
11.0ms
(/.f64 (*.f64 K (-.f64 (*.f64 m m) (*.f64 n n))) (-.f64 m n))
8.0ms
(*.f64 K (-.f64 (*.f64 m m) (*.f64 n n)))
4.0ms
(-.f64 (*.f64 m m) (*.f64 n n))
Compiler

Compiled 3678 to 1465 computations (60.2% saved)

series969.0ms (4.5%)

Error
1.5b
Counts
4 → 45
Calls

4 calls:

302.0ms
(/.f64 (*.f64 K (-.f64 (*.f64 m m) (*.f64 n n))) (-.f64 m n))
291.0ms
(cos.f64 (-.f64 (/.f64 (/.f64 (*.f64 K (-.f64 (*.f64 m m) (*.f64 n n))) (-.f64 m n)) 2) M))
224.0ms
(*.f64 K (-.f64 (*.f64 m m) (*.f64 n n)))
99.0ms
(-.f64 (*.f64 m m) (*.f64 n n))
Compiler

Compiled 3638 to 2733 computations (24.9% saved)

simplify70.0ms (0.3%)

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
050302077

prune274.0ms (1.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1213124
Fresh022
Picked101
Done011
Total1226128
Error
1.5b
Counts
128 → 6
Compiler

Compiled 3059 to 1396 computations (54.4% saved)

regimes5.7s (26.3%)

Accuracy

Total 0.3b remaining (22.1%)

Threshold costs 0.3b (22.1%)

Compiler

Compiled 71444 to 54417 computations (23.8% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07765
17765

end3.0ms (0%)

Compiler

Compiled 41 to 31 computations (24.4% saved)

sample1.8s (8.5%)

Algorithm
intervals
Results
784.0ms7851×body128valid
256.0ms79×body1024invalid
29.0ms287×body128invalid
27.0ms62×body1024valid
22.0ms76×body512invalid
19.0ms61×body512valid
16.0ms57×body256invalid
9.0ms17×body2048invalid
6.0ms26×body256valid
Compiler

Compiled 304 to 236 computations (22.4% saved)

Profiling

Loading profile data...