Details

Time bar (total: 4.0s)

sample314.0ms

Algorithm
intervals
Results
23.0ms48×body10240exit
17.0ms256×body80valid
12.0ms321×body80nan

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516185
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 3 expressions with local error:

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

rewrite32.0ms

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

series107.0ms

Counts
3 → 9
Calls
3 calls:
67.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
22.0ms
(pow (sqrt (atan2 b b)) (- b a))
18.0ms
(sqrt (atan2 b b))

simplify78.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0255514
1714433
22697425
35001408

prune120.0ms

Filtered
72 candidates to 43 candidates (59.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New70272
Fresh000
Picked101
Done000
Total71273

Merged error: 0.0b

Counts
73 → 2

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(sin (* 1 (pow (sqrt (atan2 b b)) (- b a))))
0.0b
(pow (sqrt (atan2 b b)) (- b a))
1.0b
(sqrt (atan2 b b))

rewrite18.0ms

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

series95.0ms

Counts
3 → 9
Calls
3 calls:
64.0ms
(sin (* 1 (pow (sqrt (atan2 b b)) (- b a))))
20.0ms
(pow (sqrt (atan2 b b)) (- b a))
11.0ms
(sqrt (atan2 b b))

simplify80.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
0258526
1759442
22965434
35001417

prune122.0ms

Filtered
72 candidates to 44 candidates (61.1%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New72072
Fresh011
Picked011
Done000
Total72274

Merged error: 0.0b

Counts
74 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
118×add-sqr-sqrt
88×*-un-lft-identity
84×sqrt-prod
78×unpow-prod-down
52×add-cube-cbrt
48×unpow-prod-up
46×pow-unpow
44×pow-pow
39×pow1
36×sqrt-pow1 prod-diff
32×swap-sqr
25×pow-prod-up unswap-sqr
24×associate-*r* associate-*l*
20×pow1/2
19×pow-prod-down
16×add-exp-log
15×pow-sqr
14×distribute-lft-out-- sqr-pow
10×sqrt-pow2
prod-exp
pow-to-exp sub-neg pow-exp add-cbrt-cube difference-of-squares
expm1-log1p-u log1p-expm1-u pow-sub add-log-exp
rem-sqrt-square
pow2 frac-times pow-plus associate-*r/ associate-*l/ *-commutative cbrt-unprod
Counts
4 → 228
Calls
4 calls:
25.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
35.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series152.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
39.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify95.0ms

Algorithm
egg-herbie
Counts
240 → 240
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06152319
127312061
250012033

prune373.0ms

Filtered
240 candidates to 111 candidates (46.3%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New2391240
Fresh000
Picked101
Done101
Total2411242

Merged error: 0.0b

Counts
242 → 1

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(sin (pow (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))) 1))
1.0b
(sqrt (atan2 b b))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
Counts
2 → 24
Calls
2 calls:
9.0ms
(sin (pow (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))) 1))
2.0ms
(sqrt (atan2 b b))

series90.0ms

Counts
2 → 6
Calls
2 calls:
79.0ms
(sin (pow (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))) 1))
11.0ms
(sqrt (atan2 b b))

simplify37.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 3 (33.0ms)

IterNodesCost
094194
1232175
2884169
35002167

prune84.0ms

Filtered
30 candidates to 24 candidates (80.0%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New30030
Fresh000
Picked011
Done000
Total30131

Merged error: 0.0b

Counts
31 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158
1158

end0.0ms

sample2.0s

Algorithm
intervals
Results
791.0ms1823×body10240exit
451.0ms7992×body80valid
373.0ms9852×body80nan
3.0msbody5120valid
1.0msbody320valid
1.0msbody640valid
0.0msbody160valid