Details

Time bar (total: 4.9s)

analyze537.0ms (11%)

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)

sample21.0ms (0.4%)

Algorithm
intervals
Results
11.0ms256×body128valid
0.0ms10×body128invalid
Compiler

Compiled 31 to 27 computations (12.9% saved)

simplify297.0ms (6.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (123.0ms)

IterNodesCost
0523230

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.1b

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.8b
(-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im))
25.7b
(/.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite23.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64_2165 add-cube-cbrt_binary64_2178 *-un-lft-identity_binary64_2143
times-frac_binary64_2149
add-log-exp_binary64_2182
add-exp-log_binary64_2181 add-cbrt-cube_binary64_2179
pow1_binary64_2204 associate-/r*_binary64_2087 associate-/l*_binary64_2088
flip--_binary64_2118 associate-/r/_binary64_2089 flip3--_binary64_2147 flip3-+_binary64_2146 flip-+_binary64_2117 associate-/l/_binary64_2090
cbrt-undiv_binary64_2177 +-commutative_binary64_2073 diff-log_binary64_2235 clear-num_binary64_2142 sub-neg_binary64_2136 div-inv_binary64_2140 sum-log_binary64_2234 cancel-sign-sub-inv_binary64_2109 div-exp_binary64_2194 frac-2neg_binary64_2154 div-sub_binary64_2148
Counts
3 → 55
Calls

3 calls:

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

series323.0ms (6.6%)

Counts
3 → 9
Calls

3 calls:

198.0ms
(/.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
86.0ms
(-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im))
39.0ms
(+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))

simplify95.0ms (2%)

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
049811822
149811822

prune391.0ms (8%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New531164
Fresh000
Picked101
Done000
Total541165

Merged error: 25.1b

Counts
65 → 11
Compiler

Compiled 7919 to 5060 computations (36.1% saved)

localize18.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.8b
(-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im))
14.5b
(/.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
29.8b
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
29.8b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite45.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity_binary64_2143
28×sqrt-prod_binary64_2159
25×add-sqr-sqrt_binary64_2165
24×times-frac_binary64_2149
23×add-cube-cbrt_binary64_2178
10×unpow-prod-down_binary64_2222 distribute-lft-out_binary64_2094
associate-/r*_binary64_2087
sqrt-div_binary64_2160 pow1_binary64_2204 add-log-exp_binary64_2182 add-exp-log_binary64_2181 add-cbrt-cube_binary64_2179
associate-/l*_binary64_2088 flip3-+_binary64_2146 flip-+_binary64_2117
rem-sqrt-square_binary64_2156 pow1/2_binary64_2223 flip--_binary64_2118 associate-/r/_binary64_2089 flip3--_binary64_2147 sqrt-pow1_binary64_2161 associate-/l/_binary64_2090
cbrt-undiv_binary64_2177 diff-log_binary64_2235 clear-num_binary64_2142 sub-neg_binary64_2136 div-inv_binary64_2140 cancel-sign-sub-inv_binary64_2109 div-exp_binary64_2194 frac-2neg_binary64_2154 div-sub_binary64_2148
Counts
4 → 96
Calls

4 calls:

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

series420.0ms (8.6%)

Counts
4 → 12
Calls

4 calls:

244.0ms
(/.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
80.0ms
(-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im))
49.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
47.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))

simplify90.0ms (1.9%)

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
055423247

prune274.0ms (5.6%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1053108
Fresh4610
Picked011
Done000
Total10910119

Merged error: 23.6b

Counts
119 → 10
Compiler

Compiled 6075 to 3392 computations (44.2% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.8b
(-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im))
25.7b
(/.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (*.f64 (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))))
29.8b
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
29.8b
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))

rewrite57.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
16×sqrt-div_binary64_2160 *-un-lft-identity_binary64_2143
10×add-sqr-sqrt_binary64_2165 sqrt-prod_binary64_2159
add-exp-log_binary64_2181 add-cbrt-cube_binary64_2179
associate-/r/_binary64_2089 add-cube-cbrt_binary64_2178 flip3-+_binary64_2146 flip-+_binary64_2117
pow1_binary64_2204 add-log-exp_binary64_2182
unpow-prod-down_binary64_2222 frac-times_binary64_2153 distribute-lft-out_binary64_2094
associate-/l*_binary64_2088 times-frac_binary64_2149
rem-sqrt-square_binary64_2156 pow1/2_binary64_2223 cbrt-undiv_binary64_2177 flip--_binary64_2118 flip3--_binary64_2147 associate-*l/_binary64_2086 associate-*r/_binary64_2085 sqrt-pow1_binary64_2161 div-exp_binary64_2194 associate-/l/_binary64_2090
diff-log_binary64_2235 clear-num_binary64_2142 associate-/r*_binary64_2087 sub-neg_binary64_2136 div-inv_binary64_2140 cbrt-unprod_binary64_2176 prod-exp_binary64_2192 cancel-sign-sub-inv_binary64_2109 frac-2neg_binary64_2154 div-sub_binary64_2148
Counts
4 → 78
Calls

4 calls:

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

series376.0ms (7.7%)

Counts
4 → 12
Calls

4 calls:

206.0ms
(/.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (*.f64 (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))))
82.0ms
(-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im))
48.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
41.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))

simplify78.0ms (1.6%)

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049552130
149552130

prune125.0ms (2.6%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New90090
Fresh088
Picked011
Done011
Total9010100

Merged error: 23.6b

Counts
100 → 10
Compiler

Compiled 2750 to 1601 computations (41.8% saved)

localize18.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.8b
(-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im))
14.5b
(/.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
29.8b
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
29.8b
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))

rewrite50.0ms (1%)

Algorithm
rewrite-expression-head
Rules
47×*-un-lft-identity_binary64_2143
30×sqrt-prod_binary64_2159
25×add-sqr-sqrt_binary64_2165
24×times-frac_binary64_2149
23×add-cube-cbrt_binary64_2178
12×unpow-prod-down_binary64_2222 distribute-lft-out_binary64_2094
associate-/r*_binary64_2087
sqrt-div_binary64_2160 pow1_binary64_2204 add-log-exp_binary64_2182 add-exp-log_binary64_2181 add-cbrt-cube_binary64_2179
associate-/l*_binary64_2088 flip3-+_binary64_2146 flip-+_binary64_2117
rem-sqrt-square_binary64_2156 pow1/2_binary64_2223 flip--_binary64_2118 associate-/r/_binary64_2089 flip3--_binary64_2147 sqrt-pow1_binary64_2161 associate-/l/_binary64_2090
cbrt-undiv_binary64_2177 diff-log_binary64_2235 clear-num_binary64_2142 sub-neg_binary64_2136 div-inv_binary64_2140 cancel-sign-sub-inv_binary64_2109 div-exp_binary64_2194 frac-2neg_binary64_2154 div-sub_binary64_2148
Counts
4 → 98
Calls

4 calls:

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

series426.0ms (8.7%)

Counts
4 → 12
Calls

4 calls:

255.0ms
(/.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
87.0ms
(-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im))
42.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
41.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))

simplify82.0ms (1.7%)

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
053983277

prune178.0ms (3.7%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1100110
Fresh077
Picked011
Done022
Total11010120

Merged error: 23.6b

Counts
120 → 10
Compiler

Compiled 4032 to 2412 computations (40.2% saved)

regimes90.0ms (1.8%)

Compiler

Compiled 772 to 648 computations (16.1% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05148
15148

end0.0ms (0%)

sample823.0ms (16.9%)

Algorithm
intervals
Results
352.0ms8000×body128valid
20.0ms470×body128invalid
Compiler

Compiled 232 to 189 computations (18.5% saved)

Profiling

Loading profile data...