Details

Time bar (total: 2.7s)

sample62.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
add-cube-cbrt unpow-prod-down sqrt-prod
pow1 pow-unpow
add-exp-log pow-pow
unpow-prod-up sqrt-pow1 pow1/2 add-cbrt-cube 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 → 41
Calls
2 calls:
5.0ms
(pow (sqrt (atan2 b b)) (- b a))
1.0ms
(sqrt (atan2 b b))

series30.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (34.0ms)

IterNodesCost
0120239
1357224
21225224
35001222

prune100.0ms

Filtered
47 candidates to 28 candidates (59.6%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New46147
Fresh000
Picked101
Done000
Total47148

Merged error: 0b

Counts
48 → 1

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
24×sqrt-prod
20×add-sqr-sqrt
18×unpow-prod-down *-un-lft-identity
14×add-cube-cbrt
12×pow1
10×pow-unpow pow-pow sqrt-pow1
add-exp-log pow1/2
unpow-prod-up add-cbrt-cube 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 → 92
Calls
4 calls:
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series75.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0160630
1454596
21640588
35002584

prune264.0ms

Filtered
104 candidates to 62 candidates (59.6%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New1040104
Fresh000
Picked011
Done000
Total1041105

Merged error: 0b

Counts
105 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0912

end0.0ms

sample2.0s

Algorithm
intervals
Results
780.0ms1850×body10240exit
461.0ms7992×body80valid
366.0ms9893×body80nan
5.0msbody5120valid
3.0msbody2560valid
1.0msbody640valid
0.0msbody160valid