Details

Time bar (total: 14.3s)

sample227.0ms

Algorithm
intervals
Results
103.0ms190×body80valid
9.0ms19×body2560valid
8.0ms13×body5120valid
7.0ms16×body1280valid
4.0msbody320valid
2.0msbody640valid
0.0msbody160valid

simplify74.0ms

Counts
1 → 1
Iterations
IterNodes
done45
545
443
336
228
119
012

prune59.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.2b

localize29.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot re im)
0.0b
(sqrt (* (- (hypot re im) re) 2.0))
1.2b
(- (hypot re im) re)

rewrite96.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 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 → 53
Calls
3 calls:
0.0ms
(hypot re im)
17.0ms
(sqrt (* (- (hypot re im) re) 2.0))
17.0ms
(- (hypot re im) re)

series604.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(hypot re im)
321.0ms
(sqrt (* (- (hypot re im) re) 2.0))
223.0ms
(- (hypot re im) re)

simplify1.9s

Counts
62 → 62
Iterations
IterNodes
done5000
34021
2770
1245
0115

prune396.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 12.9b

localize27.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (sqrt (* (- (hypot re im) re) 2.0)))
1.2b
(- (hypot re im) re)
1.2b
(- (hypot re im) re)
1.2b
(- (hypot re im) re)

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt *-un-lft-identity
27×prod-diff
26×add-cube-cbrt
10×add-log-exp
fma-neg
cbrt-prod expm1-log1p-u pow1 flip3-- add-cbrt-cube add-exp-log log1p-expm1-u flip--
sub-neg diff-log distribute-lft-out-- difference-of-squares
cbrt-div sqrt-div associate-*l/
pow1/3 sqrt-prod
Counts
4 → 100
Calls
4 calls:
14.0ms
(cbrt (sqrt (* (- (hypot re im) re) 2.0)))
10.0ms
(- (hypot re im) re)
10.0ms
(- (hypot re im) re)
5.0ms
(- (hypot re im) re)

series718.0ms

Counts
4 → 12
Calls
4 calls:
478.0ms
(cbrt (sqrt (* (- (hypot re im) re) 2.0)))
76.0ms
(- (hypot re im) re)
75.0ms
(- (hypot re im) re)
88.0ms
(- (hypot re im) re)

simplify1.7s

Counts
112 → 112
Iterations
IterNodes
done5000
33866
2827
1275
0135

prune652.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 12.9b

localize34.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (hypot re im))
0.0b
(sqrt (hypot re im))
0.6b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
9.2b
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
24×sqrt-prod
21×pow1
15×*-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 log1p-expm1-u unswap-sqr
prod-diff pow-prod-down pow-sqr
rem-sqrt-square
pow2 sub-neg rem-square-sqrt pow-plus flip3-- fma-neg sqrt-unprod diff-log prod-exp *-commutative cbrt-unprod flip-- difference-of-squares
Counts
4 → 100
Calls
4 calls:
1.0ms
(sqrt (hypot re im))
1.0ms
(sqrt (hypot re im))
10.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
14.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series460.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(sqrt (hypot re im))
155.0ms
(sqrt (hypot re im))
67.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
87.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

simplify1.0s

Counts
112 → 112
Iterations
IterNodes
done5000
21140
1290
0124

prune506.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 12.9b

localize38.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (hypot re im)))
0.3b
(* (pow (sqrt (sqrt (hypot re im))) 3) (sqrt (sqrt (hypot re im))))
0.8b
(pow (sqrt (sqrt (hypot re im))) 3)
13.6b
(- (* (pow (sqrt (sqrt (hypot re im))) 3) (sqrt (sqrt (hypot re im)))) re)

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
97×sqrt-prod
71×add-sqr-sqrt
27×unpow-prod-down cube-prod
24×*-un-lft-identity associate-*l* add-cube-cbrt unswap-sqr
10×pow1 add-exp-log
associate-*r*
sqrt-pow1
add-cbrt-cube
add-log-exp
pow-pow sqr-pow
expm1-log1p-u pow1/2 log1p-expm1-u
pow-unpow prod-diff prod-exp
cube-mult pow-to-exp rem-sqrt-square unpow3 pow-exp
sub-neg pow-plus flip3-- fma-neg diff-log *-commutative pow-prod-up cbrt-unprod sqrt-pow2 flip-- rem-cube-cbrt
Counts
4 → 154
Calls
4 calls:
4.0ms
(sqrt (sqrt (hypot re im)))
45.0ms
(* (pow (sqrt (sqrt (hypot re im))) 3) (sqrt (sqrt (hypot re im))))
4.0ms
(pow (sqrt (sqrt (hypot re im))) 3)
19.0ms
(- (* (pow (sqrt (sqrt (hypot re im))) 3) (sqrt (sqrt (hypot re im)))) re)

series516.0ms

Counts
4 → 12
Calls
4 calls:
173.0ms
(sqrt (sqrt (hypot re im)))
71.0ms
(* (pow (sqrt (sqrt (hypot re im))) 3) (sqrt (sqrt (hypot re im))))
178.0ms
(pow (sqrt (sqrt (hypot re im))) 3)
93.0ms
(- (* (pow (sqrt (sqrt (hypot re im))) 3) (sqrt (sqrt (hypot re im)))) re)

simplify2.0s

Counts
166 → 166
Iterations
IterNodes
done5000
22106
1462
0172

prune612.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 12.9b

regimes192.0ms

Accuracy

0% (0.2b remaining)

Error of 13.5b against oracle of 13.3b and baseline of 13.5b

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
done11
111
09

end0.0ms

sample2.3s

Algorithm
intervals
Results
606.0ms5986×body80valid
475.0ms303×body640valid
473.0ms707×body2560valid
176.0ms509×body1280valid
152.0ms290×body5120valid
68.0ms139×body320valid
8.0ms66×body160valid