Details

Time bar (total: 7.1s)

sample358.0ms

Algorithm
intervals
Results
45.0ms68×body1280valid
22.0ms248×body80valid
20.0ms47×body640valid
5.0ms19×body320valid
2.0msbody160valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03521
16317
29817
321717
489517
5500117

prune24.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.6b

localize26.0ms

Local error

Found 4 expressions with local error:

1.9b
(* (atan2 x.im x.re) y.im)
28.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.0b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

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

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

simplify80.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0213458
1565417
21299415
32889415
45003415

prune385.0ms

Filtered
78 candidates to 66 candidates (84.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 20.3b

localize28.0ms

Local error

Found 4 expressions with local error:

1.4b
(* (atan2 x.im x.re) y.re)
1.9b
(* (atan2 x.im x.re) y.im)
28.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.0b
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
sqrt-prod
sqrt-div pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 sin-sum flip-+ hypot-def
Counts
4 → 68
Calls
4 calls:
3.0ms
(* (atan2 x.im x.re) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
5.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

series231.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (atan2 x.im x.re) y.re)
16.0ms
(* (atan2 x.im x.re) y.im)
36.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
160.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

simplify92.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0259390
1731350
21732349
33569349
45002349

prune396.0ms

Filtered
80 candidates to 62 candidates (77.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (log (hypot x.re x.im)) y.re)
1.4b
(* (atan2 x.im x.re) y.re)
1.9b
(* (atan2 x.im x.re) y.im)
33.0b
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

rewrite16.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 log-pow
Counts
4 → 71
Calls
4 calls:
3.0ms
(* (log (hypot x.re x.im)) y.re)
3.0ms
(* (atan2 x.im x.re) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)
5.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

series283.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(* (log (hypot x.re x.im)) y.re)
16.0ms
(* (atan2 x.im x.re) y.re)
16.0ms
(* (atan2 x.im x.re) y.im)
148.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

simplify82.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0233400
1725351
21668349
33156349
45001349

prune343.0ms

Filtered
83 candidates to 61 candidates (73.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 4.0b

localize23.0ms

Local error

Found 4 expressions with local error:

4.8b
(cbrt (atan2 x.im x.re))
4.8b
(cbrt (atan2 x.im x.re))
4.8b
(cbrt (atan2 x.im x.re))
33.0b
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
sin-sum
Counts
4 → 49
Calls
4 calls:
0.0ms
(cbrt (atan2 x.im x.re))
0.0ms
(cbrt (atan2 x.im x.re))
1.0ms
(cbrt (atan2 x.im x.re))
5.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

series272.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(cbrt (atan2 x.im x.re))
39.0ms
(cbrt (atan2 x.im x.re))
39.0ms
(cbrt (atan2 x.im x.re))
153.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

simplify140.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
088310
1145280
2262274
3792274
43560274
55001274

prune273.0ms

Filtered
61 candidates to 49 candidates (80.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 4.0b

regimes288.0ms

Accuracy

0% (0.1b remaining)

Error of 3.5b against oracle of 3.4b and baseline of 3.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03031
13031

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.4s2170×body1280valid
718.0ms7942×body80valid
589.0ms1376×body640valid
167.0ms573×body320valid
75.0ms47×body2560valid
46.0ms233×body160valid