Details

Time bar (total: 30.3s)

sample310.0ms

Algorithm
intervals
Results
121.0ms67×body1280valid
39.0ms259×body80valid
29.0ms41×body640valid
11.0ms22×body320valid
4.0ms13×body160valid
2.0msbody2560valid

simplify1.6s

Counts
1 → 1
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
01937
13137
25336
38236
420136
582936
done500036

prune30.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 34.3b

localize50.0ms

Local error

Found 4 expressions with local error:

2.3b
(* (atan2 x.im x.re) y.im)
30.6b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.6b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.7b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite72.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:
11.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)))
31.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series394.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* (atan2 x.im x.re) y.im)
46.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
50.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
269.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify4.1s

Counts
68 → 68
Iterations

Useful iterations: 3 (373.0ms)

IterNodesCost
098845
1198787
2442699
3831686
41663686
54083686
done5001686

prune560.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 19.6b

localize61.0ms

Local error

Found 4 expressions with local error:

30.6b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.7b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
34.7b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
34.7b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite88.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)))
18.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
18.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
43.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series704.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
216.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
186.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
257.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify3.5s

Counts
51 → 51
Iterations

Useful iterations: 3 (185.0ms)

IterNodesCost
0711005
1144975
2279851
3547842
41284842
53417842
done5000842

prune589.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 19.6b

localize47.0ms

Local error

Found 4 expressions with local error:

2.3b
(* (atan2 x.im x.re) y.im)
30.6b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.6b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.7b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite85.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)
13.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
18.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
46.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series377.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(* (atan2 x.im x.re) y.im)
48.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
54.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
240.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify4.0s

Counts
68 → 68
Iterations

Useful iterations: 3 (365.0ms)

IterNodesCost
098845
1198787
2442699
3831686
41663686
54083686
done5001686

prune561.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 19.6b

localize58.0ms

Local error

Found 4 expressions with local error:

30.6b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.7b
(cbrt (+ (* x.re x.re) (* x.im x.im)))
31.7b
(cbrt (+ (* x.re x.re) (* x.im x.im)))
34.7b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite52.0ms

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

series613.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
150.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
173.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
246.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify2.3s

Counts
61 → 61
Iterations

Useful iterations: 3 (720.0ms)

IterNodesCost
096941
1195901
2385779
3774772
41942772
done5000772

prune625.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 19.6b

regimes623.0ms

Accuracy

79.1% (3.0b remaining)

Error of 22.4b against oracle of 19.3b and baseline of 33.8b

bsearch231.0ms

Steps
ItersRangePoint
10
-1.9739641733344554e-305
8.845804037490812e-301
-5.774698178669197e-309

simplify33.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03066
13966
done3966

end0.0ms

sample8.6s

Algorithm
intervals
Results
3.2s2175×body1280valid
2.0s1425×body640valid
1.7s7945×body80valid
767.0ms576×body320valid
167.0ms50×body2560valid
78.0ms249×body160valid