Details

Time bar (total: 8.6s)

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
49%50.8%0.2%13
50.1%49.7%0.2%14

sample133.0ms

Algorithm
intervals
Results
43.0ms58×body1280invalid
28.0ms239×body80valid
22.0ms36×body640invalid
4.0ms11×body320invalid
4.0msbody640valid
4.0msbody2560invalid
3.0msbody320valid
2.0msbody160invalid
2.0ms14×body80invalid
1.0msbody1280valid
0.0msbody160valid

simplify479.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
0493436
1493436

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: 30.6b

Counts
2 → 2

localize25.0ms

Local error

Found 4 expressions with local error:

1.5b
(* (atan2 x.im x.re) y.re)
26.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
26.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
35.1b
(sin (+ (* (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-+
sin-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.re)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
8.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series91.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (atan2 x.im x.re) y.re)
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
73.0ms
(sin (+ (* (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
05128689

prune182.0ms

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

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New561268
Fresh011
Picked101
Done000
Total571370

Merged error: 16.7b

Counts
70 → 13

localize35.0ms

Local error

Found 4 expressions with local error:

26.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
27.3b
(cbrt (+ (* x.re x.re) (* x.im x.im)))
27.3b
(cbrt (+ (* x.re x.re) (* x.im x.im)))
35.1b
(sin (+ (* (log (* (fabs (cbrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (cbrt (+ (* 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
add-cube-cbrt *-un-lft-identity
cbrt-prod
pow1
add-exp-log cbrt-div add-cbrt-cube add-log-exp
flip3-+ sqrt-prod flip-+
pow1/3 sqrt-div
rem-sqrt-square sqrt-pow1 pow1/2 sin-sum
Counts
4 → 49
Calls
4 calls:
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
11.0ms
(sin (+ (* (log (* (fabs (cbrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (cbrt (+ (* x.re x.re) (* x.im x.im)))))) y.im) (* (atan2 x.im x.re) y.re)))

series178.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
22.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
21.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
129.0ms
(sin (+ (* (log (* (fabs (cbrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (cbrt (+ (* x.re x.re) (* x.im x.im)))))) y.im) (* (atan2 x.im x.re) y.re)))

simplify51.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
04881889
14881889

prune190.0ms

Filtered
51 candidates to 61 candidates (-19.6%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New56561
Fresh3912
Picked101
Done000
Total601474

Merged error: 16.6b

Counts
74 → 14

localize37.0ms

Local error

Found 4 expressions with local error:

26.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
27.3b
(cbrt (+ (* x.re x.re) (* x.im x.im)))
29.9b
(pow (+ (* x.re x.re) (* x.im x.im)) 1/3)
35.1b
(sin (+ (* (log (* (fabs (cbrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (pow (+ (* x.re x.re) (* x.im x.im)) 1/3)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
add-exp-log
add-cbrt-cube add-log-exp
cbrt-prod unpow-prod-down pow-unpow sqrt-prod
cbrt-div flip3-+ sqrt-div flip-+
pow-to-exp rem-sqrt-square pow-pow sqrt-pow1 pow1/2 unpow1/3 sin-sum pow1/3 pow-exp sqr-pow
Counts
4 → 54
Calls
4 calls:
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
5.0ms
(pow (+ (* x.re x.re) (* x.im x.im)) 1/3)
11.0ms
(sin (+ (* (log (* (fabs (cbrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (pow (+ (* x.re x.re) (* x.im x.im)) 1/3)))) y.im) (* (atan2 x.im x.re) y.re)))

series177.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
20.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
20.0ms
(pow (+ (* x.re x.re) (* x.im x.im)) 1/3)
130.0ms
(sin (+ (* (log (* (fabs (cbrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (pow (+ (* x.re x.re) (* x.im x.im)) 1/3)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify54.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04863882
14863882

prune220.0ms

Filtered
52 candidates to 66 candidates (-26.9%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New62466
Fresh21113
Picked101
Done000
Total651580

Merged error: 16.6b

Counts
80 → 15

localize46.0ms

Local error

Found 4 expressions with local error:

26.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
27.3b
(cbrt (+ (* x.re x.re) (* x.im x.im)))
29.9b
(pow (+ (* x.re x.re) (* x.im x.im)) 1/3)
35.1b
(sin (+ (* (log (* (fabs (cbrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (pow (+ (* x.re x.re) (* x.im x.im)) 1/3)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
add-exp-log
add-cbrt-cube add-log-exp
cbrt-prod unpow-prod-down pow-unpow sqrt-prod
cbrt-div flip3-+ sqrt-div flip-+
pow-to-exp rem-sqrt-square pow-pow sqrt-pow1 pow1/2 unpow1/3 sin-sum pow1/3 pow-exp sqr-pow
Counts
4 → 54
Calls
4 calls:
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
5.0ms
(pow (+ (* x.re x.re) (* x.im x.im)) 1/3)
12.0ms
(sin (+ (* (log (* (fabs (cbrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (pow (+ (* x.re x.re) (* x.im x.im)) 1/3)))) y.im) (* (atan2 x.im x.re) y.re)))

series179.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
21.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
21.0ms
(pow (+ (* x.re x.re) (* x.im x.im)) 1/3)
130.0ms
(sin (+ (* (log (* (fabs (cbrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (pow (+ (* x.re x.re) (* x.im x.im)) 1/3)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify53.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04863882
14863882

prune167.0ms

Filtered
53 candidates to 66 candidates (-24.5%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New66066
Fresh01414
Picked011
Done000
Total661581

Merged error: 16.6b

Counts
81 → 15

regimes663.0ms

Accuracy

77% (3.1b remaining)

Error of 22.7b against oracle of 19.6b and baseline of 33.1b

bsearch85.0ms

Steps
ItersRangePoint
10
-2.4211875433973154e-301
3.030138394093397e-303
-1.6968397933695e-310

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07065
17065

end0.0ms

sample3.9s

Algorithm
intervals
Results
1.5s2010×body1280invalid
868.0ms7558×body80valid
602.0ms1206×body640invalid
159.0ms456×body320invalid
90.0ms124×body1280valid
84.0ms167×body640valid
70.0ms40×body2560invalid
43.0ms370×body80invalid
41.0ms176×body160invalid
34.0ms91×body320valid
14.0ms60×body160valid

Profiling

Loading profile data...