Details

Time bar (total: 5.6s)

sample305.0ms

Algorithm
intervals
Results
22.0ms250×body80valid
10.0ms134×body80overflowed
4.0msbody1280valid
3.0msbody640valid
1.0msbody320valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03521
16317
29817
321717
489517
5500117

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.8b

localize36.0ms

Local error

Found 4 expressions with local error:

1.3b
(* (atan2 x.im x.re) y.re)
30.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.3b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite46.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:
7.0ms
(* (atan2 x.im x.re) y.re)
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
8.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)))

series238.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(* (atan2 x.im x.re) y.re)
32.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
156.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify80.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0211458
1555417
21277415
32762415
45002415

prune400.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 17.6b

localize31.0ms

Local error

Found 4 expressions with local error:

1.2b
(* (atan2 x.im x.re) y.im)
1.3b
(* (atan2 x.im x.re) y.re)
30.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.3b
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite45.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:
7.0ms
(* (atan2 x.im x.re) y.im)
7.0ms
(* (atan2 x.im x.re) y.re)
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
21.0ms
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re)))

series213.0ms

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

simplify115.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0263404
1755360
21828359
34355359
45001359

prune414.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.7b

localize28.0ms

Local error

Found 4 expressions with local error:

1.2b
(* (atan2 x.im x.re) y.im)
1.3b
(* (atan2 x.im x.re) y.re)
5.8b
(exp (log (hypot x.re x.im)))
32.3b
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite39.0ms

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

series222.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (atan2 x.im x.re) y.im)
17.0ms
(* (atan2 x.im x.re) y.re)
41.0ms
(exp (log (hypot x.re x.im)))
148.0ms
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re)))

simplify68.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 3 (28.0ms)

IterNodesCost
0208362
1566317
21248317
32201313
45001313

prune400.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.7b

localize33.0ms

Local error

Found 4 expressions with local error:

1.2b
(* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re)))
1.2b
(* (atan2 x.im x.re) y.im)
5.8b
(exp (log (hypot x.re x.im)))
31.8b
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))))

rewrite67.0ms

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

series302.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re)))
15.0ms
(* (atan2 x.im x.re) y.im)
40.0ms
(exp (log (hypot x.re x.im)))
168.0ms
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))))

simplify71.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
0257513
1801440
22921436
35002429

prune397.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.7b

regimes304.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03523
13723
23723

end0.0ms

sample1.7s

Algorithm
intervals
Results
667.0ms7955×body80valid
318.0ms3960×body80overflowed
89.0ms138×body1280valid
68.0ms162×body640valid
29.0ms109×body320valid
12.0ms65×body160valid