Details

Time bar (total: 25.2s)

sample253.0ms

Algorithm
intervals
Results
76.0ms256×body80valid
66.0ms77×body1280valid
27.0ms47×body640valid
8.0ms22×body320valid
2.0msbody160valid

simplify1.7s

Counts
1 → 1
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
01937
13137
25336
38536
422036
5102336
done500036

prune23.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 29.4b

localize48.0ms

Local error

Found 4 expressions with local error:

2.1b
(* (atan2 x.im x.re) y.im)
26.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
26.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.9b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

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

series369.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* (atan2 x.im x.re) y.im)
51.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
64.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
227.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify2.8s

Counts
68 → 68
Iterations

Useful iterations: 3 (624.0ms)

IterNodesCost
098845
1202787
2554701
32840686
done5001686

prune746.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 16.6b

localize90.0ms

Local error

Found 4 expressions with local error:

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

rewrite255.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:
9.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
17.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
219.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)))

series385.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
55.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
61.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
217.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)))

simplify1.5s

Counts
65 → 65
Iterations

Useful iterations: 3 (192.0ms)

IterNodesCost
0731155
11501073
2308767
3733718
42354718
done5001718

prune700.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 16.5b

localize79.0ms

Local error

Found 4 expressions with local error:

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

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

series691.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
202.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
205.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
232.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify1.3s

Counts
51 → 51
Iterations

Useful iterations: 3 (220.0ms)

IterNodesCost
0711005
1144975
2294851
3654842
41878842
done5001842

prune685.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 16.5b

localize51.0ms

Local error

Found 4 expressions with local error:

2.1b
(* (atan2 x.im x.re) y.im)
26.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
26.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.9b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite56.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)
21.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
19.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series332.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (atan2 x.im x.re) y.im)
60.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
44.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
199.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify3.3s

Counts
68 → 68
Iterations

Useful iterations: 3 (579.0ms)

IterNodesCost
098845
1202787
2554701
32840686
done5001686

prune544.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 16.5b

regimes664.0ms

Accuracy

76.6% (3.2b remaining)

Error of 22.9b against oracle of 19.7b and baseline of 33.4b

bsearch224.0ms

Steps
ItersRangePoint
9
-2.8211790278830396e-308
4.4103299004613507e-302
-5.567353220296205e-309

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03066
13966
done3966

end0.0ms

sample8.4s

Algorithm
intervals
Results
3.3s2185×body1280valid
2.1s7969×body80valid
1.5s1400×body640valid
440.0ms557×body320valid
149.0ms44×body2560valid
72.0ms209×body160valid