Details

Time bar (total: 16.2s)

sample185.0ms

Algorithm
intervals
Results
31.0ms198×body80valid
18.0ms24×body2560valid
11.0ms11×body5120valid
6.0ms11×body1280valid
3.0msbody640valid
2.0msbody320valid
1.0msbody160valid

simplify105.0ms

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

prune15.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 11.6b

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

rewrite44.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)
19.0ms
(sqrt (* (- (hypot re im) re) 2.0))
11.0ms
(- (hypot re im) re)

series381.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(hypot re im)
230.0ms
(sqrt (* (- (hypot re im) re) 2.0))
95.0ms
(- (hypot re im) re)

simplify2.1s

Counts
65 → 65
Iterations
IterNodes
done5000
33929
2771
1248
0118

prune355.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 11.4b

localize46.0ms

Local error

Found 4 expressions with local error:

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

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
76×sqrt-pow1
64×pow1
42×add-sqr-sqrt
30×*-un-lft-identity
27×sqrt-prod
26×sqrt-div add-cube-cbrt
23×pow-prod-down
19×pow1/2
18×prod-diff
16×associate-*l/
14×pow-prod-up
flip3-- swap-sqr flip--
pow-sqr add-log-exp
associate-*r* associate-*l*
add-cbrt-cube fma-neg add-exp-log
expm1-log1p-u frac-times insert-posit16 log1p-expm1-u unswap-sqr
sub-neg diff-log associate-*r/ distribute-lft-out-- difference-of-squares
pow2 rem-square-sqrt pow-plus sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
4 → 156
Calls
4 calls:
15.0ms
(sqrt (* (- (hypot re im) re) 2.0))
88.0ms
(* (sqrt (sqrt (* (- (hypot re im) re) 2.0))) (sqrt (sqrt (* (- (hypot re im) re) 2.0))))
5.0ms
(- (hypot re im) re)
5.0ms
(- (hypot re im) re)

series696.0ms

Counts
4 → 12
Calls
4 calls:
262.0ms
(sqrt (* (- (hypot re im) re) 2.0))
265.0ms
(* (sqrt (sqrt (* (- (hypot re im) re) 2.0))) (sqrt (sqrt (* (- (hypot re im) re) 2.0))))
72.0ms
(- (hypot re im) re)
96.0ms
(- (hypot re im) re)

simplify1.5s

Counts
168 → 168
Iterations
IterNodes
done5000
21513
1398
0184

prune684.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 11.4b

localize51.0ms

Local error

Found 4 expressions with local error:

0.7b
(- (hypot re im) re)
0.7b
(- (hypot re im) re)
0.7b
(- (hypot re im) re)
0.7b
(- (hypot re im) re)

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt *-un-lft-identity
36×prod-diff
32×add-cube-cbrt
12×fma-neg add-log-exp
expm1-log1p-u pow1 sub-neg flip3-- add-cbrt-cube diff-log add-exp-log insert-posit16 log1p-expm1-u flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 116
Calls
4 calls:
10.0ms
(- (hypot re im) re)
5.0ms
(- (hypot re im) re)
5.0ms
(- (hypot re im) re)
5.0ms
(- (hypot re im) re)

series359.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(- (hypot re im) re)
95.0ms
(- (hypot re im) re)
90.0ms
(- (hypot re im) re)
103.0ms
(- (hypot re im) re)

simplify1.4s

Counts
128 → 128
Iterations
IterNodes
done5000
31490
2328
1131
062

prune857.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 11.4b

localize108.0ms

Local error

Found 4 expressions with local error:

0.7b
(- (hypot re im) re)
0.7b
(- (hypot re im) re)
0.7b
(- (hypot re im) re)
13.8b
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) (- re))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt *-un-lft-identity
27×prod-diff
25×add-cube-cbrt
10×add-log-exp
fma-neg
expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u
sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
fma-udef
Counts
4 → 98
Calls
4 calls:
9.0ms
(- (hypot re im) re)
9.0ms
(- (hypot re im) re)
10.0ms
(- (hypot re im) re)
1.0ms
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) (- re))

series511.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(- (hypot re im) re)
104.0ms
(- (hypot re im) re)
83.0ms
(- (hypot re im) re)
248.0ms
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) (- re))

simplify2.6s

Counts
110 → 110
Iterations
IterNodes
done5000
32388
2406
1155
077

prune818.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 11.4b

regimes147.0ms

Accuracy

0% (0.2b remaining)

Error of 12.9b against oracle of 12.7b and baseline of 12.9b

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
done11
111
09

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.4s6088×body80valid
542.0ms616×body2560valid
326.0ms510×body1280valid
287.0ms282×body5120valid
124.0ms274×body640valid
57.0ms155×body320valid
17.0ms75×body160valid