Details

Time bar (total: 11.0s)

analyze1.5s (13.7%)

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
49%50.8%0.2%13
50.1%49.7%0.2%14
Compiler

Compiled 38 to 20 computations (47.4% saved)

sample115.0ms (1%)

Algorithm
intervals
Results
45.0ms81×body1024invalid
33.0ms242×body128valid
5.0msbody2048invalid
3.0ms13×body256invalid
3.0msbody512invalid
2.0msbody1024valid
2.0msbody512valid
1.0msbody2048valid
1.0msbody128invalid
1.0msbody256valid
Compiler

Compiled 75 to 43 computations (42.7% saved)

simplify163.0ms (1.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
0494472
1494472

prune9.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 109 to 57 computations (47.7% saved)

localize32.0ms (0.3%)

Local error

Found 4 expressions with local error:

1.4b
(*.f64 (atan2.f64 x.im x.re) y.im)
26.7b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
26.7b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
34.6b
(sin.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)))

rewrite28.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 sin-sum_binary64 unswap-sqr_binary64 prod-exp_binary64 *-commutative_binary64
Counts
4 → 56
Calls

4 calls:

8.0ms
(sin.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)))
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

series643.0ms (5.8%)

Counts
4 → 56
Calls

4 calls:

311.0ms
(sin.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)))
146.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
111.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
74.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
Compiler

Compiled 3792 to 2504 computations (34% saved)

simplify77.0ms (0.7%)

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049822268
149822268

prune180.0ms (1.6%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1039112
Fresh101
Picked101
Done000
Total1059114
Error
15.4b
Counts
114 → 9
Compiler

Compiled 4925 to 1423 computations (71.1% saved)

localize25.0ms (0.2%)

Local error

Found 4 expressions with local error:

1.0b
(*.f64 (atan2.f64 x.im x.re) (*.f64 (cbrt.f64 y.im) (cbrt.f64 y.im)))
26.7b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
26.7b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
34.6b
(sin.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)))

rewrite29.0ms (0.3%)

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

4 calls:

7.0ms
(*.f64 (atan2.f64 x.im x.re) (*.f64 (cbrt.f64 y.im) (cbrt.f64 y.im)))
7.0ms
(sin.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)))

series932.0ms (8.5%)

Counts
4 → 56
Calls

4 calls:

371.0ms
(*.f64 (atan2.f64 x.im x.re) (*.f64 (cbrt.f64 y.im) (cbrt.f64 y.im)))
297.0ms
(sin.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)))
149.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
115.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
Compiler

Compiled 4433 to 2843 computations (35.9% saved)

simplify79.0ms (0.7%)

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
051222417

prune172.0ms (1.6%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1121113
Fresh088
Picked101
Done000
Total1139122
Error
15.4b
Counts
122 → 9
Compiler

Compiled 5747 to 1571 computations (72.7% saved)

localize30.0ms (0.3%)

Local error

Found 4 expressions with local error:

3.9b
(cbrt.f64 (atan2.f64 x.im x.re))
26.7b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
26.7b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
34.6b
(sin.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)))

rewrite23.0ms (0.2%)

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

4 calls:

6.0ms
(sin.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)))
1.0ms
(cbrt.f64 (atan2.f64 x.im x.re))

series772.0ms (7%)

Counts
4 → 53
Calls

4 calls:

304.0ms
(sin.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)))
210.0ms
(cbrt.f64 (atan2.f64 x.im x.re))
145.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
113.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
Compiler

Compiled 4993 to 2995 computations (40% saved)

simplify58.0ms (0.5%)

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049622124
149622124

prune191.0ms (1.7%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1011102
Fresh088
Picked101
Done000
Total1029111
Error
15.4b
Counts
111 → 9
Compiler

Compiled 6278 to 2027 computations (67.7% saved)

localize38.0ms (0.3%)

Local error

Found 4 expressions with local error:

3.9b
(cbrt.f64 (atan2.f64 x.im x.re))
26.7b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
26.7b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
34.6b
(sin.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)))

rewrite24.0ms (0.2%)

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

4 calls:

6.0ms
(sin.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)))
1.0ms
(cbrt.f64 (atan2.f64 x.im x.re))

series796.0ms (7.2%)

Counts
4 → 53
Calls

4 calls:

312.0ms
(sin.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)))
200.0ms
(cbrt.f64 (atan2.f64 x.im x.re))
161.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
123.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
Compiler

Compiled 6072 to 3256 computations (46.4% saved)

simplify61.0ms (0.6%)

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049622124
149622124

prune203.0ms (1.8%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1011102
Fresh088
Picked011
Done000
Total10110111
Error
15.4b
Counts
111 → 10
Compiler

Compiled 7200 to 1797 computations (75% saved)

regimes501.0ms (4.6%)

Accuracy

Total 0.3b remaining (1.4%)

Threshold costs 0.3b (1.4%)

Compiler

Compiled 5842 to 3560 computations (39.1% saved)

bsearch4.0ms (0%)

Compiler

Compiled 37 to 19 computations (48.6% saved)

simplify5.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
080221
180221

end0.0ms (0%)

sample4.3s (39.2%)

Algorithm
intervals
Results
1.3s2489×body1024invalid
897.0ms7581×body128valid
340.0ms921×body512invalid
160.0ms183×body2048invalid
96.0ms183×body1024valid
81.0ms343×body256invalid
62.0ms493×body128invalid
51.0ms142×body512valid
19.0ms81×body256valid
10.0ms13×body2048valid
Compiler

Compiled 1303 to 766 computations (41.2% saved)

Profiling

Loading profile data...