Details

Time bar (total: 15.0s)

sample141.0ms

Algorithm
intervals
Results
16.0ms190×body80valid
11.0ms19×body2560valid
9.0ms13×body5120valid
7.0ms16×body1280valid
4.0msbody320valid
3.0msbody640valid
0.0msbody160valid

simplify109.0ms

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

prune20.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.2b

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

rewrite20.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)
8.0ms
(sqrt (* (- (hypot re im) re) 2.0))
7.0ms
(- (hypot re im) re)

series486.0ms

Counts
3 → 9
Calls
3 calls:
72.0ms
(hypot re im)
276.0ms
(sqrt (* (- (hypot re im) re) 2.0))
137.0ms
(- (hypot re im) re)

simplify1.9s

Counts
62 → 62
Iterations
IterNodes
done5000
34021
2770
1245
0115

prune358.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 12.9b

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

rewrite52.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:
13.0ms
(cbrt (sqrt (* (- (hypot re im) re) 2.0)))
11.0ms
(- (hypot re im) re)
11.0ms
(- (hypot re im) re)
12.0ms
(- (hypot re im) re)

series712.0ms

Counts
4 → 12
Calls
4 calls:
458.0ms
(cbrt (sqrt (* (- (hypot re im) re) 2.0)))
76.0ms
(- (hypot re im) re)
86.0ms
(- (hypot re im) re)
91.0ms
(- (hypot re im) re)

simplify1.7s

Counts
112 → 112
Iterations
IterNodes
done5000
33866
2827
1275
0135

prune726.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 12.9b

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

rewrite50.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))
2.0ms
(sqrt (hypot re im))
20.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
25.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series392.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(sqrt (hypot re im))
134.0ms
(sqrt (hypot re im))
72.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
72.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

simplify862.0ms

Counts
112 → 112
Iterations
IterNodes
done5000
21140
1290
0124

prune455.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 12.9b

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
97×sqrt-prod
71×add-sqr-sqrt
27×unpow-prod-down cube-prod
24×*-un-lft-identity associate-*r* add-cube-cbrt unswap-sqr
10×pow1 add-exp-log
associate-*l*
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 flip3-- fma-neg diff-log *-commutative pow-prod-up cbrt-unprod sqrt-pow2 flip-- rem-cube-cbrt
Counts
4 → 153
Calls
4 calls:
4.0ms
(sqrt (sqrt (hypot re im)))
52.0ms
(* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3))
14.0ms
(pow (sqrt (sqrt (hypot re im))) 3)
30.0ms
(- (* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3)) re)

series546.0ms

Counts
4 → 12
Calls
4 calls:
167.0ms
(sqrt (sqrt (hypot re im)))
83.0ms
(* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3))
204.0ms
(pow (sqrt (sqrt (hypot re im))) 3)
92.0ms
(- (* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3)) re)

simplify3.2s

Counts
165 → 165
Iterations
IterNodes
done5000
22698
1464
0174

prune718.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 12.9b

regimes262.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.1s

Algorithm
intervals
Results
903.0ms5986×body80valid
467.0ms707×body2560valid
198.0ms509×body1280valid
137.0ms290×body5120valid
119.0ms303×body640valid
33.0ms139×body320valid
8.0ms66×body160valid