Details

Time bar (total: 7.0s)

sample383.0ms

Algorithm
intervals
Results
52.0ms78×body1280valid
25.0ms262×body80valid
24.0ms55×body640valid
4.0ms14×body320valid
3.0msbody2560valid
2.0msbody160valid

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

Counts
2 → 1

localize24.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.8b
(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)))

series269.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(* (atan2 x.im x.re) y.im)
40.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
38.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
173.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

prune377.0ms

Filtered
78 candidates to 66 candidates (84.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New71778
Fresh000
Picked101
Done000
Total72779

Merged error: 19.7b

Counts
79 → 7

localize25.0ms

Local error

Found 4 expressions with local error:

1.4b
(* (atan2 x.im x.re) y.re)
1.7b
(* (atan2 x.im x.re) y.im)
31.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.8b
(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:
17.0ms
(* (atan2 x.im x.re) y.re)
17.0ms
(* (atan2 x.im x.re) y.im)
38.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)))

simplify95.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0259390
1731350
21732349
33569349
45002349

prune367.0ms

Filtered
80 candidates to 62 candidates (77.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New73780
Fresh516
Picked101
Done000
Total79887

Merged error: 3.7b

Counts
87 → 8

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.7b
(* (atan2 x.im x.re) y.im)
32.8b
(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)
4.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)))

series301.0ms

Counts
4 → 12
Calls
4 calls:
109.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)
158.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 (18.0ms)

IterNodesCost
0223400
1696351
21619349
32891349
45001349

prune327.0ms

Filtered
83 candidates to 61 candidates (73.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New711283
Fresh707
Picked101
Done000
Total791291

Merged error: 3.4b

Counts
91 → 12

localize22.0ms

Local error

Found 4 expressions with local error:

0.8b
(* (* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im))) (cbrt y.im))
1.2b
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im)))
1.4b
(* (atan2 x.im x.re) y.re)
32.8b
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

rewrite27.0ms

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

series303.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* (* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im))) (cbrt y.im))
88.0ms
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im)))
17.0ms
(* (atan2 x.im x.re) y.re)
160.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

simplify40.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0290616
11191504
25002473

prune305.0ms

Filtered
89 candidates to 61 candidates (68.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New86389
Fresh2911
Picked101
Done000
Total8912101

Merged error: 3.4b

Counts
101 → 12

regimes276.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03027
13027

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.4s2211×body1280valid
708.0ms7981×body80valid
613.0ms1458×body640valid
164.0ms572×body320valid
60.0ms39×body2560valid
44.0ms236×body160valid