Details

Time bar (total: 33.7s)

sample487.0ms

Algorithm
intervals
Results
172.0ms64×body1280valid
58.0ms257×body80valid
50.0ms49×body640valid
15.0ms22×body320valid
10.0msbody2560valid
2.0msbody160valid

simplify2.2s

Counts
1 → 1
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
01937
13137
25336
38536
422036
5102336
done500036

prune38.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 34.8b

localize93.0ms

Local error

Found 4 expressions with local error:

1.6b
(* (atan2 x.im x.re) y.im)
31.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite93.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:
14.0ms
(* (atan2 x.im x.re) y.im)
16.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
15.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
42.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series480.0ms

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

simplify3.9s

Counts
68 → 68
Iterations

Useful iterations: 3 (865.0ms)

IterNodesCost
098845
1202787
2554701
32840686
done5001686

prune926.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 19.4b

localize121.0ms

Local error

Found 4 expressions with local error:

31.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.4b
(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)))

rewrite301.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:
14.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
15.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
14.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
255.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)))

series497.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
73.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
69.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
284.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)))

simplify2.0s

Counts
65 → 65
Iterations

Useful iterations: 3 (255.0ms)

IterNodesCost
0731155
11501073
2308767
3733718
42354718
done5001718

prune992.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 19.4b

localize118.0ms

Local error

Found 4 expressions with local error:

31.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
32.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
32.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite140.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:
17.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
38.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
46.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
37.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series971.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
300.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
303.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
301.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify1.6s

Counts
51 → 51
Iterations

Useful iterations: 3 (252.0ms)

IterNodesCost
0711005
1144975
2294851
3654842
41878842
done5001842

prune967.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 19.4b

localize168.0ms

Local error

Found 4 expressions with local error:

31.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
32.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
32.4b
(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)))

rewrite403.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:
16.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
36.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
37.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
312.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)))

series970.0ms

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

simplify2.4s

Counts
51 → 51
Iterations

Useful iterations: 3 (292.0ms)

IterNodesCost
0871257
11691227
2328881
3775842
42453842
done5002842

prune873.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 19.4b

regimes931.0ms

Accuracy

73.3% (3.8b remaining)

Error of 23.2b against oracle of 19.3b and baseline of 33.7b

bsearch950.0ms

Steps
ItersRangePoint
9
-3.3603542884328756e-305
1.1816968720805067e-306
-3.74344114573463e-310
9
-1.2618836190012003e-250
-4.5788347452376576e-256
-5.792029271889603e-251
9
-3.582918381276583e-34
-6.717343741613054e-42
-9.165303032490151e-42

simplify13.0ms

Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
053244
172244
done72244

end0.0ms

sample11.0s

Algorithm
intervals
Results
4.6s2210×body1280valid
2.7s7949×body80valid
2.0s1460×body640valid
437.0ms562×body320valid
203.0ms47×body2560valid
93.0ms211×body160valid