Details

Time bar (total: 8.1s)

sample402.0ms

Algorithm
intervals
Results
69.0ms86×body1280valid
28.0ms64×body640valid
24.0ms248×body80valid
6.0ms22×body320valid
2.0msbody2560valid
2.0ms10×body160valid

simplify39.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: 33.0b

Counts
2 → 2

localize26.0ms

Local error

Found 4 expressions with local error:

1.6b
(* (atan2 x.im x.re) y.im)
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.7b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

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

series259.0ms

Counts
4 → 12
Calls
4 calls:
18.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)))
166.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify92.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0216488
1568447
21321447
33375447
45001447

prune537.0ms

Filtered
139 candidates to 85 candidates (61.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1336139
Fresh011
Picked101
Done000
Total1347141

Merged error: 19.9b

Counts
141 → 7

localize33.0ms

Local error

Found 4 expressions with local error:

1.4b
(* (atan2 x.im x.re) y.re)
1.6b
(* (atan2 x.im x.re) y.im)
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.7b
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite48.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:
4.0ms
(* (atan2 x.im x.re) y.re)
4.0ms
(* (atan2 x.im x.re) y.im)
19.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
18.0ms
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re)))

series238.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0266426
1749382
21838382
34962382
45001382

prune498.0ms

Filtered
111 candidates to 72 candidates (64.9%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1056111
Fresh516
Picked101
Done000
Total1117118

Merged error: 4.4b

Counts
118 → 7

localize29.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (log (* 1 (hypot x.re x.im))) y.im)
1.4b
(* (atan2 x.im x.re) y.re)
1.6b
(* (atan2 x.im x.re) y.im)
30.7b
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite33.0ms

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

series296.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(* (log (* 1 (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 (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re)))

simplify60.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0227461
1694405
22006398
35001396

prune482.0ms

Filtered
85 candidates to 65 candidates (76.5%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New691685
Fresh606
Picked101
Done000
Total761692

Merged error: 4.0b

Counts
92 → 16

localize28.0ms

Local error

Found 4 expressions with local error:

0.3b
(log1p (sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re))))
1.4b
(* (atan2 x.im x.re) y.re)
1.6b
(* (atan2 x.im x.re) y.im)
30.7b
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u
log1p-expm1-u add-log-exp
sin-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative log1p-udef log1p-expm1
Counts
4 → 62
Calls
4 calls:
1.0ms
(log1p (sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re))))
4.0ms
(* (atan2 x.im x.re) y.re)
4.0ms
(* (atan2 x.im x.re) y.im)
19.0ms
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re)))

series427.0ms

Counts
4 → 12
Calls
4 calls:
234.0ms
(log1p (sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re))))
16.0ms
(* (atan2 x.im x.re) y.re)
17.0ms
(* (atan2 x.im x.re) y.im)
160.0ms
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re)))

simplify59.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (53.0ms)

IterNodesCost
0212478
1654419
22338419
35001418

prune376.0ms

Filtered
74 candidates to 54 candidates (73.0%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New65974
Fresh8715
Picked101
Done000
Total741690

Merged error: 4.0b

Counts
90 → 16

regimes455.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
03523
13723
23723

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.4s2171×body1280valid
736.0ms7944×body80valid
601.0ms1391×body640valid
160.0ms542×body320valid
80.0ms48×body2560valid
46.0ms238×body160valid