Details

Time bar (total: 7.9s)

analyze1.5s

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

sample157.0ms

Algorithm
intervals
Results
58.0ms72×body1280invalid
31.0ms57×body640invalid
29.0ms244×body80valid
6.0ms17×body320invalid
4.0msbody1280valid
2.0msbody160invalid
2.0ms13×body80invalid
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify461.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
0493436
1493436

prune24.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 32.0b

Counts
2 → 1

localize24.0ms

Local error

Found 4 expressions with local error:

0.8b
(* (atan2 x.im x.re) y.im)
28.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
36.4b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

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

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

simplify43.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
05029677

prune117.0ms

Filtered
56 candidates to 68 candidates (-21.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New64468
Fresh000
Picked101
Done000
Total65469

Merged error: 16.9b

Counts
69 → 4

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)
0.8b
(* (atan2 x.im x.re) y.im)
28.7b
(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 → 65
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)
3.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series72.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))
24.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)))

simplify48.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
04931892
14931892

prune113.0ms

Filtered
57 candidates to 77 candidates (-35.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New74377
Fresh123
Picked101
Done000
Total76581

Merged error: 3.0b

Counts
81 → 5

localize26.0ms

Local error

Found 4 expressions with local error:

0.8b
(* (atan2 x.im x.re) y.im)
28.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
36.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)))

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

simplify42.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05029677

prune111.0ms

Filtered
56 candidates to 68 candidates (-21.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New68068
Fresh044
Picked011
Done000
Total68573

Merged error: 3.0b

Counts
73 → 5

localize32.0ms

Local error

Found 4 expressions with local error:

28.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
36.4b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
36.4b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
36.4b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube add-log-exp
cos-sum sqrt-prod
sqrt-div
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 39
Calls
4 calls:
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)))
6.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
7.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series158.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
04993815
14993815

prune78.0ms

Filtered
48 candidates to 51 candidates (-6.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New51051
Fresh033
Picked011
Done011
Total51556

Merged error: 3.0b

Counts
56 → 5

regimes405.0ms

Accuracy

79.2% (6.2b remaining)

Error of 9.7b against oracle of 3.6b and baseline of 33.2b

bsearch243.0ms

Steps
ItersRangePoint
8
-3.7591087908186454e-308
1.799430090699395e-305
2.6534303601141e-310
7
-2.626930248556243e-251
-1.546630436647418e-252
-1.224739100076943e-251
9
-8.024628315581496e-220
-4.941262015845708e-227
-5.040043558198871e-227

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08167
18167

end0.0ms

sample3.9s

Algorithm
intervals
Results
1.4s1963×body1280invalid
894.0ms7564×body80valid
672.0ms1310×body640invalid
194.0ms537×body320invalid
91.0ms120×body1280valid
76.0ms149×body640valid
56.0ms232×body160invalid
45.0ms375×body80invalid
35.0ms95×body320valid
18.0ms72×body160valid

Profiling

Loading profile data...