Details

Time bar (total: 32.7s)

sample40.0ms

Algorithm
intervals
Results
10.0ms203×body80valid
6.0ms21×body2560valid
2.0ms11×body1280valid
2.0msbody640valid
2.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify47.0ms

Counts
1 → 1
Iterations
IterNodes
done24
224
122
012

prune16.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.7b

localize31.0ms

Local error

Found 3 expressions with local error:

0.3b
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
0.8b
(+ (sqrt (+ (* re re) (* im im))) re)
29.2b
(sqrt (+ (* re re) (* im im)))

rewrite129.0ms

Algorithm
rewrite-expression-head
Rules
pow1
*-un-lft-identity
add-sqr-sqrt add-log-exp
sqrt-div add-cube-cbrt sqrt-prod
sqrt-pow1 flip3-+ add-cbrt-cube add-exp-log flip-+ insert-posit16
pow1/2 associate-*r/
+-commutative rem-sqrt-square sum-log pow-prod-down distribute-lft-out
Counts
3 → 43
Calls
3 calls:
49.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
57.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
21.0ms
(sqrt (+ (* re re) (* im im)))

series402.0ms

Counts
3 → 9
Calls
3 calls:
260.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
82.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
60.0ms
(sqrt (+ (* re re) (* im im)))

simplify4.0s

Counts
52 → 52
Iterations
IterNodes
done5002
32107
2668
1246
0102

prune650.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 16.1b

localize47.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ (sqrt (+ (* re re) (* im im))) re))
0.4b
(* (sqrt 2.0) (sqrt (+ (sqrt (+ (* re re) (* im im))) re)))
0.8b
(+ (sqrt (+ (* re re) (* im im))) re)
29.2b
(sqrt (+ (* re re) (* im im)))

rewrite288.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
18×sqrt-prod
16×*-un-lft-identity
10×pow1 add-cube-cbrt
associate-*r*
add-cbrt-cube sqrt-div associate-*l* add-exp-log add-log-exp
sqrt-pow1 flip3-+ pow1/2 flip-+ insert-posit16 unswap-sqr
pow-prod-down distribute-lft-out
rem-sqrt-square associate-*r/
+-commutative sum-log sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
4 → 80
Calls
4 calls:
62.0ms
(sqrt (+ (sqrt (+ (* re re) (* im im))) re))
152.0ms
(* (sqrt 2.0) (sqrt (+ (sqrt (+ (* re re) (* im im))) re)))
58.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
13.0ms
(sqrt (+ (* re re) (* im im)))

series706.0ms

Counts
4 → 12
Calls
4 calls:
219.0ms
(sqrt (+ (sqrt (+ (* re re) (* im im))) re))
325.0ms
(* (sqrt 2.0) (sqrt (+ (sqrt (+ (* re re) (* im im))) re)))
98.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
63.0ms
(sqrt (+ (* re re) (* im im)))

simplify6.7s

Counts
92 → 92
Iterations
IterNodes
done5002
33611
21031
1357
0147

prune1.2s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 15.8b

localize70.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
6.3b
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
29.2b
(sqrt (+ (* re re) (* im im)))
29.2b
(sqrt (+ (* re re) (* im im)))

rewrite196.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
50×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
18×*-un-lft-identity pow1/2 add-cube-cbrt
15×swap-sqr
flip3-+ associate-*r* associate-*l* pow-prod-up flip-+ unswap-sqr
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 +-commutative sum-log rem-square-sqrt pow-plus sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
4 → 128
Calls
4 calls:
90.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
65.0ms
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
13.0ms
(sqrt (+ (* re re) (* im im)))
15.0ms
(sqrt (+ (* re re) (* im im)))

series341.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
91.0ms
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
88.0ms
(sqrt (+ (* re re) (* im im)))
91.0ms
(sqrt (+ (* re re) (* im im)))

simplify4.5s

Counts
140 → 140
Iterations
IterNodes
done5000
31751
2661
1295
0136

prune1.3s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 15.8b

localize280.0ms

Local error

Found 4 expressions with local error:

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

rewrite94.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:
12.0ms
(sqrt (+ (* re re) (* im im)))
21.0ms
(sqrt (+ (* re re) (* im im)))
34.0ms
(sqrt (+ (* re re) (* im im)))
23.0ms
(sqrt (+ (* re re) (* im im)))

series242.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(sqrt (+ (* re re) (* im im)))
55.0ms
(sqrt (+ (* re re) (* im im)))
61.0ms
(sqrt (+ (* re re) (* im im)))
64.0ms
(sqrt (+ (* re re) (* im im)))

simplify6.7s

Counts
76 → 76
Iterations
IterNodes
done5000
53240
4991
3433
2196
192
039

prune1.1s

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 15.8b

regimes1.5s

Accuracy

56.8% (9.2b remaining)

Error of 26.7b against oracle of 17.5b and baseline of 38.8b

bsearch94.0ms

Steps
ItersRangePoint
9
3.744575579279384e+78
4.277967120250836e+83
3.920451788983101e+83
4
3.190126808092148e-299
4.3928790087306694e-299
3.2277128143621017e-299

simplify27.0ms

Iterations
IterNodes
done37
137
029

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.0s5997×body80valid
302.0ms717×body2560valid
182.0ms295×body5120valid
146.0ms480×body1280valid
77.0ms301×body640valid
26.0ms136×body320valid
9.0ms74×body160valid