Details

Time bar (total: 15.9s)

sample236.0ms

Algorithm
intervals
Results
38.0ms17×body1280valid
26.0ms194×body80valid
15.0ms21×body2560valid
7.0msbody5120valid
4.0msbody640valid
3.0msbody320valid
0.0msbody160valid

simplify117.0ms

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

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

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:
22.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
39.0ms
(- (sqrt (+ (* re re) (* im im))) re)
14.0ms
(sqrt (+ (* re re) (* im im)))

series298.0ms

Counts
3 → 9
Calls
3 calls:
192.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
53.0ms
(- (sqrt (+ (* re re) (* im im))) re)
53.0ms
(sqrt (+ (* re re) (* im im)))

simplify2.1s

Counts
55 → 55
Iterations
IterNodes
done5001
32448
2640
1231
0109

prune298.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 18.8b

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

rewrite107.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:
56.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
30.0ms
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
6.0ms
(sqrt (+ (* re re) (* im im)))
11.0ms
(sqrt (+ (* re re) (* im im)))

series206.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
63.0ms
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
48.0ms
(sqrt (+ (* re re) (* im im)))
42.0ms
(sqrt (+ (* re re) (* im im)))

simplify1.8s

Counts
142 → 142
Iterations
IterNodes
done5000
32166
2690
1288
0141

prune659.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 18.8b

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

rewrite47.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:
9.0ms
(sqrt (+ (* re re) (* im im)))
13.0ms
(sqrt (+ (* re re) (* im im)))
12.0ms
(sqrt (+ (* re re) (* im im)))
12.0ms
(sqrt (+ (* re re) (* im im)))

series204.0ms

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

simplify3.1s

Counts
76 → 76
Iterations
IterNodes
done5001
53520
41136
3465
2198
192
039

prune609.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 18.8b

localize35.0ms

Local error

Found 4 expressions with local error:

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

rewrite109.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:
36.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
20.0ms
(sqrt (* 2.0 (/ (* im im) (+ (sqrt (+ (* re re) (* im im))) re))))
46.0ms
(/ (* im im) (+ (sqrt (+ (* re re) (* im im))) re))
6.0ms
(sqrt (+ (* re re) (* im im)))

series505.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
307.0ms
(sqrt (* 2.0 (/ (* im im) (+ (sqrt (+ (* re re) (* im im))) re))))
93.0ms
(/ (* im im) (+ (sqrt (+ (* re re) (* im im))) re))
41.0ms
(sqrt (+ (* re re) (* im im)))

simplify1.4s

Counts
80 → 80
Iterations
IterNodes
done5002
21309
1405
0149

prune437.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 6.9b

regimes282.0ms

Accuracy

49.4% (15.5b remaining)

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

bsearch379.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

simplify36.0ms

Iterations
IterNodes
done71
371
270
165
046

end0.0ms

sample2.8s

Algorithm
intervals
Results
852.0ms6013×body80valid
643.0ms691×body2560valid
642.0ms295×body5120valid
301.0ms497×body1280valid
154.0ms300×body640valid
67.0ms141×body320valid
14.0ms63×body160valid