Details

Time bar (total: 7.5s)

sample369.0ms

Algorithm
intervals
Results
48.0ms73×body1280valid
24.0ms250×body80valid
18.0ms43×body640valid
5.0ms16×body320valid
2.0msbody2560valid
1.0msbody160valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune17.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.6b

Counts
2 → 2

localize26.0ms

Local error

Found 4 expressions with local error:

2.4b
(* (atan2 x.im x.re) y.im)
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.4b
(sin (+ (* (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
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.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
5.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
9.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series252.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (atan2 x.im x.re) y.im)
37.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
35.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
164.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify76.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0196427
1506390
21139386
32509386
45001386

prune322.0ms

Filtered
68 candidates to 54 candidates (79.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New60868
Fresh101
Picked101
Done000
Total62870

Merged error: 17.4b

Counts
70 → 8

localize28.0ms

Local error

Found 4 expressions with local error:

29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
34.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
34.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

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

series472.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
146.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
142.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
149.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify165.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 4 (54.0ms)

IterNodesCost
0142553
1288487
2611487
31523487
44766486
55002486

prune336.0ms

Filtered
51 candidates to 48 candidates (94.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New51051
Fresh077
Picked011
Done000
Total51859

Merged error: 17.4b

Counts
59 → 8

localize26.0ms

Local error

Found 4 expressions with local error:

29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
35.8b
(cbrt (pow (* (atan2 x.im x.re) y.im) 3))

rewrite32.0ms

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

series249.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
40.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
141.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
32.0ms
(cbrt (pow (* (atan2 x.im x.re) y.im) 3))

simplify80.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 4 (74.0ms)

IterNodesCost
0201447
1502417
21079417
32495417
45002415

prune350.0ms

Filtered
67 candidates to 55 candidates (82.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New66167
Fresh066
Picked101
Done011
Total67875

Merged error: 17.4b

Counts
75 → 8

localize36.0ms

Local error

Found 4 expressions with local error:

29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
35.8b
(cbrt (pow (* (atan2 x.im x.re) y.im) 3))
35.8b
(cbrt (pow (* (atan2 x.im x.re) y.im) 3))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
16×cbrt-prod
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
add-exp-log add-cbrt-cube add-log-exp
sqrt-prod
cube-mult unpow-prod-down pow1/3 sqrt-div unpow3 cube-prod rem-cbrt-cube sqr-pow
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 sin-sum flip-+
Counts
4 → 57
Calls
4 calls:
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
2.0ms
(cbrt (pow (* (atan2 x.im x.re) y.im) 3))
2.0ms
(cbrt (pow (* (atan2 x.im x.re) y.im) 3))

series254.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
143.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
37.0ms
(cbrt (pow (* (atan2 x.im x.re) y.im) 3))
32.0ms
(cbrt (pow (* (atan2 x.im x.re) y.im) 3))

simplify79.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 4 (72.0ms)

IterNodesCost
0201443
1502413
21079413
32495413
45002412

prune368.0ms

Filtered
69 candidates to 54 candidates (78.3%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New69069
Fresh066
Picked011
Done011
Total69877

Merged error: 17.4b

Counts
77 → 8

regimes302.0ms

Accuracy

77.6% (3.1b remaining)

Error of 22.4b against oracle of 19.3b and baseline of 33.2b

bsearch135.0ms

Steps
ItersRangePoint
9
-1.6208289690593208e-305
3.4236090926054554e-305
-5.61375364858452e-309

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03935
13935

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.4s2230×body1280valid
708.0ms7944×body80valid
604.0ms1442×body640valid
159.0ms560×body320valid
67.0ms44×body2560valid
45.0ms242×body160valid