Details

Time bar (total: 7.8s)

sample456.0ms

Algorithm
intervals
Results
64.0ms73×body1280valid
24.0ms264×body80valid
18.0ms47×body640valid
6.0ms23×body320valid
3.0msbody2560valid
0.0msbody160valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.5b

localize24.0ms

Local error

Found 4 expressions with local error:

1.8b
(* (atan2 x.im x.re) y.im)
33.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.2b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite50.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
sqrt-div add-log-exp
associate-*r* associate-*l*
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
sin-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 56
Calls
4 calls:
7.0ms
(* (atan2 x.im x.re) y.im)
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
25.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series232.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196425
1506388
21139386
32509386
45001386

prune327.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 23.4b

localize28.0ms

Local error

Found 4 expressions with local error:

1.8b
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im)))
33.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.2b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
add-exp-log
add-cube-cbrt *-un-lft-identity add-cbrt-cube
sqrt-prod
sqrt-div add-log-exp
associate-*l* pow-prod-down prod-exp cbrt-unprod
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
sin-sum associate-*r* *-commutative unswap-sqr
Counts
4 → 57
Calls
4 calls:
21.0ms
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im)))
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
17.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series279.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im)))
34.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
137.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify138.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 4 (130.0ms)

IterNodesCost
0237500
1591448
21598444
34562437
45002436

prune363.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 23.4b

localize25.0ms

Local error

Found 4 expressions with local error:

1.2b
(* (* (atan2 x.im x.re) (cbrt y.im)) (cbrt y.im))
33.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.2b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
add-exp-log
add-cube-cbrt *-un-lft-identity
associate-*r* sqrt-prod add-cbrt-cube
sqrt-div add-log-exp
cbrt-prod pow-prod-down prod-exp cbrt-unprod
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
sin-sum associate-*l* *-commutative
Counts
4 → 59
Calls
4 calls:
21.0ms
(* (* (atan2 x.im x.re) (cbrt y.im)) (cbrt y.im))
9.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
17.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series276.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(* (* (atan2 x.im x.re) (cbrt y.im)) (cbrt y.im))
32.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
134.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify75.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0257507
1790466
23035457
35001452

prune359.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 23.4b

localize26.0ms

Local error

Found 4 expressions with local error:

33.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.2b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
34.2b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
34.2b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube add-log-exp
sin-sum sqrt-prod
sqrt-div
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 39
Calls
4 calls:
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
17.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
17.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
20.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series445.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
142.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
134.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
137.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify157.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 4 (52.0ms)

IterNodesCost
0142554
1288488
2611488
31523488
44766486
55002486

prune317.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 23.4b

regimes324.0ms

Accuracy

75.7% (3.3b remaining)

Error of 23.1b against oracle of 19.8b and baseline of 33.3b

bsearch151.0ms

Steps
ItersRangePoint
11
-7.519470916193732e-280
1.7139560852676268e-307
-5.20017416521053e-309

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05041
15041

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.3s2193×body1280valid
688.0ms7947×body80valid
590.0ms1452×body640valid
156.0ms555×body320valid
59.0ms38×body2560valid
49.0ms257×body160valid