Details

Time bar (total: 13.0s)

analyze1.8s (14%)

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)

sample153.0ms (1.2%)

Algorithm
intervals
Results
45.0ms59×body1024invalid
41.0ms240×body128valid
17.0ms31×body512invalid
12.0msbody1024valid
4.0ms14×body256invalid
4.0msbody512valid
2.0msbody128invalid
1.0msbody2048invalid
Compiler

Compiled 75 to 43 computations (42.7% saved)

simplify184.0ms (1.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
0494472
1494472

prune8.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
32.9b
Counts
2 → 1
Compiler

Compiled 73 to 38 computations (47.9% saved)

localize50.0ms (0.4%)

Local error

Found 4 expressions with local error:

2.3b
(*.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)))
30.9b
(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)))

rewrite131.0ms (1%)

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

4 calls:

15.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)))
8.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
8.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
7.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
Compiler

Compiled 2594 to 353 computations (86.4% saved)

series783.0ms (6%)

Error
20.9b
Counts
4 → 50
Calls

4 calls:

327.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)))
162.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
136.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
84.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
Compiler

Compiled 5269 to 2666 computations (49.4% saved)

simplify102.0ms (0.8%)

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
050752052

prune201.0ms (1.5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New997106
Fresh000
Picked101
Done000
Total1007107
Error
20.9b
Counts
107 → 7
Compiler

Compiled 4544 to 1237 computations (72.8% saved)

localize27.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.7b
(*.f64 y.re (atan2.f64 x.im x.re))
2.3b
(*.f64 (atan2.f64 x.im x.re) y.im)
16.4b
(cos.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
29.0b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite94.0ms (0.7%)

Algorithm
rewrite-expression-head
Error
20.9b
Rules
14×add-sqr-sqrt_binary64
pow1_binary64 add-cube-cbrt_binary64 *-un-lft-identity_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
associate-*l*_binary64 associate-*r*_binary64
add-log-exp_binary64
sqrt-prod_binary64
sqrt-div_binary64 pow-prod-down_binary64 prod-exp_binary64 cbrt-unprod_binary64 unswap-sqr_binary64 *-commutative_binary64
pow1/2_binary64 sqrt-pow1_binary64 flip3-+_binary64 flip-+_binary64 rem-sqrt-square_binary64
Counts
4 → 58
Calls

4 calls:

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

Compiled 1851 to 341 computations (81.6% saved)

series517.0ms (4%)

Error
4.1b
Counts
4 → 45
Calls

4 calls:

163.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
154.0ms
(cos.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
78.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
75.0ms
(*.f64 y.re (atan2.f64 x.im x.re))
Compiler

Compiled 3270 to 1723 computations (47.3% saved)

simplify100.0ms (0.8%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
051451447

prune142.0ms (1.1%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New985103
Fresh156
Picked101
Done000
Total10010110
Error
4.1b
Counts
110 → 10
Compiler

Compiled 3209 to 837 computations (73.9% saved)

localize19.0ms (0.1%)

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

rewrite111.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
4.1b
Rules
15×add-sqr-sqrt_binary64
11×pow1_binary64
10×add-cube-cbrt_binary64 *-un-lft-identity_binary64
associate-*l*_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64
associate-*r*_binary64
sqrt-prod_binary64 log-pow_binary64 exp-prod_binary64
pow1/2_binary64 sqrt-pow1_binary64 sqrt-div_binary64 pow-prod-down_binary64 prod-exp_binary64 cbrt-unprod_binary64 unswap-sqr_binary64 *-commutative_binary64 exp-sum_binary64 rem-exp-log_binary64
flip3-+_binary64 flip-+_binary64 rem-sqrt-square_binary64 exp-diff_binary64 sub-neg_binary64 cancel-sign-sub-inv_binary64 diff-log_binary64
Counts
4 → 69
Calls

4 calls:

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

Compiled 1980 to 478 computations (75.9% saved)

series976.0ms (7.5%)

Error
4.1b
Counts
4 → 57
Calls

4 calls:

367.0ms
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
273.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)))
183.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
83.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
Compiler

Compiled 3589 to 2597 computations (27.6% saved)

simplify94.0ms (0.7%)

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049672611
149672611

prune233.0ms (1.8%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1233126
Fresh369
Picked101
Done000
Total1279136
Error
4.1b
Counts
136 → 9
Compiler

Compiled 3229 to 1566 computations (51.5% saved)

localize20.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite105.0ms (0.8%)

Algorithm
rewrite-expression-head
Error
4.1b
Rules
22×add-sqr-sqrt_binary64
21×times-frac_binary64
20×add-cube-cbrt_binary64 *-un-lft-identity_binary64
12×unpow-prod-down_binary64
associate-/l*_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
pow1_binary64 sqr-pow_binary64
associate-*l*_binary64 associate-*r*_binary64 div-exp_binary64 associate-/r*_binary64
add-log-exp_binary64
pow-prod-down_binary64 prod-exp_binary64 cbrt-unprod_binary64 unswap-sqr_binary64 *-commutative_binary64 pow-to-exp_binary64 pow-exp_binary64 cbrt-undiv_binary64 frac-2neg_binary64 clear-num_binary64 div-inv_binary64
Counts
2 → 63
Calls

2 calls:

11.0ms
(/.f64 (pow.f64 x.re y.re) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re))))
8.0ms
(*.f64 y.im (atan2.f64 x.im x.re))
Compiler

Compiled 1369 to 388 computations (71.7% saved)

series564.0ms (4.3%)

Error
4.1b
Counts
2 → 25
Calls

2 calls:

464.0ms
(/.f64 (pow.f64 x.re y.re) (exp.f64 (*.f64 y.im (atan2.f64 x.im x.re))))
84.0ms
(*.f64 y.im (atan2.f64 x.im x.re))
Compiler

Compiled 1054 to 685 computations (35% saved)

simplify68.0ms (0.5%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
050802299

prune76.0ms (0.6%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New87188
Fresh088
Picked011
Done000
Total871097
Error
4.1b
Counts
97 → 10
Compiler

Compiled 1651 to 429 computations (74% saved)

regimes878.0ms (6.7%)

Accuracy

Total 2.5b remaining (43.4%)

Threshold costs 0b (0%)

Compiler

Compiled 5892 to 3865 computations (34.4% saved)

bsearch226.0ms (1.7%)

Steps
ItersRangePoint
10
0.09278592785433953
2.213554645757965e+16
44576286.08340377
5
-0.9332362811806418
-0.2747176610643982
-0.28162235605699076
Compiler

Compiled 1 to 4 computations (-300% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06584
16584

end0.0ms (0%)

sample5.4s (41.1%)

Algorithm
intervals
Results
1.5s2418×body1024invalid
1.1s7615×body128valid
432.0ms1000×body512invalid
120.0ms442×body256invalid
117.0ms183×body1024valid
76.0ms519×body128invalid
58.0ms136×body512valid
42.0ms45×body2048invalid
15.0ms55×body256valid
9.0ms11×body2048valid
Compiler

Compiled 1243 to 809 computations (34.9% saved)

Profiling

Loading profile data...