Details

Time bar (total: 14.8s)

sample155.0ms

Algorithm
intervals
Results
19.0ms204×body80valid
11.0ms20×body2560valid
5.0msbody5120valid
5.0ms10×body1280valid
3.0ms10×body640valid
1.0msbody320valid
0.0msbody160valid

simplify85.0ms

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

prune30.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 10.8b

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

rewrite32.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)
13.0ms
(- (hypot re im) re)

series451.0ms

Counts
3 → 9
Calls
3 calls:
263.0ms
(sqrt (* (- (hypot re im) re) 2.0))
71.0ms
(hypot re im)
117.0ms
(- (hypot re im) re)

simplify1.3s

Counts
65 → 65
Iterations
IterNodes
done2041
42041
31787
2568
1247
0118

prune745.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 10.6b

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

rewrite34.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)
20.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
11.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series343.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(hypot re im)
85.0ms
(hypot re im)
98.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
91.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

simplify1.1s

Counts
106 → 106
Iterations
IterNodes
done2001
42001
31433
2513
1225
0111

prune1.1s

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 10.6b

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

rewrite91.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))
86.0ms
(- (* (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (hypot re im)))) re)

series628.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(cbrt (hypot re im))
184.0ms
(cbrt (hypot re im))
184.0ms
(cbrt (hypot re im))
91.0ms
(- (* (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (hypot re im)))) re)

simplify1.4s

Counts
73 → 73
Iterations
IterNodes
done2001
42001
31382
2477
1194
087

prune1.2s

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 10.6b

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

rewrite9.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:
7.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))

series777.0ms

Counts
4 → 12
Calls
4 calls:
383.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
84.0ms
(hypot re im)
93.0ms
(hypot re im)
217.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify1.4s

Counts
59 → 59
Iterations
IterNodes
done2013
42013
31521
2446
1161
081

prune639.0ms

Pruning

16 alts after pruning (14 fresh and 2 done)

Merged error: 10.6b

regimes195.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
done11
111
09

end0.0ms

sample2.8s

Algorithm
intervals
Results
958.0ms735×body2560valid
843.0ms5985×body80valid
329.0ms285×body5120valid
287.0ms472×body1280valid
157.0ms285×body640valid
59.0ms170×body320valid
15.0ms68×body160valid