Details

Time bar (total: 13.8s)

sample57.0ms

Algorithm
intervals
Results
18.0ms198×body80valid
11.0ms18×body2560valid
6.0msbody5120valid
6.0ms12×body1280valid
5.0ms14×body640valid
1.0msbody320valid
0.0msbody160valid

simplify8.0ms

Counts
1 → 1
Iterations
IterNodes
done24
224
122
012

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.3b

localize391.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
0.0b
(+ (* re re) (* im im))
0.3b
(+ (sqrt (+ (* re re) (* im im))) re)
30.4b
(sqrt (+ (* re re) (* im im)))

rewrite81.0ms

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

series404.0ms

Counts
4 → 12
Calls
4 calls:
260.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
29.0ms
(+ (* re re) (* im im))
61.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
53.0ms
(sqrt (+ (* re re) (* im im)))

simplify1.0s

Counts
67 → 67
Iterations
IterNodes
done5001
21351
1295
0112

prune380.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 16.1b

localize40.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
7.9b
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
30.4b
(sqrt (+ (* re re) (* im im)))
30.4b
(sqrt (+ (* re re) (* im im)))

rewrite128.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:
74.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
27.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)))

series249.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
83.0ms
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
46.0ms
(sqrt (+ (* re re) (* im im)))
66.0ms
(sqrt (+ (* re re) (* im im)))

simplify1.7s

Counts
140 → 140
Iterations
IterNodes
done5000
21241
1304
0136

prune587.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 16.1b

localize83.0ms

Local error

Found 4 expressions with local error:

8.9b
(+ (* (sqrt (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
30.4b
(sqrt (+ (* re re) (* im im)))
31.3b
(cbrt (+ (* re re) (* im im)))
31.3b
(cbrt (+ (* re re) (* im im)))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
cbrt-prod add-log-exp
pow1
cbrt-div flip3-+ add-cbrt-cube add-exp-log flip-+ insert-posit16
sqrt-prod
pow1/3 sqrt-div
+-commutative rem-sqrt-square sum-log sqrt-pow1 pow1/2
Counts
4 → 56
Calls
4 calls:
76.0ms
(+ (* (sqrt (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
6.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))

series446.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(+ (* (sqrt (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
60.0ms
(sqrt (+ (* re re) (* im im)))
143.0ms
(cbrt (+ (* re re) (* im im)))
132.0ms
(cbrt (+ (* re re) (* im im)))

simplify1.5s

Counts
68 → 68
Iterations
IterNodes
done5000
21168
1270
0107

prune641.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 16.1b

localize58.0ms

Local error

Found 4 expressions with local error:

7.9b
(+ (* (* (sqrt (sqrt (+ (* re re) (* im im)))) (fabs (cbrt (sqrt (+ (* re re) (* im im)))))) (sqrt (cbrt (sqrt (+ (* re re) (* im im)))))) re)
30.4b
(sqrt (+ (* re re) (* im im)))
30.4b
(sqrt (+ (* re re) (* im im)))
30.4b
(sqrt (+ (* re re) (* im im)))

rewrite99.0ms

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

series310.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(+ (* (* (sqrt (sqrt (+ (* re re) (* im im)))) (fabs (cbrt (sqrt (+ (* re re) (* im im)))))) (sqrt (cbrt (sqrt (+ (* re re) (* im im)))))) re)
63.0ms
(sqrt (+ (* re re) (* im im)))
66.0ms
(sqrt (+ (* re re) (* im im)))
53.0ms
(sqrt (+ (* re re) (* im im)))

simplify1.7s

Counts
72 → 72
Iterations
IterNodes
done5001
21130
1237
085

prune515.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 16.1b

regimes335.0ms

Accuracy

59.6% (8.4b remaining)

Error of 25.1b against oracle of 16.7b and baseline of 37.6b

bsearch191.0ms

Steps
ItersRangePoint
8
1.0202913897586463e+104
3.251572119276446e+106
3.161818111636812e+106
10
-1.8283370194153046e-291
-2.9857999020412735e-301
-3.0154571595336588e-301

simplify15.0ms

Iterations
IterNodes
done49
249
148
037

end0.0ms

sample2.9s

Algorithm
intervals
Results
908.0ms6065×body80valid
739.0ms471×body1280valid
558.0ms648×body2560valid
254.0ms294×body5120valid
160.0ms284×body640valid
84.0ms164×body320valid
17.0ms74×body160valid