Details

Time bar (total: 18.2s)

sample194.0ms

Algorithm
intervals
Results
35.0ms204×body80valid
20.0ms20×body2560valid
8.0msbody5120valid
8.0ms10×body1280valid
6.0ms10×body640valid
1.0msbody320valid
1.0msbody160valid

simplify117.0ms

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

prune28.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 10.8b

localize16.0ms

Local error

Found 3 expressions with local error:

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

rewrite38.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:
16.0ms
(sqrt (* (- (hypot re im) re) 2.0))
0.0ms
(hypot re im)
7.0ms
(- (hypot re im) re)

series443.0ms

Counts
3 → 9
Calls
3 calls:
254.0ms
(sqrt (* (- (hypot re im) re) 2.0))
75.0ms
(hypot re im)
113.0ms
(- (hypot re im) re)

simplify2.6s

Counts
65 → 65
Iterations
IterNodes
45586
31672
2519
1232
0118

prune671.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 10.6b

localize43.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
19×pow1
18×sqrt-prod
13×*-un-lft-identity add-cube-cbrt
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 insert-posit16 log1p-expm1-u unswap-sqr
prod-diff pow-prod-down pow-sqr
hypot-udef
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 → 94
Calls
4 calls:
0.0ms
(hypot re im)
0.0ms
(hypot re im)
16.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
21.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series306.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(hypot re im)
69.0ms
(hypot re im)
57.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
95.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

simplify1.5s

Counts
106 → 106
Iterations
IterNodes
43267
31103
2479
1211
0111

prune1.2s

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 10.6b

localize64.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (hypot re im))
0.5b
(cbrt (hypot re im))
0.5b
(cbrt (hypot re im))
6.5b
(- (* (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (hypot re im)))) re)

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
add-log-exp
expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u
pow1/3 prod-diff
sub-neg flip3-- fma-neg diff-log flip--
Counts
4 → 61
Calls
4 calls:
1.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))
74.0ms
(- (* (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (hypot re im)))) re)

series598.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(cbrt (hypot re im))
146.0ms
(cbrt (hypot re im))
192.0ms
(cbrt (hypot re im))
81.0ms
(- (* (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (hypot re im)))) re)

simplify2.1s

Counts
73 → 73
Iterations
IterNodes
43637
31302
2446
1180
087

prune1.2s

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 10.6b

localize41.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
0.0b
(hypot re im)
0.0b
(hypot re im)
13.0b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
pow1
add-sqr-sqrt expm1-log1p-u *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt insert-posit16 log1p-expm1-u add-log-exp
hypot-udef sqrt-pow1
pow1/2 pow-prod-down sqrt-prod fma-udef
Counts
4 → 47
Calls
4 calls:
8.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
0.0ms
(hypot re im)
0.0ms
(hypot re im)
1.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

series750.0ms

Counts
4 → 12
Calls
4 calls:
371.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
81.0ms
(hypot re im)
85.0ms
(hypot re im)
212.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify2.2s

Counts
59 → 59
Iterations
IterNodes
44129
31236
2399
1159
081

prune572.0ms

Pruning

16 alts after pruning (14 fresh and 2 done)

Merged error: 10.6b

regimes231.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
211
111
09

end0.0ms

sample3.1s

Algorithm
intervals
Results
980.0ms735×body2560valid
882.0ms5985×body80valid
358.0ms285×body5120valid
357.0ms472×body1280valid
189.0ms285×body640valid
63.0ms170×body320valid
41.0ms68×body160valid