Details

Time bar (total: 29.5s)

sample1.3s

Algorithm
intervals
Results
743.0ms248×body80valid
103.0ms61×body1280valid
45.0ms42×body640valid
15.0ms21×body320valid
4.0msbody160valid

simplify3.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
019784
131784
253784
385784
4236784
51115784
done5000784

prune17.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.5b

localize125.0ms

Local error

Found 4 expressions with local error:

1.7b
(* (atan2 x.im x.re) y.im)
28.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.9b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 *-un-lft-identity add-cube-cbrt
add-cbrt-cube add-exp-log sqrt-prod
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)
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series412.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(* (atan2 x.im x.re) y.im)
67.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
55.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
255.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify2.7s

Counts
68 → 68
Iterations

Useful iterations: 3 (802.0ms)

IterNodesCost
09920213
120419175
257719175
3304619055
done500119055

prune735.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 21.5b

localize95.0ms

Local error

Found 4 expressions with local error:

1.4b
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im)))
28.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.9b
(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
11×pow1
10×add-sqr-sqrt
add-exp-log
*-un-lft-identity add-cbrt-cube add-cube-cbrt
sqrt-prod
sqrt-div add-log-exp
associate-*l* pow-prod-down prod-exp cbrt-unprod
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
sin-sum associate-*r* *-commutative unswap-sqr
Counts
4 → 57
Calls
4 calls:
35.0ms
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im)))
13.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
13.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
26.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series415.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im)))
43.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
56.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
204.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify1.6s

Counts
69 → 69
Iterations

Useful iterations: 3 (680.0ms)

IterNodesCost
010824053
123821910
259521830
3176521510
done500021510

prune727.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 21.5b

localize212.0ms

Local error

Found 4 expressions with local error:

5.8b
(cbrt (* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im))))
28.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.9b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 *-un-lft-identity add-cube-cbrt sqrt-prod
add-cbrt-cube sqrt-div add-exp-log add-log-exp
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
cbrt-prod sin-sum pow1/3
Counts
4 → 47
Calls
4 calls:
13.0ms
(cbrt (* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im))))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
7.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)))

series578.0ms

Counts
4 → 12
Calls
4 calls:
237.0ms
(cbrt (* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im))))
65.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
58.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
218.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify2.5s

Counts
59 → 59
Iterations

Useful iterations: 3 (364.0ms)

IterNodesCost
09521513
119319510
243019510
3113519310
4393719310
done500219310

prune877.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 21.5b

localize232.0ms

Local error

Found 4 expressions with local error:

5.8b
(cbrt (* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im))))
28.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.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 *-un-lft-identity add-cube-cbrt sqrt-prod
add-cbrt-cube sqrt-div add-exp-log add-log-exp
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
cbrt-prod sin-sum pow1/3
Counts
4 → 47
Calls
4 calls:
26.0ms
(cbrt (* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im))))
12.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
13.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
26.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series501.0ms

Counts
4 → 12
Calls
4 calls:
189.0ms
(cbrt (* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im))))
63.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
41.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
209.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify2.4s

Counts
59 → 59
Iterations

Useful iterations: 3 (363.0ms)

IterNodesCost
09521513
119319510
243019510
3113519310
4393719310
done500219310

prune778.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 21.5b

regimes773.0ms

Accuracy

78.5% (3.1b remaining)

Error of 22.1b against oracle of 19.1b and baseline of 33.3b

bsearch207.0ms

Steps
ItersRangePoint
8
-2.1744703393091546e-306
1.1006474964727005e-306
-5.18925159072013e-310

simplify13.0ms

Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
0291275
1391275
done391275

end0.0ms

sample8.8s

Algorithm
intervals
Results
3.9s2261×body1280valid
2.3s8009×body80valid
1.3s1409×body640valid
390.0ms558×body320valid
135.0ms54×body2560valid
124.0ms244×body160valid