Details

Time bar (total: 9.2s)

analyze1.5s (16.2%)

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)

sample114.0ms (1.2%)

Algorithm
intervals
Results
41.0ms76×body1024invalid
29.0ms246×body128valid
9.0ms24×body512invalid
6.0msbody2048invalid
3.0msbody1024valid
2.0ms20×body128invalid
2.0msbody256invalid
1.0msbody2048valid
0.0msbody256valid
0.0msbody512valid
Compiler

Compiled 75 to 43 computations (42.7% saved)

simplify165.0ms (1.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
0494472
1494472

prune8.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
33.3b
Counts
2 → 2
Compiler

Compiled 109 to 57 computations (47.7% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

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

4 calls:

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

series295.0ms (3.2%)

Counts
4 → 12
Calls

4 calls:

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

simplify103.0ms (1.1%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (84.0ms)

IterNodesCost
048741270
148741270

prune118.0ms (1.3%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New61768
Fresh011
Picked101
Done000
Total62870
Error
20.9b
Counts
70 → 8
Compiler

Compiled 3150 to 920 computations (70.8% saved)

localize36.0ms (0.4%)

Local error

Found 4 expressions with local error:

30.2b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.3b
(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)))
31.3b
(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)))
31.3b
(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)))

rewrite31.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)))
6.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)))
6.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)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

series570.0ms (6.2%)

Counts
4 → 12
Calls

4 calls:

189.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)))
180.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)))
179.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)))
21.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify76.0ms (0.8%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
050561579

prune176.0ms (1.9%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New51051
Fresh077
Picked011
Done000
Total51859
Error
20.9b
Counts
59 → 8
Compiler

Compiled 4525 to 2335 computations (48.4% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

1.3b
(*.f64 y.re (atan2.f64 x.im x.re))
30.2b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
30.2b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.3b
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 y.re (atan2.f64 x.im x.re))))

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

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

series252.0ms (2.7%)

Counts
4 → 12
Calls

4 calls:

192.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 y.re (atan2.f64 x.im x.re))))
25.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)))
14.0ms
(*.f64 y.re (atan2.f64 x.im x.re))

simplify101.0ms (1.1%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (83.0ms)

IterNodesCost
048741270
148741270

prune105.0ms (1.1%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New67168
Fresh066
Picked011
Done011
Total67976
Error
20.8b
Counts
76 → 9
Compiler

Compiled 3011 to 840 computations (72.1% saved)

localize25.0ms (0.3%)

Local error

Found 4 expressions with local error:

1.3b
(*.f64 (atan2.f64 x.im x.re) (cbrt.f64 y.re))
30.2b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
30.2b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.6b
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (atan2.f64 x.im x.re) (cbrt.f64 y.re)))))

rewrite28.0ms (0.3%)

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

4 calls:

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

series341.0ms (3.7%)

Counts
4 → 12
Calls

4 calls:

235.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (*.f64 (cbrt.f64 y.re) (cbrt.f64 y.re)) (*.f64 (atan2.f64 x.im x.re) (cbrt.f64 y.re)))))
54.0ms
(*.f64 (atan2.f64 x.im x.re) (cbrt.f64 y.re))
27.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
25.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify71.0ms (0.8%)

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
048831389
148831389

prune96.0ms (1%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New72072
Fresh066
Picked011
Done022
Total72981
Error
20.8b
Counts
81 → 9
Compiler

Compiled 3374 to 742 computations (78% saved)

regimes497.0ms (5.4%)

Accuracy

Total 3.0b remaining (13.3%)

Threshold costs 0b (0%)

Compiler

Compiled 5602 to 3600 computations (35.7% saved)

bsearch106.0ms (1.1%)

Steps
ItersRangePoint
10
-2.3585987502932996e-298
1.2644505533430413e-307
-5.29893804714451e-309
Compiler

Compiled 1 to 4 computations (-300% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
086130
186130

end0.0ms (0%)

sample4.3s (46.7%)

Algorithm
intervals
Results
1.3s2560×body1024invalid
858.0ms7584×body128valid
321.0ms917×body512invalid
161.0ms186×body2048invalid
93.0ms171×body1024valid
84.0ms344×body256invalid
62.0ms521×body128invalid
51.0ms142×body512valid
20.0ms86×body256valid
14.0ms17×body2048valid
Compiler

Compiled 1208 to 760 computations (37.1% saved)

Profiling

Loading profile data...