Details

Time bar (total: 15.2s)

sample156.0ms

Algorithm
intervals
Results
55.0ms190×body80valid
8.0ms15×body5120valid
7.0ms16×body2560valid
4.0ms13×body640valid
3.0msbody1280valid
2.0msbody320valid
1.0msbody160valid

simplify29.0ms

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

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.2b

localize40.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
1.1b
(- (sqrt (+ (* re re) (* im im))) re)
29.8b
(sqrt (+ (* re re) (* im im)))

rewrite69.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:
27.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
31.0ms
(- (sqrt (+ (* re re) (* im im))) re)
8.0ms
(sqrt (+ (* re re) (* im im)))

series356.0ms

Counts
3 → 9
Calls
3 calls:
247.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
59.0ms
(- (sqrt (+ (* re re) (* im im))) re)
49.0ms
(sqrt (+ (* re re) (* im im)))

simplify1.0s

Counts
55 → 55
Iterations
IterNodes
done2000
32000
2631
1231
0109

prune376.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 18.3b

localize72.0ms

Local error

Found 4 expressions with local error:

15.4b
(sqrt (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))))
30.7b
(cbrt (+ (* re re) (* im im)))
30.7b
(cbrt (+ (* re re) (* im im)))
30.7b
(cbrt (+ (* re re) (* im im)))

rewrite54.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:
28.0ms
(sqrt (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))))
7.0ms
(cbrt (+ (* re re) (* im im)))
8.0ms
(cbrt (+ (* re re) (* im im)))
8.0ms
(cbrt (+ (* re re) (* im im)))

series626.0ms

Counts
4 → 12
Calls
4 calls:
158.0ms
(sqrt (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))))
160.0ms
(cbrt (+ (* re re) (* im im)))
163.0ms
(cbrt (+ (* re re) (* im im)))
144.0ms
(cbrt (+ (* re re) (* im im)))

simplify1.2s

Counts
82 → 82
Iterations
IterNodes
done2001
42001
3846
2363
1184
098

prune820.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 18.3b

localize34.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
8.2b
(- (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
30.7b
(cbrt (+ (* re re) (* im im)))
30.7b
(cbrt (+ (* re re) (* im im)))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
10×cbrt-prod *-un-lft-identity add-cube-cbrt
associate-*r*
sqrt-prod
pow1 cbrt-div add-cbrt-cube add-exp-log add-log-exp
insert-posit16
flip3-+ associate-*l* flip-+ unswap-sqr
pow1/3 sqrt-div associate-*r/
sub-neg flip3-- diff-log pow-prod-down prod-exp *-commutative cbrt-unprod flip--
Counts
4 → 70
Calls
4 calls:
42.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
19.0ms
(- (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
4.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))

series579.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
120.0ms
(- (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
109.0ms
(cbrt (+ (* re re) (* im im)))
164.0ms
(cbrt (+ (* re re) (* im im)))

simplify1.3s

Counts
82 → 82
Iterations
IterNodes
done2007
32007
2962
1313
0139

prune722.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 18.3b

localize86.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.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:
4.0ms
(cbrt (+ (* re re) (* im im)))
6.0ms
(cbrt (+ (* re re) (* im im)))
5.0ms
(cbrt (+ (* re re) (* im im)))
6.0ms
(cbrt (+ (* re re) (* im im)))

series584.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(cbrt (+ (* re re) (* im im)))
152.0ms
(cbrt (+ (* re re) (* im im)))
148.0ms
(cbrt (+ (* re re) (* im im)))
131.0ms
(cbrt (+ (* re re) (* im im)))

simplify1.2s

Counts
68 → 68
Iterations
IterNodes
done2000
42000
31029
2311
1124
052

prune646.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 18.3b

regimes1.3s

Accuracy

48.1% (8.7b remaining)

Error of 29.5b against oracle of 20.8b and baseline of 37.5b

bsearch540.0ms

Steps
ItersRangePoint
10
4.251774185193346e+92
3.6320788971313044e+105
5.455674444836594e+103
9
9.919060286317535e-155
2.0608953543470925e-149
1.4179178681524915e-154
5
2.6731773329168343e-265
6.678339205100192e-265
2.7223497161661665e-265
4
3.679593790808379e-286
5.780899115170597e-286
4.714591495324224e-286
5
-1.433630891391838e-278
-5.523285222491458e-279
-6.24220698546632e-279
7
-2.0048899286384712e-142
-2.81197898055538e-144
-3.854335289020707e-144

simplify24.0ms

Iterations
IterNodes
done58
158
047

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.1s663×body2560valid
927.0ms6086×body80valid
409.0ms471×body1280valid
362.0ms287×body5120valid
131.0ms265×body640valid
54.0ms147×body320valid
19.0ms81×body160valid