Details

Time bar (total: 7.9s)

sample394.0ms

Algorithm
intervals
Results
59.0ms77×body1280valid
32.0ms42×body640valid
27.0ms249×body80valid
9.0ms26×body320valid
1.0msbody160valid

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03521
16317
29817
321717
489517
5500117

prune17.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: 31.9b

Counts
2 → 2

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

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

simplify82.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0213458
1565417
21299415
32889415
45003415

prune390.0ms

Filtered
78 candidates to 66 candidates (84.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New69978
Fresh011
Picked101
Done000
Total701080

Merged error: 18.5b

Counts
80 → 10

localize27.0ms

Local error

Found 4 expressions with local error:

1.1b
(* (atan2 x.im x.re) y.re)
2.7b
(* (atan2 x.im x.re) y.im)
27.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.7b
(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:
4.0ms
(* (atan2 x.im x.re) y.re)
4.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)))

series232.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (atan2 x.im x.re) y.re)
19.0ms
(* (atan2 x.im x.re) y.im)
37.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

prune393.0ms

Filtered
80 candidates to 62 candidates (77.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New72880
Fresh639
Picked101
Done000
Total791190

Merged error: 4.8b

Counts
90 → 11

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (log (hypot x.re x.im)) y.im)
1.1b
(* (atan2 x.im x.re) y.re)
2.7b
(* (atan2 x.im x.re) y.im)
33.7b
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

rewrite18.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)))

series297.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0223400
1696351
21619349
32891349
45001349

prune345.0ms

Filtered
83 candidates to 61 candidates (73.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New711283
Fresh9110
Picked101
Done000
Total811394

Merged error: 4.3b

Counts
94 → 13

localize25.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y.re)
1.0b
(* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re)))
2.7b
(* (atan2 x.im x.re) y.im)
33.6b
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))))

rewrite19.0ms

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

series481.0ms

Counts
4 → 12
Calls
4 calls:
194.0ms
(cbrt y.re)
88.0ms
(* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re)))
16.0ms
(* (atan2 x.im x.re) y.im)
183.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))))

simplify103.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0245484
1824412
23545405
35002399

prune300.0ms

Filtered
76 candidates to 60 candidates (78.9%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New74276
Fresh21012
Picked011
Done000
Total761389

Merged error: 4.3b

Counts
89 → 13

regimes305.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02620
12620

end0.0ms

sample3.9s

Algorithm
intervals
Results
1.6s2269×body1280valid
857.0ms7936×body80valid
716.0ms1464×body640valid
192.0ms571×body320valid
62.0ms38×body2560valid
55.0ms248×body160valid