Details

Time bar (total: 31.9s)

sample12.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0.125122%

Guaranteed chance to sample good point: 55.092126%

Results
48.0ms63×body1280invalid
31.0ms238×body80valid
26.0ms52×body640invalid
6.0ms18×body320invalid
4.0msbody1280valid
3.0msbody320valid
2.0msbody640valid
2.0msbody160invalid
2.0msbody2560invalid
2.0ms14×body80invalid
1.0msbody160valid

simplify407.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune15.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 31.9b

Counts
2 → 1

localize26.0ms

Local error

Found 4 expressions with local error:

1.5b
(* (atan2 x.im x.re) y.im)
27.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
27.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.1b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite35.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)
17.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)))

series85.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0206434
1539395
21201392
32732392
45002392

prune148.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New60868
Fresh000
Picked101
Done000
Total61869

Merged error: 16.5b

Counts
69 → 8

localize30.0ms

Local error

Found 4 expressions with local error:

27.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
27.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
27.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.1b
(sin (+ (* (log (* (* (cbrt (sqrt (+ (* x.re x.re) (* x.im x.im)))) (cbrt (sqrt (+ (* x.re x.re) (* x.im x.im))))) (cbrt (sqrt (+ (* x.re x.re) (* x.im x.im)))))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite36.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-+
sin-sum
Counts
4 → 53
Calls
4 calls:
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
24.0ms
(sin (+ (* (log (* (* (cbrt (sqrt (+ (* x.re x.re) (* x.im x.im)))) (cbrt (sqrt (+ (* x.re x.re) (* x.im x.im))))) (cbrt (sqrt (+ (* x.re x.re) (* x.im x.im)))))) y.im) (* (atan2 x.im x.re) y.re)))

series74.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 4 (61.0ms)

IterNodesCost
0158616
1336558
2704557
32021557
45001554

prune141.0ms

Filtered
56 candidates to 65 candidates (-16.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New64165
Fresh077
Picked101
Done000
Total65873

Merged error: 16.5b

Counts
73 → 8

localize29.0ms

Local error

Found 4 expressions with local error:

27.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.1b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
33.1b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
33.1b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

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

series174.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 4 (56.0ms)

IterNodesCost
0152580
1321508
2672505
31724505
45001504

prune119.0ms

Filtered
48 candidates to 51 candidates (-6.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New51051
Fresh077
Picked011
Done000
Total51859

Merged error: 16.5b

Counts
59 → 8

localize26.0ms

Local error

Found 4 expressions with local error:

12.3b
(cbrt (pow (sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re))) 3))
27.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
27.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.1b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

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

series123.0ms

Counts
4 → 12
Calls
4 calls:
55.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)))
56.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 (13.0ms)

IterNodesCost
0201743
1526731
21327729
35001729

prune107.0ms

Filtered
55 candidates to 71 candidates (-29.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New68371
Fresh156
Picked101
Done011
Total70979

Merged error: 16.5b

Counts
79 → 9

regimes485.0ms

Accuracy

78.3% (3.1b remaining)

Error of 22.3b against oracle of 19.2b and baseline of 33.5b

bsearch156.0ms

Steps
ItersRangePoint
11
-1.9588819608475904e-288
1.3548092070447711e-307
-3.78534904918826e-310

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04235
14235

end0.0ms

sample16.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0.125122%

Guaranteed chance to sample good point: 55.092126%

Results
1.6s2137×body1280invalid
846.0ms7509×body80valid
634.0ms1299×body640invalid
163.0ms467×body320invalid
91.0ms130×body1280valid
86.0ms179×body640valid
52.0ms31×body2560invalid
51.0ms217×body160invalid
45.0ms391×body80invalid
40.0ms118×body320valid
15.0ms64×body160valid

Profiling

Loading profile data...