Details

Time bar (total: 17.9s)

sample76.0ms

Algorithm
intervals
Results
21.0ms188×body80valid
18.0ms24×body2560valid
9.0ms11×body5120valid
8.0ms14×body1280valid
3.0ms10×body320valid
3.0msbody640valid
1.0msbody160valid

simplify12.0ms

Counts
1 → 1
Iterations
IterNodes
324
224
122
012

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.2b

localize52.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
0.7b
(+ (sqrt (+ (* re re) (* im im))) re)
30.0b
(sqrt (+ (* re re) (* im im)))

rewrite94.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:
37.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
44.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
12.0ms
(sqrt (+ (* re re) (* im im)))

series368.0ms

Counts
3 → 9
Calls
3 calls:
270.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
59.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
39.0ms
(sqrt (+ (* re re) (* im im)))

simplify691.0ms

Counts
52 → 52
Iterations
IterNodes
32041
2682
1246
0102

prune577.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 18.7b

localize25.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
8.2b
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
30.0b
(sqrt (+ (* re re) (* im im)))
30.0b
(sqrt (+ (* re re) (* im im)))

rewrite86.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:
41.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
24.0ms
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
9.0ms
(sqrt (+ (* re re) (* im im)))
11.0ms
(sqrt (+ (* re re) (* im im)))

series258.0ms

Counts
4 → 12
Calls
4 calls:
62.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)
70.0ms
(sqrt (+ (* re re) (* im im)))
62.0ms
(sqrt (+ (* re re) (* im im)))

simplify2.7s

Counts
140 → 140
Iterations
IterNodes
45633
31660
2686
1295
0136

prune1.7s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 18.7b

localize58.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
8.2b
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
30.0b
(sqrt (+ (* re re) (* im im)))
30.0b
(sqrt (+ (* re re) (* im im)))

rewrite150.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:
80.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
43.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)))

series243.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
66.0ms
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
70.0ms
(sqrt (+ (* re re) (* im im)))
63.0ms
(sqrt (+ (* re re) (* im im)))

simplify2.8s

Counts
140 → 140
Iterations
IterNodes
45633
31660
2686
1295
0136

prune1.6s

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 18.7b

localize51.0ms

Local error

Found 4 expressions with local error:

10.2b
(+ (* (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (sqrt (+ (* re re) (* im im)))))) (sqrt (sqrt (sqrt (+ (* re re) (* im im)))))) re)
30.0b
(sqrt (+ (* re re) (* im im)))
30.0b
(sqrt (+ (* re re) (* im im)))
30.0b
(sqrt (+ (* re re) (* im im)))

rewrite134.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:
113.0ms
(+ (* (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (sqrt (+ (* re re) (* im im)))))) (sqrt (sqrt (sqrt (+ (* re re) (* im im)))))) re)
8.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))

series247.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(+ (* (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (sqrt (+ (* re re) (* im im)))))) (sqrt (sqrt (sqrt (+ (* re re) (* im im)))))) re)
67.0ms
(sqrt (+ (* re re) (* im im)))
47.0ms
(sqrt (+ (* re re) (* im im)))
68.0ms
(sqrt (+ (* re re) (* im im)))

simplify1.6s

Counts
72 → 72
Iterations
IterNodes
43780
31208
2486
1169
066

prune995.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 18.7b

regimes321.0ms

Accuracy

55.6% (8.7b remaining)

Error of 26.4b against oracle of 17.6b and baseline of 37.3b

bsearch266.0ms

Steps
ItersRangePoint
9
3.2416582717458495e+102
1.7087861021392926e+108
9.946851897479392e+107
9
-4.4832295953906833e-212
-1.6476049082533209e-217
-8.308754597855719e-213
9
-7.32065648491413e-77
-3.056934967633512e-82
-3.471563953414917e-82

simplify9.0ms

Iterations
IterNodes
251
151
039

end0.0ms

sample2.8s

Algorithm
intervals
Results
732.0ms5992×body80valid
583.0ms733×body2560valid
511.0ms271×body640valid
426.0ms495×body1280valid
254.0ms292×body5120valid
81.0ms149×body320valid
47.0ms68×body160valid