Details

Time bar (total: 10.3s)

analyze1.5s (14.9%)

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)

sample131.0ms (1.3%)

Algorithm
intervals
Results
51.0ms72×body1024invalid
31.0ms247×body128valid
14.0ms33×body512invalid
8.0msbody2048invalid
3.0ms11×body256invalid
2.0msbody1024valid
1.0ms11×body128invalid
1.0msbody256valid
0.0msbody512valid
Compiler

Compiled 75 to 43 computations (42.7% saved)

simplify232.0ms (2.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
0494472
1494472

prune12.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 34.1b

Counts
2 → 1
Compiler

Compiled 146 to 76 computations (47.9% saved)

localize24.0ms (0.2%)

Local error

Found 4 expressions with local error:

1.2b
(*.f64 (atan2.f64 x.im x.re) y.re)
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
33.1b
(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)))

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

4 calls:

9.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)))
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.re)

series531.0ms (5.1%)

Counts
4 → 12
Calls

4 calls:

391.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)))
54.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
43.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)))

simplify105.0ms (1%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (86.0ms)

IterNodesCost
048741270
148741270

prune222.0ms (2.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New63568
Fresh000
Picked011
Done000
Total63669

Merged error: 20.4b

Counts
69 → 6
Compiler

Compiled 5325 to 2310 computations (56.6% saved)

localize38.0ms (0.4%)

Local error

Found 4 expressions with local error:

31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
33.1b
(sin.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)))
33.1b
(sin.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)))
33.1b
(sin.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)))

rewrite35.0ms (0.3%)

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

series1.1s (10.5%)

Counts
4 → 12
Calls

4 calls:

352.0ms
(sin.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)))
350.0ms
(sin.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)))
341.0ms
(sin.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)))
44.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify75.0ms (0.7%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
050561579

prune190.0ms (1.8%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New50151
Fresh134
Picked011
Done011
Total51657

Merged error: 20.4b

Counts
57 → 6
Compiler

Compiled 4742 to 2476 computations (47.8% saved)

localize27.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.7b
(*.f64 (atan2.f64 x.im x.re) y.im)
1.2b
(*.f64 (atan2.f64 x.im x.re) y.re)
19.8b
(sin.f64 (+.f64 (*.f64 (log.f64 (neg.f64 x.re)) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite24.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 sin-sum_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
Counts
4 → 59
Calls

4 calls:

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

series401.0ms (3.9%)

Counts
4 → 12
Calls

4 calls:

260.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (neg.f64 x.re)) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
53.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
44.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
44.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)

simplify80.0ms (0.8%)

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
050221147

prune136.0ms (1.3%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New70171
Fresh033
Picked011
Done022
Total70777

Merged error: 11.6b

Counts
77 → 7
Compiler

Compiled 3620 to 1175 computations (67.5% saved)

localize18.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (log.f64 (neg.f64 x.re)) y.re)
0.7b
(*.f64 (atan2.f64 x.im x.re) y.im)
1.2b
(*.f64 (atan2.f64 x.im x.re) y.re)
19.8b
(sin.f64 (+.f64 (*.f64 (log.f64 (neg.f64 x.re)) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

rewrite25.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt_binary64
11×pow1_binary64
10×*-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
log-pow_binary64 sin-sum_binary64
Counts
4 → 63
Calls

4 calls:

6.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (neg.f64 x.re)) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
5.0ms
(*.f64 (log.f64 (neg.f64 x.re)) y.re)
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

series448.0ms (4.3%)

Counts
4 → 12
Calls

4 calls:

269.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (neg.f64 x.re)) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
81.0ms
(*.f64 (log.f64 (neg.f64 x.re)) y.re)
55.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
43.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

simplify76.0ms (0.7%)

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049671125
149671125

prune205.0ms (2%)

Pruning

10 alts after pruning (6 fresh and 4 done)

PrunedKeptTotal
New72375
Fresh033
Picked011
Done033
Total721082

Merged error: 11.5b

Counts
82 → 10
Compiler

Compiled 5127 to 2048 computations (60.1% saved)

regimes400.0ms (3.9%)

Compiler

Compiled 2192 to 1300 computations (40.7% saved)

bsearch174.0ms (1.7%)

Steps
ItersRangePoint
9
-3.3717620368255286e-301
1.3885635823988996e-307
-2.9795338187053e-310
8
-302704043381297.7
-272981380342.46088
-374000418249.14233
Compiler

Compiled 1 to 4 computations (-300% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
085186
185186

end0.0ms (0%)

sample4.1s (39.4%)

Algorithm
intervals
Results
1.5s2393×body1024invalid
922.0ms7589×body128valid
330.0ms827×body512invalid
213.0ms170×body2048invalid
99.0ms162×body1024valid
88.0ms334×body256invalid
63.0ms499×body128invalid
56.0ms138×body512valid
26.0ms101×body256valid
10.0ms10×body2048valid
Compiler

Compiled 554 to 306 computations (44.8% saved)

Profiling

Loading profile data...