Details

Time bar (total: 7.5s)

sample399.0ms

Algorithm
intervals
Results
66.0ms84×body1280valid
35.0ms47×body640valid
27.0ms255×body80valid
3.0msbody2560valid
3.0msbody320valid
2.0msbody160valid

simplify41.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: 34.1b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

1.9b
(* (atan2 x.im x.re) y.im)
30.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.2b
(sin (+ (* (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
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)))

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

simplify83.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0213458
1565417
21299415
32889415
45003415

prune350.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.3b

Counts
79 → 6

localize24.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)
30.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.2b
(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)))

series221.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)
35.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
153.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

simplify96.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0259390
1731350
21732349
33569349
45002349

prune347.0ms

Filtered
80 candidates to 62 candidates (77.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New74680
Fresh415
Picked101
Done000
Total79786

Merged error: 3.3b

Counts
86 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.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:
4.0ms
(* (log (hypot x.re x.im)) y.im)
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:
101.0ms
(* (log (hypot x.re x.im)) y.im)
17.0ms
(* (atan2 x.im x.re) y.re)
16.0ms
(* (atan2 x.im x.re) y.im)
149.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

simplify75.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0223400
1696351
21619349
32891349
45001349

prune315.0ms

Filtered
83 candidates to 61 candidates (73.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New711283
Fresh516
Picked101
Done000
Total771390

Merged error: 3.0b

Counts
90 → 13

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.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:
4.0ms
(* (log (hypot x.re x.im)) y.im)
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)))

series282.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0223400
1696351
21619349
32891349
45001349

prune285.0ms

Filtered
83 candidates to 61 candidates (73.5%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New81283
Fresh21012
Picked011
Done000
Total831396

Merged error: 3.0b

Counts
96 → 13

regimes290.0ms

Accuracy

0% (0.3b remaining)

Error of 3.3b against oracle of 2.9b and baseline of 3.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02417
12417

end0.0ms

sample3.9s

Algorithm
intervals
Results
1.6s2249×body1280valid
856.0ms7979×body80valid
691.0ms1419×body640valid
186.0ms552×body320valid
68.0ms41×body2560valid
68.0ms262×body160valid

Profiling

Loading profile data...