Details

Time bar (total: 6.4s)

sample384.0ms

Algorithm
intervals
Results
37.0ms61×body1280valid
24.0ms259×body80valid
14.0ms36×body640valid
6.0ms23×body320valid
2.0ms12×body160valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune28.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: 33.6b

Counts
2 → 2

localize26.0ms

Local error

Found 4 expressions with local error:

1.1b
(* (atan2 x.im x.re) y.im)
30.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.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)))

series240.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0191422
1501385
21134381
32496381
45001381

prune298.0ms

Filtered
68 candidates to 54 candidates (79.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New66268
Fresh011
Picked101
Done000
Total67370

Merged error: 18.5b

Counts
70 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im)))
0.2b
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
1.1b
(* (atan2 x.im x.re) y.im)
30.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
11×pow1
10×add-cube-cbrt *-un-lft-identity
associate-*l*
add-exp-log add-cbrt-cube
add-log-exp
associate-*r*
exp-prod sqrt-prod log-pow
sqrt-pow1 pow1/2 sqrt-div exp-sum pow-prod-down prod-exp *-commutative cbrt-unprod rem-exp-log unswap-sqr
sub-neg rem-sqrt-square flip3-+ exp-diff diff-log flip-+
Counts
4 → 69
Calls
4 calls:
5.0ms
(exp (- (* (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)))

series231.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im)))
88.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
16.0ms
(* (atan2 x.im x.re) y.im)
35.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify59.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0280545
1825486
22118481
35001481

prune272.0ms

Filtered
81 candidates to 60 candidates (74.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New77481
Fresh022
Picked101
Done000
Total78684

Merged error: 2.6b

Counts
84 → 6

localize23.0ms

Local error

Found 4 expressions with local error:

1.1b
(* (atan2 x.im x.re) y.im)
30.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log sqrt-div add-cbrt-cube
add-log-exp
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 associate-*r* associate-*l* flip-+
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 63
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)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series119.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (atan2 x.im x.re) y.im)
34.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
37.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify67.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0145374
1428355
21017352
32145352
45002352

prune366.0ms

Filtered
75 candidates to 58 candidates (77.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New75075
Fresh055
Picked011
Done000
Total75681

Merged error: 2.6b

Counts
81 → 6

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(exp (- (* (log (* -1 x.re)) y.re) (* (atan2 x.im x.re) y.im)))
0.1b
(* (log (* -1 x.re)) y.re)
1.1b
(* (atan2 x.im x.re) y.im)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×pow1
add-cube-cbrt *-un-lft-identity associate-*l*
add-exp-log add-cbrt-cube
associate-*r* add-log-exp
exp-prod pow-prod-down
exp-sum prod-exp log-pow *-commutative cbrt-unprod rem-exp-log unswap-sqr
sub-neg exp-diff diff-log
Counts
3 → 53
Calls
3 calls:
5.0ms
(exp (- (* (log (* -1 x.re)) y.re) (* (atan2 x.im x.re) y.im)))
5.0ms
(* (log (* -1 x.re)) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)

series146.0ms

Counts
3 → 9
Calls
3 calls:
66.0ms
(exp (- (* (log (* -1 x.re)) y.re) (* (atan2 x.im x.re) y.im)))
65.0ms
(* (log (* -1 x.re)) y.re)
16.0ms
(* (atan2 x.im x.re) y.im)

simplify61.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0214325
1697283
22959278
35001278

prune150.0ms

Filtered
62 candidates to 41 candidates (66.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New60262
Fresh044
Picked101
Done011
Total61768

Merged error: 2.6b

Counts
68 → 7

regimes247.0ms

Accuracy

63.4% (5.8b remaining)

Error of 9.4b against oracle of 3.6b and baseline of 19.6b

bsearch399.0ms

Steps
ItersRangePoint
8
1.0396897626580026e-14
1.8250189704727073e-11
1.309115862754305e-12
7
-2.366385312335927e-299
-3.6062401743320616e-301
-3.2093552099949914e-300
9
-9.867827724405996e-246
-2.9078429832612246e-251
-3.0524264572824694e-246
8
-1.989278530209094e-41
-1.2878477493320859e-44
-2.727557833043315e-42

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
070119
178119
278119

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.2s2040×body1280valid
677.0ms7963×body80valid
560.0ms1442×body640valid
186.0ms683×body320valid
55.0ms293×body160valid