Details

Time bar (total: 17.1s)

sample160.0ms

Algorithm
intervals
Results
28.0ms195×body80valid
15.0ms18×body2560valid
11.0ms16×body1280valid
10.0ms11×body5120valid
6.0ms11×body640valid
1.0msbody160valid
0.0msbody320valid

simplify185.0ms

Counts
1 → 1
Iterations
IterNodes
done44
544
442
335
227
119
012

prune61.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 12.7b

localize37.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot re im)
0.2b
(sqrt (* (- (hypot re im) re) 2.0))
0.7b
(- (hypot re im) re)

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity
10×add-cube-cbrt
prod-diff
pow1
add-log-exp
expm1-log1p-u add-cbrt-cube fma-neg add-exp-log insert-posit16 log1p-expm1-u
sqrt-pow1 flip3-- sqrt-div associate-*l/ flip--
hypot-udef sub-neg pow1/2 diff-log pow-prod-down sqrt-prod distribute-lft-out-- difference-of-squares
Counts
3 → 56
Calls
3 calls:
0.0ms
(hypot re im)
18.0ms
(sqrt (* (- (hypot re im) re) 2.0))
14.0ms
(- (hypot re im) re)

series726.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(hypot re im)
429.0ms
(sqrt (* (- (hypot re im) re) 2.0))
243.0ms
(- (hypot re im) re)

simplify2.1s

Counts
65 → 65
Iterations
IterNodes
done5000
31780
2568
1247
0118

prune352.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 12.3b

localize33.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot re im)
0.4b
(* (sqrt (- (hypot re im) re)) (sqrt 2.0))
0.7b
(- (hypot re im) re)

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
18×*-un-lft-identity
14×add-cube-cbrt
12×sqrt-prod
prod-diff
associate-*l*
pow1
associate-*r*
add-cbrt-cube add-exp-log add-log-exp
unswap-sqr
expm1-log1p-u fma-neg pow-prod-down insert-posit16 log1p-expm1-u
sqrt-pow1 flip3-- pow1/2 sqrt-div associate-*l/ flip-- distribute-lft-out-- difference-of-squares
hypot-udef sub-neg sqrt-unprod diff-log prod-exp *-commutative cbrt-unprod
Counts
3 → 77
Calls
3 calls:
0.0ms
(hypot re im)
33.0ms
(* (sqrt (- (hypot re im) re)) (sqrt 2.0))
10.0ms
(- (hypot re im) re)

series473.0ms

Counts
3 → 9
Calls
3 calls:
74.0ms
(hypot re im)
314.0ms
(* (sqrt (- (hypot re im) re)) (sqrt 2.0))
85.0ms
(- (hypot re im) re)

simplify2.0s

Counts
86 → 86
Iterations
IterNodes
done5000
32082
2718
1310
0144

prune403.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 12.3b

localize36.0ms

Local error

Found 4 expressions with local error:

0.2b
(sqrt (* (* (sqrt (- (hypot re im) re)) (sqrt (- (hypot re im) re))) 2.0))
0.4b
(* (sqrt (- (hypot re im) re)) (sqrt (- (hypot re im) re)))
0.7b
(- (hypot re im) re)
0.7b
(- (hypot re im) re)

rewrite130.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
44×*-un-lft-identity
32×sqrt-div
31×sqrt-prod
26×add-cube-cbrt
25×pow1
18×prod-diff
14×flip3-- flip--
12×swap-sqr associate-*l/
11×sqrt-pow1
pow1/2
frac-times associate-*r* associate-*l* distribute-lft-out-- add-log-exp
add-cbrt-cube fma-neg pow-prod-down add-exp-log difference-of-squares
pow-prod-up
expm1-log1p-u associate-*r/ insert-posit16 log1p-expm1-u unswap-sqr
pow-sqr
sub-neg diff-log
pow2 rem-square-sqrt pow-plus sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
4 → 149
Calls
4 calls:
79.0ms
(sqrt (* (* (sqrt (- (hypot re im) re)) (sqrt (- (hypot re im) re))) 2.0))
37.0ms
(* (sqrt (- (hypot re im) re)) (sqrt (- (hypot re im) re)))
5.0ms
(- (hypot re im) re)
5.0ms
(- (hypot re im) re)

series567.0ms

Counts
4 → 12
Calls
4 calls:
314.0ms
(sqrt (* (* (sqrt (- (hypot re im) re)) (sqrt (- (hypot re im) re))) 2.0))
85.0ms
(* (sqrt (- (hypot re im) re)) (sqrt (- (hypot re im) re)))
88.0ms
(- (hypot re im) re)
80.0ms
(- (hypot re im) re)

simplify2.6s

Counts
161 → 161
Iterations
IterNodes
done5002
32096
2800
1399
0191

prune702.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 12.3b

localize40.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.2b
(sqrt (* (- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) 2.0))
0.5b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
7.2b
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
22×pow1
19×sqrt-prod
13×*-un-lft-identity add-cube-cbrt
10×sqrt-pow1
pow1/2
swap-sqr
add-cbrt-cube associate-*r* associate-*l* add-exp-log add-log-exp
pow-prod-up
expm1-log1p-u pow-prod-down insert-posit16 log1p-expm1-u unswap-sqr
prod-diff pow-sqr
flip3-- sqrt-div associate-*l/ flip--
pow2 hypot-udef sub-neg rem-square-sqrt pow-plus fma-neg sqrt-unprod diff-log prod-exp *-commutative cbrt-unprod difference-of-squares
Counts
4 → 99
Calls
4 calls:
0.0ms
(hypot re im)
32.0ms
(sqrt (* (- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) 2.0))
18.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
28.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series479.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(hypot re im)
266.0ms
(sqrt (* (- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) 2.0))
62.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
78.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

simplify2.2s

Counts
111 → 111
Iterations
IterNodes
done5000
32313
2800
1335
0156

prune504.0ms

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 12.3b

regimes185.0ms

Accuracy

0% (0.3b remaining)

Error of 13.1b against oracle of 12.8b and baseline of 13.1b

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
done11
111
09

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.0s6080×body80valid
599.0ms677×body2560valid
567.0ms279×body640valid
283.0ms479×body1280valid
262.0ms269×body5120valid
45.0ms126×body320valid
22.0ms90×body160valid