Details

Time bar (total: 11.7s)

analyze1.6s (13.7%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05006504
044
144
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)

sample119.0ms (1%)

Algorithm
intervals
Results
40.0ms77×body1024invalid
28.0ms244×body128valid
16.0ms31×body512invalid
3.0msbody1024valid
3.0msbody2048invalid
2.0msbody256invalid
2.0ms15×body128invalid
1.0msbody512valid
0.0msbody256valid
Compiler

Compiled 75 to 43 computations (42.7% saved)

simplify65.0ms (0.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (58.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.0b
Counts
2 → 1
Compiler

Compiled 73 to 38 computations (47.9% saved)

localize27.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite102.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
31.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
sin-sum_binary64 pow-prod-down_binary64 prod-exp_binary64 cbrt-unprod_binary64 unswap-sqr_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)))
3.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
Compiler

Compiled 2594 to 353 computations (86.4% saved)

series743.0ms (6.3%)

Error
18.6b
Counts
4 → 61
Calls

4 calls:

311.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)))
145.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
141.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
70.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
Compiler

Compiled 6435 to 3289 computations (48.9% saved)

simplify91.0ms (0.8%)

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
049492415
149492415

prune177.0ms (1.5%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1107117
Fresh000
Picked011
Done000
Total1108118
Error
18.6b
Counts
118 → 8
Compiler

Compiled 5039 to 1393 computations (72.4% saved)

localize18.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.6b
(*.f64 y.re (atan2.f64 x.im x.re))
1.8b
(*.f64 (atan2.f64 x.im x.re) y.im)
19.9b
(sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
28.6b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite79.0ms (0.7%)

Algorithm
rewrite-expression-head
Error
18.6b
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)
3.0ms
(*.f64 y.re (atan2.f64 x.im x.re))
1.0ms
(sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
Compiler

Compiled 1851 to 341 computations (81.6% saved)

series463.0ms (3.9%)

Error
8.3b
Counts
4 → 47
Calls

4 calls:

143.0ms
(sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
134.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
72.0ms
(*.f64 y.re (atan2.f64 x.im x.re))
68.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
Compiler

Compiled 3474 to 1820 computations (47.6% saved)

simplify64.0ms (0.5%)

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
050511533

prune122.0ms (1%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1005105
Fresh156
Picked101
Done011
Total10211113
Error
8.3b
Counts
113 → 11
Compiler

Compiled 3324 to 866 computations (73.9% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

19.9b
(sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
19.9b
(sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
19.9b
(sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
28.6b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite59.0ms (0.5%)

Algorithm
rewrite-expression-head
Error
8.3b
Rules
add-sqr-sqrt_binary64
pow1_binary64 add-cube-cbrt_binary64 *-un-lft-identity_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
sqrt-prod_binary64
sqrt-div_binary64
pow1/2_binary64 sqrt-pow1_binary64 flip3-+_binary64 flip-+_binary64 rem-sqrt-square_binary64
Counts
4 → 36
Calls

4 calls:

4.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
2.0ms
(sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
2.0ms
(sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
2.0ms
(sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
Compiler

Compiled 1803 to 225 computations (87.5% saved)

series627.0ms (5.3%)

Error
8.3b
Counts
4 → 51
Calls

4 calls:

145.0ms
(sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
145.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
140.0ms
(sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
138.0ms
(sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
Compiler

Compiled 6171 to 2327 computations (62.3% saved)

simplify48.0ms (0.4%)

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
050361503

prune128.0ms (1.1%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New84387
Fresh099
Picked101
Done011
Total851398
Error
8.3b
Counts
98 → 13
Compiler

Compiled 4408 to 903 computations (79.5% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

1.8b
(*.f64 (atan2.f64 x.im x.re) y.im)
19.9b
(sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
21.9b
(cbrt.f64 (pow.f64 (sin.f64 (*.f64 y.re (atan2.f64 x.im x.re))) 3))
28.6b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite90.0ms (0.8%)

Algorithm
rewrite-expression-head
Error
8.3b
Rules
13×add-sqr-sqrt_binary64
12×cbrt-prod_binary64
10×add-cube-cbrt_binary64 *-un-lft-identity_binary64
pow1_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64
sqrt-prod_binary64 unpow-prod-down_binary64 cube-prod_binary64 associate-*l*_binary64 associate-*r*_binary64
sqrt-div_binary64
pow1/2_binary64 sqrt-pow1_binary64 flip3-+_binary64 flip-+_binary64 rem-sqrt-square_binary64 pow1/3_binary64 unpow3_binary64 cube-mult_binary64 sqr-pow_binary64 rem-cbrt-cube_binary64 pow-prod-down_binary64 prod-exp_binary64 cbrt-unprod_binary64 unswap-sqr_binary64 *-commutative_binary64
Counts
4 → 61
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)
3.0ms
(cbrt.f64 (pow.f64 (sin.f64 (*.f64 y.re (atan2.f64 x.im x.re))) 3))
2.0ms
(sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
Compiler

Compiled 2218 to 548 computations (75.3% saved)

series539.0ms (4.6%)

Error
8.3b
Counts
4 → 49
Calls

4 calls:

143.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
136.0ms
(sin.f64 (*.f64 y.re (atan2.f64 x.im x.re)))
134.0ms
(cbrt.f64 (pow.f64 (sin.f64 (*.f64 y.re (atan2.f64 x.im x.re))) 3))
74.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
Compiler

Compiled 3975 to 2243 computations (43.6% saved)

simplify75.0ms (0.6%)

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049751823
149751823

prune117.0ms (1%)

Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1082110
Fresh2911
Picked011
Done011
Total11013123
Error
8.3b
Counts
123 → 13
Compiler

Compiled 3441 to 935 computations (72.8% saved)

regimes934.0ms (8%)

Accuracy

Total 9.1b remaining (44.9%)

Threshold costs 0b (0%)

Compiler

Compiled 8577 to 5140 computations (40.1% saved)

bsearch539.0ms (4.6%)

Steps
ItersRangePoint
9
3.9114342229993193e+34
4.086884602139325e+40
1.940140996050804e+35
11
2.6004801754656126e-27
5.6835582021404e-07
2.8096680029547107e-08
8
5.854082601081246e-207
1.3353555378181721e-202
9.796633468730483e-206
6
1.8763441476998993e-234
2.769153309692791e-233
8.893872608083424e-234
9
3.7878786117665445e-280
2.3184505065112856e-273
5.999233792908306e-275
9
-1.9389857324274015e-298
-1.0908876198779331e-303
-2.2880081199411094e-302
5
-2.6265830174837794e+155
-9.298603617485253e+154
-9.423511434206789e+154
Compiler

Compiled 1 to 4 computations (-300% saved)

simplify8.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0145491
1145491

end0.0ms (0%)

sample4.8s (41.3%)

Algorithm
intervals
Results
1.3s2455×body1024invalid
882.0ms7554×body128valid
339.0ms925×body512invalid
155.0ms175×body2048invalid
104.0ms188×body1024valid
72.0ms310×body256invalid
72.0ms549×body128invalid
59.0ms156×body512valid
22.0ms91×body256valid
9.0ms11×body2048valid
Compiler

Compiled 1987 to 1109 computations (44.2% saved)

Profiling

Loading profile data...