Details

Time bar (total: 8.7s)

sample419.0ms

Algorithm
intervals
Results
65.0ms74×body1280valid
44.0ms256×body80valid
34.0ms57×body640valid
8.0ms18×body320valid
4.0msbody2560valid
2.0msbody160valid

simplify38.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.8b

localize24.0ms

Local error

Found 4 expressions with local error:

1.7b
(* (atan2 x.im x.re) y.im)
31.9b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
33.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite26.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:
3.0ms
(* (atan2 x.im x.re) y.im)
12.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
3.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series246.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (atan2 x.im x.re) y.im)
149.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
36.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
44.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify74.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0196427
1506390
21139386
32509386
45001386

prune340.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 19.6b

localize34.0ms

Local error

Found 4 expressions with local error:

20.2b
(cos (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im))
33.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 52
Calls
4 calls:
2.0ms
(cos (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im))
3.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
3.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
3.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series218.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(cos (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im))
34.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
37.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
35.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify61.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 4 (56.0ms)

IterNodesCost
0126390
1283364
2636363
31696363
45001360

prune411.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 19.6b

localize27.0ms

Local error

Found 4 expressions with local error:

33.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 60
Calls
4 calls:
3.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
3.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
5.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
3.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series141.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
37.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
35.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify141.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 5 (136.0ms)

IterNodesCost
089400
1215388
2503388
31265388
44227388
55002384

prune449.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 19.6b

localize25.0ms

Local error

Found 4 expressions with local error:

10.8b
(cbrt (pow (sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re))) 3))
31.9b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
33.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
11×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 sqrt-prod
add-exp-log sqrt-div add-cbrt-cube add-log-exp
unpow-prod-down cube-prod
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
cube-mult sin-sum pow1/3 unpow3 rem-cbrt-cube sqr-pow
Counts
4 → 59
Calls
4 calls:
5.0ms
(cbrt (pow (sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re))) 3))
6.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
3.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
3.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series353.0ms

Counts
4 → 12
Calls
4 calls:
139.0ms
(cbrt (pow (sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re))) 3))
141.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
35.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
38.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify147.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 4 (140.0ms)

IterNodesCost
0191725
1493717
21262717
34742717
45001647

prune311.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 19.6b

regimes365.0ms

Accuracy

79.3% (2.9b remaining)

Error of 22.1b against oracle of 19.2b and baseline of 33.3b

bsearch148.0ms

Steps
ItersRangePoint
9
-5.459969929633657e-306
2.8649750194033813e-305
1.73062623171225e-310

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04536
14536

end0.0ms

sample4.6s

Algorithm
intervals
Results
1.9s2168×body1280valid
1.1s7914×body80valid
850.0ms1414×body640valid
245.0ms581×body320valid
71.0ms38×body2560valid
66.0ms235×body160valid