Details

Time bar (total: 14.3s)

sample4.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0.439453%

Guaranteed chance to sample good point: 55.118931%

Results
33.0ms245×body80valid
32.0ms46×body1280invalid
21.0ms44×body640invalid
5.0ms16×body320invalid
5.0msbody1280valid
2.0ms10×body160invalid
2.0ms13×body80invalid
1.0msbody320valid
0.0msbody640valid
0.0msbody160valid

simplify395.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune19.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.8b

Counts
2 → 2

localize43.0ms

Local error

Found 4 expressions with local error:

2.1b
(* (atan2 x.im x.re) y.im)
30.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.4b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log sqrt-prod add-cbrt-cube
sqrt-div add-log-exp
associate-*r* associate-*l*
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
cos-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 56
Calls
4 calls:
3.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
10.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series105.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* (atan2 x.im x.re) y.im)
11.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
80.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify83.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0199426
1523389
21179387
32665387
45002387

prune125.0ms

Filtered
54 candidates to 68 candidates (-25.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New63568
Fresh011
Picked101
Done000
Total64670

Merged error: 20.8b

Counts
70 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))
0.3b
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
2.1b
(* (atan2 x.im x.re) y.im)
30.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×pow1
add-cube-cbrt *-un-lft-identity associate-*l*
add-exp-log add-cbrt-cube
associate-*r* add-log-exp
sqrt-prod log-pow
sqrt-pow1 pow1/2 sqrt-div pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
sub-neg rem-sqrt-square flip3-- flip3-+ diff-log flip-- flip-+
Counts
4 → 66
Calls
4 calls:
4.0ms
(- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))
5.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
4.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series78.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))
24.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
7.0ms
(* (atan2 x.im x.re) y.im)
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify81.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0307551
1925510
22748491
35002491

prune125.0ms

Filtered
55 candidates to 78 candidates (-41.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New75378
Fresh055
Picked011
Done000
Total75984

Merged error: 2.9b

Counts
84 → 9

localize24.0ms

Local error

Found 4 expressions with local error:

2.1b
(* (atan2 x.im x.re) y.im)
30.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.4b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log sqrt-prod add-cbrt-cube
sqrt-div add-log-exp
associate-*r* associate-*l*
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
cos-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 56
Calls
4 calls:
3.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series75.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (atan2 x.im x.re) y.im)
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
57.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify82.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0199426
1523389
21179387
32665387
45002387

prune145.0ms

Filtered
54 candidates to 68 candidates (-25.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New67168
Fresh077
Picked101
Done011
Total68977

Merged error: 2.9b

Counts
77 → 9

localize25.0ms

Local error

Found 4 expressions with local error:

2.1b
(* (atan2 x.im x.re) y.im)
30.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.4b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log sqrt-prod add-cbrt-cube
sqrt-div add-log-exp
associate-*r* associate-*l*
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
cos-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 56
Calls
4 calls:
3.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
7.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series76.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (atan2 x.im x.re) y.im)
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
57.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify84.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0199426
1523389
21179387
32665387
45002387

prune95.0ms

Filtered
54 candidates to 68 candidates (-25.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New67168
Fresh077
Picked101
Done011
Total68977

Merged error: 2.9b

Counts
77 → 9

regimes434.0ms

Accuracy

65.8% (5.5b remaining)

Error of 9.3b against oracle of 3.9b and baseline of 19.8b

bsearch283.0ms

Steps
ItersRangePoint
10
-3.2439133452398597e-305
6.515099016538699e-299
3.2994388420259e-310
6
-3.958580856072586e-192
-6.774811945833791e-193
-1.451418121449186e-192
8
-2.5085439748189628e-58
-1.434935671644135e-62
-2.8036328029487993e-59

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04934
15534
25534

end0.0ms

sample7.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0.439453%

Guaranteed chance to sample good point: 55.118931%

Results
1.2s1794×body1280invalid
835.0ms7509×body80valid
637.0ms1363×body640invalid
176.0ms516×body320invalid
92.0ms131×body1280valid
81.0ms159×body640valid
52.0ms237×body160invalid
48.0ms124×body320valid
43.0ms351×body80invalid
17.0ms77×body160valid

Profiling

Loading profile data...