Details

Time bar (total: 4.7s)

analyze605.0ms (13%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
045210
145210
044
144
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
6.2%93.6%0.2%8
25%74.9%0.2%9
28.1%71.7%0.2%10
29.6%70.2%0.2%11
53%46.8%0.2%12
71.3%28.5%0.2%13
71.7%28.1%0.2%14
Compiler

Compiled 16 to 12 computations (25% saved)

sample21.0ms (0.5%)

Algorithm
intervals
Results
10.0ms256×body128valid
1.0ms15×body128invalid
Compiler

Compiled 31 to 27 computations (12.9% saved)

simplify8.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01830
11830

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 30 to 22 computations (26.7% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))
0.2b
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
25.9b
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite24.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64_1123 *-un-lft-identity_binary64_1101 add-cube-cbrt_binary64_1136
times-frac_binary64_1107
add-log-exp_binary64_1140
add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
flip3-+_binary64_1104 flip-+_binary64_1075
pow1_binary64_1162 associate-/l*_binary64_1046 associate-/r*_binary64_1045
sum-log_binary64_1192 associate-/l/_binary64_1048 associate-/r/_binary64_1047 +-commutative_binary64_1031
frac-2neg_binary64_1112 clear-num_binary64_1100 div-inv_binary64_1098 div-exp_binary64_1152 cbrt-undiv_binary64_1135
Counts
3 → 53
Calls

3 calls:

12.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
4.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
4.0ms
(+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))

series147.0ms (3.1%)

Counts
3 → 9
Calls

3 calls:

90.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
37.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
20.0ms
(+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))

simplify84.0ms (1.8%)

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
055731768

prune90.0ms (1.9%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New55762
Fresh000
Picked011
Done000
Total55863
Error
25.6b
Counts
63 → 8
Compiler

Compiled 1594 to 654 computations (59% saved)

localize20.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.2b
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
14.8b
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
31.8b
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
31.8b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite39.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity_binary64_1101
28×sqrt-prod_binary64_1117
25×add-sqr-sqrt_binary64_1123
24×times-frac_binary64_1107
23×add-cube-cbrt_binary64_1136
10×unpow-prod-down_binary64_1180 distribute-lft-out_binary64_1052
associate-/r*_binary64_1045
add-log-exp_binary64_1140 add-exp-log_binary64_1139 pow1_binary64_1162 add-cbrt-cube_binary64_1137 sqrt-div_binary64_1118
flip3-+_binary64_1104 flip-+_binary64_1075
associate-/l*_binary64_1046
rem-sqrt-square_binary64_1114 sqrt-pow1_binary64_1119 associate-/l/_binary64_1048 associate-/r/_binary64_1047 pow1/2_binary64_1181
frac-2neg_binary64_1112 sum-log_binary64_1192 clear-num_binary64_1100 div-inv_binary64_1098 +-commutative_binary64_1031 div-exp_binary64_1152 cbrt-undiv_binary64_1135
Counts
4 → 94
Calls

4 calls:

14.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
7.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
4.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
4.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

series213.0ms (4.6%)

Counts
4 → 12
Calls

4 calls:

131.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
35.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
24.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
23.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))

simplify68.0ms (1.5%)

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049633187
149633187

prune148.0ms (3.2%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1024106
Fresh066
Picked101
Done011
Total10311114
Error
23.9b
Counts
114 → 11
Compiler

Compiled 3687 to 1551 computations (57.9% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))) (/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))))
14.8b
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
31.8b
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
31.8b
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))

rewrite95.0ms (2%)

Algorithm
rewrite-expression-head
Rules
107×*-un-lft-identity_binary64_1101
101×add-sqr-sqrt_binary64_1123
94×times-frac_binary64_1107
71×sqrt-prod_binary64_1117
53×add-cube-cbrt_binary64_1136
30×associate-*r*_binary64_1041 associate-*l*_binary64_1042
28×add-exp-log_binary64_1139
24×unpow-prod-down_binary64_1180 distribute-lft-out_binary64_1052
18×add-cbrt-cube_binary64_1137
15×unswap-sqr_binary64_1069
10×sqrt-div_binary64_1118
div-exp_binary64_1152
prod-exp_binary64_1150 pow1_binary64_1162 associate-/r*_binary64_1045
flip3-+_binary64_1104 associate-/r/_binary64_1047 flip-+_binary64_1075
cbrt-undiv_binary64_1135
cbrt-unprod_binary64_1134 add-log-exp_binary64_1140
div-inv_binary64_1098 associate-/l*_binary64_1046
1-exp_binary64_1145 rem-sqrt-square_binary64_1114 sqrt-pow1_binary64_1119 associate-/l/_binary64_1048 rec-exp_binary64_1151 pow1/2_binary64_1181
*-commutative_binary64_1032 frac-times_binary64_1111 frac-2neg_binary64_1112 clear-num_binary64_1100 associate-*r/_binary64_1043 pow-prod-down_binary64_1172 associate-*l/_binary64_1044
Counts
4 → 184
Calls

4 calls:

40.0ms
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))) (/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))))
16.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
7.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
7.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))

series287.0ms (6.2%)

Counts
4 → 12
Calls

4 calls:

123.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
114.0ms
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))) (/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))))
27.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
23.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))

simplify143.0ms (3.1%)

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
049737451
149737451

prune343.0ms (7.4%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1960196
Fresh099
Picked011
Done011
Total19611207
Error
23.9b
Counts
207 → 11
Compiler

Compiled 6962 to 4028 computations (42.1% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))
0.2b
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
0.5b
(/.f64 1 (/.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)) (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
25.5b
(/.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)) (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))

rewrite58.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
140×*-un-lft-identity_binary64_1101
138×times-frac_binary64_1107
72×add-sqr-sqrt_binary64_1123 add-cube-cbrt_binary64_1136
34×unpow-prod-down_binary64_1180 distribute-lft-out_binary64_1052
24×associate-/r*_binary64_1045
17×add-exp-log_binary64_1139
11×associate-/r/_binary64_1047 add-cbrt-cube_binary64_1137
add-log-exp_binary64_1140 flip3-+_binary64_1104 associate-/l*_binary64_1046 div-exp_binary64_1152 flip-+_binary64_1075
div-inv_binary64_1098
pow1_binary64_1162
cbrt-undiv_binary64_1135
1-exp_binary64_1145 frac-2neg_binary64_1112 sum-log_binary64_1192 clear-num_binary64_1100 associate-/l/_binary64_1048 rec-exp_binary64_1151 +-commutative_binary64_1031
inv-pow_binary64_1186 pow-flip_binary64_1175
Counts
4 → 171
Calls

4 calls:

15.0ms
(/.f64 1 (/.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)) (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
12.0ms
(/.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)) (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
10.0ms
(+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))
4.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))

series247.0ms (5.3%)

Counts
4 → 12
Calls

4 calls:

131.0ms
(/.f64 1 (/.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)) (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))))
61.0ms
(/.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)) (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)))
36.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
19.0ms
(+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))

simplify128.0ms (2.7%)

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
051537314

prune211.0ms (4.5%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1821183
Fresh268
Picked011
Done022
Total18410194
Error
23.9b
Counts
194 → 10
Compiler

Compiled 5102 to 2390 computations (53.2% saved)

regimes332.0ms (7.1%)

Accuracy

Total 2.2b remaining (8.9%)

Threshold costs 0b (0%)

Compiler

Compiled 4059 to 2912 computations (28.3% saved)

bsearch2.0ms (0%)

Compiler

Compiled 15 to 11 computations (26.7% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
047105
147105

end0.0ms (0%)

sample1.3s (28%)

Algorithm
intervals
Results
345.0ms8000×body128valid
21.0ms519×body128invalid
Compiler

Compiled 865 to 605 computations (30.1% saved)

Profiling

Loading profile data...