Details

Time bar (total: 42.8s)

sample402.0ms

Algorithm
intervals
Results
116.0ms59×body640valid
85.0ms59×body1280valid
60.0ms257×body80valid
9.0ms14×body320valid
4.0msbody160valid

simplify4.2s

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

prune17.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.1b

localize119.0ms

Local error

Found 4 expressions with local error:

1.6b
(* (atan2 x.im x.re) y.im)
29.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.5b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite121.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-+
cos-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 60
Calls
4 calls:
18.0ms
(* (atan2 x.im x.re) y.im)
21.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
21.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
51.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series646.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(* (atan2 x.im x.re) y.im)
59.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
88.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
425.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify4.5s

Counts
72 → 72
Iterations
IterNodes
done5000
42209
3928
2425
1202
099

prune1.2s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 19.9b

localize61.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im)))
0.3b
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
1.6b
(* (atan2 x.im x.re) y.im)
29.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
11×pow1
10×*-un-lft-identity add-cube-cbrt
associate-*l*
add-cbrt-cube add-exp-log
add-log-exp
associate-*r*
insert-posit16
exp-prod log-pow sqrt-prod
sqrt-pow1 pow1/2 sqrt-div exp-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr rem-exp-log
rem-sqrt-square sub-neg flip3-+ exp-diff diff-log flip-+
Counts
4 → 73
Calls
4 calls:
55.0ms
(exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im)))
33.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
14.0ms
(* (atan2 x.im x.re) y.im)
10.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series644.0ms

Counts
4 → 12
Calls
4 calls:
301.0ms
(exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im)))
190.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
71.0ms
(* (atan2 x.im x.re) y.im)
81.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify4.4s

Counts
85 → 85
Iterations
IterNodes
done5000
31739
2674
1297
0137

prune1.4s

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 3.4b

localize87.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (log (cbrt (* (+ (* x.re x.re) (* x.im x.im)) (sqrt (+ (* x.re x.re) (* x.im x.im)))))) y.re)
1.6b
(* (atan2 x.im x.re) y.im)
29.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
37.6b
(cbrt (* (+ (* x.re x.re) (* x.im x.im)) (sqrt (+ (* x.re x.re) (* x.im x.im)))))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
10×pow1
*-un-lft-identity add-cube-cbrt
cbrt-div add-cbrt-cube sqrt-div associate-*l* add-exp-log
flip3-+ flip-+
associate-*r*
frac-times insert-posit16 add-log-exp
sqrt-prod
pow1/3 pow-prod-down associate-*l/ prod-exp associate-*r/ log-pow *-commutative cbrt-unprod unswap-sqr
cbrt-prod rem-sqrt-square sqrt-pow1 pow1/2 pow3 rem-cbrt-cube
Counts
4 → 75
Calls
4 calls:
36.0ms
(* (log (cbrt (* (+ (* x.re x.re) (* x.im x.im)) (sqrt (+ (* x.re x.re) (* x.im x.im)))))) y.re)
22.0ms
(* (atan2 x.im x.re) y.im)
21.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
27.0ms
(cbrt (* (+ (* x.re x.re) (* x.im x.im)) (sqrt (+ (* x.re x.re) (* x.im x.im)))))

series402.0ms

Counts
4 → 12
Calls
4 calls:
214.0ms
(* (log (cbrt (* (+ (* x.re x.re) (* x.im x.im)) (sqrt (+ (* x.re x.re) (* x.im x.im)))))) y.re)
60.0ms
(* (atan2 x.im x.re) y.im)
73.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
54.0ms
(cbrt (* (+ (* x.re x.re) (* x.im x.im)) (sqrt (+ (* x.re x.re) (* x.im x.im)))))

simplify3.9s

Counts
87 → 87
Iterations
IterNodes
done5001
31947
2727
1298
0149

prune1.4s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 3.4b

localize187.0ms

Local error

Found 4 expressions with local error:

1.6b
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im)))
29.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.5b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite115.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 insert-posit16 add-log-exp
associate-*l* pow-prod-down prod-exp cbrt-unprod
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
cos-sum associate-*r* *-commutative unswap-sqr
Counts
4 → 61
Calls
4 calls:
54.0ms
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im)))
10.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
10.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
36.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series792.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im)))
79.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
64.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
480.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify7.2s

Counts
73 → 73
Iterations
IterNodes
done5000
43774
31125
2513
1236
0108

prune1.3s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 3.4b

regimes1.3s

Accuracy

73.8% (5.5b remaining)

Error of 9.2b against oracle of 3.7b and baseline of 24.5b

bsearch177.0ms

Steps
ItersRangePoint
8
-5.100675455252401e-306
1.585521898477689e-306
-1.2253344719312e-312

simplify12.0ms

Iterations
IterNodes
done28
128
021

end0.0ms

sample8.0s

Algorithm
intervals
Results
2.8s2049×body1280valid
2.4s7949×body80valid
1.4s1462×body640valid
448.0ms656×body320valid
145.0ms304×body160valid