Details

Time bar (total: 3.2s)

sample320.0ms

Algorithm
intervals
Results
23.0ms50×body10240exit
15.0ms256×body80valid
12.0ms282×body80nan

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516275
650015

prune4.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

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.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))
4.0ms
(sqrt (atan2 b b))

series56.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0224417
1632348
22275345
35001329

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

rewrite24.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:
10.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
7.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series78.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
29.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
10.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))

simplify91.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 3 (77.0ms)

IterNodesCost
02641026
1731882
22885870
35002838

prune313.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
811.0ms1850×body10240exit
468.0ms7992×body80valid
381.0ms9893×body80nan
5.0msbody5120valid
3.0msbody2560valid
1.0msbody640valid
0.0msbody160valid