Details

Time bar (total: 12.6s)

sample3.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0.183105%

Guaranteed chance to sample good point: 64.693653%

Results
40.0ms56×body1280invalid
31.0ms235×body80valid
17.0ms36×body640invalid
6.0ms17×body320invalid
4.0msbody640valid
3.0msbody1280valid
2.0msbody160invalid
2.0ms13×body80invalid
1.0msbody320valid
1.0msbody160valid

simplify394.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune20.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: 35.4b

Counts
2 → 2

localize23.0ms

Local error

Found 4 expressions with local error:

1.2b
(* (atan2 x.im x.re) y.im)
30.9b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.9b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.1b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite20.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)))
8.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series90.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)))
72.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
45001387

prune119.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New63568
Fresh101
Picked101
Done000
Total65570

Merged error: 21.8b

Counts
70 → 5

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

rewrite19.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:
3.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)
3.0ms
(* (atan2 x.im x.re) y.im)
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series70.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))
22.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
6.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 (25.0ms)

IterNodesCost
0307551
1925510
22748491
35002491

prune118.0ms

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

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New75378
Fresh044
Picked011
Done000
Total75883

Merged error: 4.5b

Counts
83 → 8

localize13.0ms

Local error

Found 2 expressions with local error:

0.2b
(* (log x.re) y.re)
1.2b
(* (atan2 x.im x.re) y.im)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
pow1 associate-*l*
add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* add-cbrt-cube
pow-prod-down prod-exp *-commutative cbrt-unprod add-log-exp unswap-sqr
log-pow
Counts
2 → 37
Calls
2 calls:
4.0ms
(* (log x.re) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)

series16.0ms

Counts
2 → 6
Calls
2 calls:
10.0ms
(* (log x.re) y.re)
6.0ms
(* (atan2 x.im x.re) y.im)

simplify113.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0142156
1491135
21219128
33534128
45001128

prune69.0ms

Filtered
26 candidates to 43 candidates (-65.4%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New43043
Fresh066
Picked011
Done011
Total43851

Merged error: 4.5b

Counts
51 → 8

localize25.0ms

Local error

Found 4 expressions with local error:

1.2b
(* (atan2 x.im x.re) y.im)
30.9b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.9b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.1b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

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

series69.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)))
52.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify79.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0199426
1523389
21179387
32665387
45002387

prune94.0ms

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

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New65368
Fresh325
Picked011
Done022
Total68876

Merged error: 4.5b

Counts
76 → 8

regimes431.0ms

Accuracy

68.3% (5.2b remaining)

Error of 8.8b against oracle of 3.7b and baseline of 20.0b

bsearch82.0ms

Steps
ItersRangePoint
9
-2.39638253738344e-305
1.5904371949932397e-304
3.2929543682718e-310

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03115
13515
23515

end0.0ms

sample7.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0.183105%

Guaranteed chance to sample good point: 64.693653%

Results
1.3s1802×body1280invalid
830.0ms7534×body80valid
612.0ms1261×body640invalid
192.0ms573×body320invalid
98.0ms140×body1280valid
76.0ms160×body640valid
52.0ms415×body80invalid
52.0ms236×body160invalid
39.0ms106×body320valid
14.0ms60×body160valid

Profiling

Loading profile data...