Details

Time bar (total: 34.0s)

sample646.0ms

Algorithm
intervals
Results
249.0ms66×body1280valid
193.0ms253×body80valid
49.0ms42×body640valid
11.0ms11×body320valid
6.0msbody160valid
6.0msbody2560valid

simplify3.5s

Counts
1 → 1
Iterations
IterNodes
done5001
5808
4197
382
253
131
019

prune13.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.3b

localize76.0ms

Local error

Found 4 expressions with local error:

0.9b
(* (atan2 x.im x.re) y.re)
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.5b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite54.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 insert-posit16 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 → 60
Calls
4 calls:
5.0ms
(* (atan2 x.im x.re) y.re)
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series358.0ms

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

simplify2.0s

Counts
72 → 72
Iterations
IterNodes
done5000
42040
3860
2413
1203
0100

prune718.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 20.7b

localize130.0ms

Local error

Found 4 expressions with local error:

24.4b
(cos (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im))
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 *-un-lft-identity add-cube-cbrt
sqrt-div
add-cbrt-cube add-exp-log insert-posit16 add-log-exp
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 56
Calls
4 calls:
18.0ms
(cos (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im))
12.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
12.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
12.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series332.0ms

Counts
4 → 12
Calls
4 calls:
159.0ms
(cos (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im))
68.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
46.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
58.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify2.9s

Counts
68 → 68
Iterations
IterNodes
done5001
53766
41209
3551
2265
1130
060

prune845.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 20.7b

localize111.0ms

Local error

Found 4 expressions with local error:

29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.5b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
30.5b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
30.5b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 *-un-lft-identity add-cube-cbrt
add-cbrt-cube add-exp-log insert-posit16 add-log-exp
sin-sum sqrt-prod
sqrt-div
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 43
Calls
4 calls:
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
15.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
15.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
16.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series659.0ms

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

simplify2.9s

Counts
55 → 55
Iterations
IterNodes
done5000
53634
41189
3531
2270
1146
073

prune805.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 20.7b

localize168.0ms

Local error

Found 4 expressions with local error:

30.5b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
30.5b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
30.5b
(sin (+ (* (log (posit16->real (real->posit16 (sqrt (+ (* x.re x.re) (* x.im x.im)))))) y.im) (* (atan2 x.im x.re) y.re)))
59.7b
(posit16->real (real->posit16 (sqrt (+ (* x.re x.re) (* x.im x.im)))))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt insert-posit16 add-log-exp
sin-sum
remove-posit16
Counts
4 → 36
Calls
4 calls:
16.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
20.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
14.0ms
(sin (+ (* (log (posit16->real (real->posit16 (sqrt (+ (* x.re x.re) (* x.im x.im)))))) y.im) (* (atan2 x.im x.re) y.re)))
0.0ms
(posit16->real (real->posit16 (sqrt (+ (* x.re x.re) (* x.im x.im)))))

series749.0ms

Counts
4 → 12
Calls
4 calls:
211.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
240.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
238.0ms
(sin (+ (* (log (posit16->real (real->posit16 (sqrt (+ (* x.re x.re) (* x.im x.im)))))) y.im) (* (atan2 x.im x.re) y.re)))
60.0ms
(posit16->real (real->posit16 (sqrt (+ (* x.re x.re) (* x.im x.im)))))

simplify3.4s

Counts
48 → 48
Iterations
IterNodes
done5011
94248
82354
71406
61087
5489
4279
3177
2122
1100
069

prune915.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 20.7b

regimes861.0ms

Accuracy

75.6% (3.3b remaining)

Error of 22.9b against oracle of 19.6b and baseline of 33.1b

bsearch292.0ms

Steps
ItersRangePoint
8
-2.439564962497264e-306
1.2873264571255324e-307
-4.2640896224449e-310

simplify11.0ms

Iterations
IterNodes
done39
139
029

end0.0ms

sample11.3s

Algorithm
intervals
Results
4.4s2232×body1280valid
2.8s7967×body80valid
2.8s1424×body640valid
568.0ms584×body320valid
182.0ms45×body2560valid
123.0ms244×body160valid