Details

Time bar (total: 9.0s)

analyze1.5s (16.4%)

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)

sample119.0ms (1.3%)

Algorithm
intervals
Results
48.0ms78×body1024invalid
30.0ms246×body128valid
12.0ms31×body512invalid
3.0msbody1024valid
3.0ms12×body256invalid
1.0msbody256valid
1.0ms10×body128invalid
Compiler

Compiled 75 to 43 computations (42.7% saved)

simplify233.0ms (2.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (58.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: 33.2b

Counts
2 → 1
Compiler

Compiled 146 to 76 computations (47.9% saved)

localize24.0ms (0.3%)

Local error

Found 4 expressions with local error:

1.4b
(*.f64 (atan2.f64 x.im x.re) y.re)
30.3b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
30.3b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
33.6b
(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.4%)

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:

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

series516.0ms (5.7%)

Counts
4 → 12
Calls

4 calls:

374.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)))
50.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
49.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
42.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify82.0ms (0.9%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
051671251

prune149.0ms (1.7%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New64468
Fresh000
Picked101
Done000
Total65469

Merged error: 19.1b

Counts
69 → 4
Compiler

Compiled 3866 to 1406 computations (63.6% saved)

localize19.0ms (0.2%)

Local error

Found 4 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.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)
30.3b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite25.0ms (0.3%)

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
add-log-exp_binary64 associate-*r*_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 sub-neg_binary64 flip3--_binary64 diff-log_binary64 cancel-sign-sub-inv_binary64 rem-sqrt-square_binary64 flip--_binary64 flip-+_binary64
Counts
4 → 66
Calls

4 calls:

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

series505.0ms (5.6%)

Counts
4 → 12
Calls

4 calls:

260.0ms
(-.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)
54.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
50.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify63.0ms (0.7%)

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049581662
149581662

prune127.0ms (1.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New76278
Fresh033
Picked011
Done000
Total76682

Merged error: 3.2b

Counts
82 → 6
Compiler

Compiled 2720 to 1461 computations (46.3% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (*.f64 (log.f64 (neg.f64 x.re)) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))
0.0b
(exp.f64 (-.f64 (*.f64 (log.f64 (neg.f64 x.re)) y.re) (*.f64 (atan2.f64 x.im x.re) y.im)))
0.2b
(*.f64 (log.f64 (neg.f64 x.re)) y.re)
0.9b
(*.f64 (atan2.f64 x.im x.re) y.im)

rewrite24.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt_binary64
*-un-lft-identity_binary64 add-log-exp_binary64 pow1_binary64 add-cube-cbrt_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
associate-*l*_binary64
associate-*r*_binary64
exp-prod_binary64
pow-prod-down_binary64 sub-neg_binary64 diff-log_binary64 cbrt-unprod_binary64 rem-exp-log_binary64 cancel-sign-sub-inv_binary64 unswap-sqr_binary64 exp-sum_binary64 prod-exp_binary64 *-commutative_binary64
flip3--_binary64 log-pow_binary64 exp-diff_binary64 flip--_binary64
Counts
4 → 64
Calls

4 calls:

5.0ms
(exp.f64 (-.f64 (*.f64 (log.f64 (neg.f64 x.re)) y.re) (*.f64 (atan2.f64 x.im x.re) y.im)))
5.0ms
(*.f64 (log.f64 (neg.f64 x.re)) y.re)
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
4.0ms
(-.f64 (*.f64 (log.f64 (neg.f64 x.re)) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))

series459.0ms (5.1%)

Counts
4 → 12
Calls

4 calls:

168.0ms
(-.f64 (*.f64 (log.f64 (neg.f64 x.re)) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))
167.0ms
(exp.f64 (-.f64 (*.f64 (log.f64 (neg.f64 x.re)) y.re) (*.f64 (atan2.f64 x.im x.re) y.im)))
75.0ms
(*.f64 (log.f64 (neg.f64 x.re)) y.re)
49.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

simplify108.0ms (1.2%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (88.0ms)

IterNodesCost
049871395
149871395

prune102.0ms (1.1%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New75176
Fresh044
Picked011
Done011
Total75782

Merged error: 3.2b

Counts
82 → 7
Compiler

Compiled 2280 to 970 computations (57.5% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (pow.f64 (neg.f64 x.re) y.re) (exp.f64 (*.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)
0.9b
(*.f64 (atan2.f64 x.im x.re) y.im)

rewrite40.0ms (0.4%)

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

4 calls:

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

series355.0ms (3.9%)

Counts
4 → 12
Calls

4 calls:

213.0ms
(/.f64 (pow.f64 (neg.f64 x.re) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))
57.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
44.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
41.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

simplify105.0ms (1.2%)

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
049873671
149873671

prune170.0ms (1.9%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1390139
Fresh044
Picked011
Done022
Total1397146

Merged error: 3.2b

Counts
146 → 7
Compiler

Compiled 6618 to 899 computations (86.4% saved)

regimes334.0ms (3.7%)

Compiler

Compiled 2027 to 1375 computations (32.2% saved)

bsearch161.0ms (1.8%)

Steps
ItersRangePoint
9
-3.3717620368255286e-301
1.3885635823988996e-307
-2.9795338187053e-310
8
-2.6633705815960678
-7.624617286107797e-05
-0.00016347183500136866
Compiler

Compiled 1 to 4 computations (-300% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08096
18096

end0.0ms (0%)

sample3.7s (41.5%)

Algorithm
intervals
Results
1.3s2332×body1024invalid
878.0ms7601×body128valid
336.0ms901×body512invalid
107.0ms405×body256invalid
94.0ms166×body1024valid
67.0ms555×body128invalid
49.0ms124×body512valid
31.0ms34×body2048invalid
23.0ms95×body256valid
16.0ms14×body2048valid
Compiler

Compiled 476 to 314 computations (34% saved)

Profiling

Loading profile data...