Details

Time bar (total: 7.9s)

analyze1.4s (17.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
9.4%90.4%0.2%6
17.2%82.7%0.2%7
19.5%80.3%0.2%8
30.8%69%0.2%9
35.5%64.3%0.2%10
42.4%57.4%0.2%11
47.1%52.7%0.2%12
48.9%50.8%0.3%13
50%49.7%0.4%14
Compiler

Compiled 38 to 20 computations (47.4% saved)

sample114.0ms (1.4%)

Algorithm
intervals
Results
45.0ms79×body1024invalid
27.0ms240×body128valid
10.0ms29×body512invalid
2.0ms11×body256invalid
2.0msbody2048invalid
2.0msbody256valid
2.0ms17×body128invalid
2.0msbody1024valid
1.0msbody512valid
Compiler

Compiled 75 to 43 computations (42.7% saved)

simplify156.0ms (2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
0494472
1494472

prune8.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 32.4b

Counts
2 → 1
Compiler

Compiled 73 to 38 computations (47.9% saved)

localize29.0ms (0.4%)

Local error

Found 4 expressions with local error:

1.5b
(*.f64 (atan2.f64 x.im x.re) y.im)
28.6b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
28.6b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
32.5b
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

rewrite27.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt_binary64
*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64
add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-prod_binary64
add-log-exp_binary64 sqrt-div_binary64
associate-*r*_binary64 associate-*l*_binary64
flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 unswap-sqr_binary64 prod-exp_binary64 cos-sum_binary64 *-commutative_binary64
Counts
4 → 56
Calls

4 calls:

8.0ms
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
3.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

series288.0ms (3.6%)

Counts
4 → 12
Calls

4 calls:

216.0ms
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
26.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
24.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
22.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify115.0ms (1.5%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (95.0ms)

IterNodesCost
048631251
148631251

prune101.0ms (1.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New65368
Fresh000
Picked011
Done000
Total65469

Merged error: 17.6b

Counts
69 → 4
Compiler

Compiled 2942 to 797 computations (72.9% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))
0.3b
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
1.5b
(*.f64 (atan2.f64 x.im x.re) y.im)
28.6b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite25.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
11×pow1_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64 associate-*l*_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64 associate-*r*_binary64
log-pow_binary64 sqrt-prod_binary64
pow-prod-down_binary64 pow1/2_binary64 cbrt-unprod_binary64 sqrt-pow1_binary64 unswap-sqr_binary64 prod-exp_binary64 sqrt-div_binary64 *-commutative_binary64
flip3-+_binary64 sub-neg_binary64 flip3--_binary64 diff-log_binary64 cancel-sign-sub-inv_binary64 rem-sqrt-square_binary64 flip--_binary64 flip-+_binary64
Counts
4 → 66
Calls

4 calls:

5.0ms
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
4.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
4.0ms
(-.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))
3.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

series257.0ms (3.2%)

Counts
4 → 12
Calls

4 calls:

123.0ms
(-.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))
84.0ms
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
26.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
24.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify60.0ms (0.8%)

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049581662
149581662

prune93.0ms (1.2%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New75378
Fresh022
Picked011
Done011
Total75782

Merged error: 3.6b

Counts
82 → 7
Compiler

Compiled 2110 to 1023 computations (51.5% saved)

localize33.0ms (0.4%)

Local error

Found 4 expressions with local error:

28.6b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
32.5b
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
32.5b
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
32.5b
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

rewrite31.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
cos-sum_binary64 sqrt-prod_binary64
sqrt-div_binary64
flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
Counts
4 → 39
Calls

4 calls:

7.0ms
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
6.0ms
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
6.0ms
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

series572.0ms (7.2%)

Counts
4 → 12
Calls

4 calls:

189.0ms
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
179.0ms
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
178.0ms
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
26.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify72.0ms (0.9%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049901522
149901522

prune163.0ms (2.1%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New51051
Fresh044
Picked011
Done022
Total51758

Merged error: 3.6b

Counts
58 → 7
Compiler

Compiled 4319 to 2237 computations (48.2% saved)

localize11.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(-.f64 (*.f64 (log.f64 (neg.f64 x.re)) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))
0.2b
(*.f64 (log.f64 (neg.f64 x.re)) y.re)
1.5b
(*.f64 (atan2.f64 x.im x.re) y.im)

rewrite16.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64
pow1_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 associate-*l*_binary64
associate-*r*_binary64
add-log-exp_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 unswap-sqr_binary64 prod-exp_binary64 *-commutative_binary64
sub-neg_binary64 flip3--_binary64 diff-log_binary64 log-pow_binary64 cancel-sign-sub-inv_binary64 flip--_binary64
Counts
3 → 49
Calls

3 calls:

6.0ms
(*.f64 (log.f64 (neg.f64 x.re)) y.re)
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
4.0ms
(-.f64 (*.f64 (log.f64 (neg.f64 x.re)) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))

series151.0ms (1.9%)

Counts
3 → 9
Calls

3 calls:

85.0ms
(-.f64 (*.f64 (log.f64 (neg.f64 x.re)) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))
39.0ms
(*.f64 (log.f64 (neg.f64 x.re)) y.re)
27.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

simplify72.0ms (0.9%)

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
05488989

prune41.0ms (0.5%)

Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New58058
Fresh033
Picked011
Done033
Total58765

Merged error: 3.6b

Counts
65 → 7
Compiler

Compiled 1086 to 316 computations (70.9% saved)

regimes268.0ms (3.4%)

Compiler

Compiled 2382 to 1630 computations (31.6% saved)

bsearch315.0ms (4%)

Steps
ItersRangePoint
6
9.353538533214603e-45
6.10448516542931e-44
3.5492325277206613e-44
6
3.802382081096709e-165
2.762138674541015e-164
9.97621392264661e-165
6
-4.179053529427529e-308
1.1602034729424457e-308
3.39539490050286e-310
8
-9.064501477833234e-204
-2.2718525260766316e-208
-1.6071323931041203e-204
9
-2.503884142365357e-97
-3.1144040188293025e-103
-1.848237701150158e-101
Compiler

Compiled 1 to 4 computations (-300% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0101203
1101203

end0.0ms (0%)

sample3.5s (44.1%)

Algorithm
intervals
Results
1.2s2384×body1024invalid
810.0ms7600×body128valid
357.0ms1055×body512invalid
94.0ms424×body256invalid
72.0ms148×body1024valid
58.0ms516×body128invalid
47.0ms142×body512valid
27.0ms38×body2048invalid
22.0ms101×body256valid
7.0msbody2048valid
Compiler

Compiled 602 to 380 computations (36.9% saved)

Profiling

Loading profile data...