Details

Time bar (total: 4.2s)

analyze520.0ms (12.5%)

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
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)

sample20.0ms (0.5%)

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

Compiled 31 to 27 computations (12.9% saved)

simplify162.0ms (3.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01830
11830

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.0b

Counts
2 → 1
Compiler

Compiled 30 to 22 computations (26.7% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.5b
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
26.5b
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite18.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64_1109 *-un-lft-identity_binary64_1088 add-cube-cbrt_binary64_1120
times-frac_binary64_1094
add-cbrt-cube_binary64_1121 add-exp-log_binary64_1123 add-log-exp_binary64_1124
associate-/r*_binary64_1034 flip-+_binary64_1062 flip3-+_binary64_1091 associate-/l*_binary64_1035
associate-/l/_binary64_1037 associate-/r/_binary64_1036 pow1_binary64_1146
clear-num_binary64_1087 frac-2neg_binary64_1099 sum-log_binary64_1176 div-exp_binary64_1136 +-commutative_binary64_1020 cbrt-undiv_binary64_1119 div-inv_binary64_1085
Counts
2 → 42
Calls

2 calls:

9.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))

series249.0ms (6%)

Counts
2 → 6
Calls

2 calls:

182.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
66.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))

simplify44.0ms (1.1%)

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
050281623

prune70.0ms (1.7%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New40848
Fresh000
Picked011
Done000
Total40949

Merged error: 26.3b

Counts
49 → 9
Compiler

Compiled 1367 to 257 computations (81.2% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.5b
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
16.3b
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))))
26.8b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
26.8b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite33.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64_1109
21×*-un-lft-identity_binary64_1088 add-cube-cbrt_binary64_1120
18×times-frac_binary64_1094 sqrt-prod_binary64_1103
add-cbrt-cube_binary64_1121 associate-/r*_binary64_1034 add-exp-log_binary64_1123 sqrt-div_binary64_1104 add-log-exp_binary64_1124 pow1_binary64_1146
flip-+_binary64_1062 flip3-+_binary64_1091
associate-/l*_binary64_1035
rem-sqrt-square_binary64_1101 associate-/l/_binary64_1037 associate-/r/_binary64_1036 sqrt-pow1_binary64_1105 pow1/2_binary64_1165
clear-num_binary64_1087 frac-2neg_binary64_1099 sum-log_binary64_1176 div-exp_binary64_1136 +-commutative_binary64_1020 cbrt-undiv_binary64_1119 div-inv_binary64_1085
Counts
4 → 84
Calls

4 calls:

10.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.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
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

series395.0ms (9.5%)

Counts
4 → 12
Calls

4 calls:

230.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))))
69.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
48.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
48.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

simplify73.0ms (1.7%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
049932839
149932839

prune126.0ms (3%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New90696
Fresh257
Picked101
Done011
Total9312105

Merged error: 23.6b

Counts
105 → 12
Compiler

Compiled 3418 to 1156 computations (66.2% saved)

localize22.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.5b
(+.f64 (*.f64 y.re x.re) (*.f64 y.im x.im))
16.4b
(/.f64 (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))) (+.f64 (*.f64 y.re x.re) (*.f64 y.im x.im)))
26.8b
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
26.8b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite43.0ms (1%)

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity_binary64_1088
28×sqrt-prod_binary64_1103
25×add-sqr-sqrt_binary64_1109
24×times-frac_binary64_1094
23×add-cube-cbrt_binary64_1120
10×unpow-prod-down_binary64_1164 distribute-lft-out_binary64_1041
associate-/l*_binary64_1035
add-cbrt-cube_binary64_1121 add-exp-log_binary64_1123 sqrt-div_binary64_1104 add-log-exp_binary64_1124 pow1_binary64_1146
flip-+_binary64_1062 flip3-+_binary64_1091
associate-/r*_binary64_1034
rem-sqrt-square_binary64_1101 associate-/l/_binary64_1037 associate-/r/_binary64_1036 sqrt-pow1_binary64_1105 pow1/2_binary64_1165
clear-num_binary64_1087 frac-2neg_binary64_1099 sum-log_binary64_1176 div-exp_binary64_1136 +-commutative_binary64_1020 cbrt-undiv_binary64_1119 div-inv_binary64_1085
Counts
4 → 94
Calls

4 calls:

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

series325.0ms (7.8%)

Counts
4 → 12
Calls

4 calls:

168.0ms
(/.f64 (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))) (+.f64 (*.f64 y.re x.re) (*.f64 y.im x.im)))
69.0ms
(+.f64 (*.f64 y.re x.re) (*.f64 y.im x.im))
44.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
43.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))

simplify113.0ms (2.7%)

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
049543253
149543253

prune156.0ms (3.7%)

Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1051106
Fresh01010
Picked011
Done011
Total10513118

Merged error: 23.6b

Counts
118 → 13
Compiler

Compiled 3997 to 1813 computations (54.6% saved)

localize24.0ms (0.6%)

Local error

Found 4 expressions with local error:

16.3b
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))))
26.8b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
26.8b
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
26.8b
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))

rewrite45.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity_binary64_1088
25×add-sqr-sqrt_binary64_1109 sqrt-prod_binary64_1103
22×add-cube-cbrt_binary64_1120
18×times-frac_binary64_1094
sqrt-div_binary64_1104
pow1_binary64_1146
add-cbrt-cube_binary64_1121 associate-/r*_binary64_1034 add-exp-log_binary64_1123
flip-+_binary64_1062 flip3-+_binary64_1091
unpow-prod-down_binary64_1164 add-log-exp_binary64_1124 distribute-lft-out_binary64_1041
rem-sqrt-square_binary64_1101 sqrt-pow1_binary64_1105 associate-/l*_binary64_1035 pow1/2_binary64_1165
associate-/l/_binary64_1037 associate-/r/_binary64_1036
clear-num_binary64_1087 frac-2neg_binary64_1099 div-exp_binary64_1136 cbrt-undiv_binary64_1119 div-inv_binary64_1085
Counts
4 → 92
Calls

4 calls:

10.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))))
9.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
8.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

series373.0ms (9%)

Counts
4 → 12
Calls

4 calls:

236.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))))
49.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
45.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
43.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))

simplify73.0ms (1.7%)

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049942913
149942913

prune201.0ms (4.8%)

Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New1031104
Fresh01010
Picked011
Done022
Total10314117

Merged error: 23.6b

Counts
117 → 14
Compiler

Compiled 4521 to 2510 computations (44.5% saved)

regimes165.0ms (4%)

Compiler

Compiled 1741 to 1220 computations (29.9% saved)

bsearch1.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
049108
149108

end0.0ms (0%)

sample882.0ms (21.2%)

Algorithm
intervals
Results
335.0ms8000×body128valid
20.0ms507×body128invalid
Compiler

Compiled 400 to 266 computations (33.5% saved)

Profiling

Loading profile data...