Details

Time bar (total: 7.4s)

sample380.0ms

Algorithm
intervals
Results
52.0ms80×body1280valid
24.0ms258×body80valid
21.0ms51×body640valid
6.0ms21×body320valid
1.0msbody2560valid
1.0msbody160valid

simplify43.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03521
16317
29817
321717
489517
5500117

prune16.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.1b

Counts
2 → 2

localize26.0ms

Local error

Found 4 expressions with local error:

2.2b
(* (atan2 x.im x.re) y.im)
29.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
112×add-sqr-sqrt
52×hypot-def
32×*-un-lft-identity
24×swap-sqr
21×*-commutative unswap-sqr
16×sqrt-prod
11×associate-*l*
10×distribute-lft-out
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
+-commutative associate-*r*
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 sin-sum flip-+
pow-prod-down prod-exp cbrt-unprod
Counts
4 → 127
Calls
4 calls:
4.0ms
(* (atan2 x.im x.re) y.im)
17.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
26.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
19.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series265.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (atan2 x.im x.re) y.im)
37.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
39.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
169.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify87.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0210490
1537451
21234447
33100447
45002447

prune409.0ms

Filtered
139 candidates to 85 candidates (61.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1327139
Fresh011
Picked101
Done000
Total1338141

Merged error: 18.6b

Counts
141 → 8

localize29.0ms

Local error

Found 4 expressions with local error:

0.7b
(* (atan2 x.im x.re) y.re)
2.2b
(* (atan2 x.im x.re) y.im)
29.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.4b
(sin (+ (* (log (hypot x.im x.re)) y.im) (* (atan2 x.im x.re) y.re)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
26×hypot-def
21×*-un-lft-identity
12×swap-sqr *-commutative unswap-sqr
10×associate-*l*
pow1 add-cube-cbrt
add-exp-log sqrt-prod add-cbrt-cube
associate-*r*
distribute-lft-out
expm1-log1p-u log1p-expm1-u add-log-exp
+-commutative sin-sum sqrt-div pow-prod-down prod-exp cbrt-unprod
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 99
Calls
4 calls:
3.0ms
(* (atan2 x.im x.re) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)
17.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
15.0ms
(sin (+ (* (log (hypot x.im x.re)) y.im) (* (atan2 x.im x.re) y.re)))

series237.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0257413
1699372
21662370
33909370
45001370

prune379.0ms

Filtered
111 candidates to 72 candidates (64.9%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1029111
Fresh527
Picked101
Done000
Total10811119

Merged error: 2.7b

Counts
119 → 11

localize23.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (log (hypot x.im x.re)) y.im)
0.7b
(* (atan2 x.im x.re) y.re)
2.2b
(* (atan2 x.im x.re) y.im)
30.4b
(sin (+ (* (log (hypot x.im x.re)) y.im) (* (atan2 x.im x.re) y.re)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
11×pow1
10×add-exp-log add-cube-cbrt *-un-lft-identity associate-*l* add-cbrt-cube
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
sin-sum
+-commutative log-pow
Counts
4 → 72
Calls
4 calls:
4.0ms
(* (log (hypot x.im x.re)) y.im)
3.0ms
(* (atan2 x.im x.re) y.re)
4.0ms
(* (atan2 x.im x.re) y.im)
14.0ms
(sin (+ (* (log (hypot x.im x.re)) y.im) (* (atan2 x.im x.re) y.re)))

series304.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(* (log (hypot x.im x.re)) y.im)
17.0ms
(* (atan2 x.im x.re) y.re)
17.0ms
(* (atan2 x.im x.re) y.im)
161.0ms
(sin (+ (* (log (hypot x.im x.re)) y.im) (* (atan2 x.im x.re) y.re)))

simplify76.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0224416
1695367
21606365
32854365
45001365

prune361.0ms

Filtered
84 candidates to 62 candidates (73.8%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New691584
Fresh9110
Picked101
Done000
Total791695

Merged error: 2.4b

Counts
95 → 16

localize28.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (log (hypot x.im x.re)))
0.7b
(* (atan2 x.im x.re) y.re)
2.2b
(* (atan2 x.im x.re) y.im)
30.3b
(sin (+ (* (* (cbrt (log (hypot x.im x.re))) (cbrt (log (hypot x.im x.re)))) (* (cbrt (log (hypot x.im x.re))) y.im)) (* (atan2 x.im x.re) y.re)))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube
associate-*r* associate-*l*
cbrt-prod expm1-log1p-u log1p-expm1-u add-log-exp
sin-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative pow1/3 log-pow
Counts
4 → 65
Calls
4 calls:
1.0ms
(cbrt (log (hypot x.im x.re)))
3.0ms
(* (atan2 x.im x.re) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)
69.0ms
(sin (+ (* (* (cbrt (log (hypot x.im x.re))) (cbrt (log (hypot x.im x.re)))) (* (cbrt (log (hypot x.im x.re))) y.im)) (* (atan2 x.im x.re) y.re)))

series348.0ms

Counts
4 → 12
Calls
4 calls:
154.0ms
(cbrt (log (hypot x.im x.re)))
17.0ms
(* (atan2 x.im x.re) y.re)
17.0ms
(* (atan2 x.im x.re) y.im)
160.0ms
(sin (+ (* (* (cbrt (log (hypot x.im x.re))) (cbrt (log (hypot x.im x.re)))) (* (cbrt (log (hypot x.im x.re))) y.im)) (* (atan2 x.im x.re) y.re)))

simplify65.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
0205536
1538474
21209472
32124470
45001470

prune302.0ms

Filtered
77 candidates to 58 candidates (75.3%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New72577
Fresh31215
Picked101
Done000
Total761793

Merged error: 2.3b

Counts
93 → 17

regimes430.0ms

Accuracy

0% (0.7b remaining)

Error of 3.8b against oracle of 3.1b and baseline of 3.8b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03736
13936
23936

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.4s2244×body1280valid
696.0ms7932×body80valid
591.0ms1447×body640valid
162.0ms578×body320valid
65.0ms44×body2560valid
44.0ms241×body160valid