Details

Time bar (total: 17.1s)

sample855.0ms

Algorithm
intervals
Results
34.0ms194×body80valid
21.0ms21×body2560valid
13.0ms17×body1280valid
11.0msbody5120valid
6.0msbody640valid
3.0msbody320valid
0.0msbody160valid

simplify104.0ms

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

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.9b

localize46.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
0.5b
(- (sqrt (+ (* re re) (* im im))) re)
30.6b
(sqrt (+ (* re re) (* im im)))

rewrite134.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:
65.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
49.0ms
(- (sqrt (+ (* re re) (* im im))) re)
15.0ms
(sqrt (+ (* re re) (* im im)))

series481.0ms

Counts
3 → 9
Calls
3 calls:
212.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
95.0ms
(- (sqrt (+ (* re re) (* im im))) re)
174.0ms
(sqrt (+ (* re re) (* im im)))

simplify1.8s

Counts
55 → 55
Iterations
IterNodes
done5000
32212
2631
1231
0109

prune343.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 18.8b

localize47.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
7.3b
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
30.6b
(sqrt (+ (* re re) (* im im)))
30.6b
(sqrt (+ (* re re) (* im im)))

rewrite120.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:
53.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
48.0ms
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
6.0ms
(sqrt (+ (* re re) (* im im)))
10.0ms
(sqrt (+ (* re re) (* im im)))

series244.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
64.0ms
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
65.0ms
(sqrt (+ (* re re) (* im im)))
49.0ms
(sqrt (+ (* re re) (* im im)))

simplify2.2s

Counts
142 → 142
Iterations
IterNodes
done5000
31958
2674
1288
0141

prune726.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 18.8b

localize65.0ms

Local error

Found 4 expressions with local error:

30.6b
(sqrt (+ (* re re) (* im im)))
30.6b
(sqrt (+ (* re re) (* im im)))
30.6b
(sqrt (+ (* re re) (* im im)))
30.6b
(sqrt (+ (* re re) (* im im)))

rewrite48.0ms

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

series223.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(sqrt (+ (* re re) (* im im)))
49.0ms
(sqrt (+ (* re re) (* im im)))
53.0ms
(sqrt (+ (* re re) (* im im)))
63.0ms
(sqrt (+ (* re re) (* im im)))

simplify2.7s

Counts
76 → 76
Iterations
IterNodes
done5001
53254
4995
3435
2196
192
039

prune754.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 18.8b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (sqrt (+ (* im im) (* re re))) re)
4.6b
(sqrt (* 2.0 (/ (* im im) (+ (sqrt (+ (* im im) (* re re))) re))))
23.7b
(/ (* im im) (+ (sqrt (+ (* im im) (* re re))) re))
30.6b
(sqrt (+ (* im im) (* re re)))

rewrite139.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
add-cbrt-cube add-exp-log
add-sqr-sqrt pow1
add-cube-cbrt
add-log-exp
associate-/r* times-frac sqrt-prod insert-posit16
sqrt-pow1 flip3-+ sqrt-div flip-+ distribute-lft-out
cbrt-undiv pow1/2 div-exp associate-/r/
+-commutative rem-sqrt-square clear-num sum-log frac-2neg pow-prod-down prod-exp associate-*r/ cbrt-unprod div-inv associate-/l*
Counts
4 → 68
Calls
4 calls:
40.0ms
(+ (sqrt (+ (* im im) (* re re))) re)
21.0ms
(sqrt (* 2.0 (/ (* im im) (+ (sqrt (+ (* im im) (* re re))) re))))
66.0ms
(/ (* im im) (+ (sqrt (+ (* im im) (* re re))) re))
10.0ms
(sqrt (+ (* im im) (* re re)))

series483.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(+ (sqrt (+ (* im im) (* re re))) re)
284.0ms
(sqrt (* 2.0 (/ (* im im) (+ (sqrt (+ (* im im) (* re re))) re))))
89.0ms
(/ (* im im) (+ (sqrt (+ (* im im) (* re re))) re))
46.0ms
(sqrt (+ (* im im) (* re re)))

simplify1.4s

Counts
80 → 80
Iterations
IterNodes
done5000
21409
1408
0150

prune404.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 6.9b

regimes318.0ms

Accuracy

49.4% (15.5b remaining)

Error of 22.6b against oracle of 7.0b and baseline of 37.7b

bsearch443.0ms

Steps
ItersRangePoint
10
9.354770016105222e+108
8.935101861806766e+126
1.1476303183370092e+117
8
7.007905943937183e-135
4.498043395696934e-131
6.510449215984508e-134
8
-3.3673905784781278e-186
-2.883010294888317e-190
-2.9634639532950256e-188
6
-3.67231414207575e-08
-5.984165099293203e-09
-3.6111760266152055e-08

simplify35.0ms

Iterations
IterNodes
done73
373
272
167
048

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.0s6013×body80valid
1.0s691×body2560valid
324.0ms497×body1280valid
248.0ms295×body5120valid
172.0ms300×body640valid
50.0ms141×body320valid
15.0ms63×body160valid