Details

Time bar (total: 15.6s)

sample276.0ms

Algorithm
intervals
Results
64.0ms192×body80valid
44.0ms19×body1280valid
17.0ms13×body2560valid
16.0ms14×body5120valid
6.0msbody640valid
2.0msbody320valid
2.0msbody160valid

simplify96.0ms

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

prune34.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.7b

localize24.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)))

rewrite77.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:
23.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
43.0ms
(- (sqrt (+ (* re re) (* im im))) re)
9.0ms
(sqrt (+ (* re re) (* im im)))

series511.0ms

Counts
3 → 9
Calls
3 calls:
244.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
91.0ms
(- (sqrt (+ (* re re) (* im im))) re)
176.0ms
(sqrt (+ (* re re) (* im im)))

simplify845.0ms

Counts
55 → 55
Iterations
IterNodes
done2000
32000
2631
1231
0109

prune683.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 22.4b

localize68.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)))

rewrite59.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:
34.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)))

series538.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(sqrt (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))))
136.0ms
(cbrt (+ (* re re) (* im im)))
129.0ms
(cbrt (+ (* re re) (* im im)))
148.0ms
(cbrt (+ (* re re) (* im im)))

simplify1.0s

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

prune1.3s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 22.4b

localize60.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
cbrt-prod pow1 sqrt-prod
cbrt-div flip3-+ add-cbrt-cube sqrt-div add-exp-log flip-+ insert-posit16 add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
Counts
4 → 60
Calls
4 calls:
13.0ms
(sqrt (+ (* re re) (* im im)))
13.0ms
(sqrt (+ (* re re) (* im im)))
8.0ms
(cbrt (+ (* re re) (* im im)))
15.0ms
(cbrt (+ (* re re) (* im im)))

series401.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(sqrt (+ (* re re) (* im im)))
58.0ms
(sqrt (+ (* re re) (* im im)))
146.0ms
(cbrt (+ (* re re) (* im im)))
145.0ms
(cbrt (+ (* re re) (* im im)))

simplify969.0ms

Counts
72 → 72
Iterations
IterNodes
done2011
42011
31085
2332
1144
067

prune1.1s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 22.4b

localize31.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
7.4b
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
30.7b
(sqrt (+ (* re re) (* im im)))
30.7b
(sqrt (+ (* re re) (* im im)))

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
51×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
18×*-un-lft-identity pow1/2 add-cube-cbrt
15×swap-sqr
associate-*r* associate-*l* pow-prod-up unswap-sqr
flip3-+ flip-+
add-cbrt-cube add-exp-log add-log-exp
pow-prod-down pow-sqr
frac-times insert-posit16
rem-sqrt-square associate-*l/ associate-*r/
pow2 sub-neg rem-square-sqrt pow-plus flip3-- sqrt-unprod diff-log prod-exp *-commutative cbrt-unprod flip-- difference-of-squares
Counts
4 → 130
Calls
4 calls:
39.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
44.0ms
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
12.0ms
(sqrt (+ (* re re) (* im im)))
12.0ms
(sqrt (+ (* re re) (* im im)))

series257.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
79.0ms
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
66.0ms
(sqrt (+ (* re re) (* im im)))
50.0ms
(sqrt (+ (* re re) (* im im)))

simplify2.0s

Counts
142 → 142
Iterations
IterNodes
done2000
42000
31958
2674
1288
0141

prune1.8s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 19.5b

regimes261.0ms

Accuracy

58.5% (8.4b remaining)

Error of 25.8b against oracle of 17.3b and baseline of 37.7b

bsearch152.0ms

Steps
ItersRangePoint
8
-5.723591744494726e-304
-2.041024124974111e-307
-2.080739649117433e-307
10
-1.2950081225200956e+78
-4.975419776347796e+67
-9.668087623085618e+77

simplify12.0ms

Iterations
IterNodes
done48
148
037

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.3s6057×body80valid
541.0ms652×body2560valid
388.0ms506×body1280valid
273.0ms285×body5120valid
128.0ms271×body640valid
122.0ms162×body320valid
15.0ms67×body160valid