Details

Time bar (total: 17.9s)

sample135.0ms

Algorithm
intervals
Results
19.0ms195×body80valid
11.0ms21×body2560valid
8.0ms11×body5120valid
6.0ms14×body1280valid
3.0ms10×body640valid
1.0msbody320valid
0.0msbody160valid

simplify116.0ms

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

prune18.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.1b

localize17.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.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))
8.0ms
(- (hypot re im) re)

series455.0ms

Counts
3 → 9
Calls
3 calls:
65.0ms
(hypot re im)
280.0ms
(sqrt (* (- (hypot re im) re) 2.0))
109.0ms
(- (hypot re im) re)

simplify2.4s

Counts
62 → 62
Iterations
IterNodes
done5000
34021
2770
1245
0115

prune401.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 12.9b

localize45.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)))
5.7b
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
22×pow1
19×sqrt-prod
13×*-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 pow-prod-down log1p-expm1-u unswap-sqr
prod-diff pow-sqr
flip3-- sqrt-div associate-*l/ flip--
pow2 hypot-udef sub-neg rem-square-sqrt pow-plus fma-neg sqrt-unprod diff-log prod-exp *-commutative cbrt-unprod difference-of-squares
Counts
4 → 95
Calls
4 calls:
0.0ms
(hypot re im)
29.0ms
(sqrt (* (- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) 2.0))
28.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
22.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series513.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(hypot re im)
279.0ms
(sqrt (* (- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) 2.0))
65.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
IterNodes
done5001
21345
1340
0152

prune616.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 12.9b

localize58.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (hypot re im))
0.5b
(* (sqrt (hypot re im)) (sqrt (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)))))
0.6b
(* (cbrt (hypot re im)) (cbrt (hypot re im)))
7.6b
(- (* (sqrt (hypot re im)) (sqrt (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im))))) re)

rewrite240.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
24×pow1
19×cbrt-prod pow1/3
18×add-cube-cbrt
17×*-un-lft-identity
12×sqrt-pow1 associate-*l* pow-prod-up
10×associate-*r* pow-prod-down
add-exp-log
swap-sqr sqrt-prod
add-cbrt-cube add-log-exp unswap-sqr
expm1-log1p-u pow1/2 pow-sqr log1p-expm1-u
prod-diff
prod-exp *-commutative cbrt-unprod
pow2 sub-neg pow-plus flip3-- fma-neg sqrt-unprod diff-log flip--
Counts
4 → 108
Calls
4 calls:
1.0ms
(cbrt (hypot re im))
104.0ms
(* (sqrt (hypot re im)) (sqrt (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)))))
18.0ms
(* (cbrt (hypot re im)) (cbrt (hypot re im)))
110.0ms
(- (* (sqrt (hypot re im)) (sqrt (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im))))) re)

series458.0ms

Counts
4 → 12
Calls
4 calls:
157.0ms
(cbrt (hypot re im))
58.0ms
(* (sqrt (hypot re im)) (sqrt (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)))))
154.0ms
(* (cbrt (hypot re im)) (cbrt (hypot re im)))
89.0ms
(- (* (sqrt (hypot re im)) (sqrt (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im))))) re)

simplify1.6s

Counts
120 → 120
Iterations
IterNodes
done5000
21434
1369
0166

prune863.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 12.9b

localize122.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (hypot re im))
0.5b
(* (sqrt (hypot re im)) (sqrt (* (* (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im))))) (cbrt (hypot re im)))))
0.6b
(* (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))))
9.8b
(- (* (sqrt (hypot re im)) (sqrt (* (* (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im))))) (cbrt (hypot re im))))) re)

rewrite2.7s

Algorithm
rewrite-expression-head
Rules
260×pow1
234×sqrt-pow1
197×pow-prod-up
120×pow1/2
105×pow1/3
89×pow-sqr
77×pow-prod-down
18×pow-plus add-cbrt-cube add-exp-log
13×pow2 add-sqr-sqrt
*-un-lft-identity prod-exp add-cube-cbrt cbrt-unprod
associate-*l*
sqrt-unprod add-log-exp
associate-*r* sqrt-prod
expm1-log1p-u log1p-expm1-u
cbrt-prod prod-diff unswap-sqr
*-commutative
sub-neg rem-square-sqrt flip3-- fma-neg diff-log swap-sqr flip--
Counts
4 → 210
Calls
4 calls:
1.0ms
(cbrt (hypot re im))
1.2s
(* (sqrt (hypot re im)) (sqrt (* (* (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im))))) (cbrt (hypot re im)))))
115.0ms
(* (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))))
1.4s
(- (* (sqrt (hypot re im)) (sqrt (* (* (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im))))) (cbrt (hypot re im))))) re)

series501.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(cbrt (hypot re im))
64.0ms
(* (sqrt (hypot re im)) (sqrt (* (* (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im))))) (cbrt (hypot re im)))))
163.0ms
(* (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))))
96.0ms
(- (* (sqrt (hypot re im)) (sqrt (* (* (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (cbrt (hypot re im))))) (cbrt (hypot re im))))) re)

simplify2.0s

Counts
222 → 222
Iterations
IterNodes
done5000
22096
1716
0252

prune821.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 12.9b

regimes173.0ms

Accuracy

0% (0.2b remaining)

Error of 13.4b against oracle of 13.2b and baseline of 13.4b

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
done11
111
09

end0.0ms

sample2.3s

Algorithm
intervals
Results
600.0ms6008×body80valid
487.0ms176×body320valid
321.0ms734×body2560valid
251.0ms476×body1280valid
188.0ms291×body5120valid
68.0ms262×body640valid
7.0ms53×body160valid