Details

Time bar (total: 13.9s)

sample231.0ms

Algorithm
intervals
Results
26.0ms192×body80valid
12.0ms14×body5120valid
11.0ms19×body1280valid
9.0ms13×body2560valid
3.0msbody640valid
2.0msbody320valid
1.0msbody160valid

simplify85.0ms

Counts
1 → 1
Iterations
IterNodes
535
435
330
224
117
012

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.7b

localize23.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
1.3b
(- (sqrt (+ (* re re) (* im im))) re)
30.7b
(sqrt (+ (* re re) (* im im)))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1
*-un-lft-identity
sqrt-prod add-log-exp
sqrt-div add-cube-cbrt
sqrt-pow1 add-cbrt-cube add-exp-log insert-posit16
flip3-- pow1/2 associate-*r/ flip-- difference-of-squares
rem-sqrt-square sub-neg flip3-+ diff-log pow-prod-down flip-+ distribute-lft-out--
Counts
3 → 46
Calls
3 calls:
37.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
40.0ms
(- (sqrt (+ (* re re) (* im im))) re)
9.0ms
(sqrt (+ (* re re) (* im im)))

series363.0ms

Counts
3 → 9
Calls
3 calls:
229.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
63.0ms
(- (sqrt (+ (* re re) (* im im))) re)
70.0ms
(sqrt (+ (* re re) (* im im)))

simplify675.0ms

Counts
55 → 55
Iterations
IterNodes
32259
2662
1230
0109

prune308.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 19.0b

localize62.0ms

Local error

Found 4 expressions with local error:

15.6b
(sqrt (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))))
31.7b
(cbrt (+ (* re re) (* im im)))
31.7b
(cbrt (+ (* re re) (* im im)))
31.7b
(cbrt (+ (* re re) (* im im)))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-div
12×pow1
cbrt-prod sqrt-pow1 flip3-+ pow1/3 flip-+
sqrt-div
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
frac-times add-cbrt-cube add-exp-log insert-posit16 add-log-exp
pow-prod-down associate-*l/ associate-*r/ pow-sqr pow-prod-up
pow2 rem-sqrt-square pow-plus pow1/2 sqrt-prod
Counts
4 → 70
Calls
4 calls:
30.0ms
(sqrt (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))))
8.0ms
(cbrt (+ (* re re) (* im im)))
8.0ms
(cbrt (+ (* re re) (* im im)))
9.0ms
(cbrt (+ (* re re) (* im im)))

series545.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(sqrt (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))))
136.0ms
(cbrt (+ (* re re) (* im im)))
131.0ms
(cbrt (+ (* re re) (* im im)))
144.0ms
(cbrt (+ (* re re) (* im im)))

simplify1.2s

Counts
82 → 82
Iterations
IterNodes
42656
3995
2380
1178
098

prune515.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 19.0b

localize82.0ms

Local error

Found 4 expressions with local error:

15.6b
(sqrt (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))))
31.7b
(cbrt (+ (* re re) (* im im)))
31.7b
(cbrt (+ (* re re) (* im im)))
33.9b
(pow (+ (* re re) (* im im)) 1/3)

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
16×cbrt-div
13×pow1
sqrt-pow1
add-sqr-sqrt *-un-lft-identity flip3-+ pow1/3 sqrt-div add-cube-cbrt flip-+
cbrt-prod
add-exp-log
frac-times add-cbrt-cube insert-posit16 add-log-exp
pow-unpow unpow-prod-down
pow-prod-down associate-*l/ associate-*r/ pow-sqr pow-prod-up
pow2 pow-to-exp rem-sqrt-square pow-pow pow-plus pow1/2 unpow1/3 pow-exp sqrt-prod sqr-pow
Counts
4 → 75
Calls
4 calls:
25.0ms
(sqrt (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))))
8.0ms
(cbrt (+ (* re re) (* im im)))
8.0ms
(cbrt (+ (* re re) (* im im)))
16.0ms
(pow (+ (* re re) (* im im)) 1/3)

series547.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(sqrt (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))))
133.0ms
(cbrt (+ (* re re) (* im im)))
143.0ms
(cbrt (+ (* re re) (* im im)))
148.0ms
(pow (+ (* re re) (* im im)) 1/3)

simplify2.4s

Counts
87 → 87
Iterations
IterNodes
44635
31724
2601
1238
0121

prune603.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 19.0b

localize107.0ms

Local error

Found 4 expressions with local error:

31.7b
(cbrt (+ (* re re) (* im im)))
31.7b
(cbrt (+ (* re re) (* im im)))
31.7b
(cbrt (+ (* re re) (* im im)))
31.7b
(cbrt (+ (* im im) (* re re)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt cbrt-div *-un-lft-identity add-cube-cbrt
pow1 flip3-+ add-cbrt-cube pow1/3 add-exp-log flip-+ insert-posit16 add-log-exp
Counts
4 → 56
Calls
4 calls:
7.0ms
(cbrt (+ (* re re) (* im im)))
8.0ms
(cbrt (+ (* re re) (* im im)))
8.0ms
(cbrt (+ (* re re) (* im im)))
16.0ms
(cbrt (+ (* im im) (* re re)))

series595.0ms

Counts
4 → 12
Calls
4 calls:
143.0ms
(cbrt (+ (* re re) (* im im)))
146.0ms
(cbrt (+ (* re re) (* im im)))
153.0ms
(cbrt (+ (* re re) (* im im)))
153.0ms
(cbrt (+ (* im im) (* re re)))

simplify690.0ms

Counts
68 → 68
Iterations
IterNodes
32067
2594
1192
087

prune714.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 19.0b

regimes650.0ms

Accuracy

59.5% (8.2b remaining)

Error of 25.1b against oracle of 16.9b and baseline of 37.2b

bsearch131.0ms

Steps
ItersRangePoint
8
5.533177257986633e-297
5.967371095735031e-294
3.3104042253656975e-296
10
-5.119440634421198e+122
-1.7867168956050676e+111
-3.2601941440528353e+122

simplify25.0ms

Iterations
IterNodes
241
141
031

end0.0ms

sample3.1s

Algorithm
intervals
Results
987.0ms652×body2560valid
982.0ms6057×body80valid
397.0ms506×body1280valid
296.0ms285×body5120valid
172.0ms271×body640valid
58.0ms162×body320valid
16.0ms67×body160valid