Details

Time bar (total: 10.2s)

analyze1.5s (14.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)

sample106.0ms (1%)

Algorithm
intervals
Results
37.0ms69×body1024invalid
32.0ms243×body128valid
9.0ms25×body512invalid
3.0msbody1024valid
3.0ms11×body256invalid
2.0ms19×body128invalid
2.0msbody512valid
1.0msbody256valid
Compiler

Compiled 75 to 43 computations (42.7% saved)

simplify160.0ms (1.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
0494472
1494472

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

localize30.0ms (0.3%)

Local error

Found 4 expressions with local error:

1.5b
(*.f64 (atan2.f64 x.im x.re) y.im)
27.4b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
27.4b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.3b
(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)))

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

4 calls:

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

series616.0ms (6%)

Counts
4 → 57
Calls

4 calls:

251.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)))
147.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
144.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
73.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
Compiler

Compiled 3740 to 2473 computations (33.9% saved)

simplify105.0ms (1%)

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (76.0ms)

IterNodesCost
049452175
149452175

prune172.0ms (1.7%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1085113
Fresh011
Picked101
Done000
Total1096115
Error
17.4b
Counts
115 → 6
Compiler

Compiled 4796 to 1288 computations (73.1% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.7b
(*.f64 (atan2.f64 x.im x.re) y.re)
1.5b
(*.f64 (atan2.f64 x.im x.re) y.im)
19.2b
(cos.f64 (*.f64 (atan2.f64 x.im x.re) y.re))
27.4b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite18.0ms (0.2%)

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

4 calls:

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

series413.0ms (4%)

Counts
4 → 50
Calls

4 calls:

140.0ms
(cos.f64 (*.f64 (atan2.f64 x.im x.re) y.re))
134.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
70.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
69.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
Compiler

Compiled 2214 to 1566 computations (29.3% saved)

simplify71.0ms (0.7%)

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
051051673

prune119.0ms (1.2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1044108
Fresh055
Picked101
Done000
Total1059114
Error
3.4b
Counts
114 → 9
Compiler

Compiled 3415 to 909 computations (73.4% saved)

localize28.0ms (0.3%)

Local error

Found 4 expressions with local error:

4.6b
(cbrt.f64 (*.f64 y.im (atan2.f64 x.im x.re)))
27.4b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
27.4b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.3b
(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)))

rewrite23.0ms (0.2%)

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

4 calls:

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

series843.0ms (8.3%)

Counts
4 → 57
Calls

4 calls:

307.0ms
(cbrt.f64 (*.f64 y.im (atan2.f64 x.im x.re)))
237.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)))
151.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
147.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
Compiler

Compiled 5140 to 2817 computations (45.2% saved)

simplify102.0ms (1%)

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
049472090
149472090

prune169.0ms (1.7%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1031104
Fresh088
Picked101
Done000
Total1049113
Error
3.4b
Counts
113 → 9
Compiler

Compiled 6041 to 1315 computations (78.2% saved)

localize38.0ms (0.4%)

Local error

Found 4 expressions with local error:

4.6b
(cbrt.f64 (*.f64 y.im (atan2.f64 x.im x.re)))
27.4b
(sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))
27.4b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.3b
(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)))

rewrite29.0ms (0.3%)

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

4 calls:

8.0ms
(sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))
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)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
2.0ms
(cbrt.f64 (*.f64 y.im (atan2.f64 x.im x.re)))

series881.0ms (8.6%)

Counts
4 → 57
Calls

4 calls:

322.0ms
(cbrt.f64 (*.f64 y.im (atan2.f64 x.im x.re)))
248.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)))
157.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
153.0ms
(sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))
Compiler

Compiled 5410 to 3261 computations (39.7% saved)

simplify105.0ms (1%)

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
049472120
149472120

prune197.0ms (1.9%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1051106
Fresh178
Picked101
Done000
Total1078115
Error
3.4b
Counts
115 → 8
Compiler

Compiled 6168 to 2034 computations (67% saved)

regimes440.0ms (4.3%)

Accuracy

Total 6.6b remaining (65.4%)

Threshold costs 0b (0%)

Compiler

Compiled 4612 to 2990 computations (35.2% saved)

bsearch150.0ms (1.5%)

Steps
ItersRangePoint
8
3.9460097874426614e-126
2.3665549662820997e-123
6.322417595566576e-124
8
-4137.314810416361
-5.699185527645271
-5.774070607658753
Compiler

Compiled 1 to 4 computations (-300% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
082138
182138

end0.0ms (0%)

sample3.9s (37.8%)

Algorithm
intervals
Results
1.2s2355×body1024invalid
839.0ms7571×body128valid
326.0ms960×body512invalid
100.0ms420×body256invalid
90.0ms181×body1024valid
62.0ms536×body128invalid
50.0ms148×body512valid
30.0ms39×body2048invalid
19.0ms84×body256valid
13.0ms16×body2048valid
Compiler

Compiled 1014 to 642 computations (36.7% saved)

Profiling

Loading profile data...