Details

Time bar (total: 6.6s)

sample375.0ms

Algorithm
intervals
Results
41.0ms67×body1280valid
35.0ms59×body640valid
26.0ms263×body80valid
6.0ms21×body320valid
2.0ms10×body160valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03521
16317
29817
321717
489517
5500117

prune13.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 35.1b

Counts
2 → 1

localize25.0ms

Local error

Found 4 expressions with local error:

1.7b
(* (atan2 x.im x.re) y.im)
31.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.5b
(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
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
associate-*r* associate-*l*
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+ hypot-def
cos-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 66
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)))

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

simplify81.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0207456
1556415
21286411
32863411
45002411

prune331.0ms

Filtered
78 candidates to 66 candidates (84.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New75378
Fresh000
Picked101
Done000
Total76379

Merged error: 19.4b

Counts
79 → 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.7b
(* (atan2 x.im x.re) y.im)
31.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite19.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*
expm1-log1p-u log1p-expm1-u
exp-prod exp-sum sqrt-prod log-pow
sqrt-pow1 pow1/2 sqrt-div pow-prod-down prod-exp *-commutative cbrt-unprod rem-exp-log unswap-sqr
sub-neg rem-sqrt-square flip3-+ exp-diff diff-log prod-diff flip-+ hypot-def
Counts
4 → 79
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)))

series234.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)
38.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify66.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0308585
1921522
22504484
35002467

prune276.0ms

Filtered
91 candidates to 74 candidates (81.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New89291
Fresh022
Picked011
Done000
Total89594

Merged error: 4.2b

Counts
94 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (log (hypot x.re x.im)) y.re) (* (atan2 x.im x.re) y.im))
0.0b
(exp (- (* (log (hypot x.re x.im)) y.re) (* (atan2 x.im x.re) y.im)))
0.2b
(* (log (hypot x.re x.im)) y.re)
1.7b
(* (atan2 x.im x.re) y.im)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity add-log-exp
add-exp-log add-cbrt-cube
associate-*l*
associate-*r*
expm1-log1p-u log1p-expm1-u
exp-prod exp-sum
sub-neg diff-log prod-diff pow-prod-down prod-exp *-commutative cbrt-unprod rem-exp-log unswap-sqr
flip3-- exp-diff fma-neg log-pow flip--
Counts
4 → 75
Calls
4 calls:
4.0ms
(- (* (log (hypot x.re x.im)) y.re) (* (atan2 x.im x.re) y.im))
4.0ms
(exp (- (* (log (hypot x.re x.im)) y.re) (* (atan2 x.im x.re) y.im)))
4.0ms
(* (log (hypot x.re x.im)) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)

series346.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(- (* (log (hypot x.re x.im)) y.re) (* (atan2 x.im x.re) y.im))
99.0ms
(exp (- (* (log (hypot x.re x.im)) y.re) (* (atan2 x.im x.re) y.im)))
99.0ms
(* (log (hypot x.re x.im)) y.re)
16.0ms
(* (atan2 x.im x.re) y.im)

simplify81.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0265517
1869474
22937463
35001458

prune228.0ms

Filtered
87 candidates to 65 candidates (74.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New86187
Fresh033
Picked011
Done011
Total86692

Merged error: 4.2b

Counts
92 → 6

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (exp (- (* (log (hypot x.re x.im)) y.re) (* (atan2 x.im x.re) y.im))))
1.7b
(* (atan2 x.im x.re) y.im)
1.7b
(* (atan2 x.im x.re) y.im)
1.7b
(* (atan2 x.im x.re) y.im)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
10×pow1 add-exp-log add-cbrt-cube
associate-*r* associate-*l*
cbrt-prod
expm1-log1p-u log1p-expm1-u add-log-exp
exp-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
sub-neg cbrt-div exp-diff pow1/3 prod-diff
Counts
4 → 77
Calls
4 calls:
4.0ms
(cbrt (exp (- (* (log (hypot x.re x.im)) y.re) (* (atan2 x.im x.re) y.im))))
4.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(* (atan2 x.im x.re) y.im)

series177.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(cbrt (exp (- (* (log (hypot x.re x.im)) y.re) (* (atan2 x.im x.re) y.im))))
16.0ms
(* (atan2 x.im x.re) y.im)
16.0ms
(* (atan2 x.im x.re) y.im)
16.0ms
(* (atan2 x.im x.re) y.im)

simplify204.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 3 (33.0ms)

IterNodesCost
0174468
1492420
21302411
34062408
45001408

prune296.0ms

Filtered
89 candidates to 64 candidates (71.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New88189
Fresh033
Picked101
Done022
Total89695

Merged error: 4.2b

Counts
95 → 6

regimes148.0ms

Accuracy

0% (0.7b remaining)

Error of 4.2b against oracle of 3.6b and baseline of 4.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0187
1207
2207

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.3s2008×body1280valid
730.0ms7998×body80valid
635.0ms1506×body640valid
198.0ms677×body320valid
59.0ms308×body160valid