Details

Time bar (total: 13.2s)

sample133.0ms

Algorithm
intervals
Results
17.0ms196×body80valid
11.0ms21×body2560valid
6.0ms14×body1280valid
6.0msbody5120valid
4.0msbody320valid
3.0msbody640valid
0.0msbody160valid

simplify74.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (45.0ms)

IterNodesCost
01215
11910
22810
33610
44310
54510
done4510

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.9b

localize18.0ms

Local error

Found 3 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity
10×add-cube-cbrt
prod-diff
pow1
add-log-exp
add-exp-log expm1-log1p-u fma-neg add-cbrt-cube log1p-expm1-u
flip3-- sqrt-pow1 sqrt-div associate-*l/ flip--
sub-neg hypot-udef pow1/2 diff-log pow-prod-down sqrt-prod distribute-lft-out-- difference-of-squares
Counts
3 → 53
Calls
3 calls:
18.0ms
(sqrt (* (- (hypot re im) re) 2.0))
1.0ms
(hypot re im)
19.0ms
(- (hypot re im) re)

series478.0ms

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

simplify2.4s

Counts
62 → 62
Iterations

Useful iterations: 3 (933.0ms)

IterNodesCost
0115686
1244575
2772498
34052454
done5000454

prune304.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 12.8b

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (- (hypot re im) re)) (cbrt (- (hypot re im) re)))
0.4b
(cbrt (- (hypot re im) re))
0.4b
(cbrt (- (hypot re im) re))
0.4b
(cbrt (- (hypot re im) re))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
43×cbrt-prod
37×add-sqr-sqrt
35×*-un-lft-identity
18×cbrt-div
15×add-cube-cbrt
11×pow1
10×swap-sqr
flip3-- pow1/3 flip-- distribute-lft-out--
associate-*r* associate-*l*
difference-of-squares
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 109
Calls
4 calls:
62.0ms
(* (cbrt (- (hypot re im) re)) (cbrt (- (hypot re im) re)))
4.0ms
(cbrt (- (hypot re im) re))
4.0ms
(cbrt (- (hypot re im) re))
4.0ms
(cbrt (- (hypot re im) re))

series982.0ms

Counts
4 → 12
Calls
4 calls:
233.0ms
(* (cbrt (- (hypot re im) re)) (cbrt (- (hypot re im) re)))
226.0ms
(cbrt (- (hypot re im) re))
253.0ms
(cbrt (- (hypot re im) re))
269.0ms
(cbrt (- (hypot re im) re))

simplify1.0s

Counts
121 → 121
Iterations

Useful iterations: done (1.0s)

IterNodesCost
01491928
13301783
212381691
done50011586

prune593.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 12.8b

localize33.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.2b
(sqrt (* (- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) 2.0))
0.5b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
8.8b
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
22×pow1
19×sqrt-prod
13×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1
pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
expm1-log1p-u pow-prod-down log1p-expm1-u unswap-sqr
prod-diff pow-sqr
flip3-- sqrt-div associate-*l/ flip--
pow2 sub-neg hypot-udef pow-plus fma-neg sqrt-unprod diff-log prod-exp rem-square-sqrt *-commutative cbrt-unprod difference-of-squares
Counts
4 → 95
Calls
4 calls:
1.0ms
(hypot re im)
38.0ms
(sqrt (* (- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) 2.0))
26.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
28.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series515.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(hypot re im)
277.0ms
(sqrt (* (- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) 2.0))
64.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
90.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

simplify1.3s

Counts
107 → 107
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01521374
1339755
21349687
done5001670

prune373.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 12.7b

localize27.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sqrt (hypot re im)) (fabs (cbrt (hypot re im))))
0.5b
(cbrt (hypot re im))
0.5b
(cbrt (hypot re im))
5.2b
(- (* (* (sqrt (hypot re im)) (fabs (cbrt (hypot re im)))) (sqrt (cbrt (hypot re im)))) re)

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log cbrt-prod associate-*l* add-cbrt-cube add-log-exp
expm1-log1p-u sqrt-prod log1p-expm1-u
associate-*r* prod-diff
pow1/3 unswap-sqr
sub-neg flip3-- fma-neg diff-log pow-prod-down prod-exp *-commutative flip-- cbrt-unprod
Counts
4 → 68
Calls
4 calls:
11.0ms
(* (sqrt (hypot re im)) (fabs (cbrt (hypot re im))))
1.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))
52.0ms
(- (* (* (sqrt (hypot re im)) (fabs (cbrt (hypot re im)))) (sqrt (cbrt (hypot re im)))) re)

series597.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(* (sqrt (hypot re im)) (fabs (cbrt (hypot re im))))
145.0ms
(cbrt (hypot re im))
174.0ms
(cbrt (hypot re im))
150.0ms
(- (* (* (sqrt (hypot re im)) (fabs (cbrt (hypot re im)))) (sqrt (cbrt (hypot re im)))) re)

simplify1.1s

Counts
80 → 80
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01471230
13681160
214911016
done5001990

prune486.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 12.7b

regimes175.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11110
done1110

end0.0ms

sample2.3s

Algorithm
intervals
Results
662.0ms6009×body80valid
496.0ms276×body640valid
334.0ms681×body2560valid
261.0ms486×body1280valid
167.0ms306×body5120valid
34.0ms166×body320valid
10.0ms76×body160valid