Details

Time bar (total: 8.4s)

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

sample123.0ms (1.5%)

Algorithm
intervals
Results
48.0ms82×body1024invalid
29.0ms243×body128valid
13.0ms37×body512invalid
3.0msbody512valid
3.0ms26×body128invalid
3.0ms12×body256invalid
2.0msbody1024valid
2.0msbody2048invalid
0.0msbody256valid
Compiler

Compiled 75 to 43 computations (42.7% saved)

simplify210.0ms (2.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (112.0ms)

IterNodesCost
0494472
1494472

prune8.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.0b

Counts
2 → 2
Compiler

Compiled 109 to 57 computations (47.7% saved)

localize29.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

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

series278.0ms (3.3%)

Counts
4 → 12
Calls

4 calls:

208.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)))
25.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
23.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
22.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify117.0ms (1.4%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (96.0ms)

IterNodesCost
048631251
148631251

prune112.0ms (1.3%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New64468
Fresh011
Picked101
Done000
Total65570

Merged error: 16.2b

Counts
70 → 5
Compiler

Compiled 3006 to 826 computations (72.5% saved)

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

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

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

series254.0ms (3%)

Counts
4 → 12
Calls

4 calls:

133.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)))
71.0ms
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
27.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
23.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify82.0ms (1%)

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049531596
149531596

prune103.0ms (1.2%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New77481
Fresh134
Picked011
Done000
Total78886

Merged error: 3.3b

Counts
86 → 8
Compiler

Compiled 2178 to 1029 computations (52.8% saved)

localize25.0ms (0.3%)

Local error

Found 4 expressions with local error:

4.8b
(cbrt.f64 (atan2.f64 x.im x.re))
28.3b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
28.3b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
35.2b
(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.3%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64
pow1_binary64 sqrt-prod_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-div_binary64
cbrt-prod_binary64
flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
pow1/3_binary64 cos-sum_binary64
Counts
4 → 49
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)))
1.0ms
(cbrt.f64 (atan2.f64 x.im x.re))

series272.0ms (3.2%)

Counts
4 → 12
Calls

4 calls:

183.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)))
43.0ms
(cbrt.f64 (atan2.f64 x.im x.re))
25.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
22.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify97.0ms (1.1%)

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
048701143
148701143

prune102.0ms (1.2%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New60161
Fresh066
Picked101
Done011
Total61869

Merged error: 3.3b

Counts
69 → 8
Compiler

Compiled 3394 to 833 computations (75.5% saved)

localize32.0ms (0.4%)

Local error

Found 4 expressions with local error:

4.8b
(cbrt.f64 (atan2.f64 x.im x.re))
28.3b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
28.3b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
35.2b
(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)))

rewrite24.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64
pow1_binary64 sqrt-prod_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-div_binary64
cbrt-prod_binary64
flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
pow1/3_binary64 cos-sum_binary64
Counts
4 → 49
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)))
1.0ms
(cbrt.f64 (atan2.f64 x.im x.re))

series274.0ms (3.3%)

Counts
4 → 12
Calls

4 calls:

183.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)))
44.0ms
(cbrt.f64 (atan2.f64 x.im x.re))
26.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
21.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify96.0ms (1.1%)

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
048701143
148701143

prune102.0ms (1.2%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New60161
Fresh066
Picked011
Done011
Total60969

Merged error: 3.3b

Counts
69 → 9
Compiler

Compiled 3985 to 720 computations (81.9% saved)

regimes416.0ms (4.9%)

Compiler

Compiled 3837 to 2500 computations (34.8% saved)

bsearch240.0ms (2.8%)

Steps
ItersRangePoint
9
-2.6378467169733085e-303
9.88395856728751e-308
-3.36918648162485e-310
8
-2.2810350029924174e-150
-2.5726787852147576e-153
-3.0746072600574835e-153
7
-3.110177977605169e-50
-1.6038460653286676e-51
-2.64822747959788e-50
Compiler

Compiled 1 to 4 computations (-300% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
090153
190153

end0.0ms (0%)

sample3.9s (45.7%)

Algorithm
intervals
Results
1.2s2410×body1024invalid
876.0ms7627×body128valid
326.0ms920×body512invalid
106.0ms444×body256invalid
72.0ms576×body128invalid
72.0ms139×body1024valid
53.0ms150×body512valid
27.0ms32×body2048invalid
18.0ms75×body256valid
7.0msbody2048valid
Compiler

Compiled 867 to 547 computations (36.9% saved)

Profiling

Loading profile data...