Details

Time bar (total: 9.2s)

analyze2.2s (23.9%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05562539
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
0%99.8%0.2%9
0%99.8%0.2%10
0.8%99%0.2%11
4.7%95.1%0.2%12
5.9%93.2%0.8%13
8.5%90.2%1.3%14
Compiler

Compiled 33 to 22 computations (33.3% saved)

sample97.0ms (1.1%)

Algorithm
intervals
Results
25.0ms194×body128valid
14.0ms30×body1024valid
10.0ms97×body128invalid
8.0ms17×body1024invalid
6.0ms17×body512valid
5.0ms15×body512invalid
3.0ms15×body256valid
2.0msbody256invalid
Compiler

Compiled 65 to 48 computations (26.2% saved)

simplify131.0ms (1.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (125.0ms)

IterNodesCost
0496049
1496049

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
39.5b
Counts
2 → 1
Compiler

Compiled 64 to 42 computations (34.4% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))))
2.9b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
2.9b
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
36.7b
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))

rewrite77.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
142×associate-*l/_binary64_1044
102×flip--_binary64_1076 flip3--_binary64_1105
68×frac-times_binary64_1111
66×sqrt-div_binary64_1118
64×frac-add_binary64_1109
44×pow1_binary64_1162
34×associate-*r/_binary64_1043
17×pow-prod-down_binary64_1172
16×add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
cbrt-unprod_binary64_1134 prod-exp_binary64_1150
add-sqr-sqrt_binary64_1123
*-un-lft-identity_binary64_1101 add-cube-cbrt_binary64_1136
pow-prod-up_binary64_1171 add-log-exp_binary64_1140 pow-sqr_binary64_1074
sqrt-prod_binary64_1117
pow-plus_binary64_1164
*-commutative_binary64_1032 rem-sqrt-square_binary64_1114 sqrt-pow1_binary64_1119 flip3-+_binary64_1104 swap-sqr_binary64_1068 associate-*r*_binary64_1041 flip-+_binary64_1075 associate-*l*_binary64_1042 pow2_binary64_1182 pow1/2_binary64_1181
Counts
4 → 135
Calls

4 calls:

20.0ms
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))
18.0ms
(*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))))
5.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
5.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))

series876.0ms (9.6%)

Counts
4 → 12
Calls

4 calls:

694.0ms
(sqrt.f64 (+.f64 (*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2)))) (*.f64 (-.f64 phi1 phi2) (-.f64 phi1 phi2))))
150.0ms
(*.f64 (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))) (*.f64 (-.f64 lambda1 lambda2) (cos.f64 (/.f64 (+.f64 phi1 phi2) 2))))
16.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))
16.0ms
(cos.f64 (/.f64 (+.f64 phi1 phi2) 2))

simplify100.0ms (1.1%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
0522810334

prune295.0ms (3.2%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1407147
Fresh000
Picked101
Done000
Total1417148
Error
16.3b
Counts
148 → 7
Compiler

Compiled 8855 to 2958 computations (66.6% saved)

localize4.0ms (0%)

Local error

Found 1 expressions with local error:

0.0b
(*.f64 R (-.f64 phi2 phi1))

rewrite9.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_1123
*-un-lft-identity_binary64_1101
cancel-sign-sub-inv_binary64_1067
add-cube-cbrt_binary64_1136 associate-*r*_binary64_1041
distribute-lft-in_binary64_1050 distribute-rgt-in_binary64_1051
add-exp-log_binary64_1139 pow1_binary64_1162 add-cbrt-cube_binary64_1137 associate-*l*_binary64_1042
sub-neg_binary64_1094 associate-*r/_binary64_1043
*-commutative_binary64_1032 cbrt-unprod_binary64_1134 difference-of-squares_binary64_1070 add-log-exp_binary64_1140 prod-exp_binary64_1150 distribute-lft-out--_binary64_1053 flip--_binary64_1076 flip3--_binary64_1105 pow-prod-down_binary64_1172 unswap-sqr_binary64_1069
Counts
1 → 30
Calls

1 calls:

7.0ms
(*.f64 R (-.f64 phi2 phi1))

series35.0ms (0.4%)

Counts
1 → 3
Calls

1 calls:

35.0ms
(*.f64 R (-.f64 phi2 phi1))

simplify50.0ms (0.5%)

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
05688314

prune39.0ms (0.4%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New26733
Fresh156
Picked101
Done000
Total281240
Error
16.3b
Counts
40 → 12
Compiler

Compiled 628 to 286 computations (54.5% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.0b
(+.f64 (*.f64 R phi2) (*.f64 R (neg.f64 phi1)))

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64_1140
add-sqr-sqrt_binary64_1123 *-un-lft-identity_binary64_1101 distribute-lft-out_binary64_1052 sum-log_binary64_1192 add-exp-log_binary64_1139 pow1_binary64_1162 unsub-neg_binary64_1095 flip3-+_binary64_1104 add-cube-cbrt_binary64_1136 add-cbrt-cube_binary64_1137 +-commutative_binary64_1031 flip-+_binary64_1075 distribute-rgt-neg-out_binary64_1061
Counts
1 → 13
Calls

1 calls:

4.0ms
(+.f64 (*.f64 R phi2) (*.f64 R (neg.f64 phi1)))

series35.0ms (0.4%)

Counts
1 → 3
Calls

1 calls:

35.0ms
(+.f64 (*.f64 R phi2) (*.f64 R (neg.f64 phi1)))

simplify75.0ms (0.8%)

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
05235170

prune27.0ms (0.3%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New16016
Fresh01111
Picked011
Done000
Total161228
Error
16.3b
Counts
28 → 12
Compiler

Compiled 479 to 253 computations (47.2% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.5b
(*.f64 (cbrt.f64 R) (cbrt.f64 R))
0.6b
(cbrt.f64 R)
0.6b
(cbrt.f64 R)
0.6b
(cbrt.f64 R)

rewrite14.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod_binary64_1132
23×add-sqr-sqrt_binary64_1123
15×*-un-lft-identity_binary64_1101 add-cube-cbrt_binary64_1136
11×pow1_binary64_1162
pow1/3_binary64_1183
add-exp-log_binary64_1139 swap-sqr_binary64_1068 associate-*r*_binary64_1041 associate-*l*_binary64_1042
add-log-exp_binary64_1140 add-cbrt-cube_binary64_1137 unswap-sqr_binary64_1069
pow-prod-up_binary64_1171 pow-sqr_binary64_1074 pow-prod-down_binary64_1172
pow-plus_binary64_1164 *-commutative_binary64_1032 cbrt-unprod_binary64_1134 prod-exp_binary64_1150 pow2_binary64_1182
Counts
4 → 73
Calls

4 calls:

6.0ms
(*.f64 (cbrt.f64 R) (cbrt.f64 R))
1.0ms
(cbrt.f64 R)
1.0ms
(cbrt.f64 R)
1.0ms
(cbrt.f64 R)

series356.0ms (3.9%)

Counts
4 → 12
Calls

4 calls:

107.0ms
(*.f64 (cbrt.f64 R) (cbrt.f64 R))
90.0ms
(cbrt.f64 R)
83.0ms
(cbrt.f64 R)
75.0ms
(cbrt.f64 R)

simplify63.0ms (0.7%)

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
04892563
14892563

prune60.0ms (0.7%)

Pruning

18 alts after pruning (16 fresh and 2 done)

PrunedKeptTotal
New78785
Fresh1910
Picked011
Done011
Total791897
Error
16.3b
Counts
97 → 18
Compiler

Compiled 1244 to 321 computations (74.2% saved)

regimes1.2s (13.2%)

Accuracy

Total 3.6b remaining (18.7%)

Threshold costs 0b (0%)

Compiler

Compiled 9770 to 6476 computations (33.7% saved)

bsearch4.0ms (0%)

Compiler

Compiled 32 to 21 computations (34.4% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
061166
161166

end0.0ms (0%)

sample3.4s (36.8%)

Algorithm
intervals
Results
643.0ms6078×body128valid
354.0ms780×body1024valid
261.0ms2470×body128invalid
240.0ms741×body512valid
230.0ms474×body1024invalid
122.0ms349×body512invalid
88.0ms393×body256valid
39.0ms164×body256invalid
6.0msbody2048valid
Compiler

Compiled 1155 to 751 computations (35% saved)

Profiling

Loading profile data...