Details

Time bar (total: 32.9s)

sample86.0ms

Algorithm
intervals
Results
22.0ms198×body80valid
12.0ms18×body2560valid
7.0msbody5120valid
7.0ms12×body1280valid
6.0ms14×body640valid
1.0msbody320valid
0.0msbody160valid

simplify73.0ms

Counts
1 → 1
Iterations
IterNodes
done24
224
122
012

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.4b

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

rewrite191.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:
75.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
18.0ms
(+ (* re re) (* im im))
73.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
21.0ms
(sqrt (+ (* re re) (* im im)))

series479.0ms

Counts
4 → 12
Calls
4 calls:
290.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
51.0ms
(+ (* re re) (* im im))
73.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
64.0ms
(sqrt (+ (* re re) (* im im)))

simplify5.5s

Counts
67 → 67
Iterations
IterNodes
done5001
32977
2809
1280
0112

prune901.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 16.2b

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

rewrite316.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:
144.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
96.0ms
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
37.0ms
(sqrt (+ (* re re) (* im im)))
22.0ms
(sqrt (+ (* re re) (* im im)))

series276.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
75.0ms
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
71.0ms
(sqrt (+ (* re re) (* im im)))
66.0ms
(sqrt (+ (* re re) (* im im)))

simplify5.1s

Counts
140 → 140
Iterations
IterNodes
done5000
31751
2661
1295
0136

prune1.2s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 16.2b

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

rewrite231.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:
160.0ms
(+ (* (sqrt (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
34.0ms
(sqrt (+ (* re re) (* im im)))
22.0ms
(cbrt (+ (* re re) (* im im)))
12.0ms
(cbrt (+ (* re re) (* im im)))

series874.0ms

Counts
4 → 12
Calls
4 calls:
370.0ms
(+ (* (sqrt (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
66.0ms
(sqrt (+ (* re re) (* im im)))
197.0ms
(cbrt (+ (* re re) (* im im)))
240.0ms
(cbrt (+ (* re re) (* im im)))

simplify5.3s

Counts
68 → 68
Iterations
IterNodes
done5000
32745
2747
1257
0107

prune1.2s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 16.2b

localize292.0ms

Local error

Found 4 expressions with local error:

7.9b
(+ (* (* (fabs (cbrt (sqrt (+ (* re re) (* im im))))) (sqrt (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)))

rewrite313.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:
229.0ms
(+ (* (* (fabs (cbrt (sqrt (+ (* re re) (* im im))))) (sqrt (sqrt (+ (* re re) (* im im))))) (sqrt (cbrt (sqrt (+ (* re re) (* im im)))))) re)
17.0ms
(sqrt (+ (* re re) (* im im)))
34.0ms
(sqrt (+ (* re re) (* im im)))
28.0ms
(sqrt (+ (* re re) (* im im)))

series548.0ms

Counts
4 → 12
Calls
4 calls:
315.0ms
(+ (* (* (fabs (cbrt (sqrt (+ (* re re) (* im im))))) (sqrt (sqrt (+ (* re re) (* im im))))) (sqrt (cbrt (sqrt (+ (* re re) (* im im)))))) re)
60.0ms
(sqrt (+ (* re re) (* im im)))
89.0ms
(sqrt (+ (* re re) (* im im)))
84.0ms
(sqrt (+ (* re re) (* im im)))

simplify4.8s

Counts
72 → 72
Iterations
IterNodes
done5001
32442
2668
1222
085

prune1.0s

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 16.2b

regimes1.1s

Accuracy

59.3% (8.9b remaining)

Error of 25.7b against oracle of 16.8b and baseline of 38.7b

bsearch208.0ms

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

simplify26.0ms

Iterations
IterNodes
done45
145
035

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.1s6065×body80valid
417.0ms648×body2560valid
237.0ms294×body5120valid
204.0ms471×body1280valid
96.0ms284×body640valid
41.0ms164×body320valid
16.0ms74×body160valid