Details

Time bar (total: 7.2s)

sample366.0ms

Algorithm
intervals
Results
45.0ms68×body1280valid
22.0ms248×body80valid
19.0ms47×body640valid
5.0ms19×body320valid
2.0msbody160valid

simplify38.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03521
16317
29817
321717
489517
5500117

prune21.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.6b

localize26.0ms

Local error

Found 4 expressions with local error:

1.9b
(* (atan2 x.im x.re) y.im)
28.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.0b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

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

series254.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (atan2 x.im x.re) y.im)
35.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
36.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
163.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
0213460
1565419
21299415
32889415
45003415

prune423.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 20.3b

localize30.0ms

Local error

Found 4 expressions with local error:

1.4b
(* (atan2 x.im x.re) y.re)
1.9b
(* (atan2 x.im x.re) y.im)
28.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.0b
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re)))

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

series227.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (atan2 x.im x.re) y.re)
16.0ms
(* (atan2 x.im x.re) y.im)
35.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
159.0ms
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re)))

simplify110.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0263404
1755360
21828359
34355359
45001359

prune441.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.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
log-pow
sin-sum
Counts
4 → 72
Calls
4 calls:
7.0ms
(* (log (* 1 (hypot x.re x.im))) y.re)
3.0ms
(* (atan2 x.im x.re) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)
7.0ms
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re)))

series290.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(* (log (* 1 (hypot x.re x.im))) y.re)
17.0ms
(* (atan2 x.im x.re) y.re)
19.0ms
(* (atan2 x.im x.re) y.im)
154.0ms
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re)))

simplify62.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0237443
1725387
22081380
35001378

prune400.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 4.0b

localize27.0ms

Local error

Found 4 expressions with local error:

4.8b
(cbrt (atan2 x.im x.re))
4.8b
(cbrt (atan2 x.im x.re))
4.8b
(cbrt (atan2 x.im x.re))
33.0b
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
sin-sum
Counts
4 → 49
Calls
4 calls:
0.0ms
(cbrt (atan2 x.im x.re))
0.0ms
(cbrt (atan2 x.im x.re))
1.0ms
(cbrt (atan2 x.im x.re))
7.0ms
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re)))

series277.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(cbrt (atan2 x.im x.re))
39.0ms
(cbrt (atan2 x.im x.re))
42.0ms
(cbrt (atan2 x.im x.re))
153.0ms
(sin (+ (* (log (* 1 (hypot x.re x.im))) y.im) (* (atan2 x.im x.re) y.re)))

simplify45.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 3 (11.0ms)

IterNodesCost
092324
1164292
2299286
3883283
45002283

prune304.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 4.0b

regimes318.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03533
13733
23733

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.4s2170×body1280valid
697.0ms7942×body80valid
581.0ms1376×body640valid
169.0ms573×body320valid
73.0ms47×body2560valid
44.0ms233×body160valid