Details

Time bar (total: 1.0m)

sample513.0ms

Algorithm
intervals
Results
113.0ms256×body80valid
80.0ms43×body1280valid
69.0ms53×body640valid
41.0msbody160valid
14.0ms16×body320valid

simplify3.2s

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

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.9b

localize66.0ms

Local error

Found 4 expressions with local error:

1.2b
(* (atan2 x.im x.re) y.re)
29.7b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
29.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite330.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
16×sqrt-prod
12×add-sqr-sqrt
11×associate-*l*
10×distribute-lft-out
pow1 add-cube-cbrt
add-cbrt-cube add-exp-log
sqrt-div swap-sqr insert-posit16 add-log-exp
associate-*r*
rem-sqrt-square cos-sum sqrt-pow1 flip3-+ pow1/2 flip-+
+-commutative pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 71
Calls
4 calls:
7.0ms
(* (atan2 x.im x.re) y.re)
127.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
77.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
114.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series426.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (atan2 x.im x.re) y.re)
237.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
74.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
83.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify1.9s

Counts
83 → 83
Iterations
IterNodes
done5000
42040
3865
2415
1201
0101

prune707.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 18.7b

localize55.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)
0.9b
(* (atan2 x.im x.re) y.im)
29.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite358.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
27×add-sqr-sqrt
20×associate-*l*
13×pow1 exp-prod
10×add-cube-cbrt
add-cbrt-cube add-exp-log sqrt-prod
add-log-exp
associate-*r* distribute-lft-out-- unswap-sqr
log-pow distribute-lft-out
insert-posit16 difference-of-squares
sqrt-pow1 pow1/2 sqrt-div swap-sqr exp-sum pow-prod-down prod-exp *-commutative cbrt-unprod rem-exp-log
rem-sqrt-square sub-neg flip3-+ exp-diff diff-log flip-+
Counts
4 → 88
Calls
4 calls:
236.0ms
(exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im)))
11.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
7.0ms
(* (atan2 x.im x.re) y.im)
101.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series377.0ms

Counts
4 → 12
Calls
4 calls:
130.0ms
(exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im)))
149.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
31.0ms
(* (atan2 x.im x.re) y.im)
67.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify2.1s

Counts
100 → 100
Iterations
IterNodes
done5000
31766
2719
1320
0147

prune678.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 2.1b

localize111.0ms

Local error

Found 4 expressions with local error:

1.3b
(* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re)))
29.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.0b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))))

rewrite1.0s

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
40×*-un-lft-identity
33×associate-*r*
22×cbrt-prod
17×associate-*l* unswap-sqr
16×add-cube-cbrt sqrt-prod
14×add-cbrt-cube
12×swap-sqr
11×pow1
10×distribute-lft-out
add-exp-log cbrt-unprod
sqrt-div insert-posit16 add-log-exp
pow-prod-down prod-exp *-commutative
rem-sqrt-square cos-sum sqrt-pow1 flip3-+ pow1/2 flip-+
+-commutative
Counts
4 → 109
Calls
4 calls:
77.0ms
(* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re)))
79.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
75.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
775.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))))

series468.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re)))
53.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
57.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
236.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))))

simplify2.2s

Counts
121 → 121
Iterations
IterNodes
done5001
32111
2906
1415
0168

prune932.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 2.1b

localize101.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (atan2 x.im x.re) (* (cbrt (* (cbrt y.re) (cbrt y.re))) (cbrt (* (cbrt y.re) (cbrt y.re)))))
29.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.9b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (* (* (atan2 x.im x.re) (* (cbrt (* (cbrt y.re) (cbrt y.re))) (cbrt (* (cbrt y.re) (cbrt y.re))))) (cbrt (* (cbrt y.re) (cbrt y.re)))) (cbrt y.re))))

rewrite27.0s

Algorithm
rewrite-expression-head
Rules
846×cbrt-prod
822×add-sqr-sqrt
511×unswap-sqr
257×associate-*r*
174×swap-sqr
76×*-un-lft-identity
67×associate-*l*
53×*-commutative
48×add-cube-cbrt
16×sqrt-prod
14×add-cbrt-cube
11×pow1
10×distribute-lft-out
add-exp-log cbrt-unprod
sqrt-div insert-posit16 add-log-exp
pow-prod-down prod-exp
rem-sqrt-square cos-sum sqrt-pow1 flip3-+ pow1/2 flip-+
+-commutative
Counts
4 → 395
Calls
4 calls:
358.0ms
(* (atan2 x.im x.re) (* (cbrt (* (cbrt y.re) (cbrt y.re))) (cbrt (* (cbrt y.re) (cbrt y.re)))))
71.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
71.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
26.4s
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (* (* (atan2 x.im x.re) (* (cbrt (* (cbrt y.re) (cbrt y.re))) (cbrt (* (cbrt y.re) (cbrt y.re))))) (cbrt (* (cbrt y.re) (cbrt y.re)))) (cbrt y.re))))

series620.0ms

Counts
4 → 12
Calls
4 calls:
245.0ms
(* (atan2 x.im x.re) (* (cbrt (* (cbrt y.re) (cbrt y.re))) (cbrt (* (cbrt y.re) (cbrt y.re)))))
64.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
63.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
248.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (* (* (atan2 x.im x.re) (* (cbrt (* (cbrt y.re) (cbrt y.re))) (cbrt (* (cbrt y.re) (cbrt y.re))))) (cbrt (* (cbrt y.re) (cbrt y.re)))) (cbrt y.re))))

simplify2.7s

Counts
407 → 407
Iterations
IterNodes
done5000
22579
11068
0424

prune2.7s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 2.1b

regimes627.0ms

Accuracy

62.9% (5.9b remaining)

Error of 9.3b against oracle of 3.4b and baseline of 19.4b

bsearch340.0ms

Steps
ItersRangePoint
6
6.2956859368800825e-205
2.6609176224936472e-204
7.402062416285907e-205
8
-1.1392530337654849e-282
-2.574729366748541e-287
-8.138202357158243e-284

simplify14.0ms

Iterations
IterNodes
done43
143
033

end0.0ms

sample11.1s

Algorithm
intervals
Results
3.9s1961×body1280valid
3.0s8009×body80valid
2.0s1444×body640valid
1.6s638×body320valid
206.0ms291×body160valid