Details

Time bar (total: 12.2s)

analyze1.5s (12.6%)

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)

sample123.0ms (1%)

Algorithm
intervals
Results
45.0ms74×body1024invalid
30.0ms241×body128valid
12.0ms31×body512invalid
4.0msbody1024valid
3.0msbody512valid
3.0ms20×body128invalid
2.0msbody256invalid
0.0msbody256valid
Compiler

Compiled 75 to 43 computations (42.7% saved)

simplify162.0ms (1.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
0494472
1494472

prune19.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 109 to 57 computations (47.7% saved)

localize24.0ms (0.2%)

Local error

Found 8 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.0b
(*.f64 (exp.f64 (-.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))) (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))))
0.0b
(+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))
0.0b
(+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))
1.3b
(*.f64 (atan2.f64 x.im x.re) y.im)
29.4b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
29.4b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.7b
(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)))

rewrite29.0ms (0.2%)

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

8 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)
0.0ms
(+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))

series575.0ms (4.7%)

Counts
4 → 49
Calls

4 calls:

297.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)))
141.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)
62.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
Compiler

Compiled 3385 to 2219 computations (34.4% saved)

simplify106.0ms (0.9%)

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (81.0ms)

IterNodesCost
049522091
149522091

prune214.0ms (1.8%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1014105
Fresh011
Picked101
Done000
Total1025107
Error
21.4b
Counts
107 → 5
Compiler

Compiled 4425 to 1161 computations (73.8% saved)

localize21.0ms (0.2%)

Local error

Found 8 expressions with local error:

0.0b
(exp.f64 (-.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.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.0b
(*.f64 (exp.f64 (-.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))) (cos.f64 (*.f64 (atan2.f64 x.im x.re) y.re)))
0.0b
(+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))
0.3b
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
1.3b
(*.f64 (atan2.f64 x.im x.re) y.im)
19.2b
(cos.f64 (*.f64 (atan2.f64 x.im x.re) y.re))
29.4b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite21.0ms (0.2%)

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
associate-*r*_binary64
add-log-exp_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 rem-sqrt-square_binary64 flip-+_binary64
Counts
4 → 61
Calls

8 calls:

5.0ms
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
5.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)
2.0ms
(cos.f64 (*.f64 (atan2.f64 x.im x.re) y.re))
0.0ms
(+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))

series642.0ms (5.3%)

Counts
4 → 55
Calls

4 calls:

297.0ms
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
141.0ms
(cos.f64 (*.f64 (atan2.f64 x.im x.re) y.re))
132.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
71.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
Compiler

Compiled 2542 to 1844 computations (27.5% saved)

simplify62.0ms (0.5%)

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
053382079

prune145.0ms (1.2%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1124116
Fresh044
Picked011
Done000
Total1129121
Error
3.8b
Counts
121 → 9
Compiler

Compiled 3590 to 1213 computations (66.2% saved)

localize32.0ms (0.3%)

Local error

Found 8 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 (*.f64 (atan2.f64 x.im x.re) (*.f64 (cbrt.f64 y.im) (cbrt.f64 y.im))) (cbrt.f64 y.im)))
0.0b
(*.f64 (exp.f64 (-.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re) (*.f64 (*.f64 (atan2.f64 x.im x.re) (*.f64 (cbrt.f64 y.im) (cbrt.f64 y.im))) (cbrt.f64 y.im)))) (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))))
0.0b
(+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))
0.0b
(+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))
0.8b
(*.f64 (*.f64 (atan2.f64 x.im x.re) (*.f64 (cbrt.f64 y.im) (cbrt.f64 y.im))) (cbrt.f64 y.im))
29.4b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
29.4b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.7b
(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)))

rewrite35.0ms (0.3%)

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

8 calls:

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

series579.0ms (4.8%)

Counts
4 → 49
Calls

4 calls:

281.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)))
140.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
96.0ms
(*.f64 (*.f64 (atan2.f64 x.im x.re) (*.f64 (cbrt.f64 y.im) (cbrt.f64 y.im))) (cbrt.f64 y.im))
62.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
Compiler

Compiled 3847 to 2425 computations (37% saved)

simplify63.0ms (0.5%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
051552224

prune166.0ms (1.4%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1101111
Fresh077
Picked101
Done011
Total1119120
Error
3.8b
Counts
120 → 9
Compiler

Compiled 5336 to 1256 computations (76.5% saved)

localize42.0ms (0.3%)

Local error

Found 8 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 (*.f64 (atan2.f64 x.im x.re) (*.f64 (cbrt.f64 y.im) (cbrt.f64 y.im))) (cbrt.f64 y.im)))
0.0b
(*.f64 (exp.f64 (-.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re) (*.f64 (*.f64 (atan2.f64 x.im x.re) (*.f64 (cbrt.f64 y.im) (cbrt.f64 y.im))) (cbrt.f64 y.im)))) (log.f64 (exp.f64 (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))))))
0.0b
(+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2))
0.0b
(+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))
0.8b
(*.f64 (*.f64 (atan2.f64 x.im x.re) (*.f64 (cbrt.f64 y.im) (cbrt.f64 y.im))) (cbrt.f64 y.im))
29.4b
(sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))
29.4b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.7b
(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)))

rewrite41.0ms (0.3%)

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

8 calls:

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

series594.0ms (4.9%)

Counts
4 → 49
Calls

4 calls:

276.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)))
152.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
102.0ms
(*.f64 (*.f64 (atan2.f64 x.im x.re) (*.f64 (cbrt.f64 y.im) (cbrt.f64 y.im))) (cbrt.f64 y.im))
65.0ms
(sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))
Compiler

Compiled 4011 to 2763 computations (31.1% saved)

simplify61.0ms (0.5%)

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
051552254

prune208.0ms (1.7%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1121113
Fresh167
Picked011
Done011
Total1139122
Error
3.8b
Counts
122 → 9
Compiler

Compiled 5404 to 2050 computations (62.1% saved)

simplify28.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (7.0ms)

IterNodesCost
04041798
14041798

regimes416.0ms (3.4%)

Accuracy

Total 6.3b remaining (67.7%)

Threshold costs 0b (0%)

Compiler

Compiled 3676 to 2532 computations (31.1% saved)

bsearch98.0ms (0.8%)

Steps
ItersRangePoint
10
-9.990562879975715e-301
3.5972117313813e-304
-3.1333140596047e-310
Compiler

Compiled 1 to 4 computations (-300% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06581
16581

end0.0ms (0%)

sample6.1s (50.4%)

Algorithm
intervals
Results
1.3s2463×body1024invalid
926.0ms7617×body128valid
380.0ms1006×body512invalid
107.0ms446×body256invalid
85.0ms159×body1024valid
70.0ms561×body128invalid
50.0ms136×body512valid
35.0ms44×body2048invalid
19.0ms78×body256valid
9.0ms10×body2048valid
Compiler

Compiled 2871 to 1943 computations (32.3% saved)

Pareto

0.008023196708689648

Profiling

Loading profile data...