Details

Time bar (total: 9.2s)

analyze1.5s (16%)

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)

sample117.0ms (1.3%)

Algorithm
intervals
Results
44.0ms77×body1024invalid
34.0ms248×body128valid
12.0ms28×body512invalid
3.0ms10×body256invalid
2.0ms18×body128invalid
1.0msbody1024valid
1.0msbody256valid
1.0msbody512valid
Compiler

Compiled 75 to 43 computations (42.7% saved)

simplify231.0ms (2.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
0494472
1494472

prune14.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 31.6b

Counts
2 → 1
Compiler

Compiled 73 to 38 computations (47.9% saved)

localize24.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.9b
(*.f64 (atan2.f64 x.im x.re) y.im)
29.0b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
29.0b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
33.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)))

rewrite31.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:

10.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)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
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)

series507.0ms (5.5%)

Counts
4 → 12
Calls

4 calls:

373.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)))
47.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
44.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
42.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify116.0ms (1.3%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (98.0ms)

IterNodesCost
048631251
148631251

prune111.0ms (1.2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New64468
Fresh000
Picked101
Done000
Total65469

Merged error: 16.6b

Counts
69 → 4
Compiler

Compiled 3000 to 836 computations (72.1% saved)

localize16.0ms (0.2%)

Local error

Found 4 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.3b
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
0.9b
(*.f64 (atan2.f64 x.im x.re) y.im)
29.0b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite28.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64
11×pow1_binary64
10×*-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 exp-prod_binary64
pow-prod-down_binary64 pow1/2_binary64 cbrt-unprod_binary64 rem-exp-log_binary64 sqrt-pow1_binary64 unswap-sqr_binary64 exp-sum_binary64 prod-exp_binary64 sqrt-div_binary64 *-commutative_binary64
flip3-+_binary64 sub-neg_binary64 diff-log_binary64 cancel-sign-sub-inv_binary64 exp-diff_binary64 rem-sqrt-square_binary64 flip-+_binary64
Counts
4 → 69
Calls

4 calls:

7.0ms
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
6.0ms
(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)))
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)

series479.0ms (5.2%)

Counts
4 → 12
Calls

4 calls:

249.0ms
(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)))
141.0ms
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
45.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
44.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify85.0ms (0.9%)

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
049531596
149531596

prune104.0ms (1.1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New78381
Fresh033
Picked011
Done000
Total78785

Merged error: 2.6b

Counts
85 → 7
Compiler

Compiled 2194 to 1045 computations (52.4% saved)

localize11.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (pow.f64 (neg.f64 x.re) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))
0.0b
(exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))
0.9b
(*.f64 (atan2.f64 x.im x.re) y.im)

rewrite28.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
42×times-frac_binary64
40×unpow-prod-down_binary64
38×add-sqr-sqrt_binary64
36×*-un-lft-identity_binary64 add-cube-cbrt_binary64
14×associate-/l*_binary64
12×distribute-lft-neg-in_binary64 distribute-rgt-neg-in_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64 pow1_binary64
neg-mul-1_binary64 sqr-pow_binary64
associate-/r*_binary64 associate-*r*_binary64 associate-*l*_binary64 div-exp_binary64
pow-to-exp_binary64 pow-prod-down_binary64 cbrt-unprod_binary64 cbrt-undiv_binary64 rem-exp-log_binary64 unswap-sqr_binary64 clear-num_binary64 prod-exp_binary64 frac-2neg_binary64 div-inv_binary64 exp-to-pow_binary64 pow-exp_binary64 exp-prod_binary64 *-commutative_binary64
Counts
3 → 101
Calls

3 calls:

11.0ms
(/.f64 (pow.f64 (neg.f64 x.re) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
2.0ms
(exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))

series328.0ms (3.6%)

Counts
3 → 9
Calls

3 calls:

223.0ms
(/.f64 (pow.f64 (neg.f64 x.re) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))
60.0ms
(exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))
45.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

simplify103.0ms (1.1%)

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
050073324

prune105.0ms (1.1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1082110
Fresh055
Picked101
Done011
Total1098117

Merged error: 2.6b

Counts
117 → 8
Compiler

Compiled 2622 to 740 computations (71.8% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.5b
(cbrt.f64 (neg.f64 x.re))
0.9b
(*.f64 (atan2.f64 x.im x.re) y.im)
0.9b
(*.f64 (atan2.f64 x.im x.re) y.im)
0.9b
(*.f64 (atan2.f64 x.im x.re) y.im)

rewrite25.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt_binary64
13×*-un-lft-identity_binary64 add-cube-cbrt_binary64
10×pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 cbrt-prod_binary64
associate-*r*_binary64 associate-*l*_binary64
add-log-exp_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 distribute-lft-neg-in_binary64 unswap-sqr_binary64 distribute-rgt-neg-in_binary64 prod-exp_binary64 *-commutative_binary64
pow1/3_binary64 neg-mul-1_binary64
Counts
4 → 72
Calls

4 calls:

4.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
2.0ms
(cbrt.f64 (neg.f64 x.re))

series309.0ms (3.4%)

Counts
4 → 12
Calls

4 calls:

176.0ms
(cbrt.f64 (neg.f64 x.re))
48.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
43.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
42.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

simplify75.0ms (0.8%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
048641004
148641004

prune108.0ms (1.2%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New83184
Fresh066
Picked101
Done011
Total84892

Merged error: 2.6b

Counts
92 → 8
Compiler

Compiled 3767 to 557 computations (85.2% saved)

regimes382.0ms (4.1%)

Compiler

Compiled 3217 to 2110 computations (34.4% saved)

bsearch355.0ms (3.8%)

Steps
ItersRangePoint
9
2.0127026023608453e-80
7.0794449952514586e-71
2.3965001777473233e-78
9
1.663723895030559e-195
5.312962113335841e-190
4.850736462389239e-194
9
-6.139068561378969e-303
3.979131364867758e-308
3.92947659999936e-310
5
-1.6115313855752777e-43
-6.423227623683697e-44
-8.430888126662982e-44
5
-5.958152191737171e+18
-1.9166237221040312e+18
-1.9459793054640932e+18
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%)

sample4.0s (43.7%)

Algorithm
intervals
Results
1.4s2414×body1024invalid
867.0ms7552×body128valid
355.0ms970×body512invalid
104.0ms416×body256invalid
102.0ms183×body1024valid
70.0ms581×body128invalid
57.0ms151×body512valid
35.0ms37×body2048invalid
26.0ms106×body256valid
11.0msbody2048valid
Compiler

Compiled 769 to 476 computations (38.1% saved)

Profiling

Loading profile data...