Details

Time bar (total: 2.8s)

sample62.0ms

Algorithm
intervals
Results
22.0ms50×body10240exit
14.0ms256×body80valid
11.0ms282×body80nan

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516275
650015

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(pow (sqrt (atan2 b b)) (- b a))
1.0b
(sqrt (atan2 b b))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
14×*-un-lft-identity
12×add-cube-cbrt
11×unpow-prod-up
prod-diff
unpow-prod-down sqrt-prod
pow1 pow-unpow
add-exp-log pow-pow
expm1-log1p-u sqrt-pow1 pow1/2 add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp sub-neg rem-sqrt-square pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
2 → 54
Calls
2 calls:
6.0ms
(pow (sqrt (atan2 b b)) (- b a))
2.0ms
(sqrt (atan2 b b))

series30.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(pow (sqrt (atan2 b b)) (- b a))
11.0ms
(sqrt (atan2 b b))

simplify64.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0224417
1632348
22275345
35001329

prune118.0ms

Filtered
60 candidates to 33 candidates (55.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New59160
Fresh000
Picked101
Done000
Total60161

Merged error: 0b

Counts
61 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt (sqrt (atan2 b b))) (- b a))
0.0b
(pow (sqrt (sqrt (atan2 b b))) (- b a))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
30×*-un-lft-identity
26×add-cube-cbrt
24×sqrt-prod
22×unpow-prod-up
18×unpow-prod-down prod-diff
12×pow1
10×pow-unpow pow-pow sqrt-pow1
add-exp-log pow1/2
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp sub-neg rem-sqrt-square pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 118
Calls
4 calls:
7.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
7.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series79.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
31.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify85.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
02641026
1731882
22885870
35002838

prune303.0ms

Filtered
130 candidates to 72 candidates (55.4%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New1300130
Fresh000
Picked011
Done000
Total1301131

Merged error: 0b

Counts
131 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0912

end0.0ms

sample2.0s

Algorithm
intervals
Results
792.0ms1850×body10240exit
469.0ms7992×body80valid
364.0ms9893×body80nan
5.0msbody5120valid
3.0msbody2560valid
1.0msbody640valid
0.0msbody160valid