Details

Time bar (total: 7.4s)

sample379.0ms

Algorithm
intervals
Results
42.0ms68×body1280valid
26.0ms255×body80valid
22.0ms54×body640valid
5.0msbody2560valid
5.0ms16×body320valid
1.0msbody160valid

simplify41.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 (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 35.1b

Counts
2 → 1

localize24.0ms

Local error

Found 4 expressions with local error:

1.9b
(* (atan2 x.im x.re) y.im)
30.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
31.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
112×add-sqr-sqrt
52×hypot-def
32×*-un-lft-identity
24×swap-sqr
21×*-commutative unswap-sqr
16×sqrt-prod
11×associate-*l*
10×distribute-lft-out
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
+-commutative associate-*r*
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 sin-sum flip-+
pow-prod-down prod-exp cbrt-unprod
Counts
4 → 127
Calls
4 calls:
4.0ms
(* (atan2 x.im x.re) y.im)
18.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
27.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
19.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series266.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (atan2 x.im x.re) y.im)
155.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
43.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
47.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify84.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0210488
1537451
21234447
33100447
45002447

prune408.0ms

Filtered
139 candidates to 85 candidates (38.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1327139
Fresh000
Picked101
Done000
Total1337140

Merged error: 19.7b

Counts
140 → 7

localize24.0ms

Local error

Found 4 expressions with local error:

1.6b
(* (atan2 x.im x.re) y.re)
1.9b
(* (atan2 x.im x.re) y.im)
30.4b
(sin (+ (* (log (hypot x.im x.re)) y.im) (* (atan2 x.im x.re) y.re)))
31.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
26×hypot-def
21×*-un-lft-identity
12×swap-sqr *-commutative unswap-sqr
10×associate-*l*
pow1 add-cube-cbrt
add-exp-log sqrt-prod add-cbrt-cube
associate-*r*
distribute-lft-out
expm1-log1p-u log1p-expm1-u add-log-exp
+-commutative sin-sum sqrt-div pow-prod-down prod-exp cbrt-unprod
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 99
Calls
4 calls:
3.0ms
(* (atan2 x.im x.re) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)
15.0ms
(sin (+ (* (log (hypot x.im x.re)) y.im) (* (atan2 x.im x.re) y.re)))
21.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series243.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (atan2 x.im x.re) y.re)
18.0ms
(* (atan2 x.im x.re) y.im)
165.0ms
(sin (+ (* (log (hypot x.im x.re)) y.im) (* (atan2 x.im x.re) y.re)))
38.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify95.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0257413
1699372
21656370
33903370
45001370

prune380.0ms

Filtered
111 candidates to 72 candidates (35.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1038111
Fresh516
Picked101
Done000
Total1099118

Merged error: 3.2b

Counts
118 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.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
+-commutative log-pow
Counts
4 → 72
Calls
4 calls:
4.0ms
(* (log (hypot x.im x.re)) y.im)
3.0ms
(* (atan2 x.im x.re) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)
18.0ms
(sin (+ (* (log (hypot x.im x.re)) y.im) (* (atan2 x.im x.re) y.re)))

series306.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0224416
1695367
21606365
32854365
45001365

prune339.0ms

Filtered
84 candidates to 62 candidates (26.2%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New711384
Fresh808
Picked101
Done000
Total801393

Merged error: 2.8b

Counts
93 → 13

localize29.0ms

Local error

Found 4 expressions with local error:

17.3b
(sin (* (atan2 x.im x.re) y.re))
17.6b
(cos (* (atan2 x.im x.re) y.re))
22.2b
(cos (* (log (hypot x.im x.re)) y.im))
22.2b
(sin (* (log (hypot x.im x.re)) y.im))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 36
Calls
4 calls:
4.0ms
(sin (* (atan2 x.im x.re) y.re))
4.0ms
(cos (* (atan2 x.im x.re) y.re))
4.0ms
(cos (* (log (hypot x.im x.re)) y.im))
7.0ms
(sin (* (log (hypot x.im x.re)) y.im))

series353.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(sin (* (atan2 x.im x.re) y.re))
41.0ms
(cos (* (atan2 x.im x.re) y.re))
136.0ms
(cos (* (log (hypot x.im x.re)) y.im))
134.0ms
(sin (* (log (hypot x.im x.re)) y.im))

simplify103.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
090252
1127218
2201215
3510215
41869215
55001215

prune257.0ms

Filtered
48 candidates to 44 candidates (8.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New45348
Fresh21012
Picked101
Done000
Total481361

Merged error: 2.8b

Counts
61 → 13

regimes347.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03327
13327

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.4s2264×body1280valid
693.0ms7949×body80valid
619.0ms1491×body640valid
160.0ms561×body320valid
78.0ms51×body2560valid
43.0ms233×body160valid