Details

Time bar (total: 7.1s)

sample422.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 99.609375%

Results
59.0ms77×body1280valid
34.0ms256×body80valid
23.0ms47×body640valid
6.0ms17×body320valid
3.0msbody2560valid
1.0msbody160valid

simplify427.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune19.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.1b

Counts
2 → 2

localize43.0ms

Local error

Found 4 expressions with local error:

1.5b
(* (atan2 x.im x.re) y.im)
26.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
26.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.4b
(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
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)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
8.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series88.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (atan2 x.im x.re) y.im)
11.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
64.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
68 → 68
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0206434
1539395
21201392
32732392
45002392

prune141.0ms

Filtered
54 candidates to 68 candidates (-25.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New60868
Fresh101
Picked101
Done000
Total62870

Merged error: 17.9b

Counts
70 → 8

localize26.0ms

Local error

Found 4 expressions with local error:

4.9b
(cbrt (atan2 x.im x.re))
26.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
26.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite17.0ms

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

series76.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(cbrt (atan2 x.im x.re))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
53.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify72.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 4 (64.0ms)

IterNodesCost
0170414
1367380
2792377
32193377
45002375

prune124.0ms

Filtered
51 candidates to 61 candidates (-19.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New60161
Fresh077
Picked101
Done000
Total61869

Merged error: 17.9b

Counts
69 → 8

localize31.0ms

Local error

Found 4 expressions with local error:

4.9b
(cbrt (atan2 x.im x.re))
26.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
26.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite15.0ms

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

series77.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(cbrt (atan2 x.im x.re))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
55.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify72.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 4 (66.0ms)

IterNodesCost
0170414
1367380
2792377
32193377
45002375

prune121.0ms

Filtered
51 candidates to 61 candidates (-19.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New60161
Fresh167
Picked011
Done000
Total61869

Merged error: 17.9b

Counts
69 → 8

localize25.0ms

Local error

Found 4 expressions with local error:

9.3b
(cbrt (pow (sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re))) 3))
26.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
26.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite22.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))
5.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
7.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series122.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0201743
1526731
21327729
35001729

prune106.0ms

Filtered
54 candidates to 71 candidates (-31.5%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New69271
Fresh066
Picked011
Done011
Total691079

Merged error: 17.9b

Counts
79 → 10

regimes463.0ms

Accuracy

77.7% (3.1b remaining)

Error of 22.5b against oracle of 19.4b and baseline of 33.4b

bsearch113.0ms

Steps
ItersRangePoint
10
-1.2549265421453574e-303
4.6089327108154e-303
3.56287132922904e-310

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05451
15451

end0.0ms

sample4.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 99.609375%

Results
1.7s2233×body1280valid
932.0ms7996×body80valid
699.0ms1375×body640valid
211.0ms585×body320valid
69.0ms40×body2560valid
54.0ms232×body160valid

Profiling

Loading profile data...