Details

Time bar (total: 7.7s)

sample385.0ms

Algorithm
intervals
Results
51.0ms69×body1280valid
36.0ms250×body80valid
20.0ms41×body640valid
10.0ms31×body320valid
2.0msbody160valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03521
16317
29817
321717
489517
5500117

prune14.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: 31.8b

Counts
2 → 1

localize24.0ms

Local error

Found 4 expressions with local error:

2.7b
(* (atan2 x.im x.re) y.im)
27.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
27.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.0b
(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)))

series252.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (atan2 x.im x.re) y.im)
39.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
36.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
161.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

prune356.0ms

Filtered
78 candidates to 66 candidates (84.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New72678
Fresh000
Picked101
Done000
Total73679

Merged error: 18.1b

Counts
79 → 6

localize19.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.3b
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
2.7b
(* (atan2 x.im x.re) y.im)
27.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite20.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)
4.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series246.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im)))
93.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
16.0ms
(* (atan2 x.im x.re) y.im)
36.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify65.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0308585
1921522
22504484
35002467

prune311.0ms

Filtered
91 candidates to 74 candidates (81.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New88391
Fresh055
Picked011
Done000
Total88997

Merged error: 5.2b

Counts
97 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y.re)
0.6b
(cbrt y.re)
0.6b
(cbrt y.re)
2.7b
(* (atan2 x.im x.re) y.im)

rewrite9.0ms

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

series569.0ms

Counts
4 → 12
Calls
4 calls:
186.0ms
(cbrt y.re)
182.0ms
(cbrt y.re)
180.0ms
(cbrt y.re)
20.0ms
(* (atan2 x.im x.re) y.im)

simplify55.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (19.0ms)

IterNodesCost
0102209
1300190
2710184
31530181
45001181

prune281.0ms

Filtered
71 candidates to 57 candidates (80.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New70171
Fresh077
Picked101
Done011
Total71980

Merged error: 5.2b

Counts
80 → 9

localize22.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y.re)
0.6b
(cbrt y.re)
0.6b
(cbrt (cbrt y.re))
2.7b
(* (atan2 x.im x.re) y.im)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod
12×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r* associate-*l*
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 62
Calls
4 calls:
1.0ms
(cbrt y.re)
1.0ms
(cbrt y.re)
2.0ms
(cbrt (cbrt y.re))
4.0ms
(* (atan2 x.im x.re) y.im)

series628.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt y.re)
183.0ms
(cbrt y.re)
246.0ms
(cbrt (cbrt y.re))
17.0ms
(* (atan2 x.im x.re) y.im)

simplify66.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (24.0ms)

IterNodesCost
0135246
1362225
2876219
32213214
45001214

prune303.0ms

Filtered
74 candidates to 59 candidates (79.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New73174
Fresh077
Picked101
Done011
Total74983

Merged error: 5.2b

Counts
83 → 9

regimes221.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03226
13626
23626

end0.0ms

sample3.7s

Algorithm
intervals
Results
1.4s2083×body1280valid
842.0ms7968×body80valid
710.0ms1482×body640valid
228.0ms666×body320valid
75.0ms329×body160valid